:root {
    --azure-blue: #0078d4;
    --azure-blue-light: #40e0d0;
    --azure-blue-dark: #005a9e;
    --azure-blue-glow: rgba(0, 120, 212, 0.5);
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --black: #212529;
    --gradient: linear-gradient(135deg, var(--azure-blue), var(--azure-blue-light));
    --gradient-reverse: linear-gradient(135deg, var(--azure-blue-light), var(--azure-blue));
    --gradient-radial: radial-gradient(circle at center, var(--azure-blue-light), var(--azure-blue));
    --shadow-soft: 0 4px 20px rgba(0, 120, 212, 0.15);
    --shadow-medium: 0 8px 30px rgba(0, 120, 212, 0.25);
    --shadow-hard: 0 15px 40px rgba(0, 120, 212, 0.35);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #f0f8ff 0%, #e6f3ff 50%, #f0f8ff 100%);
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.floating-shapes::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.floating-shapes::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 120, 212, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--azure-blue);
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--azure-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azure-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--azure-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--azure-blue);
    border: 2px solid var(--azure-blue);
}

.btn-secondary:hover {
    background: var(--azure-blue);
    color: var(--white);
}

.btn-google {
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    width: 100%;
    justify-content: center;
}

.btn-google:hover {
    background: var(--light-gray);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, #f0f8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.streaming-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.live-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.stream-preview {
    font-size: 4rem;
    color: var(--azure-blue);
    margin: 2rem 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azure-blue);
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azure-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--dark-gray);
    font-weight: 500;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--white);
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.3);
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
    background: var(--light-gray);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.schedule-card:hover {
    transform: translateY(-5px);
    border-color: var(--azure-blue);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.2);
}

.schedule-card.featured {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.05);
}

.schedule-card .day {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.schedule-card .time {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.schedule-card .game {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Socials Section */
.socials {
    padding: 80px 0;
    background: var(--white);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    border: 2px solid var(--medium-gray);
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-10px);
    color: var(--white);
}

.social-link.twitch:hover {
    background: #9146ff;
    border-color: #9146ff;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-link.discord:hover {
    background: #7289da;
    border-color: #7289da;
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-link span {
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--azure-blue);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.contact-item i {
    color: var(--azure-blue);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--azure-blue);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--azure-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Enhanced Modal - New Design */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 120, 212, 0.2));
    backdrop-filter: blur(15px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(15px);
    }
}

.modal-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 480px;
    position: relative;
    animation: modalSlideInNew 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 120, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--azure-blue), var(--azure-blue-light), var(--azure-blue));
    animation: gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes modalSlideInNew {
    0% {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close:hover {
    color: var(--white);
    background: rgba(255, 67, 54, 0.8);
    transform: rotate(90deg);
    box-shadow: 0 5px 20px rgba(255, 67, 54, 0.4);
}

.login-options {
    padding: 50px 40px 40px;
    position: relative;
    z-index: 1;
}

.login-options h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 20px rgba(0, 120, 212, 0.5);
    position: relative;
    letter-spacing: -0.5px;
}

.login-options h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.5);
}

/* New Form Styling */
#email-login,
#register-modal form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#email-login input,
#register-modal input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.08);
    color: #333;
    backdrop-filter: blur(5px);
    position: relative;
}

#email-login input::placeholder,
#register-modal input::placeholder {
    color: #666;
    font-style: normal;
}

#email-login input:focus,
#register-modal input:focus {
    outline: none;
    border-color: var(--azure-blue);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(0, 120, 212, 0.3),
        0 8px 25px rgba(0, 120, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

#email-login input:hover,
#register-modal input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

#email-login button[type="submit"],
#register-modal button[type="submit"] {
    width: 100%;
    padding: 16px 24px;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--azure-blue), var(--azure-blue-light));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 120, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#email-login button[type="submit"]::before,
#register-modal button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

#email-login button[type="submit"]:hover,
#register-modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(0, 120, 212, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#email-login button[type="submit"]:hover::before,
#register-modal button[type="submit"]:hover::before {
    left: 100%;
}

/* Keep Google Button the Same */
.btn-google {
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: var(--white);
    border: none;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.btn-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.btn-google:hover::before {
    left: 100%;
}

.btn-google i {
    font-size: 1.2rem;
}

/* New Divider */
.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider span {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    padding: 15px 0;
}

.signup-link a {
    color: var(--azure-blue-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
}

.signup-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azure-blue-light);
    transition: var(--transition-smooth);
}

.signup-link a:hover {
    color: var(--azure-blue);
    text-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

.signup-link a:hover::after {
    width: 100%;
}

/* Register Modal Specific Styles */
#register-modal .modal-content {
    background: linear-gradient(145deg, #1a1a2e, #0f3460);
}

#register-modal .modal-content::before {
    background: linear-gradient(90deg, var(--azure-blue-light), var(--azure-blue), var(--azure-blue-light));
}

#register-modal .login-options h2 {
    color: var(--white);
    text-shadow: 0 2px 20px rgba(64, 224, 208, 0.5);
}

