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

:root {
    /* Color Palette */
    --bg-base: #07070a;
    --bg-surface: rgba(18, 18, 25, 0.6);
    --bg-card: rgba(255, 255, 255, 0.02);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    --accent-blue: #0A2342;
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Pretendard', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* 3D Perspective Base */
    perspective: 1000px;
}

/* =========================================================================
   3D Particle & Ambient Effects
========================================================================= */
#particles-js {
    position: fixed; width: 100%; height: 100%;
    top: 0; left: 0; z-index: -2;
    background-color: var(--bg-base);
}

.ambient-orb {
    position: fixed; width: 60vw; height: 60vh;
    border-radius: 50%; filter: blur(100px); opacity: 0.4;
    z-index: -1; pointer-events: none;
    animation: drift 20s infinite ease-in-out alternate;
}
.orb-gold { background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%); top: -10%; right: -10%; }
.orb-blue { background: radial-gradient(circle, rgba(10,35,66,0.8) 0%, transparent 70%); bottom: -20%; left: -20%; animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.2); }
}

/* =========================================================================
   Typography
========================================================================= */
h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
.hero-title {
    font-size: clamp(40px, 8vw, 90px);
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transform: translateZ(50px); /* 3D Text Depth */
}
.sub-hero {
    position: relative; padding: 120px 0 60px;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; z-index: 1;
}
.sub-hero::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(7,7,10,0.5) 0%, rgba(7,7,10,0.95) 100%);
    z-index: 1;
}
.sub-hero > * { position: relative; z-index: 2; }

@keyframes dazzleGlow {
    0% { filter: drop-shadow(0 0 5px var(--accent-gold-glow)); }
    50% { filter: drop-shadow(0 0 15px var(--accent-gold)); }
    100% { filter: drop-shadow(0 0 5px var(--accent-gold-glow)); }
}
.dazzle-text { animation: dazzleGlow 3s infinite ease-in-out; }

.section-tag {
    font-family: 'Outfit'; font-size: 14px; color: var(--accent-gold);
    letter-spacing: 4px; text-transform: uppercase; font-weight: 700;
}

/* =========================================================================
   Universal Components
========================================================================= */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; }
section { padding: 100px 0; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; transform-style: preserve-3d; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 36px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 15px; letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden; transform-style: preserve-3d;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-gold) 0%, #aa8c2c 100%); color: #000; border: none; }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 30px var(--accent-gold-glow); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--glass-border); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--accent-gold); transform: translateY(-3px); }

/* Glass 3D Cards */
.glass-panel {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 24px; padding: 40px;
    transform-style: preserve-3d; transition: border-color 0.4s;
}
.glass-panel:hover { border-color: rgba(212, 175, 55, 0.4); }
/* Inner 3D elements inside vanilla-tilt panels */
.tilt-inner { transform: translateZ(30px); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Shared Animations */
.float-3d { animation: float-3d 6s infinite ease-in-out; }
@keyframes float-3d {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(5deg); }
}

