:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --brand-teal: #00D4AA;
    --brand-teal-glow: rgba(0, 212, 170, 0.4);
    --font-main: 'Pretendard', sans-serif;
    --ease-overshoot: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background-color: var(--bg-dark); 
    color: var(--text-white); 
    font-family: var(--font-main); 
    overflow-x: hidden;
    line-height: 1.6;
    word-break: keep-all;
    letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 150px 0; }
.no-top { padding-top: 50px; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 80px;
}
.brand { 
    display: flex; align-items: center; gap: 8px; font-size: 1.5rem; letter-spacing: 0.05em;
}
.brand i { color: var(--brand-teal); font-size: 1.8rem; filter: drop-shadow(0 0 8px var(--brand-teal-glow)); }
.brand strong { font-weight: 800; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--text-white); }
.btn-primary { 
    background: var(--bg-card); border: 1px solid var(--border-light); 
    padding: 10px 24px; border-radius: 30px; display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; font-weight: 600; color: var(--text-white); transition: 0.3s;
}
.btn-primary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.btn-primary i { color: var(--brand-teal); }

/* Hero */
.hero { 
    min-height: 100vh; position: relative;
    display: flex; flex-direction: column; justify-content: center;
    text-align: center; overflow: hidden;
}

/* V3.2 Cyberpunk Mesh Gradient Background */
.stars-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0,212,170,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0,100,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(0,50,100,0.2) 0%, transparent 60%),
        var(--bg-dark);
    background-size: 200% 200%;
    animation: auroraMove 25s ease-in-out infinite alternate;
    z-index: -1;
}
@keyframes auroraMove {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 100%; }
}
.stars-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
    mix-blend-mode: multiply; pointer-events: none;
}

.glow-orb { display: none; } /* 기존 정적 광원 제거 */
.hero-container { position: relative; z-index: 10; margin-top: 80px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 6px 16px; border-radius: 20px; color: var(--brand-teal);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 30px;
}
.pulse { width: 8px; height: 8px; background: var(--brand-teal); border-radius: 50%; box-shadow: 0 0 10px var(--brand-teal); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 212, 170, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); } }

.hero-title { font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-title span { display: block; filter: drop-shadow(0 0 20px rgba(255,255,255,0.1)); }
.hero-desc { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-gray); font-weight: 400; line-height: 1.8; margin-bottom: 60px; word-break: keep-all;}

