/* gamelicense.info - Neomorphic Regulatory Calm */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #3D3D3D;
    background: #E8E4DE;
    overflow-x: hidden;
}

.section {
    width: 100%;
    position: relative;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== PARTICLES ========== */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: #C8C2BA;
    opacity: 0.07;
}

/* ========== NEOMORPHIC ELEMENTS ========== */

.neo-panel {
    background: #F0ECE6;
    border-radius: 24px;
    box-shadow: 0 0 0 transparent, 0 0 0 transparent;
    transition: box-shadow 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    padding: 32px;
}

.neo-panel.raised {
    box-shadow: 8px 8px 20px #C8C2BA, -8px -8px 20px #FFFFFF;
}

.neo-card {
    background: #F0ECE6;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 0 0 transparent, 0 0 0 transparent;
    transition: box-shadow 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), border 0.2s ease;
    border: 1px solid transparent;
}

.neo-card.raised {
    box-shadow: 8px 8px 20px #C8C2BA, -8px -8px 20px #FFFFFF;
}

.neo-card:hover {
    box-shadow: 10px 10px 26px #C8C2BA, -10px -10px 26px #FFFFFF;
    border-color: rgba(184, 151, 106, 0.15);
}

/* ========== HERO ZONE ========== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-panel {
    max-width: 640px;
    width: 100%;
    text-align: center;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    color: #7A8B99;
    opacity: 0;
    transition: opacity 500ms ease;
}

.hero-title.visible {
    opacity: 1;
}

.hero-tagline {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #8A8680;
    margin-top: 1rem;
    min-height: 1.5em;
}

.typewriter-cursor {
    font-weight: 300;
    color: #7A8B99;
    animation: blink 530ms step-end infinite;
}

.typewriter-cursor.fade {
    animation: cursorFade 400ms ease forwards;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes cursorFade {
    to { opacity: 0; }
}

/* ========== PROCESS GRID ========== */

.process-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.process-section .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-number {
    font-family: 'Azeret Mono', monospace;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #B8976A;
    display: block;
    margin-bottom: 0.75rem;
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #7A8B99;
    margin-bottom: 0.5rem;
}

.card-body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    color: #3D3D3D;
}

/* ========== DOCUMENT VIEWER ========== */

.document-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.document-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.document-panel {
    position: relative;
    overflow: hidden;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.08), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    background: #E8E4DE;
}

.document-panel.raised {
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.08), inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.doc-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #7A8B99;
    margin-bottom: 1.5rem;
}

.doc-body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    color: #3D3D3D;
    margin-bottom: 1rem;
}

.license-seal {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.6;
}

.metadata-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-family: 'Azeret Mono', monospace;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8A8680;
    margin-top: 0.5rem;
}

.meta-value {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #7A8B99;
}

/* ========== FOOTER SHELF ========== */

.footer {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.neo-bar {
    max-width: 1200px;
    margin: 0 auto;
    background: #F0ECE6;
    border-radius: 16px;
    box-shadow: 6px 6px 16px #C8C2BA, -6px -6px 16px #FFFFFF;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #7A8B99;
}

.footer-meta {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #8A8680;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    .process-section .grid-container {
        grid-template-columns: 1fr;
    }

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