@import url("app-styling/header/header.css");
@import url("app-styling/header/auth-modal.css");
@import url("app-styling/megamenu.css");
@import url("app-styling/landing/hero.css");
@import url("app-styling/features.css");
@import url("app-styling/creative-services.css");
@import url("app-styling/header/ai-effects.css");
@import url("app-styling/landing/playground.css");
@import url("app-styling/landing/stats.css");
@import url("app-styling/landing/pricing.css");
@import url("app-styling/newsletter.css");
@import url("app-styling/footer.css");
@import url("app-styling/animations.css");
@import url("app-styling/sticky-input.css");
@import url("app-styling/floating-actions.css");
@import url("app-styling/gallery/gallery.css");
@import url("app-styling/gallery/user-nav.css");
@import url("app-styling/gallery/text-to-video.css");
@import url("app-styling/gallery/upload.css");
@import url("app-styling/gallery/ai-effects-gallery.css");
@import url("app-styling/gallery/llm-chat.css");
@import url("app-styling/gallery/gallery-home.css");
@import url("app-styling/gallery/user-profile-modal.css");
@import url("app-styling/app.css");

/* Base Variables and Theme */
:root {
    --primary: #00ffff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --bg-dark: #0a0014;
    --bg-mid: #1a0a2e;
    --bg-card: #16213e;
    --text-light: #ffffff;
    --text-muted: #b8c1ec;
    --neon-glow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3);

    /* Tailwind-like gray colors */
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
}

/* Landing Page Base Styles */
body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f0728 50%, var(--bg-mid) 100%) !important;
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-light);
}

/* ENHANCED AMBIENT GLOW - This makes the background lighter */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    animation: pulse-bg 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Custom Scrollbar for Landing */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    box-shadow: var(--neon-glow);
}

body::-webkit-scrollbar-track {
    background: var(--bg-mid);
}

.cyber-grid {
    position: fixed;
    width: 100%;
    height: 100%;
    /* Slightly more visible grid for lighter appearance */
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    top: 0;
    left: 0;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f0728 50%, var(--bg-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: var(--neon-glow);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 50;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Glass Button Base */
.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(255, 0, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 0.5rem;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.glass-btn::before {
    left: 100%;
}

.glass-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary), 0 0 60px var(--secondary);
    transform: translateY(-2px);
}

/* Neon Button Base */
.neon-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary), 0 8px 24px rgba(0, 0, 0, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    color: #000;
    font-weight: 700;
    border-radius: 0.5rem;
}

.neon-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.neon-btn:hover {
    box-shadow: 0 0 40px var(--primary), 0 0 80px var(--secondary), 0 12px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px) scale(1.05);
    color: black;
}

/* Button Size Variants */
.btn-icon-circle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-icon-circle:not(.d-none):not(.d-lg-none) {
    display: flex !important;
}

@media (max-width: 992px) {
    .btn-icon-circle {
        display: inline-flex !important;
    }
}

.btn-icon-circle-lg {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.loader-overlay {
    min-height: 100vh !important;
    background: #0A0A0A fixed;
}

.font-extrabold {
    font-weight: 800 !important;
}

/* Utility classes for text colors matching Tailwind */
.text-cyan-300 {
    color: #67e8f9;
}

.text-cyan-400 {
    color: #22d3ee;
}

.text-magenta-400 {
    color: #e879f9;
}

.text-muted {
    color: var(--text-muted);
}

/* Text Color Utilities */
.text-gray-200 {
    color: var(--gray-200);
}

.text-gray-300 {
    color: var(--gray-300);
}

.text-gray-400 {
    color: var(--gray-400);
}