/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

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

/* Header */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.logo h1 {
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 0.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    min-width: max-content;
}

.lang-btn {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    transition: all 0.3s;
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lang-btn.active {
    opacity: 1;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/mainbackground.png') center/cover;
    color: #fff;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    padding: 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #c0392b;
}

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

.btn-secondary {
    background-color: #3498db;
}

.btn-secondary:hover {
    background-color: #2980b9;
}

.hero-image {
    flex: 1;
    padding: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Status Section */
.status {
    padding: 5rem 0;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
}

.status h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.status-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.online {
    color: #27ae60;
    font-weight: 700;
}

/* Game Stats Section */
.game-stats {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef3f8 100%);
}

.game-stats h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.stats-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
}

.stats-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.stats-card p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Footer */
footer {
    background-image: url('img/mainbackground.jpg');
    background-size: cover;
    background-position: center;
    background-color: rgba(0,0,0,0.6);
    background-blend-mode: overlay;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

footer h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

footer p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    nav ul {
        display: none; /* Simple mobile menu, can be improved */
    }
    
    .language-switcher {
        gap: 0.3rem;
    }
    
    .lang-btn {
        font-size: 1.2rem;
        padding: 0.2rem 0.4rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

