/* Retro Rules Page Styles */
        .rules-hero-game {
            background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.9)), 
                        url('../images/rules-bg.jpg') no-repeat center center/cover;
            color: white;
            padding: 8rem 0 4rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #F97316;
        }

        .rules-hero-game::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
            z-index: 0;
        }

        .rules-hero-game h1 {
            font-family: 'Press Start 2P', cursive;
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            color: #F97316;
            text-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
            position: relative;
            z-index: 1;
            animation: text-flicker 1.5s infinite alternate;
        }

        .rules-hero-game p {
            font-family: 'Press Start 2P', cursive;
            font-size: 1.2rem;
            color: white;
            position: relative;
            z-index: 1;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
        }

        .rules-content-game {
            padding: 4rem 0;
            background: #1E293B;
            position: relative;
        }

        .rules-content-game::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
            z-index: 0;
        }

        .container-game {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
            position: relative;
            z-index: 1;
        }

        .rules-section {
            background: rgba(30, 58, 138, 0.7);
            border: 3px solid #F97316;
            padding: 2rem;
            margin-bottom: 3rem;
            box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
            position: relative;
        }

        .rules-section::after {
            content: '';
            position: absolute;
            top: 10px;
            left: 10px;
            right: -10px;
            bottom: -10px;
            border: 1px solid rgba(249, 115, 22, 0.5);
            z-index: -1;
        }

        .rules-section h2 {
            font-family: 'Press Start 2P', cursive;
            font-size: 1.5rem;
            color: #F97316;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            border-bottom: 2px solid #F97316;
            padding-bottom: 0.5rem;
        }

        .rules-section p, .rules-section li {
            font-family: 'Montserrat', sans-serif;
            color: #E2E8F0;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .rules-section ul, .rules-section ol {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .rules-section li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .rules-section li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #F97316;
            font-size: 1.2rem;
            line-height: 1;
        }

        .game-components-game {
            background: rgba(15, 23, 42, 0.8);
            border: 2px dashed #F97316;
            padding: 1.5rem;
            margin: 2rem 0;
        }

        .game-components-game h3 {
            font-family: 'Press Start 2P', cursive;
            font-size: 1rem;
            color: #F97316;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        .phase-game {
            background: rgba(15, 23, 42, 0.8);
            border-left: 4px solid #F97316;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .phase-game h3 {
            font-family: 'Press Start 2P', cursive;
            font-size: 1rem;
            color: white;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        .phase-game h3::before {
            content: '>';
            color: #F97316;
            margin-right: 10px;
        }

        .setup-image-game {
            margin: 2rem 0;
            text-align: center;
            border: 3px solid #F97316;
            padding: 5px;
            background: black;
        }

        .setup-image-game img {
            max-width: 100%;
            display: block;
            border: 1px solid #333;
        }

        table.game-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: rgba(15, 23, 42, 0.8);
            border: 3px solid #F97316;
        }

        table.game-table th {
            font-family: 'Press Start 2P', cursive;
            font-size: 0.8rem;
            background: #F97316;
            color: black;
            padding: 1rem;
            text-align: left;
            text-transform: uppercase;
        }

        table.game-table td {
            font-family: 'Montserrat', sans-serif;
            padding: 1rem;
            border-bottom: 1px solid rgba(249, 115, 22, 0.3);
            color: #E2E8F0;
        }

        table.game-table tr:nth-child(even) {
            background: rgba(30, 58, 138, 0.3);
        }

        .rules-cta-game {
            text-align: center;
            margin-top: 4rem;
            padding: 2rem;
            background: rgba(15, 23, 42, 0.8);
            border: 3px solid #F97316;
            position: relative;
        }

        .rules-cta-game::before {
            content: '';
            position: absolute;
            top: 5px;
            left: 5px;
            right: -5px;
            bottom: -5px;
            border: 1px solid rgba(249, 115, 22, 0.5);
            z-index: -1;
        }

        .rules-cta-game p {
            font-family: 'Press Start 2P', cursive;
            font-size: 1.2rem;
            color: white;
            margin-bottom: 1.5rem;
            text-shadow: 0 0 5px rgba(249, 115, 22, 0.7);
        }

        .btn-game {
            font-family: 'Press Start 2P', cursive;
            font-size: 0.8rem;
            padding: 15px 25px;
            border: 3px solid #F97316;
            background: rgba(30, 58, 138, 0.8);
            color: white;
            text-transform: uppercase;
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
            display: inline-block;
        }

        .btn-game:hover {
            background: #F97316;
            color: white;
            text-shadow: 0 0 5px white;
            box-shadow: 0 0 15px #F97316;
        }

        .btn-game::before {
            content: '>';
            position: absolute;
            left: 10px;
            opacity: 0;
            transition: all 0.3s;
        }

        .btn-game:hover::before {
            opacity: 1;
            left: 15px;
        }

        /* Pixel decorations */
        .pixel-decoration {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #F97316;
            animation: float 3s ease-in-out infinite;
        }

        .pixel-decoration:nth-child(1) {
            top: 20%;
            left: 10%;
        }

        .pixel-decoration:nth-child(2) {
            top: 70%;
            right: 15%;
            animation-delay: 0.5s;
        }

        .pixel-decoration:nth-child(3) {
            bottom: 10%;
            left: 20%;
            animation-delay: 1s;
        }

        /* Animations */
        @keyframes text-flicker {
            0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
                opacity: 1;
                text-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
            }
            20%, 24%, 55% {
                opacity: 0.8;
                text-shadow: none;
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .rules-hero-game h1 {
                font-size: 1.8rem;
            }
            
            .rules-hero-game p {
                font-size: 0.9rem;
            }
            
            .rules-section h2 {
                font-size: 1.2rem;
            }
            
            .container-game {
                padding: 0 15px;
            }
            
            .rules-cta-game p {
                font-size: 1rem;
            }
        }


        /* Card Details */
.card-type-game {
    margin-bottom: 3rem;
}

.card-type-game h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #F97316;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid #F97316;
    padding-bottom: 0.5rem;
}

.card-grid-game {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-detail-game {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 1.5rem;
    position: relative;
    min-height: 180px;
}

.card-detail-game h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: white;
    margin-bottom: 1rem;
}

.card-detail-game p {
    font-family: 'Montserrat', sans-serif;
    color: #E2E8F0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-points-game {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: #F97316;
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border: 1px solid #F97316;
}

/* Turn Phases */
.turn-phase-game {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.turn-phase-game h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.turn-phase-game ol,
.turn-phase-game ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.turn-phase-game li {
    font-family: 'Montserrat', sans-serif;
    color: #E2E8F0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.turn-phase-game strong {
    color: #F97316;
}

.turn-tip-game {
    background: rgba(249, 115, 22, 0.2);
    border-left: 4px solid #F97316;
    padding: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    color: #F97316;
    font-size: 0.9rem;
}

.turn-tip-game i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .card-grid-game {
        grid-template-columns: 1fr;
    }
    
    .card-detail-game {
        min-height: auto;
    }
}