/*
Theme Name: Flavor Trading
Theme URI: https://bitgettrading.vsquaremall.co.kr
Description: Custom theme for Bitget Trading with blob/wave background and side drawer
Version: 1.0
Author: Custom
Text Domain: flavor-trading
*/

/* Spoqa Han Sans Neo Font */
@import url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/css/SpoqaHanSansNeo.css');

:root {
    --primary-start: #667eea;
    --primary-end: #764ba2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light: #9ca3af;
    --bg-dark: #0f0f1a;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

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

body {
    font-family: 'Spoqa Han Sans Neo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Blob Background */
.blob-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobMove 20s ease-in-out infinite;
}

.blob-1 { width: 600px; height: 600px; background: var(--gradient-primary); top: -200px; left: -100px; }
.blob-2 { width: 500px; height: 500px; background: linear-gradient(135deg, #764ba2, #667eea); bottom: -150px; right: -100px; animation-delay: -5s; }
.blob-3 { width: 400px; height: 400px; background: #667eea; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }

@keyframes blobMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

/* Side Drawer Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo { font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; z-index: 1001; }

.menu-toggle {
    width: 32px; height: 24px;
    display: flex; flex-direction: column; justify-content: space-between;
    cursor: pointer; z-index: 1001;
}

.menu-toggle span {
    display: block; height: 3px; width: 100%;
    background: #fff; border-radius: 3px; transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.side-drawer {
    position: fixed; top: 0; right: -320px;
    width: 320px; height: 100vh;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 40px;
    transition: right 0.4s ease;
    z-index: 999;
    border-left: 1px solid var(--glass-border);
}

.side-drawer.active { right: 0; }
.side-drawer ul { list-style: none; }
.side-drawer li { margin-bottom: 25px; }
.side-drawer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px; font-weight: 500;
    transition: all 0.3s ease;
}
.side-drawer a:hover { color: #667eea; padding-left: 10px; }

.drawer-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.hero-content { max-width: 800px; z-index: 10; }

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 40px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600; font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

/* Benefits Section */
.benefits-section { padding: 100px 20px; }
.section-container { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 50px; color: #fff; }

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px 28px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.glass-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.glass-card p { color: var(--text-light); font-size: 15px; line-height: 1.7; }

/* Floating Animation */
@keyframes antiGravityFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.floating { animation: antiGravityFloat 5s ease-in-out infinite; }
.floating:nth-child(2) { animation-delay: 0.5s; }
.floating:nth-child(3) { animation-delay: 1s; }
.floating:nth-child(4) { animation-delay: 1.5s; }

/* CTA Section */
.cta-section { padding: 80px 20px; text-align: center; }

.cta-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 50px 30px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title { font-size: 28px; font-weight: 700; margin-bottom: 25px; color: #fff; }

.btn-white {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: #764ba2;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700; font-size: 16px;
    transition: all 0.3s ease;
}

.btn-white:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-links { display: flex; justify-content: center; gap: 25px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-light); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #667eea; }
.footer-copyright { color: var(--text-gray); font-size: 13px; }

/* Page Content */
.page-content { padding-top: 100px; min-height: 100vh; }
.content-wrapper { max-width: 850px; margin: 0 auto; padding: 50px 20px; }
.content-wrapper h1, .content-wrapper h2 { color: #fff; margin-bottom: 20px; }
.content-wrapper p { color: var(--text-light); margin-bottom: 18px; }
.content-wrapper a { color: #667eea; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; padding: 30px 0; }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15); }
.blog-card h3 { font-size: 17px; color: #fff; margin-bottom: 10px; }
.blog-card h3 a { color: #fff; text-decoration: none; }
.blog-card p { color: var(--text-light); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .floating, .blob { animation: none; } }
