@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-deep: #0d3b4c;
    --teal-mid: #147d8a;
    --teal-bright: #2dd4bf;
    --orange-hot: #f97316;
    --orange-light: #fdba74;
    --slate-dark: #0f172a;
    --slate-mid: #475569;
    --slate-light: #cbd5e1;
    --white: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--slate-dark);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.75;
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

a {
    color: var(--teal-bright);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--orange-hot);
}

/* Angular Header */
.angular-header {
    background: var(--teal-deep);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 100%);
    padding-bottom: 10px;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    max-width: 1550px;
    margin: 0 auto;
}

.geometric-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.geometric-logo svg {
    width: 50px;
    height: 50px;
}

.geometric-logo span {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal-bright);
    letter-spacing: 1px;
}

.angular-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.angular-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--teal-bright);
    margin: 6px 0;
    transition: all 0.3s ease;
}

.angular-nav ul {
    display: flex;
    list-style: none;
    gap: 42px;
}

.angular-nav a {
    color: var(--slate-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
    position: relative;
}

.angular-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange-hot);
    transition: width 0.3s ease;
}

.angular-nav a:hover {
    color: var(--white);
}

.angular-nav a:hover::after {
    width: 100%;
}

/* Geometric Hero */
.geometric-hero {
    padding: 180px 40px 110px;
    background: var(--teal-deep);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 50% 100%, 0 calc(100% - 60px));
    padding-bottom: 140px;
}

.geometric-hero h1 {
    font-size: 3.4rem;
    color: var(--white);
    margin-bottom: 28px;
}

.geometric-hero h1 span {
    color: var(--orange-hot);
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--slate-light);
    max-width: 680px;
    margin: 0 auto;
}

/* Angular Panels */
.angular-panels {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 80px 40px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

.angular-panel {
    background: var(--teal-deep);
    border-left: 4px solid var(--orange-hot);
    padding: 38px 32px;
    text-align: left;
    flex: 1;
    min-width: 260px;
    max-width: 360px;
    transition: transform 0.3s ease;
}

.angular-panel:hover {
    transform: translateX(8px);
}

.angular-panel .panel-symbol {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.angular-panel h3 {
    font-size: 1.15rem;
    color: var(--teal-bright);
    margin-bottom: 12px;
}

.angular-panel p {
    color: var(--slate-light);
    font-size: 0.95rem;
}

/* Game Viewport */
.game-viewport {
    padding: 80px 40px;
    background: var(--slate-dark);
}

.game-viewport h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 45px;
    color: var(--white);
}

.viewport-frame {
    background: var(--teal-deep);
    border: 3px solid var(--teal-mid);
    overflow: hidden;
    max-width: 1120px;
    margin: 0 auto;
    box-shadow: 0 0 0 3px var(--orange-hot);
}

.viewport-frame iframe {
    width: 100%;
    height: 570px;
    border: none;
    display: block;
}

/* Specs Section */
.specs-section {
    padding: 100px 40px;
    background: var(--teal-deep);
    clip-path: polygon(0 40px, 50% 0, 100% 40px, 100% 100%, 0 100%);
    padding-top: 120px;
}

.specs-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 55px;
    color: var(--white);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    max-width: 1350px;
    margin: 0 auto;
}

.spec-box {
    text-align: center;
    padding: 32px 24px;
    border: 2px solid var(--teal-mid);
    background: rgba(20, 125, 138, 0.15);
}

.spec-box .spec-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}

.spec-box h4 {
    color: var(--orange-hot);
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.spec-box p {
    color: var(--slate-light);
    font-size: 0.9rem;
}

/* About Vector */
.about-vector {
    padding: 100px 40px;
    background: var(--slate-dark);
}

.vector-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.vector-content h2 {
    font-size: 2.3rem;
    margin-bottom: 32px;
    color: var(--teal-bright);
}

.vector-content p {
    margin-bottom: 24px;
    color: var(--slate-light);
    font-size: 1.05rem;
}

/* Angular Footer */
.angular-footer {
    background: var(--teal-deep);
    padding: 55px 40px;
    text-align: center;
    clip-path: polygon(50% 0, 100% 30px, 100% 100%, 0 100%, 0 30px);
    padding-top: 75px;
}

.angular-footer h4 {
    color: var(--orange-hot);
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.footer-list a {
    color: var(--slate-light);
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: var(--teal-bright);
}

.footer-note {
    border-top: 1px solid var(--teal-mid);
    padding-top: 25px;
    color: var(--slate-mid);
    font-size: 0.85rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-window {
    background: var(--teal-deep);
    border: 3px solid var(--teal-mid);
    padding: 55px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 0 0 3px var(--orange-hot);
}

.age-window h2 {
    color: var(--teal-bright);
    margin-bottom: 22px;
    font-size: 1.8rem;
}

.age-window p {
    color: var(--slate-light);
    margin-bottom: 35px;
}

.age-controls {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn-verify, .btn-exit {
    padding: 15px 42px;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-verify {
    background: var(--orange-hot);
    color: var(--white);
}

.btn-verify:hover {
    background: var(--orange-light);
    color: var(--slate-dark);
}

.btn-exit {
    background: transparent;
    border: 2px solid var(--slate-mid);
    color: var(--slate-light);
}

.btn-exit:hover {
    border-color: var(--teal-bright);
    color: var(--teal-bright);
}

.gate-hidden {
    display: none !important;
}

/* Page Styles */
.page-heading {
    padding: 160px 40px 70px;
    background: var(--teal-deep);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
    padding-bottom: 100px;
}

.page-heading h1 {
    font-size: 2.7rem;
    color: var(--white);
}

.page-text {
    padding: 60px 40px 100px;
    max-width: 900px;
    margin: 0 auto;
}

.page-text h2 {
    margin: 50px 0 22px;
    font-size: 1.7rem;
    color: var(--teal-bright);
}

.page-text h3 {
    margin: 40px 0 18px;
    font-size: 1.3rem;
    color: var(--orange-hot);
}

.page-text p {
    margin-bottom: 20px;
    color: var(--slate-light);
}

.page-text ul {
    margin: 22px 0 28px 32px;
    color: var(--slate-light);
}

.page-text li {
    margin-bottom: 14px;
}

/* Play Page */
.play-heading {
    padding: 150px 40px 60px;
    background: var(--teal-deep);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px));
    padding-bottom: 80px;
}

.play-heading h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 18px;
}

.game-guide {
    max-width: 780px;
    margin: 45px auto;
    padding: 30px;
    background: var(--teal-deep);
    border-left: 4px solid var(--orange-hot);
}

.game-guide h3 {
    color: var(--teal-bright);
    margin-bottom: 14px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .angular-toggle {
        display: block;
    }
    
    .angular-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--teal-deep);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .angular-nav.open {
        max-height: 400px;
    }
    
    .angular-nav ul {
        flex-direction: column;
        padding: 22px 40px;
        gap: 0;
    }
    
    .angular-nav li {
        border-bottom: 1px solid var(--teal-mid);
    }
    
    .angular-nav a {
        display: block;
        padding: 16px 0;
    }
    
    .geometric-hero h1 {
        font-size: 2.2rem;
    }
    
    .angular-panels {
        flex-direction: column;
        align-items: center;
    }
    
    .angular-panel {
        max-width: 100%;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .viewport-frame iframe {
        height: 420px;
    }
    
    .footer-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .age-window {
        margin: 22px;
        padding: 40px 28px;
    }
    
    .age-controls {
        flex-direction: column;
    }
}
