:root {
    --bg-main: #0b0c10;
    --bg-secondary: #12141a;
    --bg-tertiary: #1f2833;
    --primary: #FFB800;
    --primary-dark: #cc9200;
    --primary-light: #ffd766;
    --text-main: #ffffff;
    --text-muted: #a0aab2;
    --border: rgba(255, 184, 0, 0.15);
    --glass-bg: rgba(18, 20, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Press Start 2P', cursive;
    font-weight: 400;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.highlight {
    color: #FFD700;
    text-shadow: 2px 2px 0px #8B4513;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: var(--primary);
    color: #111;
    border: 3px solid #111;
    padding: 0.8rem 1.5rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px #111;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #111;
    background: var(--primary-light);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-main);
    border: 3px solid #111;
    padding: 0.8rem 1.5rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #2a3544;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #111;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-link {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1605379399642-870262d3d051?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.3);
    z-index: -1;
    transform: scale(1.05);
}

.hero-content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px #000;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 600;
}

.player-count {
    color: var(--primary);
    font-weight: 800;
}

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

.scroll-down {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--bg-secondary);
    border: 3px solid #111;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-shadow: 6px 6px 0px #111;
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #111;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.media-item {
    border: 3px solid #111;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 6px 6px 0px #111;
    transition: transform 0.2s ease;
}

.media-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #111;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover img {
    transform: scale(1.1);
}

.media-item:hover::after {
    opacity: 1;
}

.discord-panel {
    background: #5865F2;
    border: 3px solid #111;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 8px 8px 0px #111;
}

.minecraft-font {
    font-family: "Minecraft", sans-serif;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 300px;
}

.discord-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.discord-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.discord-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-discord {
    background: #ffffff;
    color: #111;
    border: 3px solid #111;
    padding: 1rem 2.5rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 4px 4px 0px #111;
    transition: all 0.2s ease;
}

.btn-discord:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #111;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links-group h4 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: var(--text-muted);
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: #111;
    border: 3px solid #111;
    padding: 1rem 2rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 6px 6px 0px #111;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 992px) {
    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn-large {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .discord-content h2 {
        font-size: 1.8rem;
    }
}