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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #009c3b 0%, #006f2b 100%);
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: rgba(0, 156, 59, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ffdf00;
}

.banner {
    background: linear-gradient(135deg, #009c3b 0%, #006f2b 50%, #004d1f 100%);
    padding: 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 1;
}

.banner-image {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
    padding: 15px 20px 0;
    height: auto;   
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px 20px 40px;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 800;
    letter-spacing: 1px;
}

.banner p {
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.banner-play-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ffdf00, #f5c800);
    color: #006f2b;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.5);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 223, 0, 0.5);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 223, 0, 0.8), 0 0 40px rgba(255, 223, 0, 0.4);
    }
}

.banner-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 223, 0, 0.7);
    background: linear-gradient(135deg, #ffe533, #ffdf00);
}

.banner-play-btn:active {
    transform: scale(0.98);
}

.categories {
    padding: 50px 0;
}

.category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffdf00;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.category-description {
    font-size: 1rem;
    color: #b8b8b8;
    margin-bottom: 25px;
    font-weight: 400;
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #e94560;
}

.category-description {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 223, 0, 0.3);
    background: linear-gradient(145deg, #005620, #003d17);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 223, 0, 0.6);
}

.game-card.coming-soon {
    cursor: default;
    opacity: 0.7;
}

.game-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 223, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    filter: brightness(0.95);
}

.game-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.game-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 20px 45px;
    color: #fff;
    height: 100%;
    gap: 20px;
}

.game-logo-icon {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.maze-icon {
    position: relative;
    width: 100%;
    height: 100%;
    background: #009c3b;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.maze-path {
    position: absolute;
    background: #ffdf00;
    border-radius: 2px;
}

.maze-start {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffdf00;
    border-radius: 50%;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px rgba(255, 223, 0, 0.6);
}

.maze-end {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #002776;
    border-radius: 50%;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #ffdf00;
}

.wheel-icon {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wheel-center {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffdf00;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.6);
    z-index: 3;
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    transform-origin: 0% 100%;
}

.wheel-segment::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.wheel-pointer {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #ffdf00;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.slot-icon {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.slot-reel {
    width: 28px;
    height: 80px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.slot-symbol {
    font-size: 24px;
    line-height: 1;
}

.slot-lever {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, #ffdf00, #f5c800);
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slot-lever::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffdf00;
    border-radius: 50%;
    top: -6px;
    left: -3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.flip-icon {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3436, #636e72);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.flip-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.game-info-content {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.game-play-btn {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 20px;
}

.game-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #ffdf00;
    font-weight: 700;
    white-space: nowrap;
}

.game-info p {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.4;
}

.play-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffdf00, #f5c800);
    color: #006f2b;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 223, 0, 0.4);
    white-space: nowrap;
    margin-top: 10px;
    align-self: flex-start;
    text-decoration: none;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 223, 0, 0.6);
    background: linear-gradient(135deg, #ffe533, #ffdf00);
    text-decoration: none;
}

.play-btn:active {
    transform: scale(0.98);
}

.footer {
    background: rgba(0, 80, 30, 0.95);
    padding: 40px 0;
    margin-top: 60px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact h3 {
    color: #ffdf00;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 8px;
    color: #a0a0a0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffdf00;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    color: #666;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.05);
}

.whatsapp-qr {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
}

.email-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ffdf00;
}

.qr-desc {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.main-content {
    padding: 60px 0;
}

.main-content h1 {
    font-size: 2.5rem;
    color: #ffdf00;
    margin-bottom: 30px;
}

.main-content h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 30px 0 15px;
}

.main-content p,
.main-content li {
    color: #a0a0a0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.main-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .game-card img {
        height: 200px;
    }

    .banner-content {
        padding: 30px 20px;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        gap: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(0, 156, 59, 0.98);
        padding: 10px 0;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-link {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }


    .banner-content {
        padding: 20px 15px 30px;
    }

    .banner h1 {
        font-size: 1.8rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .category-description {
        font-size: 0.95rem;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .game-card {
        border-radius: 12px;
        height: 280px;
    }

    .game-card img {
        height: 150px;
    }

    .game-card:hover {
        transform: translateY(-6px) scale(1.02);
    }

    .game-info {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 10px;
    }

    .game-logo-icon {
        width: 60px;
        height: 60px;
    }

    .maze-start {
        width: 8px;
        height: 8px;
        left: 6px;
    }

    .maze-end {
        width: 10px;
        height: 10px;
        right: 4px;
    }

    .game-info-content {
        text-align: center;
        width: 100%;
    }

    .game-info h3 {
        font-size: 1.1rem;
        white-space: normal;
    }

    .game-info p {
        font-size: 0.8rem;
        display: block;
    }

    .game-play-btn {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin-top: 10px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .footer-contact {
        text-align: center;
    }

    .whatsapp-link {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .whatsapp-qr {
        width: 100px;
        height: 100px;
    }

    .qr-desc {
        font-size: 0.75rem;
    }

    .logo img {
        height: 40px;
    }

    .nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .banner-content {
        padding: 20px 15px;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .banner p {
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card {
        border-radius: 10px;
        height: 260px;
    }

    .game-card img {
        height: 140px;
    }

    .game-info {
        padding: 10px;
        gap: 8px;
    }

    .game-logo-icon {
        width: 50px;
        height: 50px;
    }

    .maze-start {
        width: 6px;
        height: 6px;
        left: 5px;
    }

    .maze-end {
        width: 8px;
        height: 8px;
        right: 3px;
    }

    .game-info-content {
        text-align: center;
    }

    .game-info h3 {
        font-size: 0.95rem;
    }

    .game-info p {
        font-size: 0.75rem;
        display: block;
    }

    .game-play-btn {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin-top: 8px;
    }

    .play-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.footer {
    padding: 40px 0;
}

.game-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.game-modal-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.game-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 85vh;
    max-height: 800px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 223, 0, 0.3);
}

.modal-close {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 223, 0, 0.9);
    border: none;
    border-radius: 50%;
    color: #006f2b;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-close:hover {
    background: #ffdf00;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    box-sizing: border-box;
}


