/* General Styles and Variables (Enhanced Neon Theme) */
:root {
    --primary: #1e3a8a; /* Deep Blue */
    --secondary: #3b82f6; /* Lighter Blue */
    --accent: #f97316; /* Orange */
    --light: #f8fafc; /* Light Gray */
    --dark: #0f172a; /* Dark Blue-Gray */
    --success: #16a34a;
    --warning: #facc15;
    --danger: #ef4444;
    
    /* New UI/UX Colors & Gradients (NEON THEME) */
    --neon-pink: #ff00ff;
    --neon-blue: #00ffff;
    --neon-green: #00ff00;
    --neon-yellow: #ffff00;
    --neon-purple: #8a2be2;

    --bg-gradient: linear-gradient(135deg, #1e3a8a, #8a2be2, #3b82f6, #00ff00);
    --premium-gradient: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 15px 45px rgba(0, 0, 0, 0.2);
    --shadow-neon-blue: 0 0 15px var(--neon-blue), 0 0 30px rgba(0, 255, 255, 0.5);
    --shadow-neon-pink: 0 0 15px var(--neon-pink), 0 0 30px rgba(255, 0, 255, 0.5);
    --text-shadow-neon-blue: 0 0 8px var(--neon-blue);
    --text-shadow-neon-pink: 0 0 8px var(--neon-pink);
    
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --primary-rgb: 30, 58, 138; /* RGB for --primary */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Fix for white screen flash on load */
html {
    scroll-behavior: smooth;
    background-color: var(--dark);
}

body {
    /* Animated multi-color neon gradient background */
    background: linear-gradient(135deg, #1e3a8a, #8a2be2, #3b82f6, #00ff00);
    background-size: 300% 300%;
    animation: neonGradientBody 20s ease infinite alternate;
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 7.5rem;
}
@keyframes neonGradientBody {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.my-5 { margin: 5rem 0; }
.py-5 { padding: 5rem 0; }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-md { border-radius: var(--border-radius-md); }
.shadow-md { box-shadow: var(--shadow-medium); }

header {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green), var(--neon-yellow));
    background-size: 300% 300%;
    animation: neonGradientHeader 15s ease infinite alternate;
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}
@keyframes neonGradientHeader {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.logo .main-logo-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo .main-logo-line span {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-green), var(--neon-yellow));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.4);
    animation: logoNeonGradientShift 4s linear infinite alternate;
    transition: text-shadow 0.3s ease;
}
.logo .main-logo-line span:hover {
    text-shadow: 0 0 15px var(--neon-blue), 0 0 25px var(--neon-pink);
}
@keyframes logoNeonGradientShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}
.logo i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}
.logo:hover i { color: var(--secondary); }

.developer-logo-text {
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    align-self: flex-start;
    margin-left: 0.5rem;
    margin-bottom: -0.4rem;
    background: linear-gradient(45deg, var(--neon-yellow), var(--neon-green), var(--neon-blue), var(--neon-pink));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.4);
    animation: logoNeonGradientShift 4s linear infinite alternate;
    transition: text-shadow 0.3s ease;
}
.developer-logo-text:hover {
    text-shadow: 0 0 15px var(--neon-green), 0 0 25px var(--neon-yellow);
}
.developer-logo-text a {
    color: transparent;
    text-decoration: none;
}
.developer-verified-badge {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
}

nav ul { display: flex; list-style: none; gap: 2rem; }
nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    text-shadow: 0 0 2px rgba(0,0,0,0.1);
}
nav a:after {
    content: '';
    position: absolute;
    left: 0; bottom: 0; width: 0; height: 2px;
    background-color: var(--neon-pink);
    transition: width 0.3s ease;
}
nav a:hover:after { width: 100%; }
nav a:hover {
    color: var(--neon-blue);
    transform: translateY(-2px);
    text-shadow: var(--text-shadow-neon-blue);
}

.auth-buttons { display: flex; gap: 1rem; align-items: center; }
.user-authenticated-controls { display: none; align-items: center; gap: 1rem; }

