/* Reset & Variables */
:root {
    /* --- Brand Design System V2 --- */

    /* Brand Colors - DarkTeam Signature */
    --brand-primary: #11308C;
    --brand-primary-hover: #163cb1;
    --brand-primary-light: #4c6ef5;
    --brand-primary-glow: rgba(17, 48, 140, 0.4);

    --brand-secondary: #ACC3F2;
    --brand-accent: #F2CD5C;
    /* DarkTeam Gold */
    --brand-danger: #F27979;
    /* Soft Red */

    /* Neutral Scale (Sapphire Tints) - Optimized for Contrast & Premium Look */
    --n-50: #f8fafc;
    /* Main Page BG (Secondary) */
    --n-100: #f1f5f9;
    /* Section Backgrounds */
    --n-200: #e2e8f0;
    /* Borders, Dividers */
    --n-300: #cbd5e1;
    /* Disabled elements */
    --n-400: #94a3b8;
    /* Placeholders */
    --n-500: #64748b;
    /* Muted Secondary Text */
    --n-600: #475569;
    /* Utility text */
    --n-700: #334155;
    /* Section Descriptions */
    --n-800: #1e293b;
    /* Hero Text, Headings */
    --n-900: #0f172a;
    /* Body Text (Primary) */

    /* Functional Surface Colors */
    --white: #ffffff;
    --surface-card: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.85);

    /* LoL Tier System Colors (Standard Branding) */
    --tier-iron: #5c5c5c;
    --tier-bronze: #cd7f32;
    --tier-silver: #a5b2bc;
    --tier-gold: #ffd700;
    --tier-platinum: #4eb1bd;
    --tier-emerald: #2e8a57;
    --tier-diamond: #4da6ff;
    --tier-master: #ff00ff;
    --tier-grandmaster: #ff4e50;
    --tier-challenger: #f9d976;

    /* Legacy Variable Map (Maintenance-free mapping for existing CSS) */
    --primary-blue: var(--brand-primary);
    --primary-blue-hover: var(--brand-primary-hover);
    --primary-blue-glow: var(--brand-primary-glow);
    --secondary-blue: var(--brand-secondary);
    --gold-accent: var(--brand-accent);
    --soft-red: var(--brand-danger);
    --base-white: var(--white);
    --section-grey: var(--n-100);
    --card-bg: var(--surface-card);
    --dark-bg: var(--n-900);
    --text-main: var(--n-900);
    --text-muted: var(--n-500);
    --text-white: var(--white);
    --border-color: var(--n-200);

    /* Animation & Shadow Tokens */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(17, 48, 140, 0.1);
    --shadow-glow: 0 0 20px var(--brand-primary-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--base-white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Copy Protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--base-white);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 10px;
    transition: 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

.section-padding {
    padding: 100px 0;
}

.text-blue {
    color: var(--brand-primary-light);
}

.text-gold {
    color: var(--brand-accent);
}

.text-glow-blue {
    text-shadow: 0 0 15px var(--brand-primary-glow);
}

.text-glow-gold {
    text-shadow: 0 0 15px rgba(242, 205, 92, 0.5);
}

.text-gold {
    color: var(--gold-accent);
}

.text-gray {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--section-grey);
}

.bg-blue-dark {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

/* Global Section Backgrounds */
.bg-grey {
    background-color: #f2f2f2 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

section {
    position: relative;
    z-index: 1;
}

.margin-top {
    margin-top: 40px;
}

/* Premium Background Aura */
/* Page Wrapper Base Background */
.page-wrapper {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.bg-aura {
    display: none;
    /* Hide dark aura elements in light theme */
}

@keyframes auraMove {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2) rotate(10deg);
    }
}

/* Floating Object Animations */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Premium Hero Typography & Layout */
.hero-premium {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 12, 31, 0.4) 0%,
            rgba(5, 12, 31, 0.6) 40%,
            rgba(5, 12, 31, 0.95) 100%);
    z-index: 1;
}

