@import url('https://fonts.googleapis.com/css2?family=The+Wednesday&display=swap');

.light-rays-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
    top: 0;
    left: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0.05) 20%,
        transparent 60%
    );
}

@keyframes spotlight {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

.light-ray {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent
    );
    animation: spotlight 4s infinite;
}

.light-ray:nth-child(1) { left: 48%; }
.light-ray:nth-child(2) { left: 49%; }
.light-ray:nth-child(3) { left: 50%; }
.light-ray:nth-child(4) { left: 51%; }
.light-ray:nth-child(5) { left: 52%; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.ball {
    position: fixed;
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}

/* Create multiple balls with different sizes, colors and positions */
body::before {
    box-shadow: 
        0 0 10vw 0 #ff4444,
        10vw 10vh 8vw 0 #ff6b6b,
        20vw 20vh 6vw 0 #ff8787,
        30vw 30vh 10vw 0 #ffa8a8,
        40vw 40vh 7vw 0 #ffc9c9,
        50vw 50vh 9vw 0 #ffd8d8,
        60vw 60vh 8vw 0 #ffe3e3,
        70vw 70vh 10vw 0 #fff0f0,
        80vw 80vh 6vw 0 #fff5f5,
        90vw 90vh 7vw 0 #fff8f8;
    animation: float 20s infinite ease-in-out alternate;
}

body::after {
    box-shadow: 
        5vw 5vh 9vw 0 #ff4444,
        15vw 15vh 7vw 0 #ff6b6b,
        25vw 25vh 10vw 0 #ff8787,
        35vw 35vh 8vw 0 #ffa8a8,
        45vw 45vh 6vw 0 #ffc9c9,
        55vw 55vh 10vw 0 #ffd8d8,
        65vw 65vh 7vw 0 #ffe3e3,
        75vw 75vh 9vw 0 #fff0f0,
        85vw 85vh 8vw 0 #fff5f5,
        95vw 95vh 6vw 0 #fff8f8;
    animation: float 25s infinite ease-in-out alternate-reverse;
}

@keyframes glowingBorder {
    0% { box-shadow: 0 0 10px #ff0000; }
    50% { box-shadow: 0 0 20px #ff0000; }
    100% { box-shadow: 0 0 10px #ff0000; }
}

.glowing-container {
    border: 2px solid #ff0000;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5), 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: glowingBorder 2s infinite;
}

.glowing-textbox {
    border: 2px solid #ff0000 !important;
    animation: glowingBorder 2s infinite;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3) !important;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.7rem;
}
.social-icon {
    color: #7a8ca3;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(110, 231, 255, 0.05);
    border: 1px solid rgba(110, 231, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    transition: all 0.4s ease;
    opacity: 0;
}
.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.social-icon:hover::before {
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    opacity: 0.15;
}

.social-icon.youtube {
    order: -1; /* Makes YouTube appear first */
}

.social-icon.youtube:hover {
    color: #ff0000;
    border-color: #ff0000;
    transform: scale(1.1);
}

.social-icon.youtube:hover::before {
    background: radial-gradient(circle, #ff0000 0%, transparent 70%);
}

.social-icon.whatsapp:hover {
    color: #25d366;
    border-color: #25d366;
}

.social-icon.whatsapp:hover::before {
    background: radial-gradient(circle, #25d366 0%, transparent 70%);
}

/* Glassy Registration Form */
.register {
    margin: 2.5rem auto 0 auto;
    max-width: 400px;
    background: none;
    text-align: center;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background: rgba(30, 34, 44, 0.55);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #232a3a40;
    padding: 2.2rem 2rem 1.5rem 2rem;
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(120, 140, 163, 0.18);
    margin-top: 1.2rem;
}

.registration-form label {
    color: #b0c4de;
    font-size: 1rem;
    text-align: left;
    margin-bottom: -0.7rem;
    margin-top: 0.2rem;
    letter-spacing: 0.04em;
}

.registration-form input {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 2.5px solid transparent;
    background: rgba(0,0,0,0.5);
    color: #e0e6f6;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #00fff740;
    position: relative;
    z-index: 1;
}

.registration-form input, .registration-form textarea {
    background-clip: padding-box;
}

.registration-form input:focus, .registration-form textarea:focus {
    border: 2.5px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 16px #00fff7, 0 0 32px #3f00ff;
    background-image:
        linear-gradient(90deg, #000, #000),
        linear-gradient(270deg, #00fff7, #3f00ff, #00fff7, #3f00ff);
    background-size: 100% 100%, 400% 100%;
    background-position: 0 0, 0 0;
    background-repeat: no-repeat;
    animation: border-glow-move 3s linear infinite;
}

@keyframes border-glow-move {
    0% { background-position: 0 0, 0% 0%; }
    100% { background-position: 0 0, 100% 0%; }
}

.registration-form input:focus {
    border: 1.5px solid #6ee7ff;
    box-shadow: 0 0 8px #6ee7ff40;
}

.registration-form button {
    margin-top: 0.7rem;
    padding: 0.8rem 0;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #6ee7ff 0%, #7a8ca3 100%);
    color: #181c24;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 2px 12px #6ee7ff30;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.registration-form button:hover {
    background: linear-gradient(90deg, #7a8ca3 0%, #6ee7ff 100%);
    color: #232a3a;
    box-shadow: 0 0 16px #6ee7ff60;
}

/* Updated Navbar Styles - Horizontal Layout */
.navbar {
    font-family: 'The Wednesday', cursive;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4vw;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(110, 231, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    flex-wrap: nowrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.nav-logo .logo {
    width: 48px;
    margin-bottom: 0;
    filter: drop-shadow(0 0 8px #4a90e2) brightness(1.3) contrast(1.2);
    animation: logoFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes logoFloat {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 8px #4a90e2); }
    50% { transform: translateY(-5px) scale(1.08); filter: drop-shadow(0 0 12px #6ab0ff); }
    100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 8px #4a90e2); }
}

.brand-title {
    font-family: 'The Wednesday', cursive;
    font-size: 1.3rem;
    color: #e0f0ff;
    letter-spacing: 0.13em;
    position: relative;
    animation: auroraText 8s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(176, 196, 222, 0.8),
                 0 0 10px rgba(74, 144, 226, 0.8),
                 0 0 15px rgba(74, 144, 226, 0.6),
                 0 0 25px rgba(74, 144, 226, 0.4);
    font-weight: 600;
    white-space: nowrap;
}

@keyframes auroraText {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1);
        text-shadow: 0 0 5px rgba(176, 196, 222, 0.8),
                     0 0 10px rgba(74, 144, 226, 0.8),
                     0 0 15px rgba(74, 144, 226, 0.6);
    }
    33% { 
        filter: hue-rotate(60deg) brightness(1.1);
        text-shadow: 0 0 8px rgba(176, 196, 222, 0.9),
                     0 0 15px rgba(74, 144, 226, 0.8),
                     0 0 20px rgba(74, 144, 226, 0.7);
    }
    66% { 
        filter: hue-rotate(-30deg) brightness(1.05);
        text-shadow: 0 0 7px rgba(176, 196, 222, 0.85),
                     0 0 12px rgba(74, 144, 226, 0.75),
                     0 0 18px rgba(74, 144, 226, 0.65);
    }
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-links li {
    position: relative;
    flex-shrink: 0;
}

.nav-links a {
    font-family: 'The Wednesday', cursive;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
    display: inline-block;
    position: relative;
    border-radius: 8px;
    background: linear-gradient(to right, transparent 50%, rgba(110, 231, 255, 0.1) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    display: block;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6ee7ff 0%, #7a8ca3 100%);
    margin-top: 5px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.3s, transform 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--secondary-color);
    background-position: right bottom;
    transform: translateY(-2px);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    opacity: 1;
    transform: scaleX(1);
    box-shadow: 0 0 12px var(--secondary-color);
}

:root {
    --primary-color: #ff003c;
    --secondary-color: #6ee7ff;
    --dark-bg: #0a0d14;
    --text-color: #e0e6f6;
    --accent-glow: 0 0 20px rgba(110, 231, 255, 0.3);
    --accent-color: rgba(110, 231, 255, 0.1);
    --border-glow: 0 0 20px rgba(110, 231, 255, 0.2);
    scroll-behavior: smooth;
}

/* Interactive elements animation */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:active, button:active {
    transform: scale(0.95);
}

.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-glow:hover::after {
    opacity: 0.1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    letter-spacing: 0.01em;
    position: relative;
    line-height: 1.6;
}

/* Glowing section separators */
section {
    border-bottom: 2px solid rgba(0,255,247,0.12);
    box-shadow: 0 2px 24px 0 #00fff720;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
}

section:last-of-type {
    border-bottom: none;
    box-shadow: none;
}

header {
    text-align: center;
    padding: 4rem 1rem 3rem;
    background: linear-gradient(to bottom, rgba(10, 13, 20, 0.95), rgba(16, 23, 34, 0.9));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(110, 231, 255, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--secondary-color) 0%, transparent 50%);
    opacity: 0.03;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo {
    width: 160px;
    margin-bottom: 1.1rem;
    filter: drop-shadow(0 0 10px #2e3a4d);
    animation: calm-glow 3.5s infinite alternate;
}

@keyframes calm-glow {
    from { filter: drop-shadow(0 0 6px #2e3a4d); }
    to { filter: drop-shadow(0 0 18px #3a4a5d); }
}

h1 {
    font-size: 3.5rem;
    margin: 0.2em 0 0.1em 0;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(110, 231, 255, 0.3);
    font-family: 'Segoe UI', Arial, sans-serif;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(110, 231, 255, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(110, 231, 255, 0.5);
    }
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
    font-family: 'Segoe UI', Arial, sans-serif;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(110, 231, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(45deg, rgba(10, 13, 20, 0.9), rgba(16, 23, 34, 0.8));
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(110, 231, 255, 0.1);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--accent-glow);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #a4b5d9;
    line-height: 1.8;
}

.hero-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    background: linear-gradient(45deg, var(--dark-bg), #1a2234);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--border-glow);
    background: linear-gradient(45deg, #1a2234, var(--dark-bg));
    border-color: var(--secondary-color);
}

.hero-btn:hover::before {
    transform: translateX(100%);
}

.hero-btn:active {
    transform: translateY(0);
    box-shadow: var(--accent-glow);
}

.about, .features {
    margin-bottom: 2rem;
}

h2 {
    color: #7a8ca3;
    text-shadow: 0 0 6px #232a3a;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.06em;
}

ul {
    list-style: none;
    padding: 0;
}

.features li {
    background: linear-gradient(90deg, #181c24 60%, #232a3a 100%);
    margin: 0.5rem 0;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px #232a3a20, 0 0 0 1px #232a3a;
    font-size: 1.08rem;
    transition: background 0.3s, color 0.3s;
    color: #c7d0e0;
    position: relative;
    overflow: hidden;
}

.features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #232a3a 0%, #181c24 100%);
    border-radius: 5px 0 0 5px;
    box-shadow: 0 0 8px #232a3a60;
}

.features li:hover {
    background: linear-gradient(90deg, #232a3a 60%, #181c24 100%);
    color: #b0c4de;
}

footer {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 13, 20, 0.95));
    color: #7a8ca3;
    font-size: 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(110, 231, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    filter: blur(2px);
}

/* Responsive Media Queries - Updated for Horizontal Navbar */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 3vw;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2vw;
    }
    
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .brand-title {
        font-size: 1.1rem;
    }
    
    .nav-logo .logo {
        width: 36px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.8rem 1.5vw;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .brand-title {
        font-size: 1rem;
    }
    
    .nav-logo .logo {
        width: 32px;
    }

    .logo { 
        width: 95px; 
    }
    
    h1 { 
        font-size: 1.2rem; 
    }
    
    main { 
        padding: 1rem; 
    }
}

/* Very small screens - Stack vertically only if absolutely necessary */
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .brand-title {
        font-size: 0.9rem;
    }
    
    .nav-logo .logo {
        width: 28px;
    }
}