/* ========================================
   CREATIVE PORTFOLIO - MAIN STYLES
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Courier New', monospace;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-light));
}

/* Dark Mode Variables */
.dark-mode {
    --light: #0f172a;
    --dark: #f8fafc;
    --gray: #94a3b8;
    --gray-light: #334155;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    transition: var(--transition);
    overflow-x: hidden;
}

.dark-mode body {
    background: var(--dark);
    color: var(--light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Section Styles */
.section {
    min-height: 100vh;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-icon {
    font-size: 3rem;
    margin-right: 20px;
    vertical-align: middle;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.dark-mode .section-subtitle {
    color: var(--gray-light);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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: left 0.5s;
    z-index: -1;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.dark-mode header {
    background: rgba(15, 23, 42, 0.95);
}

.glass-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .glass-header {
    background: rgba(15, 23, 42, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.logo-text span {
    color: var(--secondary);
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.dark-mode .nav-link {
    color: white;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-link i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
}

.theme-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: var(--primary);
    font-size: 1.1rem;
}

.dark-mode .theme-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.dark-mode .theme-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}

.theme-btn i {
    transition: all 0.3s ease;
}

.theme-btn:hover i {
    transform: rotate(180deg);
}

/* Show only relevant icon */
.theme-btn .fa-sun {
    display: none;
}

.dark-mode .theme-btn .fa-sun {
    display: block;
}

.dark-mode .theme-btn .fa-moon {
    display: none;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.dark-mode .menu-toggle span {
    background: var(--light);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.7;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: white;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
    margin: 0 auto 20px;
    position: relative;
}

.loader-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

.loader-circle::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-in-out infinite alternate;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-text::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Hide scrollbar during loading */
body.loading {
    overflow: hidden;
}

/* Loading particles */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: loadingPulse 3s ease-in-out infinite;
}

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

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        clip-path: circle(0 at 90% -10%);
        transition: all 0.5s ease-out;
        pointer-events: none;
        backdrop-filter: blur(20px);
    }

    .dark-mode .nav-links {
        background: rgba(15, 23, 42, 0.95);
    }

    .nav-links.active {
        clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }

    .menu-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 80px 0;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
}

/* Utility Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* Floating Icons Animation */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 4, 255, 0.403);
    animation: floatIcon 15s linear infinite;
    opacity: 0;
}

.dark-mode .floating-icon {
    color: rgba(255, 255, 255, 0.1);
}

.floating-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.floating-icon:nth-child(3) { top: 60%; left: 5%; animation-delay: 4s; }
.floating-icon:nth-child(4) { top: 80%; right: 10%; animation-delay: 6s; }
.floating-icon:nth-child(5) { top: 30%; left: 80%; animation-delay: 8s; }
.floating-icon:nth-child(6) { top: 70%; right: 80%; animation-delay: 10s; }
.floating-icon:nth-child(7) { top: 15%; left: 60%; animation-delay: 12s; }
.floating-icon:nth-child(8) { top: 85%; left: 70%; animation-delay: 14s; }

@keyframes floatIcon {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate(0deg);
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Enhanced Card Animations */
.enhanced-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode .enhanced-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.enhanced-card:hover::before {
    left: 100%;
}

.enhanced-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

.dark-mode .enhanced-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Card Styles */
.enhanced-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.enhanced-card:hover::before {
    left: 100%;
}

.enhanced-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.6);
}

/* Dark Mode Overrides */
.dark-mode .enhanced-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .enhanced-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Card Base Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.dark-mode .card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Section Cards */
.section-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.section-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.dark-mode .section-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .section-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Input Fields */
input, textarea, select {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    color: var(--dark);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.dark-mode input, .dark-mode textarea, .dark-mode select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.dark-mode input:focus, .dark-mode textarea:focus, .dark-mode select:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-secondary {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.dark-mode .btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

.dark-mode .btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Icon Hover Effects */
.icon-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-hover:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary);
    text-shadow: 0 0 20px currentColor;
}

/* Pulse Animation for Important Elements */
.pulse-important {
    animation: pulseImportant 2s ease-in-out infinite;
}

@keyframes pulseImportant {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

/* Floating Animation for Cards */
.float-card {
    animation: floatCard 6s ease-in-out infinite;
}

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

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Bounce Animation */
.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Animations */
.slide-in-from-bottom {
    animation: slideInFromBottom 0.8s ease-out;
}

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

.slide-in-from-top {
    animation: slideInFromTop 0.8s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rotate In Animation */
.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg) scale(0.3);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Scale In Animation */
.scale-in {
    animation: scaleIn 0.6s ease-out;
}

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

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: cursorFadeIn 0.3s ease forwards;
}

.custom-cursor.hover {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.7);
    border: 2px solid rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.custom-cursor.click {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    border: 2px solid rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(0.8);
}

.custom-cursor.scroll {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ec4899, #6366f1);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
}

/* Cursor Animations */
@keyframes cursorFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Hide default cursor only when custom cursor is enabled */
body.custom-cursor-enabled {
    cursor: none;
}

body.custom-cursor-enabled * {
    cursor: none;
}

/* Show default cursor on interactive elements when custom cursor is disabled */
body:not(.custom-cursor-enabled) {
    cursor: auto;
}

body:not(.custom-cursor-enabled) * {
    cursor: auto;
}

/* Ensure cursor is visible on all devices */
@media (hover: none) {
    .custom-cursor,
    .cursor-trail {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    body * {
        cursor: auto !important;
    }
}
