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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Scrolling Banner Styles */
.scrolling-banner {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
    width: 100%;
    transition: transform 0.3s ease;
}

.banner-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    font-size: 14px;
    font-weight: 500;
}

.banner-item i {
    margin-right: 8px;
    font-size: 16px;
}

.banner-item.urgent {
    color: #ffd700;
    font-weight: bold;
}

.banner-item.event {
    color: #87ceeb;
}

.banner-item.news {
    color: #98fb98;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.scrolling-banner:hover .banner-content {
    animation-play-state: paused;
}

/* Responsive adjustments for banner */
@media (max-width: 768px) {
    .banner-item {
        font-size: 12px;
        margin-right: 30px;
    }
    
    .banner-item i {
        font-size: 14px;
    }
}

/* Hide banner when scrolling down */
.scrolling-banner.hidden {
    transform: translateY(-100%);
}

/* Adjust header position when banner is visible */
.scrolling-banner:not(.hidden) + .header {
    top: 44px; /* Height of the banner */
}

/* Adjust hero section to account for banner + header */
.scrolling-banner:not(.hidden) ~ .hero {
    padding-top: 224px; /* 180px original + 44px banner */
}

/* When banner is hidden, hero returns to normal */
.scrolling-banner.hidden ~ .hero {
    padding-top: 180px; /* Original padding */
}

/* Header */
.header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: top 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