.notification-bell {
    position: relative; cursor: pointer; color: var(--dark);
    font-size: 1.25rem; transition: color 0.3s ease, transform 0.2s ease;
}
.notification-bell:hover { color: var(--accent); transform: scale(1.1); }
.notification-count {
    position: absolute; top: -8px; right: -8px;
    background: var(--accent); color: white; border-radius: 50%;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 600;
    animation: pulseNotification 2s infinite ease-out;
}
@keyframes pulseNotification {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}
.btn {
    padding: 0.75rem 1.5rem; border-radius: 9999px; border: 2px solid transparent;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease, transform 0.2s ease;
    display: inline-flex; align-items: center; gap: 0.5rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white; border-color: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5), 0 0 20px rgba(var(--primary-rgb), 0.3);
    animation: buttonGlowPrimary 2s infinite alternate;
}
.btn-primary:hover {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    border-color: var(--neon-blue);
    box-shadow: var(--shadow-neon-blue);
    transform: translateY(-3px) scale(1.02);
    animation: none;
}
@keyframes buttonGlowPrimary {
    0% { box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5); }
    100% { box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.7); }
}
.btn-outline {
    background: transparent; border-color: var(--dark); color: var(--dark);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.btn-outline:hover {
    background: var(--dark); color: var(--neon-green); border-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green), 0 0 20px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}
#profileMenuToggleBtn {
    background-color: transparent; border-color: var(--primary); color: var(--primary);
    padding: 0.75rem; width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; border-radius: var(--border-radius-lg);
}
#profileMenuToggleBtn:hover {
    background-color: var(--primary); color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transform: translateY(-2px);
}

#shareButton {
    padding: 0; width: 45px; height: 45px; border-radius: 50%;
    font-size: 1.1rem; justify-content: center;
}

.profile-dropdown-menu {
    position: absolute; top: 5rem; right: 1.5rem;
    background: white; border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium); width: 250px; padding: 1rem;
    z-index: 1000; animation: modalFadeIn 0.3s ease-out;
    border: 1px solid #e2e8f0;
}
.profile-dropdown-menu ul { list-style: none; padding: 0; margin: 0; }
.profile-dropdown-menu li { padding: 0.5rem 0; color: var(--dark); font-weight: 500; line-height: 1.2; }
.profile-dropdown-menu li a { display: flex; align-items: center; gap: 0.75rem; color: var(--dark); text-decoration: none; transition: color 0.3s ease, transform 0.2s ease; }
.profile-dropdown-menu li a:hover { color: var(--primary); transform: translateX(5px); }
.profile-dropdown-menu li a i { font-size: 1.1rem; color: var(--secondary); }
.profile-dropdown-menu strong {
    font-weight: 700; font-size: 1.1rem; color: var(--primary);
    display: block; margin-bottom: 0.2rem; text-shadow: 0 0 5px rgba(30, 58, 138, 0.2);
}
.profile-dropdown-menu span#dropdownPremiumStatus {
    font-size: 0.9rem; color: #64748b; display: block; margin-top: -0.2rem;
}
.profile-dropdown-menu .menu-separator { border-top: 1px solid #e2e8f0; margin: 1rem 0; padding: 0; }
.profile-dropdown-menu .btn { margin-top: 0.5rem; }
.verified-badge-img {
    width: 18px; height: 18px; vertical-align: middle;
    margin-left: 0.5rem; display: inline-block;
}

.hero {
    position: relative; padding: 0; color: white; text-align: center; overflow: hidden;
    background: var(--bg-gradient); background-size: 300% 300%;
    animation: neonGradientBody 20s ease infinite alternate;
    display: flex; align-items: center; justify-content: center; 
    min-height: 350px; flex-direction: column; gap: 1.5rem; flex-grow: 1;
}
.hero-dynamic-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center center;
    transition: background-image 1s ease-in-out, filter 1s ease-in-out;
    filter: brightness(0.6) blur(8px); z-index: 0; opacity: 0.8;
    background-image: linear-gradient(45deg, rgba(255,0,255,0.3), rgba(0,255,255,0.3), rgba(0,255,0,0.3), rgba(255,255,0,0.3)), var(--initial-bg-image, none);
    background-size: 400% 400%, cover; background-position: 0% 0%, center center;
    animation: gradientShiftBgOverlay 15s linear infinite;
    background-attachment: fixed;
}
@keyframes gradientShiftBgOverlay {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero::before { display: none; }
.hero-content {
    position: relative; z-index: 2; width: 100%; max-width: 1200px;
    padding: 0 1.5rem; height: auto;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 1.5rem; margin-bottom: 2rem;
}
.banner-slider-container {
    width: 100%; max-width: 100%; position: relative; overflow: hidden;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-green), var(--neon-yellow)); 
    background-size: 400% 400%; animation: gradientShift 10s ease infinite;
    border: 2px solid transparent;
    box-shadow: 0 0 25px var(--neon-pink), 0 0 50px var(--neon-blue);
    border-radius: var(--border-radius-md); flex-grow: 1; margin-top: 2rem;
    aspect-ratio: 16 / 9; max-height: 700px; min-height: 300px;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.banner-slider {
    display: flex; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%; height: 100%;
    cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.banner-slider.grabbing { cursor: grabbing; }
.banner-slide {
    min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; flex-shrink: 0;
}
.banner-slide img {
    width: 100%; height: 100%; object-fit: contain;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute; top: 0; left: 0; z-index: 1;
}
#currentBannerButtonWrapper {
    background: var(--premium-gradient); color: var(--dark);
    padding: 0.7rem 1.8rem; border-radius: 9999px; margin-top: 1.5rem;
    box-shadow: 0 0 15px var(--accent), 0 0 25px rgba(249, 115, 22, 0.5);
    animation: gradientBorderPulse 3s infinite alternate;
}
@keyframes gradientBorderPulse {
    0% { box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(249, 115, 22, 0.4); }
    50% { box-shadow: 0 0 20px var(--accent), 0 0 35px rgba(249, 115, 22, 0.6); }
    100% { box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(249, 115, 22, 0.4); }
}
#currentBannerButtonWrapper .btn-primary {
    background: transparent; border-color: white; color: white;
    text-shadow: 0 0 8px #FFD700, 0 0 15px #FFA500;
    padding: 0.8rem 2rem; transition: all 0.3s ease;
}
#currentBannerButtonWrapper .btn-primary:hover {
    background: rgba(255, 255, 255, 0.1); border-color: var(--neon-blue);
    box-shadow: var(--shadow-neon-blue); transform: scale(1.05);
}
.slider-controls button {
    background: rgba(0, 0, 0, 0.6); color: white; border: none; padding: 0.6rem;
    font-size: 1.8rem; width: 40px; height: 40px; border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
}
.slider-controls #prevBtn { left: 10px; }
.slider-controls #nextBtn { right: 10px; }
.slider-controls button:hover {
    background: var(--accent); transform: translateY(-50%) scale(1.1);
}

