/* Type B: Elegant Gradient Glass Design */
:root {
    /* Soft Gradient Colors - Inspired by Dawn Sky */
    --gradient-start: #667eea;
    /* Soft Purple */
    --gradient-middle: #764ba2;
    /* Deep Purple */
    --gradient-end: #f093fb;
    /* Soft Pink */

    --bg-base: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --bg-overlay: rgba(255, 255, 255, 0.95);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: rgba(255, 255, 255, 0.95);

    /* Accent */
    --accent-primary: #667eea;
    --accent-glow: rgba(102, 126, 234, 0.4);
}

/* Global Reset & Base */
html,
body {
    background: var(--bg-base);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    overflow-x: hidden;
    height: 100%;
    font-weight: 400;
}

body.cyber-theme {
    background: var(--bg-base);
    position: relative;
}

body.cyber-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Container Overlay */
.container {
    position: relative;
    z-index: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.display-1 {
    font-weight: 800 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
}

.text-primary-glow {
    color: var(--accent-primary) !important;
    text-shadow: 0 2px 8px var(--accent-glow);
}

.text-muted {
    color: var(--text-secondary) !important;
}

.text-white {
    color: var(--text-light) !important;
}

/* Glass Morphism Cards */
.card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border) !important;
    border-radius: 24px !important;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px 0 rgba(102, 126, 234, 0.25);
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Buttons - Gradient Style */
.btn {
    border-radius: 100px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.btn-outline-info {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    font-size: 1.1rem;
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

/* Form Elements */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 16px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1) !important;
    outline: none;
}

/* Progress Bar - Gradient */
.progress {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: gradient-shift 2s ease infinite;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Navbar - Glass Effect */
.navbar {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary) !important;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--text-secondary);
}

.footer a {
    color: var(--accent-primary);
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.7;
}

/* Soft Shadow Utilities */
.shadow-lg {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}