/* ===== ModVC - Official Minecraft Style ===== */
/* Inspired by minecraft.net official design */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&display=swap');

/* ===== Custom Minecraft Font Face ===== */
@font-face {
    font-family: 'Minecraft';
    src: url('https://cdn.jsdelivr.net/gh/South-Paw/typeface-minecraft@master/files/minecraft.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/South-Paw/typeface-minecraft@master/files/minecraft.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables - Official Minecraft Palette ===== */
:root {
    /* Official Minecraft Colors */
    --mc-green-primary: #3CB371;
    --mc-green-hover: #2E8B57;
    --mc-green-bright: #52A535;
    --mc-green-light: #7FBA00;

    /* Dark Theme */
    --bg-dark-primary: #1D1E1F;
    --bg-dark-secondary: #141414;
    --bg-dark-card: #232425;
    --bg-dark-elevated: #2A2B2C;
    --bg-dark-hover: #313233;

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --text-muted: #888888;

    /* Accent Colors */
    --accent-gold: #FFAA00;
    --accent-red: #FF5555;
    --accent-aqua: #55FFFF;
    --accent-blue: #5555FF;
    --accent-purple: #AA00AA;

    /* Minecraft Item Colors */
    --diamond: #4AEDD9;
    --emerald: #17DD62;
    --gold: #F8B800;
    --iron: #D8D8D8;
    --copper: #B87333;
    --netherite: #3D3535;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Fonts */
    --font-minecraft: 'Minecraft', 'Courier New', monospace;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-py: 80px;
    --container-px: 24px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hide content until loaded */
body.loading {
    overflow: hidden;
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 24px;
}

/* Minecraft Diamond/Block Spinner */
.spinner-block {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinBlock 2s ease-in-out infinite;
}

.spinner-block svg {
    width: 100%;
    height: 100%;
}

@keyframes spinBlock {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg);
    }

    25% {
        transform: translate(-50%, -50%) rotateY(90deg) rotateX(15deg);
    }

    50% {
        transform: translate(-50%, -50%) rotateY(180deg) rotateX(0deg);
    }

    75% {
        transform: translate(-50%, -50%) rotateY(270deg) rotateX(-15deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateY(360deg) rotateX(0deg);
    }
}

.loading-text {
    font-family: var(--font-minecraft);
    font-size: 16px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.loading-dots {
    display: inline-block;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--mc-green-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mc-green-hover);
}

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ===== Navigation - Official Style ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-dark-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    height: 64px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    height: 36px;
    width: auto;
}

.nav-title {
    font-family: var(--font-minecraft);
    font-size: 20px;
    color: var(--text-white);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-white);
    background: var(--bg-dark-hover);
}

.nav-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--mc-green-primary);
    color: var(--bg-dark-secondary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--mc-green-hover);
    transform: translateY(-1px);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* ===== Hero Section - Minecraft Banner Style ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(29, 30, 31, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23222" width="100" height="100"/><rect fill="%23333" x="0" y="0" width="50" height="50"/><rect fill="%23333" x="50" y="50" width="50" height="50"/></svg>');
    background-size: cover, 8px 8px;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
}

.hero-glow.green {
    background: var(--mc-green-primary);
    top: -200px;
    left: -100px;
}

.hero-glow.aqua {
    background: var(--accent-aqua);
    bottom: -200px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(60, 179, 113, 0.15);
    border: 1px solid rgba(60, 179, 113, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--mc-green-primary);
    font-weight: 600;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(60, 179, 113, 0.3));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-family: var(--font-minecraft);
    font-size: clamp(36px, 8vw, 72px);
    color: var(--text-white);
    margin-bottom: 16px;
    text-shadow: 3px 3px 0 var(--bg-dark-secondary);
    letter-spacing: 4px;
}

.hero-title span {
    color: var(--mc-green-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Server Connect Area (badge + IP box) */
.server-connect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.server-connect .hero-badge {
    margin-bottom: 0;
}

/* Server Address Box */
.server-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-dark-card);
    border: 2px solid var(--bg-dark-elevated);
    border-radius: 8px;
    padding: 16px 24px;
}

.server-address {
    font-family: var(--font-minecraft);
    font-size: 22px;
    color: var(--mc-green-primary);
    letter-spacing: 1px;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--mc-green-primary);
    color: var(--bg-dark-secondary);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: var(--mc-green-hover);
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: var(--accent-gold);
}

.btn-copy svg {
    width: 16px;
    height: 16px;
}

/* Platform Badges */
.platform-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-elevated);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.platform-badge:hover {
    border-color: var(--mc-green-primary);
    transform: translateY(-2px);
}

.platform-badge.java {
    color: var(--accent-gold);
}

.platform-badge.bedrock {
    color: var(--accent-aqua);
}

