/*
 * Valor's Call - Digital Binder Styles
 * Color Palette:
 * - #91c1dc (Light Blue - Sky)
 * - #ffd166 (Gold - Accent/Legendary)
 * - #06d6a0 (Emerald - Success/Uncommon)
 * - #118ab2 (Ocean Blue - Primary)
 * - #073b4c (Dark Teal - Dark BG/Text)
 * - #c0c0c0 (Silver - Common)
 * - #f7e8c0 (Parchment - Light BG)
 */

:root {
    --color-sky: #91c1dc;
    --color-gold: #ffd166;
    --color-emerald: #06d6a0;
    --color-ocean: #118ab2;
    --color-dark: #073b4c;
    --color-silver: #c0c0c0;
    --color-parchment: #f7e8c0;

    /* Rarity colors */
    --rarity-common: #c0c0c0;
    --rarity-uncommon: #06d6a0;
    --rarity-rare: #118ab2;
    --rarity-epic: #9b59b6;
    --rarity-legendary: #ffd166;

    /* Layout */
    --nav-height: 60px;
    --card-width: 200px;
    --card-height: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--color-dark) 0%, #0a4a5e 100%);
    color: var(--color-parchment);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.main-nav {
    background: rgba(7, 59, 76, 0.95);
    backdrop-filter: blur(10px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 2px solid var(--color-ocean);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gold);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: 3rem;
}

.nav-links a {
    color: var(--color-parchment);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--color-ocean);
    color: white;
}

.nav-links a.active {
    background: var(--color-ocean);
    color: white;
}

.nav-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    font-weight: bold;
    color: var(--color-sky);
}

.dust-display {
    color: var(--color-gold);
    font-weight: bold;
}

.packs-display {
    color: var(--color-emerald);
    font-weight: bold;
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--color-parchment);
    color: var(--color-parchment);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--color-parchment);
    color: var(--color-dark);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Footer */
.main-footer {
    background: rgba(7, 59, 76, 0.95);
    text-align: center;
    padding: 1rem;
    border-top: 2px solid var(--color-ocean);
    color: var(--color-silver);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--card-width), 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.card-item {
    background: rgba(247, 232, 192, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-item.not-owned {
    opacity: 0.4;
    filter: grayscale(80%);
}

.card-item.not-owned:hover {
    opacity: 0.6;
    filter: grayscale(50%);
}

.card-image {
    width: 100%;
    aspect-ratio: 5/7;
    object-fit: cover;
    display: block;
}

.card-info {
    padding: 0.75rem;
    background: rgba(7, 59, 76, 0.8);
}

.card-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-number {
    font-size: 0.75rem;
    color: var(--color-silver);
}

.card-rarity {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Rarity colors */
.rarity-common {
    background: var(--rarity-common);
    color: #333;
}

.rarity-uncommon {
    background: var(--rarity-uncommon);
    color: #fff;
}

.rarity-rare {
    background: var(--rarity-rare);
    color: #fff;
}

.rarity-epic {
    background: var(--rarity-epic);
    color: #fff;
}

.rarity-legendary {
    background: var(--rarity-legendary);
    color: #333;
    animation: legendary-glow 2s ease-in-out infinite;
}

@keyframes legendary-glow {
    0%, 100% { box-shadow: 0 0 5px var(--rarity-legendary); }
    50% { box-shadow: 0 0 20px var(--rarity-legendary), 0 0 30px var(--rarity-legendary); }
}

/* Rarity border glow on cards */
.card-item.rarity-border-legendary {
    box-shadow: 0 0 15px var(--rarity-legendary);
}

.card-item.rarity-border-epic {
    box-shadow: 0 0 10px var(--rarity-epic);
}

.card-item.rarity-border-rare {
    box-shadow: 0 0 8px var(--rarity-rare);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-ocean);
    color: white;
}

.btn-primary:hover {
    background: #0d7399;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), #e5b84a);
    color: var(--color-dark);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e5b84a, var(--color-gold));
    transform: scale(1.02);
}

.btn-success {
    background: var(--color-emerald);
    color: white;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Page Headers */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--color-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--color-sky);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(247, 232, 192, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(145, 193, 220, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-sky);
    margin-top: 0.25rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-ocean), var(--color-emerald));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(247, 232, 192, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(145, 193, 220, 0.2);
}

.login-container h1 {
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-sky);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-ocean);
    border-radius: 6px;
    background: rgba(7, 59, 76, 0.8);
    color: var(--color-parchment);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 5px rgba(255, 209, 102, 0.3);
}

