:root {
    --bg-base: #0B1015;
    --surface: #151C24;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --aurora-green: #3FAE8C;
    --nordic-gold: #D6B25E;
    --slate-blue: #4A6FA5;
    --warm-white: #F8F7F2;
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --muted: #94A3B8;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: 75px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 400;
}

a {
    color: var(--warm-white);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--nordic-gold);
}

/* Typography Utilities */
.text-gold { color: var(--nordic-gold); }
.text-primary { color: var(--text-primary); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-gold {
    background: linear-gradient(135deg, #E6C875 0%, var(--nordic-gold) 100%);
    color: var(--bg-base);
    box-shadow: 0 4px 15px rgba(214, 178, 94, 0.2);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #F0D485 0%, #E6C875 100%);
    box-shadow: 0 6px 20px rgba(214, 178, 94, 0.3);
    color: var(--bg-base);
    transform: translateY(-2px);
}

.btn-glass {
    background: var(--glass);
    color: var(--warm-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--glass-hover);
    border-color: var(--nordic-gold);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 16, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
}

header.scrolled {
    background: rgba(11, 16, 21, 0.95);
}

.top-bar {
    background: rgba(11, 16, 21, 0.95);
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
    padding: 8px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.05em;
    line-height: 1.4;
    width: 100%;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--warm-white);
    letter-spacing: 0.1em;
}

.logo-rune {
    width: 24px;
    height: 24px;
    fill: var(--nordic-gold);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--warm-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--warm-white);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, transparent 0%, var(--bg-base) 80%);
    z-index: -1;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 3.5fr 6.5fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--warm-white);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--slate-blue);
}

/* Game Frame */
.game-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    border: 1px solid rgba(214, 178, 94, 0.3);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(214, 178, 94, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.game-header {
    height: 40px;
    background: rgba(21, 28, 36, 0.9);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
}

.game-control {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-control:hover {
    color: var(--nordic-gold);
}

.game-control svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.game-container {
    flex-grow: 1;
    position: relative;
    width: 100%;
}

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

/* Editorial Block 1 */
.editorial-intro {
    padding: 120px 5%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.editorial-intro p {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--warm-white);
    line-height: 1.5;
}

.editorial-intro p span {
    color: var(--nordic-gold);
    font-style: italic;
}

/* Features Block 2 */
.features-section {
    padding: 0 5% 120px;
    max-width: 1600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px 32px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(214, 178, 94, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 32px;
    height: 32px;
    stroke: var(--nordic-gold);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 500;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
}

/* Panoramic Block 3 */
.panoramic-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.panoramic-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
}

.panoramic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-base) 0%, transparent 30%, transparent 70%, var(--bg-base) 100%),
                linear-gradient(to right, rgba(11, 16, 21, 0.8) 0%, rgba(11, 16, 21, 0.3) 50%, rgba(11, 16, 21, 0.8) 100%);
    z-index: -1;
}

.panoramic-content {
    text-align: center;
    z-index: 1;
}

.panoramic-content h2 {
    font-size: 4rem;
    color: var(--warm-white);
    letter-spacing: 0.05em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* About Block 4 */
.about-section {
    padding: 120px 5%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.decor-icon {
    width: 40px;
    height: 40px;
    fill: var(--slate-blue);
    margin-bottom: 32px;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Contact Block 5 */
.contact-section {
    padding: 80px 5% 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 4px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 40px;
    color: var(--muted);
}

.info-item {
    margin-bottom: 24px;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
    display: block;
}

.info-value {
    font-size: 1.1rem;
    color: var(--warm-white);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background: var(--bg-base);
    border: 1px solid var(--glass-border);
    padding: 16px;
    color: var(--warm-white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--nordic-gold);
    background: rgba(255, 255, 255, 0.02);
}

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

/* Responsible Gaming Block 6 */
.rg-section {
    padding: 60px 5%;
    border-top: 1px solid var(--glass-border);
    background: rgba(11, 16, 21, 0.5);
    text-align: center;
}

.rg-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rg-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
}

.rg-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rg-badge-item svg {
    width: 24px;
    height: 24px;
    fill: var(--slate-blue);
}

.rg-badge-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rg-text {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    position: relative;
    background: var(--bg-base);
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.footer-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 5% 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.footer-nav a:hover {
    color: var(--nordic-gold);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Inner Pages (Legal) */
.page-header {
    padding: 190px 5% 80px;
    background: var(--surface);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--warm-white);
    margin-bottom: 16px;
}

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

.page-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--nordic-gold);
    font-family: var(--font-heading);
}

.page-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 16px;
    color: var(--warm-white);
    font-family: var(--font-body);
}

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

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

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { padding: 40px; }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .game-wrapper {
        order: 1;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 16, 21, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-content h1 { font-size: 2.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    
    .panoramic-content h2 { font-size: 2.5rem; }
    .editorial-intro p { font-size: 1.5rem; }
    .page-header h1 { font-size: 2.5rem; }
}