/* Hero Section */
.hero {
    background: url('../img/conference.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 10px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Mobile improvements for CTA buttons */
@media (max-width: 768px) {
    .cta-button {
        display: block;
        margin: 15px auto;
        width: 85%;
        max-width: 300px;
        text-align: center;
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .hero .cta-button {
        margin: 15px auto;
        display: block;
        width: 85%;
        max-width: 300px;
    }
    
    /* Stack buttons vertically with proper spacing */
    .hero-content .cta-button + .cta-button {
        margin-top: 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .cta-button {
        width: 90%;
        padding: 18px 15px;
        font-size: 16px;
        margin: 15px auto;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content .cta-button + .cta-button {
        margin-top: 18px;
    }
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000000;
    font-weight: 700;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-content h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.3rem;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
}

.game-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.game-content .cta-button {
    align-self: flex-start;
    margin-top: auto;
}

.game-card:nth-child(1) .game-image {
    background: url('../img/vproject_card.png') no-repeat center center;
    background-size: cover;
}

.game-card:nth-child(2) .game-image {
    background: url('../img/crazy_card.png') no-repeat center center;
    background-size: cover;
}

.game-card:nth-child(3) .game-image {
    background: url('../img/jogo_do_bicho_card.png') no-repeat center center;
    background-size: cover;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000000;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-image {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
}

.contact-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc2626;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #dc2626;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #dc2626;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Mobile Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-yes {
    background: #28a745;
    color: white;
}

.btn-no {
    background: #dc3545;
    color: white;
}

/* Virtual Sports Page Hero */
.virtual-sports-hero {
    background: url('../img/bg_virtual.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.virtual-sports-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.virtual-sports-hero .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Virtual Sports Games Grid */
.virtual-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.virtual-game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
}

.virtual-game-card:hover {
    transform: translateY(-5px);
}

.virtual-game-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.3rem;
}

.virtual-game-card p {
    color: #666;
    line-height: 1.6;
}

/* Sportsbook Features Grid */
.sportsbook-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sportsbook-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.sportsbook-feature-card:hover {
    transform: translateY(-5px);
}

.sportsbook-feature-card .game-image {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.sportsbook-feature-card .game-image i {
    font-size: 2rem;
    color: white;
}

.sportsbook-feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
}

.sportsbook-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Sportsbook Hero Section */
.hero-sportsbook {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg-sportbook.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-sportsbook h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-sportsbook p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Casino Features Grid */
.casino-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.casino-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.casino-feature-card:hover {
    transform: translateY(-5px);
}

.casino-feature-card .game-image {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.casino-feature-card .game-image i {
    font-size: 2rem;
    color: white;
}

.casino-feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
}

.casino-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Casino Hero Section */
.hero-casino {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg_casino.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-casino h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-casino p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Virtual Sports Hero Section */
.hero-virtual-sports {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg_virtual.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-virtual-sports h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-virtual-sports p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Live Casino Hero Section */
.hero-live-casino {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg_casinolive.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-live-casino h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-live-casino p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Live Casino Features Grid */
.live-casino-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.live-casino-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.live-casino-feature-card:hover {
    transform: translateY(-5px);
}

.live-casino-feature-card .game-image {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.live-casino-feature-card .game-image i {
    font-size: 2rem;
    color: white;
}

.live-casino-feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
}

.live-casino-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Poker Hero Section */
.hero-poker {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg-poker.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-poker h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-poker p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Poker Features Grid */
.poker-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.poker-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.poker-feature-card:hover {
    transform: translateY(-5px);
}

.poker-feature-card .game-image {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.poker-feature-card .game-image i {
    font-size: 2rem;
    color: white;
}

.poker-feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
}

.poker-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Feeds Hero Section */
.hero-feeds {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg-feed.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-feeds h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-feeds p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Feeds Features Grid */
.feeds-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feeds-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.feeds-feature-card:hover {
    transform: translateY(-5px);
}

.feeds-feature-card .game-image {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feeds-feature-card .game-image i {
    font-size: 2rem;
    color: white;
}

.feeds-feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
}

.feeds-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Streaming Hero Section */
.hero-streaming {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg-sportbook.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-streaming h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-streaming p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Streaming Features Grid */
.streaming-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.streaming-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.streaming-feature-card:hover {
    transform: translateY(-5px);
}

.streaming-feature-card .game-image {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.streaming-feature-card .game-image i {
    font-size: 2rem;
    color: white;
}

.streaming-feature-card h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
}

.streaming-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Templates Section */
.templates-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.template-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.template-card:hover {
    transform: translateY(-5px);
}

.template-image {
    height: 200px;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.template-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.template-image i {
    position: relative;
    z-index: 2;
}

/* Template specific images */
.template-card:nth-child(1) .template-image {
    background: url('../img/betxstar_preview.png');
    background-size: cover;
    background-position: center;
}

.template-card:nth-child(2) .template-image {
    background: url('../img/betelite_preview.png');
    background-size: cover;
    background-position: center;
}

.template-card:nth-child(3) .template-image {
    background: url('../img/probetting_preview.png');
    background-size: cover;
    background-position: center;
}

.template-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-content h3 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
    font-size: 1.3rem;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
}

.template-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.template-content .cta-button {
    align-self: flex-start;
    margin-top: auto;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        border-radius: 0;
    }
    
    .dropdown-content {
        position: static;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border-radius: 0;
        display: none;
        width: 100%;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.8rem 3rem;
        color: rgba(255,255,255,0.8);
        border-radius: 0;
    }
    
    .dropdown-content a:hover {
        background: rgba(220, 38, 38, 0.2);
        color: white;
        transform: none;
        box-shadow: none;
    }
    
    /* Remove dropdown arrows on mobile */
    .dropdown > a::after {
        content: none;
    }
    
    .dropdown.active > a::after {
        content: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        line-height: 1.5;
    }
    
    .about-content {
        flex-direction: column;
    }
}

/* Poker Page Mobile Optimizations */
@media (max-width: 768px) {
    /* Hero Poker Section */
    .hero-poker h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-poker p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* About Section Mobile */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text ul li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        padding-left: 0;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-image {
        text-align: center;
        order: -1; /* Move icon to top on mobile */
    }
    
    .about-image i {
        font-size: 5rem !important;
        margin-bottom: 1rem;
    }
    
    /* Poker Features Grid */
    .poker-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .poker-feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .poker-feature-card .game-image {
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .poker-feature-card .game-image i {
        font-size: 2.5rem;
    }
    
    .poker-feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .poker-feature-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Contact Section Mobile */
    .contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .contact-section h3 {
        font-size: 1.5rem !important;
        margin-top: 2rem;
    }
    
    /* CTA Button Mobile */
    .contact-section .cta-button {
        display: block;
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
        padding: 15px 20px;
        font-size: 16px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-poker h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-poker p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .about-text ul li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .about-image i {
        font-size: 4rem !important;
    }
    
    .poker-feature-card {
        padding: 1.2rem;
    }
    
    .poker-feature-card .game-image {
        height: 70px;
    }
    
    .poker-feature-card .game-image i {
        font-size: 2rem;
    }
    
    .poker-feature-card h3 {
        font-size: 1.2rem;
    }
    
    .poker-feature-card p {
        font-size: 0.95rem;
    }
    
    .contact-section h2 {
        font-size: 1.6rem;
    }
    
    .contact-section p {
        font-size: 0.95rem;
    }
    
    .contact-section h3 {
        font-size: 1.3rem !important;
    }
    
    .contact-section .cta-button {
        width: 90%;
        padding: 18px 15px;
        font-size: 16px;
    }
}

/* Fix for poker page specific elements */
.poker-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.poker-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.poker-feature-card:hover {
    transform: translateY(-5px);
}

.poker-feature-card .game-image {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.poker-feature-card .game-image i {
    font-size: 3rem;
    color: white;
}

.poker-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.poker-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Virtual Sports Page Mobile Optimizations */
@media (max-width: 768px) {
    /* Hero Virtual Sports Section */
    .hero-virtual-sports h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-virtual-sports p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* About Section Mobile */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text ul li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        padding-left: 1rem !important;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 1.5rem;
    }
    
    .about-image {
        text-align: center;
        order: -1; /* Move image to top on mobile */
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    /* Virtual Games Grid */
    .virtual-games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .virtual-game-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .virtual-game-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: #333;
    }
    
    .virtual-game-card p {
        font-size: 1rem;
        line-height: 1.6;
        color: #666;
    }
    
    /* Section Title Mobile */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* CTA Button Mobile */
    .contact-section .cta-button,
    .about-text .cta-button {
        display: block;
        width: 80%;
        max-width: 250px;
        margin: 1rem auto;
        padding: 15px 20px;
        font-size: 16px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-virtual-sports h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-virtual-sports p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .about-text ul li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        padding-left: 0.5rem !important;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-top: 1.2rem;
    }
    
    .virtual-game-card {
        padding: 1.2rem;
    }
    
    .virtual-game-card h3 {
        font-size: 1.2rem;
    }
    
    .virtual-game-card p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-section h2 {
        font-size: 1.6rem;
    }
    
    .contact-section p {
        font-size: 0.95rem;
    }
    
    .contact-section .cta-button,
    .about-text .cta-button {
        width: 90%;
        padding: 18px 15px;
        font-size: 16px;
    }
}

/* Fix for virtual sports page specific elements */
.virtual-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.virtual-game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.virtual-game-card:hover {
    transform: translateY(-5px);
}

.virtual-game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.virtual-game-card p {
    color: #666;
    line-height: 1.6;
}

/* Live Casino Page Mobile Optimizations */
@media (max-width: 768px) {
    /* Hero Live Casino Section */
    .hero-live-casino h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-live-casino p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* Live Casino Features Grid */
    .live-casino-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .live-casino-feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .live-casino-feature-card .game-image {
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .live-casino-feature-card .game-image i {
        font-size: 2.5rem;
    }
    
    .live-casino-feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .live-casino-feature-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Extra small mobile devices for live casino */
@media (max-width: 480px) {
    .hero-live-casino h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-live-casino p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .live-casino-feature-card {
        padding: 1.2rem;
    }
    
    .live-casino-feature-card .game-image {
        height: 70px;
    }
    
    .live-casino-feature-card .game-image i {
        font-size: 2rem;
    }
    
    .live-casino-feature-card h3 {
        font-size: 1.2rem;
    }
    
    .live-casino-feature-card p {
        font-size: 0.95rem;
    }
}

/* Streaming Page Mobile Optimizations */
@media (max-width: 768px) {
    /* Hero Streaming Section */
    .hero-streaming h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-streaming p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* About Section Mobile */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text ul li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        padding-left: 0;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-image {
        text-align: center;
        order: -1; /* Move icon to top on mobile */
    }
    
    .about-image i {
        font-size: 5rem !important;
        margin-bottom: 1rem;
    }
    
    /* Streaming Features Grid */
    .streaming-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .streaming-feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .streaming-feature-card .game-image {
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .streaming-feature-card .game-image i {
        font-size: 2.5rem;
    }
    
    .streaming-feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .streaming-feature-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Sports Portfolio Section Mobile */
    .about-text h3 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Sports Grid Mobile */
    .about-text div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .about-text div[style*="grid-template-columns"] > div {
        padding: 1rem !important;
        margin-bottom: 0.5rem;
    }
    
    .about-text div[style*="grid-template-columns"] ul li {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .contact-section h3 {
        font-size: 1.5rem !important;
        margin-top: 2rem;
    }
    
    /* CTA Button Mobile */
    .contact-section .cta-button {
        display: block;
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
        padding: 15px 20px;
        font-size: 16px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-streaming h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-streaming p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .about-text ul li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .about-image i {
        font-size: 4rem !important;
    }
    
    .streaming-feature-card {
        padding: 1.2rem;
    }
    
    .streaming-feature-card .game-image {
        height: 70px;
    }
    
    .streaming-feature-card .game-image i {
        font-size: 2rem;
    }
    
    .streaming-feature-card h3 {
        font-size: 1.2rem;
    }
    
    .streaming-feature-card p {
        font-size: 0.95rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
    }
    
    .about-text div[style*="grid-template-columns"] > div {
        padding: 0.8rem !important;
    }
    
    .about-text div[style*="grid-template-columns"] ul li {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-section h2 {
        font-size: 1.6rem;
    }
    
    .contact-section p {
        font-size: 0.95rem;
    }
    
    .contact-section h3 {
        font-size: 1.3rem !important;
    }
    
    .contact-section .cta-button {
        width: 90%;
        padding: 18px 15px;
        font-size: 16px;
    }
}

/* Fix for streaming page specific elements */
.streaming-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.streaming-feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.streaming-feature-card:hover {
    transform: translateY(-5px);
}

.streaming-feature-card .game-image {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.streaming-feature-card .game-image i {
    font-size: 3rem;
    color: white;
}

.streaming-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.streaming-feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer Mobile Optimizations */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        text-align: center;
        padding: 0;
    }
    
    .footer-section ul li {
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-section ul li a {
        text-align: center;
        display: inline-block;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
    }
    
    .footer-bottom p {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-bottom p:last-child {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom p:last-child a {
        display: inline-block;
        margin: 0.3rem 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-bottom p:last-child a {
        font-size: 0.9rem;
        margin: 0.2rem 0;
    }
}