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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0f0f2a 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Twinkling Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

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

.star:nth-child(2n) {
    animation-delay: 1s;
    animation-duration: 4s;
}

.star:nth-child(3n) {
    animation-delay: 2s;
    animation-duration: 5s;
}

.star:nth-child(4n) {
    width: 1px;
    height: 1px;
    animation-duration: 6s;
}

.star:nth-child(5n) {
    width: 3px;
    height: 3px;
    animation-duration: 2s;
}

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

/* Navigation */
nav {
    position: relative;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ffff;
}

.logo::before {
    content: "◆";
    margin-right: 0.5rem;
    color: #00ffff;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-links a:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    color: #00ffff;
}

.beta-access {
    background: #00ffff !important;
    color: #0a0a1a !important;
    font-weight: bold;
}

.beta-access:hover {
    background: #00cccc !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 4rem 0;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    background: rgba(20, 30, 60, 0.4);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    color: #00ffff;
    font-weight: bold;
    display: block;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Server Status */
.server-status {
    background: rgba(20, 30, 60, 0.6);
    padding: 1rem 2rem;
    border-radius: 10px;
    border-left: 4px solid #ff4444;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #ff4444;
    border-radius: 50%;
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

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

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #00ffff;
    color: #0a0a1a;
}

.btn-primary:hover {
    background: #00cccc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Command Center */
.command-center {
    margin: 5rem 0;
}

.command-center h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 3rem;
}

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

.command-panel {
    background: rgba(20, 30, 60, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.command-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.command-panel h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Activity Items */
.activity-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    color: #ffaa00;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.activity-text {
    flex: 1;
}

.activity-time {
    color: #888;
    font-size: 0.8rem;
}

/* Guild Card */
.guild-card {
    margin-bottom: 2rem;
}

.guild-info {
    margin-bottom: 1rem;
}

.guild-info small {
    color: #ccc;
}

.guild-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.guild-tag {
    background: #00ffff;
    color: #0a0a1a;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.join-btn {
    background: #00ffff;
    color: #0a0a1a;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #00cccc;
    transform: scale(1.05);
}

.view-all-btn {
    width: 100%;
    background: transparent;
    color: #00ffff;
    border: 1px solid #00ffff;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* Quest Card */
.quest-card {
    background: rgba(30, 40, 70, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-align: center;
}

.quest-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00ffff;
}

.quest-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.quest-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.quest-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.quest-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.quest-tag {
    background: rgba(255, 170, 0, 0.2);
    color: #ffaa00;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Updates Panel */
.updates-panel {
    margin-top: 2rem;
}

.update-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.update-item:last-child {
    border-bottom: none;
}

.update-time {
    color: #00ffff;
    font-weight: bold;
    min-width: 60px;
}

.update-content {
    flex: 1;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .command-grid {
        grid-template-columns: 1fr;
    }
    
    .quest-meta {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
