/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Galaxy Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('attached_assets/360_F_330087090_czUy6x6qdJl8M8WJfetJ5iO99dGw0KCT_1750520463021.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    opacity: 0.8;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 10, 50, 0.9) 0%,
        rgba(30, 20, 80, 0.8) 25%,
        rgba(50, 30, 100, 0.7) 50%,
        rgba(80, 40, 120, 0.8) 75%,
        rgba(10, 10, 50, 0.9) 100%);
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Global text overflow fixes */
p, span, div, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.cosmic-text {
    background: linear-gradient(45deg, #00d4ff, #7b68ee, #ff6b9d, #00d4ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cosmic-glow 4s ease-in-out infinite;
}

.rainbow-text {
    background: linear-gradient(45deg, 
        #ff0000, #ff7700, #ffff00, #00ff00, 
        #0077ff, #4400ff, #ff00ff, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-flow 3s linear infinite;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes cosmic-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: #00d4ff;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 2rem;
    color: #ff6b9d;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4ff;
}

.support-link {
    background: linear-gradient(45deg, #ff6b9d, #00d4ff);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.support-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

/* Support CTA Section */
.support-cta {
    margin-top: 3rem;
}

.rainbow-card {
    position: relative;
    background: rgba(26, 26, 62, 0.9);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    overflow: hidden;
}

.rainbow-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #ff0000, #ff7700, #ffff00, #00ff00, 
        #0077ff, #4400ff, #ff00ff, #ff0000);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: rainbow-border 3s ease-in-out infinite;
}

.rainbow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 62, 0.95);
    border-radius: 18px;
    z-index: 0;
}

.rainbow-card > * {
    position: relative;
    z-index: 1;
}

.support-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, 
        #ff0000, #ff7700, #ffff00, #00ff00, 
        #0077ff, #4400ff, #ff00ff);
    background-size: 400% 400%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: rainbow-pulse 2s ease-in-out infinite;
}