/* Floating particles for new design */
.modal-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 30px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle 5s infinite ease-in-out;
    animation-delay: 1s;
}

/* Beautiful Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    width: 100%;
    max-width: 420px;
    box-shadow: 
        0 20px 40px rgba(0, 120, 212, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.1);
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-section {
    background: linear-gradient(135deg, var(--azure-blue), var(--azure-blue-light));
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.logo i {
    font-size: 2.5rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

.logo h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

.form-section {
    padding: 35px 30px;
    background: var(--white);
}

.form-section h2 {
    color: var(--dark-gray);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
}

.form-subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 25px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 4px;
    transition: var(--transition-smooth);
}

.input-wrapper:hover {
    border-color: rgba(0, 120, 212, 0.2);
    background: #f8f9fa;
}

.input-wrapper.focused {
    border-color: var(--azure-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.input-icon {
    color: var(--gray);
    font-size: 1.1rem;
    padding: 0 15px;
    transition: var(--transition-smooth);
}

.input-wrapper.focused .input-icon {
    color: var(--azure-blue);
}

.input-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 12px 16px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    outline: none;
}

.input-field::placeholder {
    color: var(--gray);
    font-weight: 400;
}

.password-toggle {
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.password-toggle:hover {
    color: var(--azure-blue);
}

.login-btn,
.register-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--azure-blue), var(--azure-blue-light));
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 120, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.login-btn::before,
.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.login-btn:hover,
.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 120, 212, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.login-btn:hover::before,
.register-btn:hover::before {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.login-btn:hover .btn-icon,
.register-btn:hover .btn-icon {
    transform: translateX(5px);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider span {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.google-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.google-btn:hover::before {
    left: 100%;
}

.google-icon {
    font-size: 1.3rem;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.register-link a {
    color: var(--azure-blue-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
}

.register-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azure-blue-light);
    transition: var(--transition-smooth);
}

.register-link a:hover {
    color: var(--azure-blue);
    text-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

.register-link a:hover::after {
    width: 100%;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideInRight 0.4s ease;
}

.alert-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    color: #81c784;
    border-left: 4px solid #4caf50;
}

.alert-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(244, 67, 54, 0.1));
    color: #e57373;
    border-left: 4px solid #f44336;
}

@keyframes slideInRight {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    text-align: center;
    margin: 25px 0;
}

.theme-btn {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 120, 212, 0.05));
    border: 1px solid rgba(0, 120, 212, 0.2);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--azure-blue);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.theme-btn:hover {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.15), rgba(0, 120, 212, 0.1));
    border-color: var(--azure-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.2);
}

.theme-btn i {
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.theme-btn:hover i {
    transform: rotate(20deg);
}

/* Dark Mode Styles */
.login-container.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.login-card.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 120, 212, 0.2);
}

.form-section.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
}

.form-section.dark-mode h2,
.modal-content.dark-mode h2 {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 120, 212, 0.3);
}

.form-subtitle.dark-mode {
    color: rgba(255, 255, 255, 0.7);
}

.input-wrapper.dark-mode {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.input-wrapper.dark-mode:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.input-wrapper.dark-mode.focused {
    border-color: var(--azure-blue);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.2);
}

.input-icon.dark-mode {
    color: rgba(255, 255, 255, 0.6);
}

.input-wrapper.dark-mode.focused .input-icon {
    color: var(--azure-blue);
}

.input-field.dark-mode {
    color: var(--white) !important;
}

.input-field.dark-mode::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Also override the old modal input styles for dark mode */
#email-login input.dark-mode,
#register-modal input.dark-mode {
    color: var(--white) !important;
}

#email-login input.dark-mode::placeholder,
#register-modal input.dark-mode::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.password-toggle.dark-mode {
    color: rgba(255, 255, 255, 0.6);
}

.password-toggle.dark-mode:hover {
    color: var(--azure-blue);
}

.register-link.dark-mode p {
    color: rgba(255, 255, 255, 0.7);
}

.register-link.dark-mode a {
    color: var(--azure-blue-light);
}

.register-link.dark-mode a:hover {
    color: var(--azure-blue);
    text-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

/* Modal Dark Mode */
.modal-content.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-register.dark-mode {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.close-register.dark-mode:hover {
    background: var(--danger);
    color: var(--white);
}

/* Alert Dark Mode */
.alert.dark-mode {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.alert-success.dark-mode {
    color: #81c784;
    border-left: 4px solid #4caf50;
}

.alert-error.dark-mode {
    color: #e57373;
    border-left: 4px solid #f44336;
}

/* Account Settings Styles */
.account-section {
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    position: relative;
    z-index: 1;
}

.account-container {
    max-width: 1200px;
    margin: 0 auto;
}

.account-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 120, 212, 0.1);
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.account-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 120, 212, 0.1);
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--azure-blue), var(--azure-blue-light));
    padding: 20px 25px;
    color: var(--white);
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 30px 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    background: var(--light-gray);
}

.form-group input:focus {
    outline: none;
    border-color: var(--azure-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.readonly-input {
    background: var(--light-gray) !important;
    color: var(--gray) !important;
    cursor: not-allowed;
}

.avatar-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
}

.current-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--azure-blue);
}