.user-notification-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(var(--primary-rgb), 0.95); color: white;
    padding: 0.9rem 1.8rem; border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); z-index: 1500;
    font-size: 1rem; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    min-width: 320px; max-width: 90%; text-align: center; pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2); text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.user-notification-bar span {
    font-weight: 700; margin: 0 0.3rem; color: var(--accent);
}
.user-notification-bar.show {
    opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(-10px);
}
@keyframes userCountFade { 0% { opacity: 0; transform: translateY(-5px); } 50% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(5px); } }
@keyframes userNameSwap { 0% { opacity: 0; transform: translateX(-10px); } 50% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(10px); } }
.fade-in-out { animation: userCountFade 1s forwards; }
.slide-in-out { animation: userNameSwap 1s forwards; }

.section-title { text-align: center; margin-bottom: 4.5rem; }
.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    background: linear-gradient(45deg, var(--primary), var(--neon-blue), var(--neon-pink), var(--neon-green));
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(30, 58, 138, 0.5);
    animation: textNeonPulse 3s infinite alternate; position: relative; display: inline-block;
}
@keyframes textNeonPulse {
    0% { text-shadow: 0 0 5px rgba(30, 58, 138, 0.5), 0 0 10px rgba(0, 255, 255, 0.2); }
    100% { text-shadow: 0 0 15px rgba(30, 58, 138, 0.7), 0 0 25px rgba(0, 255, 255, 0.4); }
}
.section-title h2:after {
    content: ''; display: block; width: 70%; height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-green), var(--neon-blue), var(--neon-yellow));
    background-size: 200% 100%; margin: 0.8rem auto 0; border-radius: 2px;
    animation: gradientUnderlineShift 4s linear infinite, expandUnderline 3s infinite alternate;
}
@keyframes gradientUnderlineShift { 0% { background-position: 0% 0%; } 100% { background-position: 200% 0%; } }
@keyframes expandUnderline { 0% { width: 50%; opacity: 0.7; } 100% { width: 80%; opacity: 1; } }

.top-scorer-banner {
    text-align: center; background: linear-gradient(45deg, var(--neon-purple), var(--dark));
    color: white; padding: 1rem; margin-bottom: 2rem; border-radius: var(--border-radius-md);
    box-shadow: 0 0 20px var(--neon-purple); animation: fadeIn 1s ease; transition: opacity 0.5s ease-out;
}
.top-scorer-banner p { font-size: 1.2rem; font-weight: 600; text-shadow: 0 0 10px var(--neon-yellow); }
.top-scorer-banner span { color: var(--neon-yellow); font-family: 'Playfair Display', serif; }