.support-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rainbow-card h4 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rainbow-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-rainbow {
    background: linear-gradient(45deg, 
        #ff0000, #ff7700, #ffff00, #00ff00, 
        #0077ff, #4400ff, #ff00ff, #ff0000);
    background-size: 400% 400%;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.animated-rainbow {
    animation: rainbow-flow 3s linear infinite;
}

.btn-rainbow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-rainbow i {
    margin-right: 0.5rem;
}

@keyframes rainbow-border {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rainbow-pulse {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% {
        background-position: 100% 50%;
        transform: scale(1.1);
    }
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7b68ee);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 20px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #7b68ee;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #7b68ee);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #7b68ee;
}

.btn-secondary:hover {
    background: #7b68ee;
    transform: translateY(-2px);
}

.btn-discord {
    background: linear-gradient(45deg, #5865F2, #7289DA);
    color: #ffffff;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

/* Hero Visual Effects */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cosmic-orb {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00d4ff, #7b68ee, #ff6b9d);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.cosmic-orb::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.particle-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 1; }
    50% { transform: translateY(-30px) scale(1.2); opacity: 0.7; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid #00d4ff;
    border-bottom: 2px solid #00d4ff;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #7b68ee, #ff6b9d);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: rgba(20, 20, 60, 0.3);
    backdrop-filter: blur(10px);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

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

.feature-card {
    background: rgba(40, 40, 100, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 100, 0.5);
    border-color: #00d4ff;
}

.feature-card i {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Mission Section */
.mission {
    background: rgba(30, 20, 80, 0.2);
}

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

.mission-statement h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ff6b9d;
}

.lead-text {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #00d4ff;
    font-weight: 600;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(40, 40, 100, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(40, 40, 100, 0.4);
    transform: translateX(10px);
}

.value-item i {
    font-size: 2rem;
    color: #00d4ff;
    margin-top: 0.5rem;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Mission Visual */
.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cosmic-sphere {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #7b68ee, #ff6b9d, #00d4ff);
    position: relative;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    top: -25px;
    left: -25px;
}

.orbit-2 {
    width: 350px;
    height: 350px;
    top: -50px;
    left: -50px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 400px;
    height: 400px;
    top: -75px;
    left: -75px;
    animation-duration: 30s;
}

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

.satellite {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

/* Community Section */
.community {
    background: rgba(20, 20, 60, 0.3);
    backdrop-filter: blur(10px);
}

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

.community-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.community-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.community-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(40, 40, 100, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(40, 40, 100, 0.4);
    transform: translateX(5px);
}

.benefit i {
    color: #ff6b9d;
    font-size: 1.2rem;
}

.benefit span {
    color: rgba(255, 255, 255, 0.9);
}

.community-cta {
    display: flex;
    justify-content: center;
}

.cta-card {
    background: rgba(40, 40, 100, 0.4);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 400px;
    transition: all 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 100, 0.6);
}

.discord-icon {
    font-size: 4rem;
    color: #5865F2;
    margin-bottom: 1.5rem;
}

.cta-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-card p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(10, 10, 30, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: #00d4ff;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 2rem;
    color: #ff6b9d;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

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

.link-group h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #00d4ff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #5865F2;
    transform: translateY(-2px);
}

/* Footer Stars Animation */
.footer-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 { top: 20%; left: 10%; animation-delay: 0s; }
.star-2 { top: 40%; right: 20%; animation-delay: 1s; }
.star-3 { bottom: 60%; left: 30%; animation-delay: 2s; }
.star-4 { top: 70%; right: 40%; animation-delay: 0.5s; }
.star-5 { bottom: 30%; right: 10%; animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Platform Detection and Base Responsive Styles */
.platform-mobile {
    /* Mobile-specific optimizations will be applied via JavaScript */
}

.platform-desktop {
    /* Desktop-specific optimizations will be applied via JavaScript */
}

/* Mobile Viewport Lock and Optimization */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific */
    body {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        position: fixed;
        overflow-x: hidden;
    }
    
    html {
        position: fixed;
        height: 100%;
        overflow: hidden;
    }
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Ensure mobile viewport lock */
    html, body {
        height: 100vh;
        height: -webkit-fill-available; /* iOS Safari */
        overflow-x: hidden;
        position: relative;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        touch-action: pan-y;
    }

    /* Navigation Optimization for Mobile */
    .navbar {
        height: 60px;
        padding: 0 10px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 30, 0.98);
        backdrop-filter: blur(30px);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu.active .auth-section-mobile {
        display: block;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    /* Hero Section Mobile Optimization */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        padding: 60px 15px 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        text-align: center;
        justify-content: center;
    }

    /* Visual Elements Mobile Adaptation */
    .cosmic-orb {
        width: 180px;
        height: 180px;
    }
    
    .particle {
        display: none; /* Hide particles on mobile for performance */
    }

    /* Section Spacing for Mobile */
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    /* About Section Mobile */
    .about-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    /* Mission Section Mobile */
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-statement h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .lead-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .value-item i {
        font-size: 2.5rem;
        margin-top: 0;
    }

    /* Community Section Mobile */
    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .community-text p {
        text-align: center;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
        max-width: none;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Touch-friendly interactive elements */
    .btn, .nav-link, .feature-card, .value-item {
        min-height: 44px; /* iOS recommended touch target */
        cursor: pointer;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .feature-card:hover,
        .value-item:hover,
        .benefit:hover {
            transform: none;
            background: rgba(40, 40, 100, 0.3);
        }
        
        .btn-primary:hover,
        .btn-secondary:hover,
        .btn-discord:hover {
            transform: none;
            box-shadow: none;
        }
    }
}

/* Desktop Optimization (larger screens) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-container {
        gap: 6rem;
    }
    
    .cosmic-orb {
        width: 400px;
        height: 400px;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Careers Page Styles */
.careers-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: rgba(20, 20, 60, 0.2);
    backdrop-filter: blur(10px);
}

.careers-hero-content {
    text-align: center;
    max-width: 800px;
}

.careers-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.nav-link.active {
    color: #00d4ff;
    font-weight: 700;
}

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

/* Programs Section */
.programs-overview {
    padding: 100px 0;
    background: rgba(30, 20, 80, 0.2);
}

.section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.program-card {
    background: rgba(40, 40, 100, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    background: rgba(40, 40, 100, 0.6);
}

.moderation-program:hover {
    border-color: #ff6b9d;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.developer-program:hover {
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.program-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
}

.moderation-program .program-icon i {
    color: #ff6b9d;
}

.developer-program .program-icon i {
    color: #00d4ff;
}

.program-card h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.program-tagline {
    font-size: 1.1rem;
    text-align: center;
    color: #7b68ee;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.program-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.program-highlights,
.program-requirements,
.program-benefits,
.program-tech-stack {
    margin-bottom: 2rem;
}

.program-highlights h4,
.program-requirements h4,
.program-benefits h4,
.program-tech-stack h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.moderation-program .program-highlights h4,
.moderation-program .program-requirements h4,
.moderation-program .program-benefits h4 {
    color: #ff6b9d;
}

.program-highlights ul,
.program-requirements ul,
.program-benefits ul {
    list-style: none;
    padding: 0;
}

.program-highlights li,
.program-requirements li,
.program-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.program-highlights i,
.program-requirements i,
.program-benefits i {
    font-size: 1rem;
    width: 16px;
}

.program-highlights i {
    color: #00d4ff;
}

.program-requirements i {
    color: #7b68ee;
}

.program-benefits i {
    color: #ff6b9d;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.program-apply-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 18px 30px;
}

/* Platform Badges */
.program-platforms {
    margin-bottom: 2rem;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.platform-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid;
    transition: all 0.3s ease;
}

.platform-badge.rec-room {
    background: rgba(255, 107, 157, 0.2);
    color: #ff6b9d;
    border-color: #ff6b9d;
}

.platform-badge.roblox {
    background: rgba(0, 162, 255, 0.2);
    color: #00a2ff;
    border-color: #00a2ff;
}

.platform-badge.discord {
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
    border-color: #5865F2;
}

.platform-badge.custom-games {
    background: rgba(123, 104, 238, 0.2);
    color: #7b68ee;
    border-color: #7b68ee;
}

/* Moderation Tiers */
.program-tiers {
    margin-bottom: 2rem;
}

.tier-card {
    background: rgba(20, 20, 60, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tier-card:hover {
    background: rgba(20, 20, 60, 0.5);
    border-color: #ff6b9d;
    transform: translateX(5px);
}

.tier-card h5 {
    font-size: 1.2rem;
    color: #ff6b9d;
    margin-bottom: 0.8rem;
    font-family: 'Orbitron', monospace;
}

.tier-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tier-card ul {
    list-style: none;
    padding: 0;
}

.tier-card li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.tier-card i {
    color: #00d4ff;
    font-size: 1rem;
    width: 16px;
}

/* Why Volunteer Section */
.why-volunteer {
    padding: 100px 0;
    background: rgba(20, 20, 60, 0.3);
}

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

.why-volunteer-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #00d4ff;
}

.volunteer-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.volunteer-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: rgba(40, 40, 100, 0.4);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 100, 0.6);
    border-color: #00d4ff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #00d4ff;
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Application Section */
.application-section {
    padding: 100px 0;
    background: rgba(30, 20, 80, 0.2);
}

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

.application-card {
    background: rgba(40, 40, 100, 0.4);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 100, 0.6);
    border-color: #5865F2;
}

.application-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.application-card p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.application-steps {
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #00d4ff, #7b68ee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    flex-shrink: 0;
}

.step-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(40, 40, 100, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Careers Mobile Responsive */
@media (max-width: 768px) {
    .careers-hero {
        padding: 100px 10px 40px;
    }
    
    .careers-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .careers-hero-content {
        padding: 0 5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .hero-description p {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 5px;
    }
    
    .program-card {
        padding: 1.5rem;
        margin: 0 5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .program-card h3 {
        font-size: 1.6rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .program-description {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .why-volunteer {
        padding: 60px 0;
    }
    
    .why-volunteer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 10px;
    }
    
    .volunteer-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .stat-card {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100px;
    }
    
    .stat-number {
        font-size: 2.2rem;
        font-weight: 900;
        color: #00d4ff;
        font-family: 'Orbitron', monospace;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        text-align: center;
    }
    
    .stat-label {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
        word-wrap: break-word;
        text-align: center;
        line-height: 1.3;
    }
    
    .application-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 5px;
    }
    
    .application-card {
        padding: 1.5rem;
        margin: 0 5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .why-volunteer-text h2 {
        font-size: 1.8rem;
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .lead-text {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.5;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .platform-badges {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .platform-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        word-wrap: break-word;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .tier-card {
        padding: 1.2rem;
        margin: 0 5px 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .tier-card h5 {
        font-size: 1.1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .tier-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .tier-card:hover {
        transform: translateY(-2px);
    }
    
    /* Ensure all text elements break properly */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 10px;
    }
    
    .program-highlights li,
    .program-requirements li,
    .program-benefits li {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .value-item {
        margin: 0 5px 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .value-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 1.8rem;
    }
    
    .program-card {
        padding: 1rem;
        margin: 0 2px;
    }
    
    .stat-card {
        padding: 1.2rem;
        min-height: 90px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .application-card {
        padding: 1rem;
        margin: 0 2px;
    }
    
    .platform-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Application Form Styles */
.apply-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: rgba(20, 20, 60, 0.2);
    backdrop-filter: blur(10px);
}

.apply-hero-content {
    text-align: center;
    max-width: 800px;
}

.apply-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Status Alert */
.status-alert {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.status-alert.info {
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 2px solid #00d4ff;
}

.status-alert.error {
    background: rgba(255, 107, 157, 0.1);
    border-bottom: 2px solid #ff6b9d;
}

.status-alert.success {
    background: rgba(0, 255, 0, 0.1);
    border-bottom: 2px solid #00ff00;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.alert-content i {
    font-size: 1.2rem;
}

/* Application Selection */
.application-selection {
    padding: 100px 0;
    background: rgba(30, 20, 80, 0.2);
}

.selection-header {
    text-align: center;
    margin-bottom: 4rem;
}

.position-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.position-card {
    background: rgba(40, 40, 100, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.position-card::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 ease;
}

.position-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.position-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: #00d4ff;
    background: rgba(40, 40, 100, 0.8);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.position-card:hover::before {
    left: 100%;
}

.position-card:hover::after {
    opacity: 1;
}

.position-card.selected {
    border-color: #00d4ff;
    background: rgba(40, 40, 100, 0.8);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    transform: translateY(-8px) scale(1.02);
}

.position-card.selected::after {
    opacity: 0.8;
}

.position-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.position-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.position-card:nth-child(1) .position-icon i {
    color: #ff6b9d;
}

.position-card:nth-child(2) .position-icon i {
    color: #00d4ff;
}

.position-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.position-card p {
    color: #7b68ee;
    font-style: italic;
    margin-bottom: 2rem;
}

.position-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.open {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-indicator.closed {
    background: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

/* Application Form Section */
.application-form-section {
    padding: 100px 0;
    background: rgba(20, 20, 60, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.application-form {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(40, 40, 100, 0.4);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.form-section {
    background: rgba(20, 20, 60, 0.3);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section-title {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-bottom: 2rem;
    font-family: 'Orbitron', monospace;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(20, 20, 60, 0.4);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(20, 20, 60, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #00ff00;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #ff6b9d;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

.char-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.8rem;
    color: #00d4ff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

/* Form Submit */
.form-submit {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: rgba(20, 20, 60, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-info {
    color: rgba(255, 255, 255, 0.9);
}

.submit-info p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.submit-info ul {
    list-style: none;
    padding: 0;
}

.submit-info li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.submit-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
    white-space: nowrap;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(40, 40, 100, 0.9);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header i {
    font-size: 4rem;
    color: #00ff00;
    margin-bottom: 1rem;
}

.modal-header h3 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
}

.modal-body {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.next-steps {
    background: rgba(20, 20, 60, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    text-align: left;
}

.next-steps h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.next-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-footer .btn {
    min-width: 120px;
}

/* Mobile Responsive for Application Form */
@media (max-width: 768px) {
    .apply-hero h1 {
        font-size: 2.5rem;
    }
    
    .position-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .position-card {
        padding: 2rem;
    }
    
    .application-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-submit {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .apply-hero h1 {
        font-size: 2rem;
    }
    
    .position-card {
        padding: 1.5rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

/* Floating Cosmic Elements */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    border-radius: 50%;
    animation: cosmicFloat var(--duration, 20s) linear infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.7;
}

.floating-element:nth-child(2n) {
    background: radial-gradient(circle, #ff6b9d 0%, transparent 70%);
}

.floating-element:nth-child(3n) {
    background: radial-gradient(circle, #9d4edd 0%, transparent 70%);
}

.floating-element:nth-child(4n) {
    background: radial-gradient(circle, #06ffa5 0%, transparent 70%);
}

.floating-element:nth-child(5n) {
    background: radial-gradient(circle, #ffd23f 0%, transparent 70%);
}

@keyframes cosmicFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
        transform: scale(1);
    }
    90% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0);
        opacity: 0;
    }
}

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Touch-friendly interactive elements */
    .btn, .nav-link, .feature-card, .value-item {
        min-height: 44px; /* iOS recommended touch target */
        cursor: pointer;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .feature-card:hover,
        .value-item:hover,
        .benefit:hover {
            transform: none;
            background: rgba(40, 40, 100, 0.3);
        }
        
        .btn-primary:hover,
        .btn-secondary:hover,
        .btn-discord:hover {
            transform: none;
            box-shadow: none;
        }
    }
}
        gap: 1rem;
        text-align: center;
    }

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

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

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 15px 20px;
    }

    section {
        padding: 60px 0;
    }
}

/* Login Page Styles */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.login-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    animation: slideInUp 0.8s ease-out;
}

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

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.login-header .logo i {
    font-size: 3rem;
    color: #00d4ff;
    margin-right: 1rem;
    animation: float 3s ease-in-out infinite;
}

.login-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #9d4edd);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin: 0;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #00d4ff;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.login-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background: linear-gradient(45deg, #0099cc, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #ff6b9d;
    transform: translateX(-3px);
}

.login-alert {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    animation: slideInRight 0.5s ease-out;
}

.login-alert.error {
    background: rgba(255, 107, 107, 0.9);
    border: 1px solid #ff6b6b;
}

.login-alert.success {
    background: rgba(6, 255, 165, 0.9);
    border: 1px solid #06ffa5;
}

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

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Google Auth Styles */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.auth-divider span {
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.google-auth-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #ffffff;
    color: #333333;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.google-auth-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-auth-btn i {
    color: #4285f4;
    font-size: 1.1rem;
}

/* Auth Section Styles */
.auth-section-mobile {
    display: none;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.auth-btn {
    padding: 0.8rem 2rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Exo 2', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 200px;
}

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

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

.auth-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.6);
    color: #00d4ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.auth-btn.primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8), rgba(6, 255, 165, 0.8));
    border: 1px solid rgba(0, 212, 255, 0.8);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.auth-btn.primary:hover {
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.9), rgba(0, 212, 255, 0.9));
    border-color: #06ffa5;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.auth-btn i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.user-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.user-tag:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-1px);
}

.user-tag .username {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
}

.role-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
}

.role-badge.admin {
    background: linear-gradient(45deg, #ff6b9d, #ff4757);
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.4);
    border: 1px solid rgba(255, 107, 157, 0.6);
}

.role-badge.moderator {
    background: linear-gradient(45deg, #9d4edd, #7b68ee);
    color: white;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
    border: 1px solid rgba(157, 78, 221, 0.6);
}

.role-badge.developer {
    background: linear-gradient(45deg, #00d4ff, #06ffa5);
    color: white;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.6);
}

.role-badge.member {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

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

@keyframes glow {
    from {
        box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    }
    to {
        box-shadow: 0 6px 30px rgba(255, 107, 157, 0.6);
    }
}

.admin-btn {
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b9d, #ff4757, #ff6b9d);
    background-size: 200% 200%;
    border-radius: 14px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auth-modal.active {
    display: flex;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ff6b9d;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form .form-group {
    margin-bottom: 0;
}

.modal-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-form input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.modal-form .btn {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-form .btn:hover {
    background: linear-gradient(45deg, #0099cc, #00d4ff);
    transform: translateY(-1px);
}

.modal-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.modal-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.modal-footer button {
    background: none;
    border: none;
    color: #00d4ff;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
}

.modal-footer button:hover {
    color: #ff6b9d;
}

/* Responsive Auth Section */
@media (max-width: 1024px) {
    .auth-section {
        padding-left: 0.8rem;
        gap: 0.6rem;
    }
    
    .auth-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .user-tag {
        padding: 0.5rem 1rem;
        gap: 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .auth-section {
        margin-left: 0;
        margin-top: 1.5rem;
        padding-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
    }
    
    .auth-buttons {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 0.8rem;
    }
    
    .auth-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
        padding: 0.8rem 1rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .user-tag {
        width: auto;
        min-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .auth-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .user-tag {
        min-width: 0;
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .role-badge {
        align-self: center;
    }
}