.avatar-info p {
    margin: 0 0 5px 0;
    font-weight: 500;
    color: var(--dark-gray);
}

.avatar-info small {
    color: var(--gray);
    font-size: 0.85rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

/* Account Page Dark Mode */
.account-section.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.account-card.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.account-title.dark-mode {
    color: var(--white);
}

.card-header.dark-mode {
    background: linear-gradient(135deg, var(--azure-blue), var(--azure-blue-light));
}

.form-group label.dark-mode {
    color: var(--white);
}

.form-group input.dark-mode {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.form-group input.dark-mode:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--azure-blue);
}

.readonly-input.dark-mode {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.avatar-preview.dark-mode {
    background: rgba(255, 255, 255, 0.05);
}

.avatar-info.dark-mode p {
    color: var(--white);
}

.avatar-info.dark-mode small {
    color: rgba(255, 255, 255, 0.7);
}

/* Home Page Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: var(--white);
}

.navbar.dark-mode {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.dark-mode .nav-logo h2,
.navbar.dark-mode .nav-link {
    color: var(--white);
}

.hero.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.hero.dark-mode .hero-title {
    color: var(--white);
    text-shadow: 0 0 30px rgba(0, 120, 212, 0.5);
}

.hero.dark-mode .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.hero.dark-mode .next-stream-info {
    color: rgba(255, 255, 255, 0.9);
}

.hero.dark-mode .next-stream-info strong {
    color: var(--azure-blue-light);
}

.streaming-card.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.streaming-card.dark-mode .stream-info h3,
.streaming-card.dark-mode .stream-info p {
    color: var(--white);
}

.about.dark-mode {
    background: linear-gradient(135deg, #16213e, #1a1a2e);
}

.about.dark-mode .section-title {
    color: var(--white);
}

.about.dark-mode .about-text h3,
.about.dark-mode .about-text p {
    color: var(--white);
}

.about.dark-mode .stats .stat-item {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about.dark-mode .stats .stat-item h4,
.about.dark-mode .stats .stat-item p {
    color: var(--white);
}

.schedule.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.schedule.dark-mode .section-title {
    color: var(--white);
}

.schedule-card.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.schedule-card.dark-mode.today {
    border-color: var(--azure-blue);
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.3);
}

.schedule-card.dark-mode.featured {
    background: linear-gradient(145deg, #16213e, #0f3460);
}

.socials.dark-mode {
    background: linear-gradient(135deg, #16213e, #1a1a2e);
}

.socials.dark-mode .section-title {
    color: var(--white);
}

.social-link.dark-mode {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.social-link.dark-mode:hover {
    background: linear-gradient(145deg, #16213e, #0f3460);
    border-color: var(--azure-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.3);
}

.contact.dark-mode {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.contact.dark-mode .section-title {
    color: var(--white);
}

.contact.dark-mode .contact-info h3,
.contact.dark-mode .contact-info p {
    color: var(--white);
}

.contact-item.dark-mode {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item.dark-mode i,
.contact-item.dark-mode span {
    color: var(--white);
}

.contact-form.dark-mode input,
.contact-form.dark-mode textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.contact-form.dark-mode input:focus,
.contact-form.dark-mode textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--azure-blue);
}

.contact-form.dark-mode input::placeholder,
.contact-form.dark-mode textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer.dark-mode {
    background: linear-gradient(145deg, #0f3460, #16213e);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer.dark-mode .footer-logo h3,
.footer.dark-mode .footer-logo p {
    color: var(--white);
}

.footer.dark-mode .footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer.dark-mode .footer-links a:hover {
    color: var(--azure-blue-light);
}

.footer.dark-mode .footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Dark mode for all text elements */
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6 {
    color: var(--white);
}

.dark-mode p, .dark-mode span, .dark-mode div {
    color: rgba(255, 255, 255, 0.9);
}

.dark-mode a {
    color: var(--azure-blue-light);
}

.dark-mode a:hover {
    color: var(--azure-blue);
}

/* Dark mode for buttons */
.dark-mode .btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.dark-mode .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    border-color: var(--azure-blue);
}

/* Dark mode for alerts */
.dark-mode .alert {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.dark-mode .alert-success {
    border-left: 4px solid #4caf50;
}

.dark-mode .alert-error {
    border-left: 4px solid #f44336;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
    }
    
    .login-card {
        max-width: 100%;
    }
    
    .logo-section {
        padding: 30px 20px;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 30px 25px;
    }
    
    .form-section h2 {
        font-size: 1.5rem;
    }
    
    .input-field {
        padding: 16px 15px 16px 0;
        font-size: 0.95rem;
    }
    
    .login-btn,
    .register-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        padding: 25px 15px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .input-wrapper {
        padding: 3px;
    }
    
    .input-icon {
        padding: 0 15px;
        font-size: 1.1rem;
    }
    
    .password-toggle {
        padding: 0 15px;
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    border: 3px solid var(--medium-gray);
    border-top: 3px solid var(--azure-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
