@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Source+Sans+Pro:wght@400;500;600&display=swap');

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

:root {
    --gold-primary: #c9a227;
    --gold-light: #e6c65c;
    --black-rich: #0a0a0a;
    --black-soft: #1a1a1a;
    --sand: #d4c4a0;
    --white: #ffffff;
    --bronze: #8b5a2b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--black-rich);
    color: var(--white);
    line-height: 1.8;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(180deg, var(--black-soft) 0%, var(--black-rich) 100%);
    padding: 18px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold-primary);
}

.head-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-svg {
    width: 52px;
    height: 52px;
    margin-right: 15px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-menu ul li a {
    color: var(--sand);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.main-menu ul li a:hover::after {
    width: 100%;
}

/* Mobile Nav */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-icon span {
    width: 28px;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

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

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

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

/* Content */
main {
    margin-top: 94px;
}

/* Intro Banner */
.intro-banner {
    background: linear-gradient(180deg, var(--black-soft) 0%, rgba(201, 162, 39, 0.1) 50%, var(--black-rich) 100%);
    padding: 100px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.intro-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.intro-banner .lead {
    font-size: 20px;
    color: var(--sand);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Pillars */
.pillars-section {
    padding: 70px 30px;
    max-width: 1350px;
    margin: 0 auto;
}

.pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.pillar {
    background: linear-gradient(145deg, var(--black-soft) 0%, rgba(201, 162, 39, 0.05) 100%);
    border: 1px solid rgba(201, 162, 39, 0.25);
    padding: 45px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.pillar-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.pillar h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pillar p {
    color: var(--sand);
    font-size: 15px;
    opacity: 0.9;
}

/* Game Chamber */
.game-chamber {
    background: var(--black-soft);
    padding: 75px 30px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.game-chamber h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 42px;
    color: var(--gold-primary);
    margin-bottom: 45px;
    letter-spacing: 2px;
}

.chamber-frame {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    border: 4px solid var(--gold-primary);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.2), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.chamber-frame iframe {
    width: 100%;
    height: 670px;
    border: none;
    display: block;
}

/* Attributes */
.attributes-section {
    padding: 85px 30px;
    background: var(--black-rich);
}

.attributes-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 40px;
    color: var(--gold-primary);
    margin-bottom: 55px;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.attribute {
    text-align: center;
    padding: 35px 20px;
    border: 1px solid rgba(201, 162, 39, 0.15);
    transition: all 0.3s ease;
}

.attribute:hover {
    border-color: var(--gold-primary);
    background: rgba(201, 162, 39, 0.05);
}

.attr-icon {
    font-size: 44px;
    margin-bottom: 18px;
    display: block;
}

.attribute h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.attribute p {
    color: var(--sand);
    font-size: 14px;
    opacity: 0.85;
}

/* Article Content */
.article-content {
    padding: 70px 30px;
    max-width: 950px;
    margin: 0 auto;
}

.article-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: var(--gold-primary);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 2px;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold-light);
    margin: 45px 0 20px;
    border-left: 4px solid var(--gold-primary);
    padding-left: 20px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--sand);
    font-size: 17px;
}

.article-content ul {
    margin-left: 30px;
    margin-bottom: 25px;
}

.article-content ul li {
    margin-bottom: 12px;
    color: var(--sand);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--black-soft) 0%, var(--black-rich) 100%);
    padding: 60px 30px 40px;
    border-top: 3px solid var(--gold-primary);
}

.foot-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.foot-inner h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-primary);
    font-size: 20px;
    margin-bottom: 28px;
    letter-spacing: 2px;
}

.support-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.support-row a {
    color: var(--sand);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.support-row a:hover {
    color: var(--gold-primary);
}

.foot-copy {
    color: var(--sand);
    font-size: 14px;
    padding-top: 25px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    opacity: 0.7;
}

/* Age Screen */
.age-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-screen-box {
    background: linear-gradient(145deg, var(--black-soft) 0%, var(--black-rich) 100%);
    padding: 55px 50px;
    text-align: center;
    max-width: 520px;
    width: 92%;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 50px rgba(201, 162, 39, 0.2);
}

.age-screen-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-primary);
    font-size: 36px;
    margin-bottom: 22px;
    letter-spacing: 2px;
}

.age-screen-box p {
    color: var(--sand);
    font-size: 17px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.screen-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.screen-btn {
    padding: 16px 45px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.screen-btn.confirm {
    background: var(--gold-primary);
    color: var(--black-rich);
}

.screen-btn.confirm:hover {
    background: var(--gold-light);
}

.screen-btn.deny {
    background: transparent;
    color: var(--sand);
    border: 2px solid var(--sand);
}

.screen-btn.deny:hover {
    background: var(--sand);
    color: var(--black-rich);
}

.restricted-view {
    text-align: center;
    padding: 100px 30px;
}

.restricted-view h1 {
    font-family: 'Playfair Display', serif;
    color: var(--bronze);
    font-size: 40px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .attributes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black-soft);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .main-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .main-menu ul li a {
        font-size: 20px;
    }
    
    .intro-banner h1 {
        font-size: 38px;
    }
    
    .intro-banner .lead {
        font-size: 17px;
    }
    
    .pillars-row {
        grid-template-columns: 1fr;
    }
    
    .attributes-grid {
        grid-template-columns: 1fr;
    }
    
    .chamber-frame iframe {
        height: 450px;
    }
    
    .brand-name {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .brand-svg {
        width: 40px;
        height: 40px;
    }
    
    .age-screen-box {
        padding: 40px 28px;
    }
    
    .screen-btns {
        flex-direction: column;
    }
    
    .support-row {
        flex-direction: column;
        gap: 18px;
    }
}
