@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color System */
    --bg-primary: #0E1117;
    --bg-secondary: #1A1F2B;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --gold-royal: #D4AF37;
    --bronze-ancient: #8A6A3E;
    --emerald-deep: #1F5E4A;
    --crimson-royal: #7B2634;
    --gray-stone: #9CA3AF;
    --text-primary: #F8F7F2;
    --text-secondary: #D7D2C5;
    --text-muted: #9E988C;
    
    /* Layout System */
    --max-width: 1280px;
    --spacing-desktop: 120px;
    --spacing-tablet: 80px;
    --spacing-mobile: 60px;
    
    /* Effects */
    --glass-border: 1px solid rgba(212, 175, 55, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--gold-royal);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--gold-royal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-desktop);
}

.section {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-royal) 0%, var(--bronze-ancient) 100%);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
    color: var(--bg-primary);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--bronze-ancient);
}

.btn-secondary:hover {
    background: rgba(138, 106, 62, 0.1);
    border-color: var(--gold-royal);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(14, 17, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-royal);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo svg {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links li a {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--gold-royal);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-royal);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--gold-royal);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold-royal);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    color: var(--text-primary);
}

/* Global Compliance Bar */
.compliance-bar-top {
    background: var(--bg-secondary);
    color: var(--text-muted);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 1001;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: luminosity;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(14, 17, 23, 0.2) 0%, rgba(14, 17, 23, 1) 100%),
                linear-gradient(to bottom, rgba(14, 17, 23, 0.4) 0%, rgba(14, 17, 23, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    color: var(--bronze-ancient);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, #FFFFFF 0%, var(--gold-royal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-compliance-notice {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background: var(--surface);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--gray-stone);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* Game Showcase Section */
.game-showcase {
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 20px;
    border: var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--gold-royal), transparent, var(--emerald-deep));
    z-index: -1;
    border-radius: 26px;
    opacity: 0.3;
}

.game-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0,0,0,1);
}

.game-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 0 15px;
}

.game-title-area h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.game-title-area p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.feature-card {
    grid-column: span 6;
    background: var(--surface);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--surface-hover);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold-royal);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Page Headers */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-content {
    padding: 80px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.page-content li {
    margin-bottom: 10px;
}

/* Contact Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 20px 0;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.detail-item .icon {
    font-size: 1.5rem;
    color: var(--gold-royal);
}

.detail-item strong {
    color: var(--gold-royal);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.detail-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-form {
    background: var(--surface);
    padding: 40px;
    border-radius: 20px;
    border: var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-royal);
    background: rgba(0, 0, 0, 0.4);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: #080A0E;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

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

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.business-address {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.business-address strong {
    color: var(--text-secondary);
}

.compliance-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links h4 {
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--gold-royal);
}

.footer-compliance {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
}

.footer-compliance p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-compliance p:last-child {
    margin-bottom: 0;
}

.footer-compliance strong {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-tablet);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-mobile);
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(14, 17, 23, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(212, 175, 55, 0.1);
        border-top: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    .feature-card {
        grid-column: span 12;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .game-info-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}