.error-message {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #ff6b6b;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.success-message {
    background: rgba(6, 214, 160, 0.2);
    border: 1px solid var(--color-emerald);
    color: var(--color-emerald);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Pack Opening */
.pack-area {
    text-align: center;
    padding: 2rem;
}

.pack-container {
    position: relative;
    width: 250px;
    height: 350px;
    margin: 2rem auto;
    perspective: 1000px;
}

.booster-pack {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark), var(--color-ocean));
    border-radius: 12px;
    border: 3px solid var(--color-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booster-pack::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 209, 102, 0.1) 50%,
        transparent 70%
    );
    animation: pack-shine 3s ease-in-out infinite;
}

@keyframes pack-shine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.booster-pack:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 209, 102, 0.5);
}

.booster-pack h2 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.booster-pack p {
    color: var(--color-parchment);
    z-index: 1;
}

.pack-opening {
    animation: pack-shake 0.5s ease-in-out;
}

@keyframes pack-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.pack-ripping {
    animation: pack-rip 0.8s ease-out forwards;
}

@keyframes pack-rip {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); }
    100% { transform: scale(0) rotate(180deg); opacity: 0; }
}

/* Card Reveal */
.card-reveal-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.card-reveal-container.active {
    display: flex;
}

.revealed-card {
    width: 280px;
    background: rgba(7, 59, 76, 0.9);
    border-radius: 12px;
    overflow: hidden;
    animation: card-reveal 0.5s ease-out;
    border: 3px solid var(--color-silver);
}

.revealed-card.rarity-uncommon {
    border-color: var(--rarity-uncommon);
    box-shadow: 0 0 20px var(--rarity-uncommon);
}

.revealed-card.rarity-rare {
    border-color: var(--rarity-rare);
    box-shadow: 0 0 25px var(--rarity-rare);
}

.revealed-card.rarity-epic {
    border-color: var(--rarity-epic);
    box-shadow: 0 0 30px var(--rarity-epic);
    animation: card-reveal 0.5s ease-out, epic-pulse 1.5s ease-in-out infinite;
}

.revealed-card.rarity-legendary {
    border-color: var(--rarity-legendary);
    box-shadow: 0 0 40px var(--rarity-legendary);
    animation: card-reveal 0.5s ease-out, legendary-pulse 1s ease-in-out infinite;
}

@keyframes card-reveal {
    0% { transform: scale(0) rotateY(180deg); opacity: 0; }
    100% { transform: scale(1) rotateY(0deg); opacity: 1; }
}

@keyframes epic-pulse {
    0%, 100% { box-shadow: 0 0 30px var(--rarity-epic); }
    50% { box-shadow: 0 0 50px var(--rarity-epic), 0 0 70px var(--rarity-epic); }
}

@keyframes legendary-pulse {
    0%, 100% { box-shadow: 0 0 40px var(--rarity-legendary); }
    50% { box-shadow: 0 0 60px var(--rarity-legendary), 0 0 80px var(--rarity-legendary), 0 0 100px var(--rarity-legendary); }
}

/* ============================================
   CARD REVEAL EFFECTS - Particles & Screen Shake
   ============================================ */

/* Particle Container */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

/* Individual Particles */
.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    animation: particle-float 1.5s ease-out forwards;
}

.particle.spark {
    width: 4px;
    height: 4px;
    background: white;
    box-shadow: 0 0 6px 2px currentColor;
}

.particle.dust {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    opacity: 0.8;
}

.particle.star {
    width: 8px;
    height: 8px;
    background: currentColor;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    box-shadow: 0 0 10px currentColor;
}

/* Rarity-specific particle colors */
.particle.rarity-rare {
    color: var(--rarity-rare);
}

.particle.rarity-epic {
    color: var(--rarity-epic);
}

.particle.rarity-legendary {
    color: var(--rarity-legendary);
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(var(--rot));
        opacity: 0;
    }
}

/* Screen Shake Animations */
@keyframes shake-light {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@keyframes shake-medium {
    0%, 100% { transform: translate(0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-4px, -2px); }
    20%, 40%, 60%, 80% { transform: translate(4px, 2px); }
}

@keyframes shake-heavy {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-6px, -3px) rotate(-0.5deg); }
    20% { transform: translate(6px, 2px) rotate(0.5deg); }
    30% { transform: translate(-5px, -4px) rotate(-0.3deg); }
    40% { transform: translate(5px, 3px) rotate(0.3deg); }
    50% { transform: translate(-4px, -2px) rotate(-0.2deg); }
    60% { transform: translate(4px, 1px) rotate(0.2deg); }
    70% { transform: translate(-3px, -1px) rotate(-0.1deg); }
    80% { transform: translate(3px, 2px) rotate(0.1deg); }
    90% { transform: translate(-2px, -1px) rotate(0deg); }
}

