﻿.deck-header {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 0 0 6px #00ffff;
}

.deck-subtext {
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.role-header {
    margin-top: 2rem;
    font-size: 1.6rem;
    color: #ffcc00;
}

.deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

    .deck-grid.grid-single {
        justify-content: flex-start;
    }

        .deck-grid.grid-single > .deck-card {
            max-width: 300px;
            margin-left: 0;
        }

.deck-card {
    background-size: cover;
    background-position: center;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,255,255,0.1);
    overflow: hidden;
    position: relative;
    min-height: 360px;
}

    .deck-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85));
        z-index: 0;
    }

.deck-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.deck-info {
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

    .deck-info h3 {
        margin-bottom: 0.5rem;
    }

    .deck-info a {
        text-decoration: none;
    }

.deck-lore,
.deck-trivia {
    font-style: italic;
    margin: 0.5rem 0;
}

.banner-flash {
    margin-left: 1rem;
    color: #ff00ff;
    animation: pulseBanner 1.5s infinite;
}

.deck-tier-float {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 0.5rem;
    font-size: 0.9rem;
    color: #ffcc00;
    box-shadow: 0 -2px 8px rgba(255, 204, 0, 0.3);
    text-align: center;
    z-index: 1;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes pulseBanner {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.deck-disclaimer {
    font-size: 1rem;
    text-align: center;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ffff;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 4px #000;
    backdrop-filter: blur(4px);
    line-height: 1.5;
}

.dismiss-btn {
    float: right;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

    .dismiss-btn:hover {
        color: #ffcc00;
    }

.cookie-note {
    margin-top: 0.5em;
    font-size: 0.9em;
    background: rgba(0,0,0,0.4);
    padding: 0.5em;
    border-left: 4px solid #00ffff;
    text-shadow: 0 0 2px #000;
}

.fade-out {
    animation: fadeOut 0.8s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        max-height: 500px;
    }

    100% {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        visibility: hidden;
    }
}

.deck-links-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 0.5rem;
    z-index: 1;
}

.links-label {
    font-weight: bold;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

    .links-label:hover {
        background: rgba(0, 255, 255, 0.1);
    }

.links-flyout {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease-out;
    z-index: 10;
    min-width: 180px;
    max-width: 220px;
    flex-direction: column;
    white-space: normal;
}

.deck-links-wrapper:hover .links-flyout {
    display: block;
}

.link-badge {
    display: block;
    margin: 0.3rem 0;
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    line-height: 1.3;
}

.platform-patreon {
    background: #f96854;
}

.platform-facebook {
    background: #1877f2;
}

.platform-linkedin {
    background: #0077b5;
}

.platform-discord {
    background: #5865f2;
}

.platform-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.platform-forum {
    background: #6c6c6c;
}

.platform-x {
    background: #000000;
}

.platform-personaldomain {
    background: #333333;
}

.platform-youtube {
    background: #ff0000;
}

.platform-tiktok {
    background: #000000;
}

.platform-rumble {
    background: #007f00;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#deck-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

    #deck-filters label {
        font-weight: bold;
        color: #ffcc00;
        margin-right: 0.5rem;
    }

    #deck-filters select {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        border-radius: 6px;
        transition: box-shadow 0.2s ease;
    }

        #deck-filters select:hover {
            box-shadow: 0 0 6px var(--color-accent);
        }

.no-results {
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
    margin: 2rem auto;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 204, 0, 0.15);
    border: 1px solid #ffcc00;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    text-shadow: 0 0 2px #000;
    transition: box-shadow 0.3s ease;
}

    .badge:hover {
        box-shadow: 0 0 6px #ffcc00;
    }

.operative-info {
    background: rgba(20, 24, 30, 0.5);
    border-radius: 12px;
    border: 1px solid var(--color-primary-blue);
    padding: 1rem 1.5rem;
    width: 260px;
    color: #e0f1ff;
    box-shadow: 0 0 20px rgba(79, 148, 212, 0.3);
    backdrop-filter: blur(6px);
    z-index: 2;
    position: relative;
    font-family: var(--font-main);
    overflow: hidden;
}

    .operative-info h2 {
        font-family: var(--font-accent);
        font-size: 1.4rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        color: #90caf9;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 4px;
    }

    .operative-info p {
        margin: 0.5rem 0;
        line-height: 1.4;
    }

    .operative-info img {
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 0 10px rgba(0,255,255,0.2);
    }

.operative-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
}

.operative-info {
    flex: 0 0 260px;
}

.operative-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.content-column {
    flex: 1 1 300px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.05);
}

.external-links-panel {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #1f1f1f;
    border-radius: 8px;
    max-width:260px;
}

.external-link-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    text-align: center;
}

.external-link-item {
    background-color: #2a2a2a;
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
    width:240px;
}

    .external-link-item a {
        color: #ffffff;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .external-link-item i {
        font-size: 1rem;
    }

.copy-button {
    margin-top:10px;
    left: 20px;
    width: 260px;
}