* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b0000;
    --secondary-color: #dc143c;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.server-ip {
    background-color: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

.ip-label {
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.ip-address {
    color: var(--secondary-color);
    font-weight: bold;
    cursor: pointer;
    user-select: all;
}

.ip-address:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--primary-color) 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Sections */
.features, .gamemodes-preview, .gamemodes-section, .store-section, .vote-section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Gamemodes Grid */
.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gamemode-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.gamemode-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.gamemode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Gamemode Detail Cards */
.gamemodes-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gamemode-detail-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: start;
}

.gamemode-icon-large {
    font-size: 4rem;
    min-width: 100px;
    text-align: center;
}

.gamemode-info {
    flex: 1;
}

.gamemode-info h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.gamemode-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.gamemode-features h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.gamemode-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.gamemode-features li {
    color: var(--text-secondary);
    padding: 0.3rem 0;
}

/* Store */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.store-card {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.store-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.rank-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.price {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 1rem 0;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* Cosmetics */
.cosmetic-category {
    margin-bottom: 3rem;
}

.cosmetic-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.cosmetics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cosmetic-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.cosmetic-card h4 {
    margin-bottom: 0.5rem;
}

/* Vote Section */
.vote-info {
    text-align: center;
    margin-bottom: 3rem;
}

.vote-rewards {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.vote-rewards li {
    font-size: 1.2rem;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vote-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.vote-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--primary-color) 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    border-top: 2px solid var(--primary-color);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .gamemode-detail-card {
        flex-direction: column;
        text-align: center;
    }
    
    .gamemode-features ul {
        text-align: center;
    }
}