.shake-light {
    animation: shake-light 0.4s ease-out;
}

.shake-medium {
    animation: shake-medium 0.5s ease-out;
}

.shake-heavy {
    animation: shake-heavy 0.7s ease-out;
}

/* Legendary golden glow burst */
@keyframes legendary-burst {
    0% {
        box-shadow: 0 0 40px var(--rarity-legendary), 0 0 80px var(--rarity-legendary), 0 0 120px var(--rarity-legendary);
        filter: brightness(1.5);
    }
    50% {
        box-shadow: 0 0 60px var(--rarity-legendary), 0 0 100px var(--rarity-legendary), 0 0 150px var(--rarity-legendary), 0 0 200px rgba(255, 209, 102, 0.3);
        filter: brightness(1.2);
    }
    100% {
        box-shadow: 0 0 40px var(--rarity-legendary);
        filter: brightness(1);
    }
}

.revealed-card.rarity-legendary.burst {
    animation: legendary-burst 1s ease-out, legendary-pulse 1s ease-in-out 1s infinite;
}

/* Flash overlay for legendary reveals */
.legendary-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 209, 102, 0.6) 0%, transparent 70%);
    pointer-events: none;
    z-index: 998;
    animation: flash-fade 0.8s ease-out forwards;
}

@keyframes flash-fade {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.revealed-card img {
    width: 100%;
    display: block;
}

.revealed-card-info {
    padding: 1rem;
    text-align: center;
}

.revealed-card-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-parchment);
    margin-bottom: 0.5rem;
}

.duplicate-badge {
    background: var(--color-gold);
    color: var(--color-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
    display: inline-block;
}

.card-counter {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--color-sky);
}

.reveal-controls {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Pack Summary */
.pack-summary {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.pack-summary.active {
    display: block;
}

.pack-summary h2 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: rgba(7, 59, 76, 0.8);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.summary-card img {
    width: 100%;
    aspect-ratio: 5/7;
    object-fit: cover;
}

.summary-card-name {
    padding: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-stats {
    background: rgba(247, 232, 192, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Admin Panel */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(247, 232, 192, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(145, 193, 220, 0.2);
}

.admin-table th {
    background: rgba(7, 59, 76, 0.8);
    color: var(--color-gold);
    font-weight: bold;
}

.admin-table tr:hover {
    background: rgba(145, 193, 220, 0.1);
}

.admin-form {
    background: rgba(247, 232, 192, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.admin-form h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Filters */
.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar select {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--color-ocean);
    background: rgba(7, 59, 76, 0.8);
    color: var(--color-parchment);
    font-size: 1rem;
}

.filter-bar input[type="text"] {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--color-ocean);
    background: rgba(7, 59, 76, 0.8);
    color: var(--color-parchment);
    font-size: 1rem;
    min-width: 200px;
}

/* Card Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--color-dark);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 2px solid var(--color-ocean);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-parchment);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* ===== DECK MANAGEMENT ===== */

.decks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.deck-card {
    background: rgba(247, 232, 192, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(145, 193, 220, 0.2);
    transition: all 0.3s ease;
}

.deck-card:hover {
    border-color: var(--color-ocean);
    transform: translateY(-3px);
}

.deck-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.deck-card-header h3 {
    color: var(--color-parchment);
    margin: 0;
    font-size: 1.2rem;
}

.deck-card-count {
    background: var(--color-ocean);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.deck-card-count.complete {
    background: var(--color-emerald);
}

.deck-card-count.incomplete {
    background: #e74c3c;
}

.deck-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.deck-card-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.deck-card-meta {
    color: var(--color-silver);
    font-size: 0.85rem;
}

.deck-card-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-style: dashed;
    cursor: pointer;
    min-height: 180px;
}

.deck-card-new:hover {
    background: rgba(145, 193, 220, 0.1);
    border-color: var(--color-gold);
}

.deck-card-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--color-sky);
}

/* ===== DECK BUILDER ===== */

.deck-builder {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-height) - 4rem);
    min-height: 600px;
}

.deck-builder-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(7, 59, 76, 0.8);
    border-radius: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.deck-builder-header .btn {
    padding: 0.5rem 1rem;
}

.deck-builder-header input {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-ocean);
    border-radius: 6px;
    background: rgba(7, 59, 76, 0.8);
    color: var(--color-parchment);
    font-size: 1.1rem;
}

.deck-builder-header input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.deck-counter {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-gold);
    min-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.deck-status-hint {
    font-size: 0.75rem;
    font-weight: normal;
}

.deck-status-hint.status-complete {
    color: var(--color-emerald);
}

.deck-status-hint.status-incomplete {
    color: var(--color-sky);
}

.deck-builder-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    flex: 1;
    overflow: hidden;
}

