:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #FFD700;
    --dark-gold: #B8860B;
    --black: #0A0A0A;
    --dark-grey: #1A1A1A;
    --medium-grey: #2A2A2A;
    --light-grey: #E5E5E5;
    --white: #FFFFFF;
    --accent-red: #8B0000;
    --success: #4CAF50;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: linear-gradient(180deg, rgba(26,26,26,0.95) 0%, rgba(10,10,10,0.95) 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-gold);
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .accent {
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    padding: 12px 35px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--black);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
    background: var(--black);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../images/optimized/casino_bg.png'),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.03) 10px,
            rgba(212, 175, 55, 0.03) 20px
        );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

/* Alternative hero backgrounds for different pages */
.hero-bg.sports {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../images/optimized/casino-player.png');
}

.hero-bg.fishing {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../images/optimized/roulette.png');
}

.hero-bg.lottery {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../images/optimized/poker-table.png');
}

.hero-bg.cards {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../images/optimized/poker-group.png');
}

.hero-bg.casino {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('../images/optimized/casino_bg.png');
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

.hero-title .line-1 {
    display: block;
    font-size: 24px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.hero-title .line-2 {
    display: block;
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 50%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
}

.hero-title .line-3 {
    display: block;
    font-size: 32px;
    color: var(--white);
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    position: relative;
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-gold .btn-text {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.btn-gold .btn-bonus {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--black);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    color: var(--light-grey);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-grey) 0%, var(--black) 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--white);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--medium-grey);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gold);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(1) saturate(2) hue-rotate(30deg) brightness(1.2);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.feature-card p {
    color: var(--light-grey);
    line-height: 1.8;
}

/* Games Section */
.games {
    padding: 100px 0;
    background: var(--black);
}

.section-subtitle {
    text-align: center;
    color: var(--light-grey);
    font-size: 18px;
    margin-top: -40px;
    margin-bottom: 60px;
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.game-card.large {
    grid-column: span 2;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 100%);
    padding: 30px;
    transform: translateY(50%);
    transition: transform 0.3s;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

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

.game-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.game-overlay p {
    color: var(--light-grey);
    margin-bottom: 20px;
}

/* Content Blocks */
.content-blocks {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-grey) 100%);
}

.content-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.content-block.right {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    position: relative;
}

.content-image img {
    width: 100%;
    height: auto;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}

.content-text {
    flex: 1;
}

.content-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.content-text p {
    color: var(--light-grey);
    line-height: 1.8;
    font-size: 16px;
}

/* Promotions Section */
.promotions-section {
    padding: 100px 0;
    background: var(--black);
}

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

.promo-card {
    background: var(--medium-grey);
    padding: 30px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s;
}

.promo-card.featured {
    border-color: var(--primary-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-red);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.promo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.promo-card p {
    color: var(--light-grey);
    margin-bottom: 20px;
}

/* Mobile App Section */
.mobile-app {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-grey) 0%, var(--black) 100%);
}

.app-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.app-text {
    flex: 1;
}

.app-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.app-text h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}

.app-text p {
    color: var(--light-grey);
    margin-bottom: 30px;
    line-height: 1.8;
}

.app-features {
    margin-bottom: 30px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-check {
    color: var(--primary-gold);
    font-size: 20px;
}

.app-image {
    flex: 1;
}

.app-image img {
    width: 100%;
    height: auto;
}

/* Trust Badges */
.trust-badges {
    padding: 80px 0;
    background: var(--black);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.badge-item {
    text-align: center;
    padding: 30px;
    background: var(--medium-grey);
    border: 1px solid rgba(212, 175, 55, 0.2);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.badge-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.badge-item p {
    color: var(--light-grey);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-grey) 0%, var(--black) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--medium-grey);
    padding: 30px;
    border-left: 3px solid var(--primary-gold);
}

.faq-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--light-grey);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--medium-grey);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--primary-gold);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--black);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--light-grey);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.float-btn span {
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-grey);
        flex-direction: column;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title .line-2 {
        font-size: 80px;
    }

    .content-block,
    .content-block.right {
        flex-direction: column;
    }

    .app-content {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title .line-1 {
        font-size: 18px;
    }

    .hero-title .line-2 {
        font-size: 60px;
    }

    .hero-title .line-3 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .games-showcase {
        grid-template-columns: 1fr;
    }

    .game-card.large {
        grid-column: span 1;
    }

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

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title .line-2 {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

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