* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    font-family: 'Trebuchet MS', 'Verdana', sans-serif;
    background: linear-gradient(to bottom, #88d5ff 0%, #bfe8ff 28%, #8ed66d 28%, #6cb64a 100%);
    color: #1f1f1f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0)),
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.04) 0,
            rgba(0,0,0,0.04) 2px,
            transparent 2px,
            transparent 8px
        );
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 32px));
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 48px);
    background: linear-gradient(#d7d3c9, #b7b2a6);
    border: 6px solid #6f6d67;
    box-shadow: 0 0 0 4px #e9e1d4, 0 0 0 10px #8a8179, 12px 12px 0 rgba(0,0,0,0.2);
}

.header {
    position: relative;
    background: linear-gradient(#7fc96c, #4e9a3b);
    border-bottom: 6px solid #2d5e23;
    padding: 44px 20px 36px;
    text-align: center;
    box-shadow: inset 0 0 0 4px #a9e07d;
}

.header-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 82px;
    gap: 18px;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-content h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f7f2a8;
    text-shadow: 3px 3px 0 #2b2f2a, 6px 6px 0 rgba(0,0,0,0.25);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f5f0d0;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.32);
}

.back-btn {
    justify-self: start;
}

.admin-toggle-btn {
    justify-self: end;
}

.main-content {
    flex: 1;
    padding: 32px 20px 10px;
}

.server-info {
    margin-bottom: 32px;
    text-align: center;
}

.info-box,
.featured-card {
    max-width: 620px;
    margin: 0 auto;
    background: linear-gradient(#dfe5d2, #b7c0a5);
    border: 5px solid #5f6d52;
    box-shadow: inset 0 0 0 4px #edf4d7;
    padding: 28px 20px;
    color: #1f2a1c;
}

.info-box h2,
.featured-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2d3d28;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.3);
}

.ip-address,
.player-count {
    background: linear-gradient(#ebe4c5, #d2c99b);
    border: 4px solid #8b7241;
    padding: 18px 16px;
    margin-bottom: 14px;
    box-shadow: inset 0 0 0 2px #f8f1c8;
}

.label {
    color: #4d4028;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    margin-bottom: 8px;
}

.ip {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #2b5f2d;
    margin-bottom: 16px;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.4);
}

.player-count .count {
    font-size: 1.5rem;
    font-weight: 800;
    color: #5a3f1f;
}