.deck-builder-collection {
    overflow-y: auto;
    padding-right: 0.5rem;
}

.deck-builder-collection h3,
.deck-builder-deck h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.deck-builder-deck {
    background: rgba(7, 59, 76, 0.5);
    border-radius: 8px;
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid rgba(145, 193, 220, 0.2);
}

/* Smaller card grid for deck builder */
.card-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.card-item-small .card-info {
    padding: 0.5rem;
}

.card-item-small .card-name {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.card-item-small .card-rarity {
    display: none;
}

.owned-badge {
    background: var(--color-ocean);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Quantity controls on cards */
.deck-quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: var(--color-ocean);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

.qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: bold;
    color: var(--color-gold);
    font-size: 1.1rem;
}

/* Card in deck indicator */
.card-item.in-deck {
    border: 2px solid var(--color-gold);
}

.card-item.in-deck::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 209, 102, 0.1);
    pointer-events: none;
}

/* Deck List (right panel) */
.deck-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deck-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(247, 232, 192, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.deck-list-item:hover {
    background: rgba(247, 232, 192, 0.15);
}

.deck-list-thumb {
    width: 36px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.deck-list-name {
    flex: 1;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deck-list-qty {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.deck-list-remove {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: #e74c3c;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.deck-list-remove:hover {
    background: #c0392b;
}

.empty-deck-message,
.empty-collection-message {
    text-align: center;
    color: var(--color-silver);
    padding: 2rem;
    font-style: italic;
}

/* Notification Toast */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: var(--color-dark);
    color: var(--color-parchment);
    border: 2px solid var(--color-ocean);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success {
    border-color: var(--color-emerald);
    background: rgba(6, 214, 160, 0.2);
}

.notification-error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.2);
}

.notification-warning {
    border-color: var(--color-gold);
    background: rgba(255, 209, 102, 0.2);
}

/* Collection page quantity badge */
.quantity-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--color-ocean);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    .nav-user {
        order: 2;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .form-row {
        flex-direction: column;
    }

    /* Deck builder responsive */
    .deck-builder-content {
        grid-template-columns: 1fr;
    }

    .deck-builder-deck {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 40vh;
        border-radius: 12px 12px 0 0;
        z-index: 50;
        border: 2px solid var(--color-ocean);
        border-bottom: none;
    }

    .deck-builder-collection {
        padding-bottom: 45vh;
    }

    .deck-builder-header {
        flex-direction: column;
        align-items: stretch;
    }

    .deck-builder-header input {
        min-width: auto;
    }

    .deck-counter {
        text-align: center;
    }

    .card-grid-small {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* =============================================
   PLAYTEST LOBBY
   ============================================= */

.current-room-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(6, 214, 160, 0.2);
    border: 1px solid var(--color-emerald);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.current-room-banner span {
    color: var(--color-emerald);
    font-weight: bold;
}

.lobby-rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.room-card {
    background: rgba(247, 232, 192, 0.1);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(145, 193, 220, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.room-card:hover {
    border-color: var(--color-ocean);
    transform: translateY(-5px);
}

.room-card.room-full {
    border-color: rgba(231, 76, 60, 0.5);
}

.room-card.room-in-game {
    border-color: var(--color-emerald);
}

.room-number {
    font-size: 1.75rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.room-status {
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-available {
    background: var(--color-emerald);
    color: white;
}

.status-waiting {
    background: var(--color-gold);
    color: var(--color-dark);
}

.status-full {
    background: #e74c3c;
    color: white;
}

.status-in-game {
    background: var(--color-ocean);
    color: white;
}

.room-players {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.player-slot {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-slot.empty {
    border: 2px dashed var(--color-silver);
    color: var(--color-silver);
}

.player-slot.occupied {
    border: 2px solid var(--color-emerald);
    color: var(--color-parchment);
}

.slot-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.slot-name {
    font-weight: bold;
}

.btn-block {
    width: 100%;
}

.no-decks-warning {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    border-radius: 8px;
    text-align: center;
}

.no-decks-warning h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

/* Deck Selection Modal */
.deck-select-modal {
    max-width: 500px;
}

.deck-select-list {
    margin: 1.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}

.deck-select-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.deck-select-item:hover {
    background: rgba(0, 0, 0, 0.4);
}

.deck-select-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.deck-select-name {
    font-weight: bold;
    color: var(--color-parchment);
}

.deck-select-cards {
    font-size: 0.8rem;
    color: var(--color-silver);
}

.deck-select-actions {
    margin-top: 1rem;
    text-align: center;
}

.no-decks-message {
    color: var(--color-silver);
    text-align: center;
    padding: 2rem;
}

/* =============================================
   PLAYTEST ROOM / PLAYMAT
   ============================================= */

.playmat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-height) - 2rem);
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.5rem;
    position: relative;
}

/* Header bar */
.playmat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(7, 59, 76, 0.9);
    border-radius: 8px;
    flex-shrink: 0;
}

.room-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.room-label {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.game-status {
    color: var(--color-sky);
    font-size: 0.9rem;
}

.opponent-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.opponent-name {
    color: var(--color-parchment);
}

.opponent-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e74c3c;
}

.opponent-status.connected {
    background: var(--color-emerald);
}

/* Player zones */
.player-zone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(7, 59, 76, 0.5);
    border-radius: 8px;
    flex-shrink: 0;
    min-height: 100px;
}

.opponent-zone {
    flex-direction: row;
}

.your-zone {
    flex-direction: row;
}

.zone-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--color-silver);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Deck pile */
.deck-pile {
    width: 70px;
    height: 98px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-ocean));
    border: 2px solid var(--color-gold);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.deck-card-back {
    width: 50px;
    height: 70px;
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
}

.deck-pile .count {
    position: absolute;
    bottom: -8px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--color-gold);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
}

.your-deck {
    cursor: pointer;
    transition: transform 0.2s;
}

.your-deck:hover {
    transform: scale(1.05);
}

.deck-hint {
    position: absolute;
    top: -20px;
    font-size: 0.65rem;
    color: var(--color-silver);
    white-space: nowrap;
}

.opponent-deck {
    cursor: default;
}

/* Discard pile */
.discard-pile {
    width: 70px;
    height: 98px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed var(--color-silver);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.discard-pile.has-cards {
    border-style: solid;
    border-color: var(--color-ocean);
}

.discard-pile.drop-target {
    border-color: var(--color-gold);
    background: rgba(255, 209, 102, 0.2);
}

.discard-label {
    color: var(--color-silver);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.discard-pile .count {
    color: var(--color-parchment);
    font-size: 1.25rem;
    font-weight: bold;
}

.discard-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.shuffle-btn {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    display: none;
}

/* Hand area */
.hand-area {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem;
    min-height: 90px;
    align-items: center;
}

.hand-card {
    width: 60px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: grab;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hand-card:hover {
    transform: translateY(-10px) scale(1.1);
    z-index: 10;
}

.hand-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.hand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Opponent hand (card backs) */
.opponent-hand {
    justify-content: flex-start;
}

.card-back-mini {
    width: 35px;
    height: 49px;
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    border: 1px solid var(--color-gold);
    border-radius: 3px;
    flex-shrink: 0;
}

/* =============================================
   5x5 GAME BOARD
   ============================================= */

.game-board {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px;
    min-height: 300px;
}

.board-cell {
    background: rgba(145, 193, 220, 0.1);
    border: 1px solid rgba(145, 193, 220, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
}

.board-cell:hover {
    background: rgba(145, 193, 220, 0.2);
    border-color: rgba(145, 193, 220, 0.4);
}

.board-cell.drop-target {
    background: rgba(255, 209, 102, 0.3);
    border-color: var(--color-gold);
    box-shadow: inset 0 0 10px rgba(255, 209, 102, 0.3);
}

/* Cards on board */
.board-card {
    width: 90%;
    height: 90%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.board-card.yours {
    cursor: grab;
}

.board-card.dragging {
    opacity: 0.5;
}

.board-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-card.face-down {
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-card.face-down::before {
    content: '?';
    font-size: 2rem;
    color: var(--color-gold);
}

.board-card.face-down-yours {
    border: 2px solid var(--color-gold);
}

/* Card owner indicator */
.board-card .owner-indicator {
    position: absolute;
    bottom: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid white;
}

.board-card .owner-indicator.yours {
    background: var(--color-emerald);
}

.board-card .owner-indicator.opponent {
    background: #e74c3c;
}

/* =============================================
   TOKENS
   ============================================= */

.token-spawner {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(7, 59, 76, 0.95);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--color-ocean);
    z-index: 50;
}

.token-spawner-label {
    color: var(--color-silver);
    font-size: 0.65rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.25rem;
}

.token-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: transform 0.2s;
}

.token-btn:hover {
    transform: scale(1.15);
}

.token-btn.blue { background: #3498db; }
.token-btn.red { background: #e74c3c; }
.token-btn.green { background: #27ae60; }

.token-trash {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed #e74c3c;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.5rem;
    color: #e74c3c;
}

.token-trash.drop-target {
    background: rgba(231, 76, 60, 0.3);
    border-style: solid;
}

/* Tokens container - no longer used, kept for backwards compatibility */
.tokens-container {
    display: none;
}

/* Tokens on board (grid-based positioning inside cells) */
.board-token {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
    top: 4px;
    right: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    cursor: grab;
    z-index: 30;
}

.board-token.blue { background: #3498db; }
.board-token.red { background: #e74c3c; }
.board-token.green { background: #27ae60; }

.board-token.dragging {
    opacity: 0.5;
}

/* Stack multiple tokens in same cell using nth-of-type */
.board-cell .board-token:nth-of-type(2) {
    top: auto;
    bottom: 4px;
    right: 4px;
}

.board-cell .board-token:nth-of-type(3) {
    top: 4px;
    right: auto;
    left: 4px;
}

.board-cell .board-token:nth-of-type(4) {
    top: auto;
    bottom: 4px;
    right: auto;
    left: 4px;
}

/* =============================================
   FACE UP/DOWN MODAL
   ============================================= */

.face-choice-modal {
    display: none;
}

.face-choice-modal.active {
    display: flex;
}

.face-choice-content {
    background: var(--color-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--color-ocean);
    text-align: center;
    max-width: 300px;
}

.face-choice-content h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.face-choice-content p {
    color: var(--color-parchment);
    margin-bottom: 1.5rem;
}

.face-choice-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =============================================
   CONTEXT MENU
   ============================================= */

.card-context-menu {
    position: fixed;
    background: var(--color-dark);
    border: 1px solid var(--color-ocean);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 150px;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: none;
}

.card-context-menu.active {
    display: block;
}

.context-menu-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--color-parchment);
    transition: background 0.2s;
}

.context-menu-item:hover {
    background: var(--color-ocean);
}

.context-menu-item.danger {
    color: #e74c3c;
}

.context-menu-item.danger:hover {
    background: rgba(231, 76, 60, 0.3);
}

/* =============================================
   DISCARD VIEWER MODAL
   ============================================= */

.discard-viewer-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.discard-viewer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.discard-viewer-card {
    aspect-ratio: 5/7;
    border-radius: 4px;
    overflow: hidden;
}

.discard-viewer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   PLAYTEST RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
    .token-spawner {
        position: fixed;
        right: 0.5rem;
        top: auto;
        bottom: 120px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .lobby-rooms-grid {
        grid-template-columns: 1fr;
    }

    .playmat-container {
        height: auto;
        min-height: calc(100vh - var(--nav-height) - 1rem);
    }

    .playmat-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .game-board {
        min-height: 250px;
    }

    .player-zone {
        flex-wrap: wrap;
        justify-content: center;
    }

    .zone-label {
        writing-mode: horizontal-tb;
        width: 100%;
        text-align: center;
    }

    .hand-area {
        width: 100%;
        justify-content: center;
    }

    .token-spawner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        border-radius: 12px 12px 0 0;
        padding: 0.5rem 1rem;
    }

    .token-spawner-label {
        display: none;
    }

    .token-trash {
        margin-top: 0;
        margin-left: 1rem;
    }

    .your-zone {
        margin-bottom: 60px;
    }
}

/* =============================================
   CARD ZOOM PREVIEW
   ============================================= */

.card-zoom-preview {
    position: fixed;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

.card-zoom-preview.visible {
    opacity: 1;
}

.card-zoom-preview img {
    width: 280px;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Card Zoom Modal (click-based) */
.card-zoom-modal {
    cursor: pointer;
}

.card-zoom-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card-zoom-modal-content img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--color-gold);
}

.card-zoom-modal .zoom-hint {
    color: var(--color-silver);
    margin-top: 1rem;
    font-size: 0.9rem;
}
