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

:root {
    --primary-purple: #8b5cf6;
    --neon-pink: #ec4899;
    --neon-blue: #3b82f6;
    --dark-bg: #0a0a1a;
    --card-bg: #1a1a2e;
    --text-white: #ffffff;
    --text-gray: #a0a0b0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 4px;
}

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

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

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

.user-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-menu .level {
    font-size: 0.7rem;
    color: var(--neon-pink);
}

.login-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-purple);
    border-radius: 25px;
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.login-btn:hover {
    background: var(--primary-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(10, 10, 26, 0.7), rgba(10, 10, 26, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230a0a1a"/><path d="M0 400 L50 380 L100 390 L150 370 L200 380 L250 360 L300 370 L350 350 L400 360 L450 340 L500 350 L550 330 L600 340 L650 320 L700 330 L750 310 L800 320 L850 300 L900 310 L950 290 L1000 300 L1050 280 L1100 290 L1150 270 L1200 280 L1200 600 L0 600 Z" fill="%231a1a2e"/></svg>') center/cover;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    position: relative;
    z-index: 1;
}

.cta-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: 2px solid var(--primary-purple);
    border-radius: 30px;
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: var(--primary-purple);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--primary-purple), var(--neon-blue));
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.project-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--neon-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(139, 92, 246, 0.5);
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-development {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-maintenance {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* News Timeline */
.news-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.news-item:hover {
    border-color: var(--primary-purple);
    transform: translateX(10px);
}

.news-date {
    text-align: center;
    min-width: 60px;
}

.news-date .month {
    color: var(--primary-purple);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.news-date .day {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-white);
}

.news-content {
    flex: 1;
}

.news-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.news-content .date-right {
    float: right;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.views {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Forum Preview */
.forum-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.forum-item:hover {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(10px);
}

.forum-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.forum-item h4 {
    flex: 1;
    font-size: 1.1rem;
}

.forum-count {
    background: rgba(139, 92, 246, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Team Area */
.team-area {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.dashboard-btn, .view-gallery-btn, .view-all-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--primary-purple);
    border-radius: 30px;
    background: var(--primary-purple);
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.dashboard-btn:hover, .view-gallery-btn:hover, .view-all-btn:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: scale(1.05);
}

/* Discord Servers */
.discord-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.discord-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
}

.discord-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: 0 5px 25px rgba(236, 72, 153, 0.3);
}

.discord-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.discord-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-count {
    margin: 1rem 0;
    color: var(--text-gray);
}

.join-btn {
    padding: 0.7rem 2rem;
    border: 2px solid var(--neon-pink);
    border-radius: 25px;
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.join-btn:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

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

.close {
    color: var(--text-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-purple);
}

.modal-content h2 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.modal-content input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-purple);
    border: none;
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.form-switch {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-gray);
}

.form-switch a {
    color: var(--primary-purple);
    text-decoration: none;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 5%;
}

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

.footer-section h3, .footer-section h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 968px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 5%;
    }
}

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

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

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}