/* All-in-One Tools Section Styles */
.tools-section {
    padding: 4rem 0;
    background: rgba(15, 23, 42, 0.5); /* Semi-transparent dark bg */
    backdrop-filter: blur(5px);
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}
.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--neon-blue);
    border-radius: var(--border-radius-md);
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}
.tool-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--shadow-neon-blue);
}
.tool-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink);
}
.tool-card h3 {
    color: var(--neon-yellow);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px var(--neon-yellow);
}
.tool-card .btn {
    margin-top: 1rem;
    background: transparent;
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}
.tool-card .btn:hover {
    background: var(--neon-green);
    color: var(--dark);
    box-shadow: 0 0 20px var(--neon-green), 0 0 30px rgba(0, 255, 0, 0.5);
}

.content-section { margin-bottom: 6rem; }
.content-section.active { display: block; }
.category-selector { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.category-selector .btn { background: #fff; color: var(--primary); border: 2px solid var(--primary); font-weight: 700; box-shadow: none; animation: none; }
.category-selector .btn:hover { background: #eef2f3; transform: translateY(-2px); }
.category-selector .btn.active {
    background: var(--primary); color: white;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5); transform: scale(1.05);
}

/* NEW: Restyled Content Tabs */
.content-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.tab-link {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--neon-blue);
    text-shadow: 0 0 5px var(--dark);
}
.tab-link:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px var(--neon-blue);
    color: var(--neon-blue);
}
.tab-link.active {
    background: var(--neon-blue);
    color: var(--dark);
    box-shadow: 0 0 20px var(--neon-blue), 0 0 30px rgba(0, 255, 255, 0.5);
    text-shadow: none;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.content-card {
    background: white; border-radius: var(--border-radius-md); overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.1); transform: translateZ(0);
}
.content-card:hover {
    transform: translateY(-8px) scale(1.01) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), var(--shadow-neon-blue);
    border-color: var(--neon-blue);
}
.content-thumb {
    height: 200px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--neon-blue));
}
.content-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.content-card:hover .content-thumb img { transform: scale(1.08); }
.content-thumb i {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3.5rem; color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6); opacity: 0.9;
    transition: all 0.3s ease;
}
.content-card:hover .content-thumb i {
    color: var(--neon-green); text-shadow: 0 0 15px var(--neon-green), 0 0 25px rgba(0, 255, 0, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}
.content-info { padding: 1.5rem; }
.content-info h3 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--dark); }
.premium-badge {
    background: var(--accent); color: white; padding: 0.25rem 0.85rem;
    border-radius: 9999px; font-size: 0.85rem; font-weight: 600; margin-left: 0.5rem;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
    animation: badgePulse 2s infinite alternate;
}
@keyframes badgePulse { 0% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.03); opacity: 1; } 100% { transform: scale(1); opacity: 0.9; } }
.favorite-btn {
    background: none; border: none; color: #ccc; cursor: pointer;
    font-size: 1.4rem; margin-left: auto;
    transition: color 0.3s ease, transform 0.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.favorite-btn.favorited { color: var(--danger); animation: heartBeat 1s; }
.favorite-btn:hover { color: var(--danger); transform: scale(1.2); }
@keyframes heartBeat { 0% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } 70% { transform: scale(1); } }

/* NEW: YouTube Section Styles */
.youtube-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 2rem; }
.youtube-tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--neon-pink);
    border-radius: 6px;
    background: rgba(255, 0, 255, 0.1);
    color: var(--neon-pink);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.youtube-tab-btn.active, .youtube-tab-btn:hover {
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 0 15px var(--neon-pink);
}

.youtube-section { display: none; }
.youtube-section.active { display: block; }

