/*
Theme Name: Flavor GateIOExchange
Description: 게이트아이오거래소 - 다크모드 네오브루탈리즘 테마
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #22C55E;
    --primary-dark: #16A34A;
    --primary-light: #4ADE80;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #27272a;
    --brutal-shadow: 4px 4px 0 #22C55E;
    --brutal-shadow-hover: 6px 6px 0 #16A34A;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* Center Logo Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-logo:hover {
    color: var(--primary);
}

.nav-toggle {
    position: absolute;
    right: 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    border-color: var(--primary);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 3px solid var(--primary);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
}

.main-nav.active {
    right: 0;
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    margin-bottom: 0.5rem;
}

.main-nav a {
    display: block;
    padding: 1rem;
    color: var(--text-white);
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    padding-left: 1.5rem;
}

/* Hero Section - Full Wide */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1a14 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-title span {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Icon + Text Button */
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid var(--bg-dark);
    box-shadow: var(--brutal-shadow);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-icon::before {
    content: '→';
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-icon:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--brutal-shadow-hover);
    color: var(--bg-dark);
}

.btn-icon:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--primary-dark);
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--bg-dark);
}

.section-card {
    background: var(--bg-card);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Neobrutalism Cards */
.neo-card {
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.neo-card:hover {
    border-color: var(--primary);
    box-shadow: var(--brutal-shadow);
    transform: translate(-4px, -4px);
}

.neo-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.neo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.neo-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* About Section - Zigzag Style */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-row:nth-child(even) {
    direction: rtl;
}

.about-row:nth-child(even) > * {
    direction: ltr;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

.about-visual {
    font-size: 8rem;
    text-align: center;
    filter: grayscale(20%);
}

@media (max-width: 768px) {
    .about-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-row:nth-child(even) {
        direction: ltr;
    }
    .about-visual {
        font-size: 5rem;
    }
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--bg-dark);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border: 3px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary);
    box-shadow: var(--brutal-shadow);
    transform: translate(-4px, -4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--brutal-shadow);
    transform: translate(-4px, -4px);
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.testimonial-text {
    color: var(--text-white);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    border: 2px solid var(--bg-dark);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 3px solid var(--border-color);
    margin-bottom: 1rem;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--bg-dark);
    color: var(--text-white);
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid var(--bg-dark);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-dark::before {
    content: '→';
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-dark:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
    color: var(--text-white);
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 3px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Blog/Archive Styles */
.page-header {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-desc {
    color: var(--text-gray);
    font-size: 1.125rem;
}

.blog-section {
    padding: 4rem 2rem;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: var(--brutal-shadow);
    transform: translate(-4px, -4px);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--text-white);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-link {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* Single Post */
.single-post .post-header {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.post-date {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.post-content {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-content h2 {
    color: var(--text-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    color: var(--text-white);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content a {
    color: var(--primary);
    text-decoration: underline;
}

.post-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 3px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-prev, .nav-next {
    flex: 1;
    padding: 1.5rem;
    border: 3px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
    border-color: var(--primary);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-title {
    color: var(--text-white);
    font-weight: 600;
}

/* Page Content */
.page-content-section {
    padding: 4rem 2rem;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-content {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.9;
}

.page-content h2 {
    color: var(--text-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.page-content h3 {
    color: var(--text-white);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul, .page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.75rem;
}

/* Parallax Elements */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.parallax-element {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    will-change: transform;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
    }
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a, .pagination span {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    color: var(--text-white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover, .pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.no-posts {
    text-align: center;
    color: var(--text-gray);
    padding: 4rem 0;
    font-size: 1.25rem;
}
