/* ============================================
   LINEAS - Common Styles
   Deep Navy Premium Theme
   ============================================ */

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

:root {
    /* === Deep Navy Palette === */
    --navy-900: #0B1120;
    --navy-800: #0F1923;
    --navy-700: #141F2E;
    --navy-600: #1A2738;
    --navy-500: #1E2D42;
    --navy-400: #243548;
    --navy-300: #2C3E54;

    /* Backgrounds - Two Tone */
    --bg-sidebar: #0B1120;
    --bg-main: #111D2E;
    --bg-card: #162032;
    --bg-card-hover: #1A2740;
    --bg-input: #0F1923;
    --bg-topbar: rgba(15, 25, 35, 0.9);

    /* Accent - Soft Blue */
    --accent: #6C9FFF;
    --accent-light: #8FB8FF;
    --accent-dim: rgba(108, 159, 255, 0.1);
    --accent-glow: rgba(108, 159, 255, 0.06);

    /* Gold */
    --gold: #D4A843;
    --gold-light: #E8C36A;
    --gold-dim: rgba(212, 168, 67, 0.1);
    --gold-gradient: linear-gradient(135deg, #D4A843 0%, #E8C36A 100%);

    /* Kakao */
    --kakao-yellow: #FEE500;

    /* Borders */
    --border: rgba(255, 255, 255, 0.07);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(108, 159, 255, 0.2);

    /* Text - 가독성 대폭 향상 */
    --text-primary: #E8ECF1;
    --text-secondary: #94A3B8;
    --text-muted: #5A6B80;
    --text-bright: #FFFFFF;
    --text-accent: #8FB8FF;

    /* Status */
    --success: #34D399;
    --success-dim: rgba(52, 211, 153, 0.1);
    --warning: #FBBF24;
    --danger: #F87171;
    --danger-dim: rgba(248, 113, 113, 0.08);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255,255,255,0.04);

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s var(--ease);
    --transition: 0.25s var(--ease);
    --transition-slow: 0.4s var(--ease);

    /* Font */
    --font: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font); background: none; }
input, textarea, select { font-family: var(--font); outline: none; }
img { display: block; max-width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* Utility */
.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
