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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Spotlight Effect */
.spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transition: all 0.15s ease-out;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #ffd700, #daa520);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.logo-text p {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #ffd700;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Tab Navigation */
.tab-container {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 32px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.tab-btn:hover {
    color: #e5e7eb;
}

.tab-btn.active {
    background: rgba(16, 185, 129, 0.15);
    color: #ffd700;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(16, 185, 129, 0.2);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.card-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Form */
.form-row {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: #4b5563;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Button */
.verify-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.verify-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s;
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
}

.verify-btn:hover::before {
    opacity: 1;
}

.verify-btn:active {
    transform: translateY(0);
}

/* Visualization Card */
.viz-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.viz-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 24px;
    position: relative;
}

.viz-icon::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.viz-title {
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.viz-subtitle {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.stat-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
}

/* Mines Board Styles */
.mines-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    max-width: 300px;
    margin: 0 auto 24px;
}

.mine-cell {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    animation: cellReveal 0.5s ease forwards;
}

.mine-cell.bomb {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

.mine-cell.safe {
    background: rgba(16, 185, 129, 0.2);
    color: #ffd700;
    border-color: rgba(16, 185, 129, 0.3);
}

@keyframes cellReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Blackjack Card Styles */
.hands-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hand-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hand-label {
    font-size: 16px;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cards-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.playing-card {
    width: 60px;
    height: 84px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: cardDeal 0.5s ease forwards;
}

.playing-card .card-suit {
    font-size: 16px;
    margin-bottom: 2px;
    color: #000;
}

.playing-card .card-value {
    font-size: 10px;
    color: #000;
}

@keyframes cardDeal {
    0% {
        opacity: 0;
        transform: translateY(-20px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* Status Messages */
.verify-status {
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    animation: slideUp 0.5s ease forwards;
    animation-delay: 1s;
    opacity: 0;
    border: 1px solid;
    margin-top: 16px;
}

.verify-status.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #ffd700;
}

.verify-status.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(16, 185, 129, 0.1) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Responsive */
@media (max-width: 968px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mines-board {
        max-width: 250px;
    }

    .mine-cell {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .playing-card {
        width: 50px;
        height: 70px;
        font-size: 10px;
    }

    .card-suit {
        font-size: 14px;
    }

    .card-value {
        font-size: 8px;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
    max-width: 300px;
    animation: slideInRight 0.3s ease forwards;
}

.toast.hidden {
    display: none;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Success Animation */
.success-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

.success-message {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    color: #000;
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    animation: successBounce 1s ease-out;
}

@keyframes successBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Sparkles Animation */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkleFall 2s linear infinite;
}

@keyframes sparkleFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.sparkle:nth-child(odd) {
    animation-delay: 0s;
    left: 10%;
}

.sparkle:nth-child(even) {
    animation-delay: 0.5s;
    left: 90%;
}

.sparkle:nth-child(3n) {
    animation-delay: 1s;
    left: 50%;
}

.sparkle:nth-child(4n) {
    animation-delay: 1.5s;
    left: 25%;
}

.sparkle:nth-child(5n) {
    animation-delay: 2s;
    left: 75%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}

/* =====================
   Roulette Styles
   ===================== */

.roulette-result {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

.roulette-wheel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
}

.roulette-number {
    min-width: 60px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.roulette-number.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.roulette-number.black {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.2) 0%, rgba(31, 41, 55, 0.2) 100%);
    border-color: rgba(156, 163, 175, 0.3);
}

.roulette-number.gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.roulette-number.winning {
    border-width: 3px;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.roulette-number.winning.red {
    border-color: rgba(239, 68, 68, 0.8);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(185, 28, 28, 0.2) 100%);
}

.roulette-number.winning.black {
    border-color: rgba(156, 163, 175, 0.8);
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.3) 0%, rgba(31, 41, 55, 0.3) 100%);
}

.roulette-number.winning.gold {
    border-color: rgba(251, 191, 36, 0.8);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(217, 119, 6, 0.2) 100%);
}

.number-emoji {
    font-size: 24px;
}

.number-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.winning-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.winning-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.winning-display {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 40px;
    border-radius: 12px;
    border: 2px solid;
    animation: fadeIn 0.5s ease-out 0.3s both;
}

.winning-display.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}

.winning-display.black {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.2) 0%, rgba(31, 41, 55, 0.2) 100%);
    border-color: rgba(156, 163, 175, 0.5);
    box-shadow: 0 0 30px rgba(156, 163, 175, 0.2);
}

.winning-display.gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
}

.winning-emoji {
    font-size: 48px;
}

.winning-value {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
}

.winning-color {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 2px;
}

.verification-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 13px;
    font-weight: 500;
    color: #ffd700;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    padding: 8px 12px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

/* =====================
   404 Error Page Styles
   ===================== */

.error-card {
    text-align: center;
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.error-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease-out;
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    animation: fadeIn 0.5s ease-out 0.1s both;
}

.error-subtitle {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-out 0.2s both;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-out 0.3s both;
}

.error-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.error-btn.primary {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
    border-color: #ffd700;
    color: #fff;
}

.error-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.error-btn.secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.error-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.error-btn span {
    font-size: 20px;
}

.error-help {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeIn 0.5s ease-out 0.4s both;
}

.error-help p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.error-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.error-links li a {
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.error-links li a:hover {
    color: #daa520;
    text-decoration: underline;
}

/* =====================
   Cards Styles
   ===================== */

.cards-result {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

.cards-deck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 500px;
    overflow-y: auto;
}

.card-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease;
    animation: cardSlideIn 0.5s ease-out both;
}

.card-item:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card-item.red {
    border-color: rgba(239, 68, 68, 0.3);
}

.card-item.red:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

.card-item.black {
    border-color: rgba(156, 163, 175, 0.3);
}

.card-item.black:hover {
    border-color: rgba(156, 163, 175, 0.5);
}

.card-number {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
}

.card-suit {
    font-size: 32px;
}

.card-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.cards-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.summary-stat .stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-stat .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   Towers Styles
   ===================== */

.towers-result {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

.towers-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.towers-row {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.5s ease-out both;
}

.row-label {
    min-width: 60px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-align: right;
}

.row-cells {
    display: flex;
    gap: 8px;
    flex: 1;
}

.tower-cell {
    flex: 1;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 8px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.tower-cell.bomb {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.tower-cell.bomb:hover {
    transform: scale(1.05);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.tower-cell.safe {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.tower-cell.safe:hover {
    transform: scale(1.05);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.towers-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}