/* AviEarn Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff0000;
    /* Vibrant Red */
    --secondary-color: #ffd700;
    /* Gold */
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
    /* Lighter gray for dark mode */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light) !important;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

p,
li,
span,
div,
a {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: #000 !important;
    /* Only for specific light backgrounds */
}

/* Force white text on headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: var(--text-light);
}

/* Typography */
.text-gold {
    color: var(--secondary-color) !important;
}

.text-red {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #cc0000, #ff3333);
    border: none;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff3333, #cc0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
    color: white !important;
}

.btn-outline-gold {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--secondary-color);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: 10px;
    padding: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.form-label {
    color: var(--text-light);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.anim-float {
    animation: float 4s ease-in-out infinite;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-plane {
    font-size: 3rem;
    color: var(--primary-color);
    animation: fly 2s infinite linear;
}

@keyframes fly {
    0% {
        transform: translateX(-50px) translateY(5px) rotate(-10deg);
    }

    50% {
        transform: translateX(50px) translateY(-5px) rotate(10deg);
    }

    100% {
        transform: translateX(-50px) translateY(5px) rotate(-10deg);
    }
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff0000;
    /* Vibrant Red */
    --secondary-color: #ffd700;
    /* Gold */
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Hide Modal Backdrop per user request */
.modal-backdrop {
    display: none !important;
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gold {
    color: var(--secondary-color) !important;
}

.text-red {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #cc0000, #ff3333);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff3333, #cc0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.btn-outline-gold {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 10px;
    padding: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.anim-float {
    animation: float 4s ease-in-out infinite;
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader-plane {
    font-size: 3rem;
    color: var(--primary-color);
    animation: fly 2s infinite linear;
}

@keyframes fly {
    0% {
        transform: translateX(-50px) translateY(5px) rotate(-10deg);
    }

    50% {
        transform: translateX(50px) translateY(-5px) rotate(10deg);
    }

    100% {
        transform: translateX(-50px) translateY(5px) rotate(-10deg);
    }
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}