/* Reset and Base Styles */
:root {
    --cosmic-espresso: #402010;
    --solar-flare-gold: #bd7948;
    --nebula-copper: #b87443;
    --deep-space-void: #000000;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cosmic-espresso);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Removed preloader styles as loader is no longer used */
/*
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-space-void);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    visibility: visible;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.solar-system {
    position: relative;
    width: 300px;
    height: 300px;
}

.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--solar-flare-gold);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--solar-flare-gold);
    animation: pulse 2s infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.planet {
    position: absolute;
    border-radius: 50%;
    transform-origin: center;
}

.mercury-orbit {
    width: 120px;
    height: 120px;
    animation: rotate 3s linear infinite;
}

.mercury {
    width: 10px;
    height: 10px;
    background: var(--nebula-copper);
    top: -5px;
    left: 55px;
}
*/

/* .loading-text was only used for the preloader, now removed */
/*
.loading-text {
    position: absolute;
    bottom: 20%;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    color: var(--solar-flare-gold);
    animation: fadeInOut 2s infinite;
}
*/

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.register-btn {
    padding: 0.8rem 1.5rem;
    background: var(--solar-flare-gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-btn:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vmax;
    height: 150vmax;
    background: radial-gradient(circle, 
        rgba(189, 121, 72, 0.15) 0%,
        rgba(64, 32, 16, 0.3) 30%,
        rgba(0, 0, 0, 0.8) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 1rem;
}

.glowing-text {
    font-family: 'Abril Fatface', cursive;
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 10px var(--solar-flare-gold),
                 0 0 20px var(--solar-flare-gold),
                 0 0 30px var(--solar-flare-gold);
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.tagline {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.5rem;
    color: var(--solar-flare-gold);
    margin-bottom: 0.5rem;
}

.motto {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--nebula-copper);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--solar-flare-gold);
}

.countdown {
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.countdown-timer::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.time-block {
    background: var(--glass-bg);
    padding: 0.8rem;
    border-radius: 10px;
    min-width: 70px;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
}

.time-block span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--solar-flare-gold);
    display: block;
}

.time-block p {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    color: #fff;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.primary-btn, .secondary-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn {
    background: linear-gradient(45deg, var(--solar-flare-gold), var(--nebula-copper));
    color: #fff;
    box-shadow: 0 4px 15px rgba(189, 121, 72, 0.3);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--solar-flare-gold);
    color: var(--solar-flare-gold);
}

.primary-btn::before, .secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--nebula-copper), var(--solar-flare-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.primary-btn:hover::before, .secondary-btn:hover::before {
    opacity: 1;
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(189, 121, 72, 0.4);
    color: #fff;
}

.primary-btn:active, .secondary-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Modal Button Style */
.modal-content {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.modal-buttons .primary-btn,
.modal-buttons .secondary-btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
    white-space: nowrap;
}

.modal-buttons .primary-btn {
    background: var(--solar-flare-gold);
    color: #fff;
}

.modal-buttons .secondary-btn {
    background: transparent;
    border: 2px solid var(--solar-flare-gold);
    color: var(--solar-flare-gold);
}

.modal-buttons .primary-btn:hover,
.modal-buttons .secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(189, 121, 72, 0.2);
}

.modal-buttons .secondary-btn:hover {
    background: var(--solar-flare-gold);
    color: #fff;
}

/* Background Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('assets/stars.png') repeat;
    animation: twinkle 4s linear infinite;
}

.twinkling {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('assets/twinkling.png') repeat;
    animation: twinkle 8s linear infinite;
}

/* Section Styles */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Abril Fatface', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--solar-flare-gold);
}

.glass-section {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    margin: 2rem 0;
    border-radius: 20px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.about-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--solar-flare-gold);
    margin-bottom: 1rem;
}

/* Committees Section */
.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.committee-card {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.committee-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(189, 121, 72, 0.2);
}

/* Galaxy Events Section */
.events-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.event-card {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--solar-flare-gold);
}

.event-card i {
    font-size: 2.5rem;
    color: var(--solar-flare-gold);
    margin-bottom: 1rem;
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--solar-flare-gold);
}

.event-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.event-card .event-buttons {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.event-card .event-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card .primary-btn {
    background: var(--solar-flare-gold);
    color: #fff;
}

.event-card .secondary-btn {
    background: transparent;
    border: 2px solid var(--solar-flare-gold);
    color: var(--solar-flare-gold);
}

.event-card .event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(189, 121, 72, 0.2);
}

.event-card .secondary-btn:hover {
    background: var(--solar-flare-gold);
    color: #fff;
}

/* Founders Section */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.founder-card {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--solar-flare-gold);
}

/* Gallery Section */
.gallery-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    width: 100%;
}

