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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --accent: #ffffff;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #2a2a2a;
    --shadow: rgba(0, 0, 0, 0.5);
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100%;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    height: 100%;
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.nav-link:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 60px 0;
    scroll-snap-align: start;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.glitch {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #888888 0%, #ffffff 50%, #888888 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.server-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 30px;
}

.ip-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
}

.label {
    display: none;
}

.ip {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 2px;
    padding: 0;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
}

.ip:hover {
    border-color: var(--accent);
}

.ip > span {
    padding: 12px 24px;
    display: flex;
    align-items: center;
    flex: 1;
}

.copy-btn {
    background: transparent;
    color: var(--text);
    border: none;
    border-left: 2px solid var(--border);
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: var(--bg-card-hover);
    color: var(--accent);
}

.status {
    display: flex;
    justify-content: center;
    padding-top: 0;
    border-top: none;
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.online {
    background: #00ff00;
}

.dot.offline {
    background: #ff0000;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5865F2;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    border-top: 1px solid var(--border);
    position: relative;
    scroll-snap-align: start;
}


.gamemodes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 40 35 L 40 45 M 35 40 L 45 40' stroke='rgba(255,255,255,0.1)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

.gamemodes > .container {
    position: relative;
    z-index: 1;
}

.staff::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

.staff > .container {
    position: relative;
    z-index: 1;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 40 35 L 40 45 M 35 40 L 45 40' stroke='rgba(255,255,255,0.1)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

.stats > .container {
    position: relative;
    z-index: 1;
}

.store::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

.store > .container {
    position: relative;
    z-index: 1;
}

.store-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.store-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--accent);
    color: var(--bg);
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.store-btn:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.store-btn i {
    transition: transform 0.3s ease;
}

.store-btn:hover i {
    transform: translateX(5px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    filter: grayscale(0%);
    transform: scale(1.2) rotate(5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--shadow);
}

.card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.card.coming-soon {
    position: relative;
    opacity: 0.7;
}

.badge {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staff-category {
    margin-bottom: 30px;
}

.staff-category:last-child {
    margin-bottom: 0;
}

.category-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: 1px;
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px var(--shadow);
    width: 200px;
    flex-shrink: 0;
    position: relative;
}

.staff-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.staff-card:hover::before {
    opacity: 1;
}

.staff-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-6px) translateX(2px);
    box-shadow: 0 12px 32px var(--shadow);
}

.staff-avatar {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.staff-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.staff-card h3 {
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

.role {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    line-height: 1;
}

.role.admin {
    background: #ffaa00;
    color: black;
}

.role.dev {
    background: #ff5555;
    color: white;
}

.role.builder {
    background: #5555ff;
    color: white;
}

.role.helper {
    background: #00aa00;
    color: white;
}

.gamemode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.gamemode-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px var(--shadow);
    position: relative;
    overflow: hidden;
    width: 200px;
    flex-shrink: 0;
}

.gamemode-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gamemode-item:hover::after {
    width: 300px;
    height: 300px;
}

.gamemode-item:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px var(--shadow);
}

.gamemode-emoji {
    font-size: 2.5rem;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.gamemode-item:hover .gamemode-emoji {
    filter: grayscale(0%);
    transform: scale(1.15);
}

.gamemode-item span:not(.gamemode-emoji) {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

footer {
    background: var(--bg);
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    scroll-snap-align: start;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 5px 0;
}

footer p:last-child {
    margin-top: 20px;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(15, 15, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        border-bottom: 1px solid var(--border);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link::after {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 100vh;
        padding: 40px 0;
    }

    .section {
        min-height: 100vh;
        padding: 40px 15px;
        display: flex;
        align-items: center;
    }

    .glitch {
        font-size: clamp(2rem, 8vw, 2.8rem);
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .ip {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
        letter-spacing: 0.5px;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .ip > span {
        padding: 10px 12px;
        font-size: clamp(0.85rem, 3.2vw, 1rem);
    }

    .copy-btn {
        padding: 10px 12px;
        width: 55px;
        font-size: 1rem;
    }

    .status-indicator {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        padding: 6px 12px;
    }

    .ip-box {
        gap: 12px;
        width: 100%;
    }

    .server-info {
        padding: 0;
        width: 100%;
        margin-bottom: 25px;
    }

    .section h2 {
        font-size: clamp(1.3rem, 5vw, 1.5rem);
        margin-bottom: 20px;
    }

    .staff-category {
        margin-bottom: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .gamemode-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .gamemode-item {
        width: 100%;
        padding: 20px 15px;
    }

    .gamemode-emoji {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .gamemode-item span:not(.gamemode-emoji) {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }

    .staff-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .staff-card {
        width: 100%;
        max-width: none;
        padding: 8px;
        gap: 8px;
    }

    .staff-avatar {
        width: 24px;
        height: 24px;
    }

    .staff-card h3 {
        font-size: clamp(0.65rem, 2.8vw, 0.75rem);
    }

    .role {
        font-size: clamp(0.55rem, 2.5vw, 0.65rem);
        padding: 2px 6px;
    }

    .category-title {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 10px;
    }

    .discord-btn {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
        padding: 12px 20px;
    }

    footer {
        padding: 30px 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-icon {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }

    .store-description {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 30px;
    }

    .store-btn {
        font-size: clamp(0.9rem, 4vw, 1rem);
        padding: 14px 30px;
    }

    footer p {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }
}