.hero-specs { display: flex; justify-content: center; gap: 60px; margin-bottom: 60px; }
.spec { display: flex; align-items: center; gap: 16px; text-align: left; }
.spec i { font-size: 2.5rem; color: var(--brand-teal); opacity: 0.8; }
.spec strong { display: block; font-size: 1.5rem; font-weight: 700; }
.spec span { color: var(--text-gray); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Search Box */
.search-box {
    max-width: 600px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 8px; backdrop-filter: blur(10px);
    transition: 0.3s; box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.search-box-inner { flex: 1; display: flex; align-items: center; width: 100%; }
.search-box:focus-within { border-color: rgba(0, 212, 170, 0.5); background: rgba(0, 212, 170, 0.03); box-shadow: 0 8px 32px rgba(0, 212, 170, 0.15); }
.search-box-inner i { font-size: 1.5rem; color: var(--text-gray); margin: 0 16px; }
.search-box-inner input {
    flex: 1; width: 100%; background: transparent; border: none; color: white; font-size: 1.05rem; outline: none; font-family: var(--font-main); height: 44px;
}
.search-box button {
    background: var(--brand-teal); color: #000; border: none; padding: 0 28px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
    flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,212,170,0.3);
}
.search-box button:hover { background: #00e6b8; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,212,170,0.4); }

/* Marquee */
.marquee-section { 
    border-top: 1px solid var(--border-light); 
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0; overflow: hidden; background: rgba(255,255,255,0.01);
}
.marquee-track { display: flex; width: max-content; animation: scrollLeft 40s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-right: 40px; letter-spacing: -0.01em; }
.marquee-item i { color: var(--brand-teal); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Header */
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { color: var(--text-gray); font-size: 1.1rem; font-weight: 300; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.glass-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 20px; padding: 40px; backdrop-filter: blur(10px);
    transition: transform 0.4s var(--ease-overshoot), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.glass-card:hover { transform: translateY(-8px); border-color: rgba(0,212,170,0.3); background: rgba(0,212,170,0.05); box-shadow: 0 20px 40px rgba(0,212,170,0.08); }
.card-icon { font-size: 3rem; color: var(--brand-teal); margin-bottom: 24px; display: inline-block; }
.glass-card h3 { font-size: 1.3rem; margin-bottom: 16px; font-weight: 600; letter-spacing: -0.02em; }
.glass-card p { color: var(--text-gray); line-height: 1.7; font-size: 0.95rem; font-weight: 300; word-break: keep-all; }

/* Grid 4 Games */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.game-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 12px; padding: 24px 30px; display: flex; justify-content: space-between; align-items: center;
    transition: transform 0.4s var(--ease-overshoot), border-color 0.3s, background 0.3s, box-shadow 0.3s; cursor: pointer;
}
.game-card:hover { background: rgba(0,212,170,0.05); border-color: rgba(0,212,170,0.3); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,212,170,0.05); }
.game-card span { font-weight: 600; font-size: 1.05rem; }
.game-card i { color: var(--text-gray); transition: 0.3s; }
.game-card:hover i { color: var(--brand-teal); transform: translate(4px, -4px); }

/* Editorial SEO Column */
.editorial-section { border-top: 1px solid var(--border-light); padding: 120px 0; background: rgba(0,0,0,0.3); }
.editorial-grid { display: flex; gap: 80px; align-items: stretch; justify-content: space-between; }
.editor-title { width: 35%; flex-shrink: 0; }
.editor-title h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.3; color: var(--text-white); }
.editor-title h2 strong { font-weight: 800; color: var(--brand-teal); display: block; margin-top: 5px; }
.title-line { width: 40px; height: 3px; background: var(--brand-teal); margin-top: 30px; box-shadow: 0 0 10px var(--brand-teal-glow); }
.editor-content { width: 65%; max-width: 800px; display: flex; flex-direction: column; justify-content: center; }
.editor-content p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 24px; color: var(--text-gray); font-weight: 300; word-break: keep-all; text-align: justify; }
.editor-content p:last-child { margin-bottom: 0; }
.editor-content p strong { color: var(--text-white); font-weight: 600; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
    padding: 30px 0; font-size: 1.15rem; font-weight: 500; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; list-style: none; outline: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question i { color: var(--text-gray); transition: 0.3s; }
details[open] .faq-question i { transform: rotate(180deg); color: var(--brand-teal); }
.faq-answer { padding-bottom: 30px; color: var(--text-gray); line-height: 1.8; font-size: 0.95rem; font-weight: 300; }

/* Protocol Timeline Steps */
.step-flex { display: flex; justify-content: space-between; position: relative; margin-top: 60px; }
.step-card { text-align: center; width: 22%; position: relative; z-index: 2; background: var(--bg-dark); }
.step-num { font-size: 0.9rem; color: var(--brand-teal); font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; }
.step-icon { width: 80px; height: 80px; margin: 0 auto 24px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-white); transition: 0.3s; }
.step-card:hover .step-icon { border-color: var(--brand-teal); color: var(--brand-teal); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,212,170,0.1); }
.step-card h4 { font-size: 1.2rem; margin-bottom: 12px; font-weight: 600; }
.step-card p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; font-weight: 300; }
.step-line { position: absolute; top: 110px; left: 10%; right: 10%; height: 1px; background: dashed 1px var(--border-light); z-index: 1; border-top: 2px dashed rgba(255,255,255,0.1); }

/* Manifesto */
.manifesto-section { padding: 100px 0; background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>'); }
.manifesto-box { max-width: 900px; margin: 0 auto; text-align: center; background: rgba(0,0,0,0.6); padding: 80px 60px; border: 1px solid var(--border-light); border-radius: 20px; backdrop-filter: blur(10px); }
.manifesto-quote { font-size: 3rem; color: var(--brand-teal); margin-bottom: 30px; opacity: 0.5; }
.manifesto-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; margin-bottom: 30px; line-height: 1.4; letter-spacing: -0.03em; }
.manifesto-desc { font-size: 1.1rem; line-height: 2; color: var(--text-gray); font-weight: 300; word-break: keep-all; text-align: justify; }