/* Page Specific Hero Backgrounds (Defaults) */
.hero-premium {
    background-attachment: scroll;
}

/* Default Home background if not specified elsewhere */
.hero-premium {
    background-image: url('../assets/hero_bg_v2.jpg');
}

.hero-premium .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    color: var(--brand-primary-light);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    padding: 6px 16px;
    background: rgba(17, 48, 140, 0.1);
    border: 1px solid rgba(17, 48, 140, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.hero-premium h1 {
    font-size: clamp(2.2rem, 10vw, 5.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(17, 48, 140, 0.4);
    animation: hero-text-float 5s ease-in-out infinite alternate;
}

.hero-premium h1 .text-gold,
.hero-premium h1 .text-blue {
    color: var(--brand-accent) !important;
    text-shadow: 0 0 30px rgba(242, 205, 92, 0.8), 0 0 60px rgba(242, 205, 92, 0.4) !important;
}

.text-hero-gold {
    color: var(--brand-accent) !important;
    text-shadow: 0 0 30px rgba(242, 205, 92, 0.8) !important;
}

@keyframes hero-text-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.hero-premium p {
    font-size: clamp(1rem, 4vw, 1.35rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.2px;
}

.hero-premium strong {
    color: var(--secondary-blue);
    font-weight: 700;
}

h2.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--brand-primary);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(17, 48, 140, 0.2);
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(17, 48, 140, 0.3), 0 0 15px rgba(242, 205, 92, 0.2);
    border-color: var(--brand-accent);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline:hover {
    border-color: var(--brand-accent);
    background: rgba(17, 48, 140, 0.03);
    color: var(--brand-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 950;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-accent);
    box-shadow: 0 0 20px rgba(242, 205, 92, 0.3);
}

.footer-logo .logo-icon::before {
    color: var(--brand-primary);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #0a142f 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(17, 48, 140, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon::before {
    content: 'DT';
    font-size: 0.85rem;
    color: var(--brand-accent);
    text-shadow: 0 0 10px rgba(242, 205, 92, 0.5);
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--brand-accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 17, 17, 0.95);
    min-width: 200px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown-menu li a:hover {
    background: rgba(230, 0, 18, 0.1);
    color: white;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Guide Page Styles */
.guide-container {
    max-width: 900px;
    margin: 120px auto 100px;
    padding: 0 20px;
}

.guide-header {
    margin-bottom: 50px;
    text-align: center;
}

.guide-content {
    line-height: 1.8;
}

.guide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.guide-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--brand-primary);
    border-left: 4px solid var(--brand-accent);
    padding-left: 15px;
}

.guide-content p {
    margin-bottom: 20px;
    color: #cecece;
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.guide-content li {
    margin-bottom: 10px;
}

.guide-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.back-to-hub {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.back-to-hub:hover {
    text-decoration: underline;
}

.cta-box-small {
    background: var(--n-50);
    border: 1px solid var(--brand-primary-light);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.cta-box-small h3 {
    margin-bottom: 15px;
}

.internal-links {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Internal Links */
.internal-links {
    margin: 30px 0;
    padding: 30px;
    background: var(--n-50);
    border: 1px solid var(--n-200);
    border-radius: 16px;
}

.internal-links h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.internal-links ul {
    list-style: none;
    padding: 0;
}

.internal-links li {
    margin-bottom: 8px;
}

.internal-links a {
    color: var(--primary-color);
}

.internal-links a:hover {
    text-decoration: underline;
}

/* Home Guides Preview */
.guide-card-mini {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--n-100);
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

.guide-card-mini:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.guide-card-mini h3 {
    margin-bottom: 15px;
}

.guide-card-mini p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.guide-card-mini a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 60%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    display: none;
    /* Replaced by ::before */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0 40px;
    color: var(--text-muted);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: var(--shadow-premium);
    line-height: 1.1;
}

.hero h1 span.text-blue {
    text-shadow: var(--shadow-glow);
    -webkit-text-fill-color: var(--primary-blue);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tab Navigation */
.tab-nav-container {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 900;
    backdrop-filter: blur(10px);
}

.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'Noto Sans KR', sans-serif;
    border-radius: 4px;
}

.tab-btn:hover {
    border-color: var(--text-muted);
    color: white;
}

.tab-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 0 15px var(--brand-primary-glow);
    color: white;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Footer */
footer {
    background: var(--n-900);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-links-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-row a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links-row a:hover {
    color: white;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 5px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .sep {
    color: #333;
    font-size: 0.8rem;
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-contact {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.floating-contact:hover {
    transform: translateY(-8px) scale(1.1);
}

.floating-contact i {
    font-size: 1.8rem;
}

/* Kakao Button */
.floating-kakao {
    background-color: #FEE500;
    color: #3C1E1E;
    animation: pulse-yellow 2s infinite;
}

.floating-kakao:hover {
    box-shadow: 0 15px 30px rgba(254, 229, 0, 0.4);
}

/* Telegram Button */
.floating-tele {
    background-color: #0088cc;
    color: white;
    animation: pulse-blue 2s infinite;
}

.floating-tele:hover {
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 229, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(242, 205, 92, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(242, 205, 92, 0);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

/* Badge */
.badge {
    background: var(--primary-blue);
    color: white;
    padding: 3px 8px;
    font-size: 0.7rem;
    border-radius: 3px;
    font-weight: 700;
}

/* Glass Card Optimization for Light Theme */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-blue);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
    /* Prevent blur during and after animation */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    will-change: transform, opacity;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(50px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawBorder {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 0, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 18, 0);
    }
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 229, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(254, 229, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(254, 229, 0, 0);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(17, 48, 140, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(17, 48, 140, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(17, 48, 140, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 10px var(--brand-primary-glow);
    }

    50% {
        text-shadow: 0 0 20px var(--brand-primary-glow);
    }
}

@keyframes sectionReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0) skew(0);
    filter: blur(0);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-down {
    transform: translateY(-60px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-scale {
    transform: scale(0.8);
}

.reveal-rotate-l {
    transform: rotate(-5deg) translateY(40px);
}

.reveal-rotate-r {
    transform: rotate(5deg) translateY(40px);
}

.reveal-blur {
    filter: blur(10px);
}

.reveal-skew {
    transform: skewX(-5deg) translateY(30px);
}

/* Premium Background Aura Animation */
.bg-aura {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: aura-move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.aura-1 {
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.aura-2 {
    background: radial-gradient(circle, var(--brand-primary-light) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

@keyframes aura-move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }

    100% {
        transform: translate(50px, -50px) scale(1.05);
    }
}

/* Hover Micro-interactions */
.hover-float {
    transition: var(--transition);
}

.hover-float:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--brand-primary-glow);
}

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s infinite;
}

/* Glassmorphism Styles */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--white);
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-hover);
}

/* Interactive Text */
.glitch-hover:hover {
    animation: glitch 0.3s infinite linear;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--n-50);
}

::-webkit-scrollbar-thumb {
    background: var(--n-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        padding: 30px;
        border-bottom: 2px solid var(--primary-red);
        backdrop-filter: blur(15px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        gap: 0;
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active {
        display: flex !important;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: block;
        color: white;
    }

    h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    h2.section-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-tag {
        letter-spacing: 2px;
        font-size: 0.8rem;
    }

    .hero-premium p {
        font-size: 1rem;
    }

    .tab-nav {
        position: static;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .floating-buttons {
        bottom: 25px;
        right: 20px;
        gap: 12px;
    }

    .floating-contact {
        width: 55px;
        height: 55px;
    }

    .floating-contact i {
        font-size: 1.5rem;
    }

    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}