.copy-btn,
.action-btn,
.coming-soon-content button,
.support-link,
.coming-soon-content .close-btn {
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.copy-btn {
    background: linear-gradient(#f1d26a, #dbab45);
    color: #2b1d0d;
    border: 4px solid #7d5324;
    padding: 12px 22px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px #f7ebae;
    transition: transform 0.15s ease;
}

.copy-btn:hover,
.action-btn:hover,
.coming-soon-content button:hover,
.support-link:hover,
.coming-soon-content .close-btn:hover {
    transform: translateY(-2px);
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(#f7d986, #dca646);
    border: 5px solid #865d2a;
    box-shadow: inset 0 0 0 3px #f9e9b2, 0 6px 0 rgba(64,38,13,0.4);
    padding: 20px 18px;
    color: #2b1a10;
    text-align: left;
    cursor: pointer;
    min-height: 130px;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.action-btn:hover {
    filter: brightness(1.04);
}

.btn-icon {
    font-size: 2.8rem;
    width: 70px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.btn-text h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 900;
}

.btn-text p {
    font-size: 0.9rem;
    color: rgba(32, 24, 17, 0.85);
    letter-spacing: 0.04em;
}

.updates-btn { background: linear-gradient(#9bd6ff, #62aef1); border-color: #345c9f; }
.discord-btn { background: linear-gradient(#b5d3ff, #7a9ae8); border-color: #434ca0; }
.staff-btn { background: linear-gradient(#f1d6a8, #d5a35d); border-color: #7b5629; }
.donate-btn { background: linear-gradient(#f4b177, #d96b45); border-color: #7f422a; }

.featured {
    margin-top: 34px;
    margin-bottom: 20px;
}

.featured-card {
    max-width: 780px;
    text-align: center;
    padding: 28px 30px;
}

.featured-card p {
    line-height: 1.7;
    font-size: 1.08rem;
    color: #2d312e;
}

.footer {
    background: linear-gradient(#3c3d36, #20231e);
    border-top: 5px solid #8b8d7e;
    color: #d4d7d1;
    padding: 18px 20px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.coming-soon-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.coming-soon-content {
    background: linear-gradient(#e0e0d8, #bcb9ae);
    border: 5px solid #6f6d67;
    box-shadow: inset 0 0 0 4px #f2efe7, 0 12px 0 rgba(0,0,0,0.2);
    max-width: 520px;
    width: 100%;
    padding: 28px 24px;
    text-align: center;
    color: #1e1f1b;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 12px;
}

.coming-soon-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2d3a28;
}

.coming-soon-content p {
    margin-bottom: 14px;
    line-height: 1.7;
    font-size: 1rem;
    color: #30352e;
}

.coming-soon-content button,
.coming-soon-content .close-btn {
    background: linear-gradient(#ef7a62, #d95840);
    color: #fff;
    border: 4px solid #7f3223;
    padding: 12px 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px #f6b0a0;
    margin-top: 10px;
}

.support-link {
    display: inline-block;
    background: linear-gradient(#7db9ff, #4c85d8);
    color: #fff;
    text-decoration: none;
    border: 4px solid #2f4d92;
    padding: 12px 18px;
    margin: 8px 6px;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px #b8d7ff;
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 16px, 1200px);
        margin: 12px auto;
    }

    .header {
        padding: 30px 14px 26px;
    }

    .button-grid {
        grid-template-columns: 1fr;
    }

    .action-btn {
        flex-direction: column;
        text-align: center;
    }

    .featured-card,
    .info-box {
        padding: 20px 16px;
    }
}

.coming-soon-content {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border: 3px solid #ff6b6b;
    border-radius: 18px;
    padding: 32px 28px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 107, 107, 0.2);
}

.coming-soon-content h2 {
    color: #ff6b6b;
    font-size: 2em;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.coming-soon-content p {
    color: #d0d0d0;
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 1rem;
}

.coming-soon-content a {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    margin: 8px 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coming-soon-content a:hover {
    transform: translateY(-2px);
}

.coming-soon-content .discord-action {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

.coming-soon-content .nitro-action {
    background: #00d4ff;
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.35);
}

.coming-soon-content .close-btn {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 18px;
    transition: all 0.2s ease;
}

.coming-soon-content .close-btn:hover {
    background: #ff8787;
    transform: translateY(-2px);
}

/* Featured Section */
.featured {
    margin-bottom: 40px;
}

.featured-card {
    background: linear-gradient(135deg, rgba(7, 23, 38, 0.9) 0%, rgba(19, 46, 72, 0.9) 100%);
    border: 3px solid #3ad6ff;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 32px rgba(0, 212, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 212, 255, 0.22) 0%,
        transparent 100%
    );
    transition: all 0.4s ease;
}

.featured-card:hover {
    border-color: #7fe9ff;
    box-shadow: 0 14px 48px rgba(0, 212, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.35);
    transform: translateY(-5px);
}

.featured-card:hover::before {
    top: 0;
}

.featured-card h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 18px rgba(102, 224, 255, 0.8), 2px 2px 0 rgba(0,0,0,0.35);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.featured-card p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #eef9ff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(83, 52, 131, 0.2) 100%);
    padding: 25px;
    text-align: center;
    border-top: 2px solid #00d4ff;
    margin-top: auto;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.footer p {
    color: #888;
    font-size: 0.95em;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5em;
    }

    .button-grid {
        grid-template-columns: 1fr;
    }

    .action-btn {
        flex-direction: column;
        text-align: center;
    }

    .info-box {
        padding: 20px;
    }

    .featured-card {
        padding: 25px;
    }
}

/* Coming Soon Modal */
.coming-soon-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.coming-soon-content {
    background: linear-gradient(135deg, #0f3460 0%, #1a2a4a 100%);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.4), 0 0 30px rgba(255, 107, 107, 0.3);
    animation: slideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.coming-soon-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    animation: float 4s ease-in-out infinite;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.coming-soon-icon {
    font-size: 5em;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.coming-soon-content h2 {
    color: #ff6b6b;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    position: relative;
    z-index: 1;
}

.coming-soon-content p {
    color: #d0d0d0;
    font-size: 1.15em;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.coming-soon-content button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.05em;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    position: relative;
    z-index: 1;
}

.coming-soon-content button:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
}

.coming-soon-content button:active {
    transform: scale(0.95);
}

.support-link {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    color: #000;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    margin: 12px 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    position: relative;
    z-index: 1;
}

.support-link:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.6);
}

.support-link:active {
    transform: scale(0.95);
}