.gallery-slide {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.gallery-image {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    background: var(--glass-bg);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: var(--solar-flare-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.contact-card a:hover {
    color: var(--solar-flare-gold);
}

.founder-contact {
    margin-bottom: 1.2rem;
}

.founder-contact p {
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    color: var(--solar-flare-gold);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--solar-flare-gold);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    margin-top: 0.5rem;
    min-height: 44px;
}

/* Footer */
.footer {
    background: var(--deep-space-void);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--solar-flare-gold);
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes glow {
    from { text-shadow: 0 0 10px var(--solar-flare-gold),
                      0 0 20px var(--solar-flare-gold),
                      0 0 30px var(--solar-flare-gold); }
    to { text-shadow: 0 0 20px var(--solar-flare-gold),
                    0 0 30px var(--solar-flare-gold),
                    0 0 40px var(--solar-flare-gold),
                    0 0 50px var(--solar-flare-gold); }
}

@keyframes twinkle {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .events-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero::before {
        width: 100vmax;
        height: 100vmax;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        padding: 0.6rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .glass-nav.scrolled {
        background: rgba(255, 255, 255, 0.15);
    }

    .nav-logo img {
        height: 35px;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        padding-top: 60px;
    }

    .glowing-text {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .tagline {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .motto {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin: 1.5rem 0;
    }

    .stat {
        flex: 1 1 calc(50% - 1rem);
        min-width: 140px;
        padding: 0.8rem;
        background: var(--glass-bg);
        border-radius: 10px;
        border: 1px solid var(--glass-border);
    }

    .counter {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        padding: 0;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        flex: 1 1 auto;
        min-width: 140px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .countdown h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .time-block {
        min-width: 60px;
        padding: 0.6rem;
    }

    .time-block span {
        font-size: 1.2rem;
    }

    .time-block p {
        font-size: 0.7rem;
    }

    /* M-Universe Events */
    .events-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .event-card i {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .event-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .event-card p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .event-card .event-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .event-card .event-btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .contact-card a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    .founder-contact {
        margin-bottom: 1rem;
    }

    .founder-contact p {
        font-size: 1rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .contact-form {
        padding: 1.5rem;
        gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .modal-buttons .primary-btn,
    .modal-buttons .secondary-btn {
        width: 100%;
        min-width: unset;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .modal-buttons .primary-btn,
    .modal-buttons .secondary-btn {
        width: 100%;
        min-width: unset;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .glass-nav {
        padding: 0.5rem 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-logo img {
        height: 30px;
    }

    .menu-btn {
        width: 26px;
        height: 26px;
    }

    .menu-btn span {
        width: 20px;
        left: 3px;
    }

    .menu-btn span:nth-child(1) { top: 7px; }
    .menu-btn span:nth-child(2) { top: 12px; }
    .menu-btn span:nth-child(3) { top: 17px; }

    .menu-btn.active span:nth-child(1) { top: 12px; }
    .menu-btn.active span:nth-child(3) { top: 12px; }

    .glowing-text {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
    }

    .stat {
        width: 100%;
        min-width: 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .primary-btn,
    .hero-buttons .secondary-btn {
        width: 100%;
        min-width: 0;
    }

    .countdown-timer {
        gap: 0.4rem;
    }

    .time-block {
        min-width: 55px;
        padding: 0.5rem;
    }

    .time-block span {
        font-size: 1.1rem;
    }

    .time-block p {
        font-size: 0.65rem;
    }

    /* M-Universe Events */
    .events-timeline {
        gap: 0.8rem;
    }

    .event-card {
        padding: 1.2rem;
    }

    .event-card i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .event-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .event-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .event-card .event-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-card {
        padding: 1.2rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .contact-card a {
        font-size: 0.95rem;
        padding: 0.3rem 0;
    }

    .founder-contact {
        margin-bottom: 0.8rem;
    }

    .founder-contact p {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .contact-form textarea {
        min-height: 100px;
    }

    .contact-form button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .modal-buttons .primary-btn,
    .modal-buttons .secondary-btn {
        width: 100%;
        min-width: unset;
    }

    .modal-content {
        padding: 1.2rem;
        width: 92%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .modal-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Mobile Menu */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 3px;
    transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) {
    top: 8px;
}

.menu-btn span:nth-child(2) {
    top: 14px;
}

.menu-btn span:nth-child(3) {
    top: 20px;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 300px;
}

.mobile-nav .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 0;
    width: 100%;
    text-align: center;
    position: relative;
}

.mobile-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--solar-flare-gold);
    transition: width 0.3s ease;
}

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

.mobile-nav .register-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--solar-flare-gold);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.mobile-nav .register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(189, 121, 72, 0.3);
}

/* Remove custom cursor effect */
.custom-cursor {
    display: none;
}

/* Remove box shadows */
.glass-nav,
.glass-section,
.about-card,
.committee-card,
.event-card,
.founder-card,
.contact-card,
.modal-content {
    box-shadow: none;
}

/* Perks Section */
.perks-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.perk-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.perk-card:hover {
    transform: translateY(-5px);
}

.perk-card i {
    font-size: 2.5rem;
    color: var(--solar-flare-gold);
    margin-bottom: 1rem;
}

.perk-card h3 {
    font-size: 1.3rem;
    color: var(--solar-flare-gold);
    margin-bottom: 0.5rem;
}

.registration-fee {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.fee-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--glass-border);
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.fee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.fee-card h3 {
    font-size: 1.5rem;
    color: var(--solar-flare-gold);
    margin-bottom: 1rem;
}

.fee-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.early-bird {
    background: var(--solar-flare-gold);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.validity {
    color: var(--nebula-copper);
    margin-bottom: 1.5rem;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Improve touch targets */
@media (hover: none) {
    .nav-link,
    .footer-links a,
    .social-link,
    .menu-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .primary-btn,
    .secondary-btn,
    .register-btn {
        min-height: 44px;
        padding: 0.8rem 1.5rem;
    }

    .event-card,
    .contact-card,
    .social-link,
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .event-btn,
    .contact-form button {
        min-height: 44px;
    }

    .modal-buttons .primary-btn,
    .modal-buttons .secondary-btn {
        -webkit-tap-highlight-color: transparent;
    }

    .modal-buttons .primary-btn:active,
    .modal-buttons .secondary-btn:active {
        transform: scale(0.98);
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Improve section spacing on mobile */
.section-content {
    padding: 3rem 1rem;
}

@media (min-width: 769px) {
    .section-content {
        padding: 4rem 2rem;
    }
} 

/* Instagram Feed Section */
.instagram-feed {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(101, 67, 33, 0.8) 100%);
}

.instagram-feed .section-subtitle {
    text-align: center;
    color: #e6d5c3;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.instagram-handle {
    text-align: center;
    margin-bottom: 2rem;
}

.instagram-handle i {
    font-size: 1.3rem;
    color: #e1306c;
    margin-right: 0.5rem;
}

.instagram-handle a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.instagram-handle a:hover {
    color: #e1306c;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.instagram-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.instagram-post img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background: #f0f0f0;
    padding: 0;
}

.instagram-post:hover img {
    transform: scale(1.02);
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post-overlay i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        padding: 0 0.5rem;
    }
    
    .instagram-feed .section-subtitle {
        font-size: 1rem;
    }
    
    .instagram-handle a {
        font-size: 1rem;
    }

    .instagram-post-overlay i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.2rem;
    }
    
    .instagram-feed {
        padding: 30px 0;
    }

    .instagram-post {
        border-radius: 4px;
    }

    .instagram-post img {
        padding: 0;
    }
} 

/* --- Collaborators & Partners Section --- */
.partners {
    margin: 60px 0 0 0;
    padding: 60px 0 40px 0;
    background: var(--glass-bg);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 2;
}

.cosmic-title {
    font-family: 'Abril Fatface', cursive;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 32px;
    color: var(--solar-flare-gold);
    text-shadow: 0 2px 16px rgba(189,121,72,0.15);
}

.collab-row {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.collab-block {
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 24px 32px;
    box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collab-label {
    font-size: 1.1rem;
    color: var(--solar-flare-gold);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.collab-logos {
    display: flex;
    gap: 36px;
}

.collab-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.collab-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(31,38,135,0.10);
    border: 2.5px solid var(--solar-flare-gold);
    margin-bottom: 4px;
}

.collab-name {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

/* --- Updated Partners Grid Responsive Layout --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-top: 16px;
    justify-items: center;
    align-items: stretch;
}
@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .partner-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    /* Center the last card if odd number of cards */
    .partners-grid > .partner-card:nth-child(5) {
        grid-column: 1 / span 2;
        justify-self: center;
    }
}

.partner-card {
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 28px 18px 18px 18px;
    box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
    min-height: 220px;
}
.partner-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(189,121,72,0.18);
}
.partner-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(31,38,135,0.10);
    border: 2px solid var(--solar-flare-gold);
    margin-bottom: 12px;
}
.partner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.partner-role {
    font-size: 0.98rem;
    color: var(--solar-flare-gold);
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
}
.partner-name {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .partners {
        padding: 40px 0 24px 0;
    }
    .collab-row {
        margin-bottom: 24px;
    }
    .collab-logo {
        width: 56px;
        height: 56px;
    }
    .partners-grid {
        gap: 20px;
    }
    .partner-card {
        min-height: 180px;
        padding: 20px 10px 10px 10px;
    }
    .partner-logo {
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 600px) {
    .partners {
        margin: 32px 0 0 0;
        padding: 24px 0 12px 0;
        border-radius: 18px;
    }
    .cosmic-title {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    .collab-row {
        flex-direction: column;
        align-items: center;
    }
    .collab-block {
        padding: 14px 8px;
        border-radius: 14px;
    }
    .collab-logos {
        gap: 16px;
    }
    .collab-logo {
        width: 40px;
        height: 40px;
    }
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .partner-card {
        min-height: 120px;
        padding: 10px 4px 4px 4px;
        border-radius: 12px;
    }
    .partner-logo {
        width: 32px;
        height: 32px;
    }
    .partner-role, .partner-name {
        font-size: 0.92rem;
    }
} 