:root {
    /* Colors - Galaxy Theme */
    --primary-galaxy: #a855f7; /* Nebula Purple */
    --secondary-galaxy: #ec4899; /* Cosmic Pink */
    --accent-blue: #3b82f6; /* Star Blue */
    --void-bg: #020617;
    --dark-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.5);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    
    /* Legacy mapping for compatibility */
    --primary-green: var(--primary-galaxy);
    --primary-gold: var(--secondary-galaxy);
    
    /* Fonts */
    --font-epic: 'Fredoka', sans-serif;
    --font-seie: 'MedievalSharp', cursive;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 5rem 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

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

body {
    background-color: var(--void-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography styles */
.text-epic {
    font-family: var(--font-epic);
    color: var(--primary-green);
    font-weight: 700;
}

.text-seie {
    font-family: var(--font-seie);
    color: var(--primary-gold);
}

/* Glassmorphism */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-family: var(--font-body);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-galaxy), var(--secondary-galaxy));
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: padding 0.3s, background 0.3s;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    display: flex;
    gap: 0.3rem;
}

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

.nav-links a:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.8)), url('galaxy_hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Server Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.status-dot.online {
    background: var(--primary-green);
    box-shadow: 0 0 10px var(--primary-green);
}

.hero h1 {
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.5));
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:nth-child(1) { animation: float 6s ease-in-out infinite; }
.feature-card:nth-child(2) { animation: float 6s ease-in-out infinite 1s; }
.feature-card:nth-child(3) { animation: float 6s ease-in-out infinite 2s; }

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

.feature-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

/* Join Section */
.join {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.ip-container {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    gap: 10px;
}

.ip-box {
    flex: 1;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    font-family: monospace;
    font-size: 1.2rem;
    text-align: center;
    border: 1px solid var(--primary-green);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--primary-gold);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Staff Section */
.staff {
    padding: var(--section-padding);
}

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

.staff-card {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.staff-card h3 {
    margin-bottom: 0.5rem;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-group {
        flex-direction: column;
        padding: 0 2rem;
    }
}
