@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Sora:wght@400;600&display=swap');

/* Reset and Modern Base Styles */
body {
    font-family: 'Sora', sans-serif;
    background-color: #0a0a0a; /* Dark charcoal background */
    color: #cbd5e1; /* slate-300 */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Gray rays effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 70% 80% at -20% 50%, rgba(156, 163, 175, 0.06), transparent 70%),
        radial-gradient(ellipse 70% 80% at 120% 50%, rgba(156, 163, 175, 0.06), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

main, nav {
    position: relative;
    z-index: 2;
}

/* --- HEADER NOTIFICATION STYLES --- */
.header-actions {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.notification-btn {
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 9999px;
    padding: 0.75rem;
    color: #94a3b8; /* slate-400 */
    transition: all 0.2s ease-in-out;
    position: relative;
}

.notification-btn:hover {
    background-color: rgba(51, 65, 85, 0.7);
    color: #f1f5f9; /* slate-100 */
}

.notification-dot {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #ef4444; /* red-500 */
    border-radius: 9999px;
    border: 2px solid #0a0a0a;
}


/* --- VERTICAL NAVIGATION STYLES --- */
nav {
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.8), rgba(12, 12, 12, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid #1f2937; /* slate-800 */
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #94a3b8; /* slate-400 */
    transition: all 0.2s ease-in-out;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(30, 41, 59, 0.5);
    color: #f1f5f9; /* slate-100 */
}

.nav-link.active {
    background-color: #0f172a; /* slate-900 */
    color: #f8fafc; /* slate-50 */
    font-weight: 600;
}
.nav-link.active svg {
    color: #22d3ee; /* cyan-400 */
}

/* --- GENERAL CARD STYLES --- */
.program-card {
    background-color: rgba(16, 16, 16, 0.6);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}
.program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.1);
    background-color: rgba(24, 24, 24, 0.6);
}

/* --- QUEST STYLES --- */
.quest-item {
    background-color: rgba(24, 24, 24, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
}
.quest-item:hover {
    background-color: rgba(30, 30, 30, 0.8);
    border-color: rgba(0, 207, 232, 0.5);
}
.quest-item .quest-checkbox {
    transition: all 0.2s ease-in-out;
}
.quest-item.completed .quest-checkbox {
    background-color: #22d3ee; /* cyan-400 */
    border-color: #22d3ee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quest-item.completed span {
    text-decoration: line-through;
    color: #64748b; /* slate-500 */
}

/* --- CAMPUS & COURSE PAGE STYLES --- */
.campus-nav-button {
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.campus-nav-button.active {
    color: #00CFE8;
    border-bottom-color: #00CFE8;
}
.info-card {
    background-color: hsla(222, 47%, 11%, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1.5rem;
    border-radius: 0.75rem;
}
.info-card:hover {
    border-color: rgba(0, 207, 232, 0.4);
    background-color: hsla(222, 47%, 11%, 0.8);
}

.pin-btn {
    background-color: rgba(0, 207, 232, 0.1);
    color: #00CFE8;
    border: 1px solid rgba(0, 207, 232, 0.3);
    transition: all 0.3s ease;
}
.pin-btn:hover {
    background-color: rgba(0, 207, 232, 0.2);
    border-color: rgba(0, 207, 232, 0.5);
}
.pin-btn.pinned {
    background-color: #00CFE8;
    color: #020617;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
}
.aspect-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.aspect-video > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- FITNESS TIMER STYLES --- */
.timer-btn {
    background-color: hsla(222, 47%, 11%, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.timer-btn:hover {
    background-color: hsla(222, 47%, 15%, 0.8);
    border-color: rgba(56, 189, 248, 0.5);
}
.form-input {
    background-color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #EAEAEA;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #00CFE8;
    box-shadow: 0 0 0 3px rgba(0, 207, 232, 0.2);
}

/* General Fade-in Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SUPPORT DOT --- */
.support-dot {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease;
}

.support-dot:hover {
    transform: scale(1.1);
    background-color: #0056b3;
}

.support-dot svg {
    color: white;
    width: 1.75rem;
    height: 1.75rem;
}

/* Fade-in for main content (Added) */
main#content-container {
    opacity: 0;
    transition: opacity 0.4s ease-in-out; /* Adjust duration as needed */
}

main#content-container.loaded {
    opacity: 1;
}
