/* --- Base Styles --- */
body {
    font-family: 'Inter', sans-serif;
    /* The background is now handled by the slider, but we keep a fallback color */
    background-color: #0f0c29;
    color: #E0E0E0;
}

/* --- Background Slider Styles --- */
#background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind all content */
    overflow: hidden;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    /* --- THIS IS THE KEY FOR THE DISSOLVE EFFECT --- */
    transition: opacity 1s ease-in-out; 
}

/* --- Background Slider Overlay Style --- */
.slider-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits on top of the images but below the main content */
}


/* --- Enhanced Glassmorphism with Aurora Hover Effect --- */
.glass-panel {
    background: rgba(30, 30, 50, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease-in-out;
}

.glass-panel:hover::before {
    left: 150%;
}

/* --- Intense Glowing Button Effect --- */
.glowing-button {
    position: relative;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    background: #1e1b4b; /* Deep indigo */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    border: none;
    display: inline-block; /* For <a> tag styling */
    text-align: center;
}

.glowing-button::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px;
    right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #fde047, #a855f7, #22d3ee, #fde047);
    background-size: 400%;
    border-radius: 10px;
    z-index: -1;
    filter: blur(8px);
    animation: glowing 20s linear infinite;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.glowing-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
}

/* --- Form-specific button styling --- */
form .glowing-button {
    width: 100%;
}

/* --- Refined Secondary Buttons --- */
.subtle-glow-button {
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.subtle-glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* --- Gradient Text --- */
.gradient-text {
    background: -webkit-linear-gradient(45deg, #a855f7, #fde047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-alt {
    background: -webkit-linear-gradient(45deg, #22d3ee, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Form Input Styling --- */
.form-input {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem; /* 8px */
    padding: 0.75rem 1rem;
    color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-align: center;
}

.form-input::placeholder {
    text-align: center;
}

/* Make admin form inputs left-aligned */
.form-input.\!text-left, .form-input.\!text-left::placeholder {
    text-align: left;
}


.form-input:focus {
    outline: none;
    border-color: rgba(192, 132, 252, 0.8); /* Purple-400 */
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
}

