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

:root {
    --bg-dark: #0a0e14;
    --bg-card: #151a23;
    --bg-hover: #1a2030;
    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --accent-amber: #fbbf24;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --border-color: #1f2937;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f1419 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(21, 26, 35, 0.95) 0%, rgba(15, 20, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.nav-links {
    list-style: none;
    padding: 2rem 0;
}

.nav-links li {
    margin: 0.5rem 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
    border-left-color: var(--accent-cyan);
}

.nav-links a.active {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    border-left-color: var(--accent-cyan);
}

.icon {
    font-size: 1.25rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e14 0%, #1a1f2e 50%, #0f1419 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 20, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.hero-tagline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #0099cc);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 4rem;
}

.welcome-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.welcome-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Starter Pack Section */
.starter-section {
    margin-bottom: 4rem;
}

.starter-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: var(--bg-card);
    border: 2px solid var(--accent-purple);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.2);
}

.starter-highlight {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 12px;
    border: 1px solid var(--accent-purple);
}

.starter-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
}

.starter-highlight h3 {
    font-size: 1.75rem;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.starter-highlight p {
    color: var(--text-secondary);
}

.starter-items h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.item {
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.item:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text-primary);
}

/* Server Section */
.servers-section {
    margin-bottom: 4rem;
}

.server-group {
    margin-bottom: 3rem;
}

.group-title {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-purple);
}

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

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
    background: var(--bg-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-header h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-online {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.map-name {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Features Section */
.features-section {
    margin-bottom: 4rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}

/* Admin Team Section */
.admin-section {
    margin-bottom: 4rem;
}

.admin-grid {
    display: grid;
    gap: 2rem;
}

.admin-tier {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.admin-tier.owner {
    border-color: var(--accent-amber);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.2);
}

.admin-tier.lead-admin {
    border-color: var(--accent-purple);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}

.tier-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid;
}

.owner .tier-title {
    color: var(--accent-amber);
    border-left-color: var(--accent-amber);
}

.lead-admin .tier-title {
    color: var(--accent-purple);
    border-left-color: var(--accent-purple);
}

.admin-member {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.admin-member:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.member-name {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-roles {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.role-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 6px;
    font-size: 0.875rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Donations Section */
.donations-section {
    margin-bottom: 4rem;
}

.payment-methods {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.payment-methods h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.payment-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-method {
    padding: 0.5rem 1rem;
    background: var(--accent-purple);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

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

.pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.pack-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

.pack-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.pack-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-amber);
    margin-bottom: 0.5rem;
}

.pack-name {
    color: var(--text-primary);
    font-size: 1.125rem;
}

.pack-items {
    list-style: none;
}

.pack-items li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.pack-items li:last-child {
    border-bottom: none;
}

.pack-note {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Rules Section */
.rules-section {
    margin-bottom: 4rem;
}

.rules-group {
    margin-bottom: 3rem;
}

.rules-group-title {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.rules-container {
    display: grid;
    gap: 1rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.rule-item:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-hover);
}

.rule-bullet {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.rule-item p {
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.rule-item em {
    color: var(--text-secondary);
    font-style: italic;
}

.rule-item strong {
    color: var(--accent-amber);
}

.sub-list {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
    list-style: none;
}

.sub-list li {
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.sub-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .close-btn {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .hero {
        height: 60vh;
    }

    .container {
        padding: 2rem 1rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .starter-container {
        grid-template-columns: 1fr;
    }

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

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

    .hero-tagline {
        font-size: 1rem;
    }

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