.youtube-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.5rem; 
}
.youtube-card { 
    background: rgba(0,0,0,0.3);
    border-radius: 10px; 
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}
.youtube-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--neon-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 15px var(--neon-blue);
}
.youtube-card a {
    text-decoration: none;
}
.youtube-card img { 
    width: 100%; 
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.youtube-card .title { 
    font-size: 1rem; 
    font-weight: bold; 
    margin: 8px 12px; 
    color: var(--neon-yellow);
    text-shadow: 0 0 5px rgba(255,255,0,0.7);
}
.youtube-card .desc { 
    font-size: 0.85rem; 
    color: #ccc;
    padding: 0 12px 12px;
}

.teachers {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; margin-bottom: 6rem;
}
.teacher-card {
    background: white; border-radius: var(--border-radius-lg); overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2);
    text-align: center; border: 1px solid rgba(var(--primary-rgb), 0.1);
    transform: translateZ(0);
}
.teacher-card:hover {
    transform: translateY(-12px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), var(--shadow-neon-pink);
    border-color: var(--neon-pink);
}
.teacher-img {
    position: relative; height: 220px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    display: flex; align-items: center; justify-content: center;
    color: white; overflow: hidden;
}
.teacher-image-slider { width: 100%; height: 100%; overflow: hidden; }
.teacher-image-slider .slide { width: 100%; height: 100%; display: none; animation: fadeIn 0.5s ease; }
.teacher-image-slider .slide.active { display: block; }
.teacher-image-slider img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); transition: filter 0.3s ease; }
.teacher-card:hover .teacher-image-slider img { filter: grayscale(0); }
.teacher-info { padding: 1.5rem; }
.teacher-info h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--dark); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.teacher-info p { color: #64748b; font-size: 0.95rem; }

footer {
    background: linear-gradient(135deg, var(--dark), #2c3e50, var(--dark));
    background-size: 200% 200%; animation: footerBgShift 12s ease infinite alternate;
    color: white; padding: 4rem 0 2rem; margin-top: 6rem;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
}
@keyframes footerBgShift { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; margin-bottom: 2rem;
}
.footer-section h3 {
    font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 1.5rem; position: relative;
    color: var(--neon-blue); text-shadow: 0 0 8px var(--neon-blue), 0 0 15px rgba(0, 255, 255, 0.4);
}
.footer-section h3:after {
    content: ''; display: block; width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-yellow));
    background-size: 200% 100%; margin-top: 0.5rem;
    animation: footerUnderline 2s infinite alternate, gradientUnderlineShift 3s linear infinite reverse;
}
.footer-section p { margin-bottom: 0.6rem; color: #e2e8f0; font-size: 0.95rem; }
.footer-section p span { color: var(--neon-blue); text-shadow: 0 0 5px var(--neon-blue); }
.footer-section a { color: #e2e8f0; text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--secondary); }
.social-links { display: flex; gap: 1.2rem; margin-top: 1.5rem; }
.social-links a { color: white; font-size: 1.8rem; transition: color 0.3s ease, transform 0.3s ease; text-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
.social-links a:hover {
    color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green), 0 0 15px var(--neon-yellow);
    transform: translateY(-5px) scale(1.1);
}
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; color: #cbd5e1; }

.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 2000; align-items: center;
    justify-content: center; overflow-y: auto;
}
.modal-content {
    background: white; border-radius: var(--border-radius-lg); padding: 2.5rem;
    width: 90%; max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--neon-blue);
    position: relative; animation: modalFadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2);
    border: 1px solid rgba(0, 255, 255, 0.3); margin: 2rem 0;
}
#myPurchasesModal .modal-content, #myFavoritesModal .modal-content {
    max-height: 80vh; display: flex; flex-direction: column;
}
.modal-body { overflow-y: auto; }
.close-modal {
    position: absolute; top: 1rem; right: 1.25rem; font-size: 1.8rem;
    cursor: pointer; color: var(--dark); transition: transform 0.3s ease, color 0.3s ease;
}
.close-modal:hover { transform: rotate(90deg) scale(1.1); color: var(--danger); }
.auth-form h2 { font-family: 'Playfair Display', serif; text-align: center; margin-bottom: 1.5rem; color: var(--primary); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.auth-tabs { display: flex; margin-bottom: 1.5rem; border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05); }
.auth-tabs button {
    flex: 1; padding: 0.9rem; border: none; background-color: #f1f5f9;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    color: #64748b; font-size: 1rem; letter-spacing: 0.5px;
}
.auth-tabs button.active {
    background-color: var(--primary); color: white;
    box-shadow: 0 0 15px var(--primary), 0 0 25px rgba(30, 58, 138, 0.5);
    text-shadow: 0 0 8px #FFD700, 0 0 15px #FFA500;
}
.auth-tabs button:not(.active):hover { background-color: #e2e8f0; color: var(--dark); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.6rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.9rem 1.2rem; border: 1px solid #cbd5e1;
    border-radius: var(--border-radius-sm); font-size: 1rem; transition: all 0.3s ease;
    background-color: #fdfdfd;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.25);
    outline: none;
}
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; font-size: 0.95rem; }
.form-options a { color: var(--secondary); text-decoration: none; transition: color 0.3s ease; }
.form-options a:hover { color: var(--primary); text-decoration: underline; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-30px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(20px) scale(0.9); } }
.loading { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(0, 149, 246, 0.3); border-radius: 50%; border-top-color: #0095f6; animation: spin 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.payment-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--border-radius-md); padding: 1rem; text-align: center; box-shadow: var(--shadow-light); margin-top: 1.5rem; }
.payment-notice { text-align: center; margin-bottom: 1rem; color: var(--danger); font-weight: 600; font-size: 0.7rem; }
.payment-notice .lang-en, .payment-notice .lang-or { display: none; }
html[lang="en"] .payment-notice .lang-en, body:not([lang]) .payment-notice .lang-en { display: inline; }
html[lang="or"] .payment-notice .lang-or { display: inline; }
.qr-container { margin-bottom: 0.5rem; }
.qr-container img { width: 120px; height: 120px; border-radius: var(--border-radius-sm); border: 2px solid var(--primary); }
.upi-info { background: #fff; padding: 0.5rem; border-radius: var(--border-radius-sm); border: 1px solid #ddd; margin-bottom: 0.5rem; }
.upi-info p { margin: 0; font-weight: 500; font-size: 0.8rem; }
.upi-id { color: var(--primary); font-weight: 700; margin-top: 0.25rem; }
.data-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.data-table th, .data-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.data-table th { background: var(--primary); color: white; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.data-table tr:hover { background: #f8fafc; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 600; }
.status-pending { background-color: var(--warning); color: var(--dark); }
.status-verified, .status-successful { background-color: var(--success); color: white; }
.status-rejected { background-color: var(--danger); color: white; }

#instagramPopupModal .modal-content { background: transparent; box-shadow: none; padding: 0; max-width: 380px; overflow: visible; }
#instagramPopupModal .instagram-close {
    position: absolute; top: 10px; right: 15px; font-size: 1.8rem; 
    color: white; text-shadow: 0 0 5px var(--neon-pink), 0 0 10px var(--neon-blue);
    cursor: pointer; transition: transform 0.2s ease, color 0.3s ease; z-index: 100;
}
#instagramPopupModal .instagram-close:hover { transform: rotate(90deg) scale(1.1); color: var(--neon-blue); }
#instagramPopupModal .popup-container {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; position: relative; width: 100%;
    background: rgba(0, 0, 0, 0.8); border-radius: 16px;
    box-shadow: 0 0 25px var(--neon-pink), 0 0 50px var(--neon-blue), 0 0 75px rgba(255, 0, 255, 0.3);
    overflow: hidden; animation: fadeIn 0.8s ease-out, neonBorder 4s infinite alternate;
    border: 1px solid transparent; z-index: 2; margin: 0; padding: 0;
}
#instagramPopupModal .popup-container::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; z-index: -1;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-pink), var(--neon-blue), var(--neon-pink));
    background-size: 400%; border-radius: 18px; animation: neonGradient 8s linear infinite;
}
#instagramPopupModal .header { position: relative; padding: 20px; text-align: center; background: linear-gradient(90deg, #fdf497, #fd5949, #d6249f, #285AEB); color: white; overflow: hidden; }
#instagramPopupModal .header h2 { font-weight: 600; letter-spacing: 1px; font-size: 18px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); position: relative; z-index: 2; }
#instagramPopupModal .profile-content { padding: 20px; text-align: center; position: relative; z-index: 2; }
#instagramPopupModal .profile-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid transparent; box-shadow: 0 0 20px var(--neon-pink); margin: 0 auto 15px; animation: neonPulse 3s infinite alternate; position: relative; z-index: 2; }
#instagramPopupModal .username { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: #ffffff; text-shadow: 0 0 10px var(--neon-pink); animation: textGlow 2s infinite alternate; }
#instagramPopupModal .follow-btn { display: block; width: 100%; padding: 12px; background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue)); color: white; border: none; border-radius: 8px; font-weight: 600; font-size: 16px; cursor: pointer; margin-bottom: 15px; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 0 15px var(--neon-pink); position: relative; overflow: hidden; z-index: 2; }
#instagramPopupModal .follow-btn:hover { transform: translateY(-3px); box-shadow: 0 0 20px var(--neon-pink), 0 0 30px var(--neon-blue); }
#instagramPopupModal .close-btn { display: block; width: 100%; padding: 12px; background: transparent; color: var(--neon-blue); border: 1px solid var(--neon-blue); border-radius: 8px; font-weight: 600; font-size: 16px; cursor: pointer; transition: all 0.3s; box-shadow: 0 0 10px rgba(0, 255, 255, 0.4); text-shadow: 0 0 5px rgba(0, 255, 255, 0.6); position: relative; z-index: 2; }
#instagramPopupModal .close-btn:hover { background: rgba(0, 255, 255, 0.15); box-shadow: 0 0 15px rgba(0, 255, 255, 0.7); }
#instagramPopupModal .developer-text { text-align: center; margin-top: 20px; font-size: 16px; color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); animation: glow 2s infinite alternate; font-weight: 600; letter-spacing: 1px; position: relative; z-index: 2; }
#instagramPopupModal .particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; }
#instagramPopupModal .particle { position: absolute; background: rgba(255, 0, 255, 0.6); border-radius: 50%; animation: float 6s infinite ease-in-out; }
@keyframes glow { from { text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue); } to { text-shadow: 0 0 15px var(--neon-blue), 0 0 25px var(--neon-blue), 0 0 35px var(--neon-blue); } }
@keyframes textGlow { from { text-shadow: 0 0 5px var(--neon-pink); } to { text-shadow: 0 0 15px var(--neon-pink), 0 0 25px var(--neon-pink); } }
@keyframes neonBorder { 0% { box-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-blue); } 50% { box-shadow: 0 0 25px var(--neon-pink), 0 0 50px var(--neon-blue), 0 0 70px rgba(255, 0, 255, 0.4); } 100% { box-shadow: 0 0 30px var(--neon-pink), 0 0 60px var(--neon-blue); } }
@keyframes neonGradient { 0% { background-position: 0% 50%; filter: blur(5px); } 50% { background-position: 100% 50%; filter: blur(8px); } 100% { background-position: 0% 50%; filter: blur(5px); } }
@keyframes neonPulse { 0% { box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-blue); } 50% { box-shadow: 0 0 20px var(--neon-pink), 0 0 40px var(--neon-blue); } 100% { box-shadow: 0 0 15px var(--neon-pink), 0 0 30px var(--neon-blue), 0 0 45px rgba(255, 0, 255, 0.4); } }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.7; } 25% { transform: translateY(-20px) translateX(10px) rotate(5deg); opacity: 0.9; } 50% { transform: translateY(-40px) translateX(-10px) rotate(-5deg); opacity: 0.6; } 75% { transform: translateY(-20px) translateX(10px) rotate(5deg); opacity: 0.8; } }
#instagramPopupModal .instagram-logo { font-family: 'Cookie', cursive; font-size: 28px; margin-bottom: 5px; display: inline-block; }