/* Mobile App Teaser */
.app-teaser-section { border-top: 1px solid var(--border-light); padding: 15vh 0; overflow: hidden; }
.app-teaser-grid { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.app-teaser-text { width: 50%; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 30px; border: 1px solid rgba(255,255,255,0.1); }
.app-teaser-text h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.2; margin-bottom: 30px; letter-spacing: -0.02em; }
.app-teaser-text p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 40px; font-weight: 300; word-break: keep-all; }
.app-store-btns { display: flex; gap: 16px; }
.btn-store { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; font-size: 1.1rem; font-weight: 600; color: var(--text-white); transition: 0.3s; }
.btn-store i { font-size: 1.5rem; }
.btn-store span { font-size: 0.8rem; font-weight: 400; color: var(--brand-teal); margin-left: 8px; background: rgba(0,212,170,0.1); padding: 2px 6px; border-radius: 4px; }
.app-teaser-visual { width: 45%; position: relative; display: flex; justify-content: center; }
.mockup-frame { width: 320px; height: 650px; border: 12px solid #1a1a1a; border-radius: 45px; background: #000; position: relative; z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 0 2px #333; overflow: hidden; }
.mockup-frame::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #1a1a1a; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 10; }
.mockup-screen { padding: 50px 20px 20px; height: 100%; display: flex; flex-direction: column; gap: 20px; background: linear-gradient(180deg, #111 0%, #050505 100%); }
.mockup-header { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.mockup-header i { color: var(--brand-teal); }
.mockup-balance { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 24px; border-radius: 20px; }
.mockup-balance span { font-size: 0.85rem; color: var(--text-gray); }
.mockup-balance .amount { font-size: 1.8rem; font-weight: 700; margin-top: 8px; margin-bottom: 0; }
.mockup-tx { background: rgba(255,255,255,0.03); padding: 16px; border-radius: 12px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; font-weight: 300; }

/* Footer */
footer { border-top: 1px solid var(--border-light); padding: 80px 0; background: #000; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; }
.footer-left p { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 0.9rem; line-height: 1.6; }
.footer-right { display: flex; gap: 80px; }
.footer-right strong { display: block; margin-bottom: 20px; font-size: 1.05rem; color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.footer-right a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 12px; font-size: 0.9rem; transition: 0.2s; }
.footer-right a:hover { color: var(--brand-teal); transform: translateX(3px); }

/* SEO Grid Section */
.seo-section { border-top: 1px solid var(--border-light); padding: 100px 0; background: rgba(0,0,0,0.5); }
.seo-header { margin-bottom: 50px; }
.seo-header h2 { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; margin-bottom: 12px; }
.seo-header h2 strong { font-weight: 800; color: var(--brand-teal); }
.seo-header p { color: var(--text-gray); font-size: 0.95rem; }
.seo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.seo-column h4 { font-size: 1.1rem; color: #fff; margin-bottom: 20px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.seo-column a { display: block; color: var(--text-gray); margin-bottom: 12px; font-size: 0.9rem; transition: 0.2s; position: relative; }
.seo-column a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--brand-teal); transition: 0.3s; }
.seo-column a:hover { color: #fff; transform: translateX(3px); }
.seo-column a:hover::after { width: 10px; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Mobile Overlay Menu */
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 9999; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }
.mobile-overlay-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border-light); }
.mobile-overlay-header .brand { color: #fff; font-size: 1.4rem; }
.mobile-close { color: #fff; font-size: 2rem; cursor: pointer; }
.overlay-links { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; }
.overlay-links a { color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; transition: 0.3s; opacity: 0.8; }
.overlay-links a:hover { opacity: 1; color: var(--brand-teal); transform: translateY(-3px); }
.overlay-links a:active { color: var(--brand-teal); transform: scale(0.95); }
.mobile-menu-btn { display: none; background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* Mobile */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .editorial-grid { flex-direction: column; gap: 40px; }
    .editor-title, .editor-content { width: 100%; max-width: 100%; }
    .app-teaser-grid { flex-direction: column; text-align: center; }
    .app-teaser-text, .app-teaser-visual { width: 100%; }
    .app-store-btns { justify-content: center; }
    .step-line { display: none; }
    .step-flex { flex-direction: column; gap: 40px; }
    .step-card { width: 100%; }
}
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .section { padding: 80px 0; }
    .desktop-only { display: none !important; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-specs { flex-direction: column; gap: 30px; align-items: center; text-align: center; }
    .spec { flex-direction: column; text-align: center; gap: 8px;}
    .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    
    /* Search Box Mobile Touch Target */
    .search-box { padding: 6px; flex-direction: column; gap: 12px; background: transparent; border: none; backdrop-filter: none; box-shadow: none; }
    .search-box-inner { width: 100%; display: flex; align-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; height: 60px; padding-right: 16px; }
    .search-box input { width: 100%; height: 60px; font-size: 1rem; border-radius: 12px; -webkit-appearance: none; appearance: none; }
    .search-box button { width: 100%; height: 60px; font-size: 1rem; border-radius: 12px; margin-top: 0; }
    
    /* Mobile Swipe Grid */
    .grid-3, .grid-4 {
        display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory;
        padding: 0 20px 20px; margin: 0 -20px; gap: 16px;
        -ms-overflow-style: none; scrollbar-width: none; scroll-padding-left: 20px;
    }
    .grid-3::-webkit-scrollbar, .grid-4::-webkit-scrollbar { display: none; }
    .glass-card, .game-card { flex: 0 0 85%; scroll-snap-align: center; }
    .glass-card { padding: 30px 24px; }
    
    /* Mobile SEO Grid */
    .seo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .seo-column h4 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; }
    .seo-column a { font-size: 0.85rem; padding: 4px 0; }
    .seo-column a::after { display: none; }

    .footer-right { flex-direction: column; gap: 40px; }
    .manifesto-box { padding: 40px 20px; }
    .app-store-btns { flex-direction: column; width: 100%; gap: 12px; }
    .btn-store { width: 100%; justify-content: center; }
}