.platform-badge.cracked {
    color: var(--accent-purple);
}

.platform-badge svg {
    width: 20px;
    height: 20px;
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--mc-green-primary);
    color: var(--bg-dark-secondary);
}

.btn-primary:hover {
    background: var(--mc-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(60, 179, 113, 0.4);
}

.btn-secondary {
    background: var(--bg-dark-card);
    color: var(--text-white);
    border: 1px solid var(--bg-dark-elevated);
}

.btn-secondary:hover {
    background: var(--bg-dark-hover);
    border-color: var(--mc-green-primary);
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ===== Section Styling ===== */
.section {
    padding: var(--section-py) 0;
}

.section-alt {
    background: var(--bg-dark-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(60, 179, 113, 0.1);
    color: var(--mc-green-primary);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-badge svg {
    width: 14px;
    height: 14px;
}

.section-title {
    font-family: var(--font-minecraft);
    font-size: clamp(24px, 5vw, 40px);
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Server Status Grid ===== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.status-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-elevated);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.status-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.status-card:hover {
    border-color: var(--mc-green-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.status-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.status-icon.online {
    background: rgba(60, 179, 113, 0.15);
    color: var(--mc-green-primary);
}

.status-icon.players {
    background: rgba(85, 255, 255, 0.15);
    color: var(--accent-aqua);
}

.status-icon.version {
    background: rgba(255, 170, 0, 0.15);
    color: var(--accent-gold);
}

.status-icon.address {
    background: rgba(170, 0, 170, 0.15);
    color: var(--accent-purple);
}

.status-icon svg {
    width: 24px;
    height: 24px;
}

.status-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.status-value {
    font-family: var(--font-minecraft);
    font-size: 24px;
    color: var(--text-white);
}

.status-value.online {
    color: var(--mc-green-primary);
}

.status-value.offline {
    color: var(--accent-red);
}

/* MOTD Display */
.motd-container {
    margin-top: 40px;
    text-align: center;
}

.motd-box {
    display: inline-block;
    background: #000;
    border: 4px solid #555;
    border-radius: 4px;
    padding: 20px 40px;
    font-family: var(--font-minecraft);
    font-size: 14px;
    box-shadow: inset 0 0 0 2px #222;
}

/* ===== Game Modes Grid ===== */
.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gamemode-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-elevated);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.gamemode-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.gamemode-card:hover {
    border-color: var(--mc-green-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gamemode-banner {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gamemode-banner.bedwars {
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
}

.gamemode-banner.survival {
    background: linear-gradient(135deg, #228B22 0%, #90EE90 100%);
}

.gamemode-banner.skyblock {
    background: linear-gradient(135deg, #00CED1 0%, #87CEEB 100%);
}

.gamemode-banner.prison {
    background: linear-gradient(135deg, #4B0082 0%, #9370DB 100%);
}

.gamemode-banner.factions {
    background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
}

.gamemode-banner.creative {
    background: linear-gradient(135deg, #4169E1 0%, #87CEFA 100%);
}

.gamemode-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.gamemode-icon svg {
    width: 48px;
    height: 48px;
    color: var(--text-white);
}

.gamemode-content {
    padding: 24px;
}

.gamemode-title {
    font-family: var(--font-minecraft);
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.gamemode-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.gamemode-features {
    list-style: none;
    margin-bottom: 20px;
}

.gamemode-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-gray);
    border-bottom: 1px solid var(--bg-dark-elevated);
}

.gamemode-features li:last-child {
    border-bottom: none;
}

.gamemode-features li svg {
    width: 16px;
    height: 16px;
    color: var(--mc-green-primary);
    flex-shrink: 0;
}

.gamemode-commands {
    background: var(--bg-dark-secondary);
    border-radius: 6px;
    padding: 16px;
}

.gamemode-commands h4 {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gamemode-commands code {
    display: block;
    font-family: var(--font-minecraft);
    font-size: 12px;
    color: var(--mc-green-primary);
    padding: 4px 0;
}

/* Coming Soon Ribbon & Status */
.gamemode-card.coming-soon {
    opacity: 0.85;
}

.gamemode-card.coming-soon:hover {
    opacity: 1;
}

.coming-soon-ribbon {
    position: absolute;
    top: 16px;
    right: -35px;
    background: var(--accent-gold);
    color: var(--bg-dark-secondary);
    font-family: var(--font-minecraft);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    z-index: 10;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.gamemode-banner {
    position: relative;
    overflow: hidden;
}

.coming-soon-status {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #FF8C00 100%);
    color: var(--bg-dark-secondary);
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-family: var(--font-minecraft);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== Documentation Section ===== */
.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

.docs-nav {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}

.docs-nav-list {
    list-style: none;
}

.docs-nav-item {
    margin-bottom: 4px;
}

.docs-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.docs-nav-link:hover,
.docs-nav-link.active {
    color: var(--mc-green-primary);
    background: rgba(60, 179, 113, 0.1);
    border-left-color: var(--mc-green-primary);
}

.docs-nav-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.docs-content {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-elevated);
    border-radius: 12px;
    padding: 40px;
}

.doc-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--bg-dark-elevated);
}

.doc-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.doc-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-minecraft);
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.doc-title svg {
    width: 24px;
    height: 24px;
    color: var(--mc-green-primary);
}

.doc-content {
    color: var(--text-gray);
    line-height: 1.8;
}

.doc-content h3 {
    color: var(--text-white);
    font-size: 16px;
    margin: 28px 0 14px;
    font-weight: 700;
}

.doc-content p {
    margin-bottom: 16px;
}

.doc-content ul,
.doc-content ol {
    margin: 16px 0 16px 24px;
}

.doc-content li {
    margin-bottom: 8px;
}

.doc-content code {
    background: rgba(60, 179, 113, 0.15);
    color: var(--mc-green-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-minecraft);
    font-size: 13px;
}

.doc-content pre {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--bg-dark-elevated);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.doc-content pre code {
    background: none;
    padding: 0;
    display: block;
    line-height: 1.8;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.doc-table th,
.doc-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--bg-dark-elevated);
}

.doc-table th {
    background: var(--bg-dark-secondary);
    color: var(--mc-green-primary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-table tr:hover td {
    background: rgba(60, 179, 113, 0.05);
}

/* ===== Support Section ===== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.support-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-elevated);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.support-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.support-card:hover {
    border-color: var(--mc-green-primary);
    transform: translateY(-4px);
}

.support-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.support-icon.coffee {
    background: linear-gradient(135deg, #FFDD00, #FBB034);
}

.support-icon.crypto {
    background: linear-gradient(135deg, #627EEA, #8B5CF6);
}

.support-icon svg {
    width: 36px;
    height: 36px;
    color: var(--text-white);
}

.support-title {
    font-family: var(--font-minecraft);
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.support-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.support-btn.coffee {
    background: #FFDD00;
    color: #000;
}

.support-btn.coffee:hover {
    background: #FBB034;
    transform: translateY(-2px);
}

.crypto-box {
    background: var(--bg-dark-secondary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.crypto-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.crypto-address {
    font-family: var(--font-minecraft);
    font-size: 11px;
    color: var(--accent-aqua);
    word-break: break-all;
    margin-bottom: 16px;
    line-height: 1.5;
}

.copy-crypto {
    background: var(--mc-green-primary);
    color: var(--bg-dark-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.copy-crypto:hover {
    background: var(--mc-green-hover);
}

.networks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.network-tag {
    background: var(--bg-dark-elevated);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== Donation Goal Progress Bar ===== */
.donation-goal {
    max-width: 600px;
    margin: 0 auto 48px;
    background: #232425;
    border: 1px solid #2A2B2C;
    border-radius: 12px;
    padding: 28px 32px;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.goal-title {
    font-family: var(--font-minecraft);
    font-size: 16px;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin: 0;
}

.goal-month {
    font-size: 12px;
    color: #888888;
    background: #141414;
    padding: 6px 12px;
    border-radius: 4px;
}

.goal-progress-container {
    position: relative;
}

.goal-progress-bar {
    width: 100%;
    height: 28px;
    background: #141414;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.goal-progress {
    height: 100%;
    background: linear-gradient(90deg, #3CB371 0%, #7FBA00 100%);
    border-radius: 14px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 0;
    box-shadow: 0 0 10px rgba(60, 179, 113, 0.5);
}

.goal-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 14px 14px 0 0;
}

.goal-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.goal-current {
    color: #3CB371;
    font-weight: 700;
    font-size: 14px;
}

.goal-current span {
    font-family: var(--font-minecraft);
    font-size: 20px;
}

.goal-percentage {
    font-family: var(--font-minecraft);
    font-size: 22px;
    color: #FFFFFF;
    background: linear-gradient(90deg, #3CB371 0%, #7FBA00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.goal-target {
    color: #888888;
    font-size: 14px;
}

.goal-target span {
    font-family: var(--font-minecraft);
    color: #CCCCCC;
}

/* ===== Newsletter Subscription Section ===== */
.newsletter-section {
    background: linear-gradient(135deg, rgba(60, 179, 113, 0.1) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-top: 1px solid rgba(60, 179, 113, 0.2);
    border-bottom: 1px solid rgba(60, 179, 113, 0.2);
}

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

.newsletter-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3CB371 0%, #7FBA00 100%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(60, 179, 113, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(60, 179, 113, 0.6);
    }
}

.newsletter-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bg-dark-secondary);
}

.newsletter-title {
    font-family: var(--font-minecraft);
    font-size: clamp(24px, 5vw, 36px);
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.newsletter-desc {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.subscribe-form {
    margin-bottom: 20px;
}

.subscribe-input-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-input-group input {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    background: var(--bg-dark-card);
    border: 2px solid var(--bg-dark-elevated);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 15px;
    outline: none;
    transition: all var(--transition-fast);
}

.subscribe-input-group input:focus {
    border-color: var(--mc-green-primary);
    box-shadow: 0 0 0 3px rgba(60, 179, 113, 0.2);
}

.subscribe-input-group input::placeholder {
    color: var(--text-muted);
}

.subscribe-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(90deg, #3CB371 0%, #7FBA00 100%);
    color: var(--bg-dark-secondary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(60, 179, 113, 0.4);
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscribe-btn svg {
    width: 18px;
    height: 18px;
}

.subscribe-message {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}

.subscribe-message.success {
    color: var(--mc-green-primary);
}

.subscribe-message.error {
    color: var(--accent-red);
}

.newsletter-privacy {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Vote Section ===== */
.vote-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 15px;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.vote-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-elevated);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.vote-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.vote-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.vote-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 170, 0, 0.15);
    border-radius: 12px;
}

.vote-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
}

.vote-site {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 14px;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-gold), #FF8C00);
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 170, 0, 0.4);
}

.vote-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--bg-dark-elevated);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 36px;
    height: 36px;
}

.footer-name {
    font-family: var(--font-minecraft);
    font-size: 18px;
    letter-spacing: 2px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-white);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

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

.footer-links a svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--bg-dark-elevated);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 11px !important;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 16px !important;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--mc-green-primary);
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-address {
    font-family: var(--font-minecraft);
    color: var(--mc-green-primary);
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    :root {
        --section-py: 60px;
        --container-px: 20px;
    }

    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gamemodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .docs-nav {
        position: static;
        display: flex;
        overflow-x: auto;
        padding-bottom: 16px;
        margin-bottom: 24px;
        -webkit-overflow-scrolling: touch;
    }

    .docs-nav-list {
        display: flex;
        gap: 8px;
    }

    .docs-nav-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 14px;
    }

    .docs-nav-link.active {
        border-left: none;
        border-bottom-color: var(--mc-green-primary);
    }

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

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: clamp(32px, 7vw, 56px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 50px;
        --container-px: 16px;
    }

    /* Navigation for mobile */
    .navbar {
        height: 56px;
    }

    .nav-logo {
        height: 32px;
    }

    .nav-title {
        font-size: 16px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-top: 1px solid var(--bg-dark-elevated);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .nav-cta {
        display: none;
    }

    /* Hero for mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
        padding: 0 8px;
    }

    .server-box {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        width: 100%;
        max-width: 320px;
    }

    .server-address {
        font-size: 18px;
    }

    .btn-copy {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .platform-badges {
        gap: 8px;
        margin-bottom: 28px;
    }

    .platform-badge {
        padding: 8px 12px;
        font-size: 11px;
    }

    .platform-badge svg {
        width: 16px;
        height: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    /* Sections for mobile */
    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

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

    .status-card {
        padding: 20px 16px;
    }

    .status-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .status-icon svg {
        width: 20px;
        height: 20px;
    }

    .status-value {
        font-size: 18px;
    }

    .motd-box {
        padding: 16px 20px;
        font-size: 12px;
        max-width: 100%;
        overflow-x: auto;
    }

    .gamemodes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gamemode-banner {
        height: 120px;
    }

    .gamemode-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .gamemode-icon svg {
        width: 32px;
        height: 32px;
    }

    .gamemode-content {
        padding: 20px;
    }

    .gamemode-title {
        font-size: 16px;
    }

    .gamemode-desc {
        font-size: 13px;
    }

    .gamemode-features li {
        font-size: 12px;
        padding: 6px 0;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support-card {
        padding: 28px 24px;
    }

    .crypto-address {
        font-size: 10px;
    }

    .vote-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vote-card {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .docs-content {
        padding: 20px;
    }

    .doc-title {
        font-size: 18px;
    }

    .doc-content {
        font-size: 14px;
    }

    .doc-table th,
    .doc-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .doc-content pre {
        padding: 16px;
        font-size: 12px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .status-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .status-card {
        padding: 16px 12px;
    }

    .status-value {
        font-size: 16px;
    }

    .status-label {
        font-size: 10px;
    }

    .platform-badges {
        flex-direction: column;
        align-items: center;
    }

    .platform-badge {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* ===== Lazy Load Animation ===== */
.lazy-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .status-card:hover,
    .gamemode-card:hover,
    .support-card:hover,
    .vote-card:hover,
    .platform-badge:hover {
        transform: none;
    }

    .btn:hover,
    .btn-copy:hover,
    .nav-cta:hover {
        transform: none;
    }
}