.quiz-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.quiz-option { display: flex; align-items: center; background: #f1f5f9; padding: 0.75rem 1rem; border-radius: var(--border-radius-sm); cursor: pointer; transition: all 0.2s ease; }
.quiz-option:hover { background: #e2e8f0; }
.quiz-option input[type="radio"] { margin-right: 0.75rem; accent-color: var(--primary); }
.quiz-feedback { margin-top: 1.5rem; padding: 1rem; border-radius: var(--border-radius-md); font-weight: 600; text-align: center; animation: feedbackGlow 1s forwards ease-out; display: none; }
.quiz-feedback.correct { background-color: rgba(22, 163, 74, 0.1); color: var(--success); border: 1px solid var(--success); }
.quiz-feedback.incorrect { background-color: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid var(--danger); }
@keyframes feedbackGlow { 0% { opacity: 0; transform: scale(0.8); box-shadow: 0 0 0 rgba(0,0,0,0); } 50% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

#contentDisplayModal .modal-content { max-width: 900px; width: 95%; height: 90%; padding: 1rem; display: flex; flex-direction: column; }
#contentDisplayModal .modal-content h2 { margin-bottom: 0.5rem; font-size: 1.8rem; }
#contentDisplayModal .content-iframe-wrapper { flex-grow: 1; position: relative; background: #f1f5f9; border-radius: var(--border-radius-sm); overflow: hidden; border: 1px solid #e2e8f0; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; }
#contentDisplayModal iframe, #contentDisplayModal img, #contentDisplayModal video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; object-fit: contain; }
#contentDisplayModal .fallback-content { padding: 2rem; text-align: center; }
#contentDisplayModal .fallback-content h4 { font-family: 'Playfair Display', serif; color: var(--primary); margin-bottom: 0.5rem; }

.language-selector { display: flex; align-items: center; gap: 0.5rem; margin-left: 1rem; }
.language-selector select { padding: 0.5rem 1rem; border-radius: var(--border-radius-sm); border: 2px solid var(--neon-blue); background: transparent; color: var(--dark); font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 10px rgba(0, 255, 255, 0.4); }
.language-selector select:hover { box-shadow: var(--shadow-neon-blue); }
.language-selector select option { background: white; color: var(--dark); }
#google_translate_element { display: none; }

.chat-fab {
    position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    border-radius: 50%; display: none; align-items: center; justify-content: center;
    font-size: 1.8rem; color: white; box-shadow: 0 5px 20px rgba(0,0,0,0.3), 0 0 20px var(--neon-blue);
    cursor: pointer; z-index: 1050; transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fabPulse 2s infinite;
}
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 30px var(--neon-pink); animation-play-state: paused; }
@keyframes fabPulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.chat-widget {
    position: fixed; bottom: 100px; right: 25px; width: 350px; max-width: 90vw; height: 500px; max-height: 70vh;
    background: white; border-radius: var(--border-radius-md); box-shadow: var(--shadow-dark);
    z-index: 1049; display: none; flex-direction: column; overflow: hidden;
    transform-origin: bottom right; animation: chatWidgetOpen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes chatWidgetOpen { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.chat-widget-header { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.chat-widget-header .close-chat { cursor: pointer; font-size: 1.2rem; opacity: 0.8; transition: opacity 0.2s ease; }
.chat-widget-header .close-chat:hover { opacity: 1; }
.chat-messages { flex-grow: 1; padding: 1rem; overflow-y: auto; background-color: #f1f5f9; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-message { max-width: 80%; padding: 0.6rem 1rem; border-radius: var(--border-radius-md); line-height: 1.4; }
.chat-message.user { background-color: var(--secondary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-message.admin { background-color: #e2e8f0; color: var(--dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-message-time { font-size: 0.7rem; color: #94a3b8; margin-top: 4px; text-align: right; }
.chat-message.admin .chat-message-time { color: #64748b; }
.chat-input-form { display: flex; padding: 0.75rem; border-top: 1px solid #e2e8f0; }
.chat-input-form input { flex-grow: 1; border: 1px solid #cbd5e1; padding: 0.6rem; border-radius: var(--border-radius-sm); margin-right: 0.5rem; }
.chat-input-form button { background: var(--primary); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }

.notification-toast-container { position: fixed; top: 90px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 1rem; }
.notification-toast {
    background: white; border-radius: var(--border-radius-md); box-shadow: var(--shadow-dark);
    width: 380px; max-width: 90vw; display: flex; align-items: flex-start;
    padding: 1rem; gap: 1rem; opacity: 0; transform: translateX(100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.notification-toast.show { opacity: 1; transform: translateX(0); }
.notification-toast img { width: 80px; height: 80px; border-radius: var(--border-radius-sm); object-fit: cover; flex-shrink: 0; }
.notification-toast.text-only .toast-icon { font-size: 1.5rem; color: var(--primary); padding-top: 0.2rem; }
.notification-toast-content { flex-grow: 1; }
.notification-toast-content h4 { margin: 0 0 0.5rem 0; color: var(--primary); }
.notification-toast-content p { margin: 0; font-size: 0.9rem; color: var(--dark); }
.toast-close-btn { position: absolute; top: 5px; right: 10px; background: none; border: none; font-size: 1.2rem; color: #94a3b8; cursor: pointer; }

@media (max-width: 992px) {
    nav { display: none; }
    .header-content { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .auth-buttons { width: 100%; justify-content: center; margin-top: 1rem; }
    .hero { padding: 1.5rem 0; min-height: 200px; }
    .banner-slider-container { height: clamp(120px, 18vw, 250px); }
    #currentBannerButtonWrapper { margin-top: 1rem; }
}
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .section-title h2 { font-size: 2rem; }
    .modal-content { padding: 1.5rem; }
    .logo .developer-logo-text { margin-left: 0; text-align: center; width: 100%; }
    .logo { align-items: center; }
    body { padding-top: 8.5rem; }
    header { padding: 0.5rem 0; }
    .profile-dropdown-menu { top: 4.5rem; right: 0.5rem; }
    .user-notification-bar { min-width: unset; max-width: 95%; padding: 0.6rem 1rem; font-size: 0.85rem;}
}
