/*
Theme Name: Flavor Starter
Theme URI: https://bitget.vsquaremall.co.kr
Description: Custom theme for Bitget landing page with Anti-Gravity floating effects
Version: 1.0
Author: Custom
Text Domain: flavor-starter
*/

/* Pretendard Font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --primary-dark: #000000;
    --primary-gray: #374151;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f3f4f6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Pattern Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Fixed Transparent Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #667eea;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    background: var(--gradient-dark);
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Gradient Round Button */
.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: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.3);
}

/* Benefits Section */
.benefits-section {
    padding: 100px 20px;
    background: #0a0a0a;
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 60px;
    color: #fff;
}

/* 3-Column Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.2);
}

.glass-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.glass-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Anti-Gravity Floating Animation */
@keyframes antiGravityFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

.floating {
    animation: antiGravityFloat 6s ease-in-out infinite;
    will-change: transform;
}

.floating:nth-child(1) { animation-delay: 0s; animation-duration: 5s; }
.floating:nth-child(2) { animation-delay: 0.5s; animation-duration: 6s; }
.floating:nth-child(3) { animation-delay: 1s; animation-duration: 7s; }
.floating:nth-child(4) { animation-delay: 1.5s; animation-duration: 5.5s; }

/* Floating Bubbles */
.floating-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102,126,234,0.3) 0%, transparent 70%);
    animation: bubbleFloat 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(30px, -40px) scale(1.1); opacity: 0.7; }
    66% { transform: translate(-20px, -80px) scale(0.9); opacity: 0.4; }
}

.bubble-1 { width: 300px; height: 300px; top: 10%; left: 5%; animation-delay: 0s; }
.bubble-2 { width: 200px; height: 200px; top: 60%; right: 10%; animation-delay: 2s; }
.bubble-3 { width: 150px; height: 150px; bottom: 20%; left: 20%; animation-delay: 4s; }

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    z-index: 10;
}

/* Footer */
.site-footer {
    background: #050505;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 14px;
}

/* Page Content */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
    background: #0a0a0a;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-wrapper h1,
.content-wrapper h2 {
    color: #fff;
    margin-bottom: 20px;
}

.content-wrapper p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-wrapper a {
    color: #667eea;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

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

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

    .main-nav {
        display: none;
    }
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.2);
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 60px;
    }

    .benefits-section,
    .cta-section {
        padding: 60px 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating,
    .floating-bubble,
    .btn-primary::before {
        animation: none;
    }
}
