/* Premium Minecraft Server Network - AAA Hypixel/Mineplex Level Styling */


:root {
    --mc-gold: #ffaa00;
    --mc-yellow: #ffff55;
    --mc-green: #55ff55;
    --mc-dark-green: #00aa00;
    --mc-aqua: #55ffff;
    --mc-dark-aqua: #00aaaa;
    --mc-blue: #5555ff;
    --mc-dark-blue: #0000aa;
    --mc-red: #ff5555;
    --mc-dark-red: #aa0000;
    --mc-purple: #ff55ff;
    --mc-dark-purple: #aa00aa;
    --mc-white: #ffffff;
    --mc-gray: #aaaaaa;
    --mc-dark-gray: #555555;

    --bg-dark: #0a0c10;
    --bg-panel: #11141b;
    --bg-surface: #181d26;
    --bg-surface-hover: #1f2532;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(85, 255, 255, 0.25);

    --font-pixel: 'Press Start 2P', monospace;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: #e2e8f0;
    font-family: var(--font-heading);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Atmosphere */
.ambient-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 170, 170, 0.18) 0%, rgba(85, 255, 85, 0.08) 35%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-bottom {
    position: absolute;
    bottom: 200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(170, 0, 170, 0.12) 0%, transparent 60%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

/* Navigation Bar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.block-logo {
    width: 44px;
    height: 44px;
    position: relative;
    transform: rotateX(15deg) rotateY(-20deg);
    transform-style: preserve-3d;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
    animation: floatBlock 4s ease-in-out infinite;
}

@keyframes floatBlock {
    0%, 100% { transform: translateY(0px) rotateX(15deg) rotateY(-20deg); }
    50% { transform: translateY(-6px) rotateX(15deg) rotateY(-20deg); }
}

.brand-text-mc {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-pixel);
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    letter-spacing: -1px;
}

.brand-name span {
    color: var(--mc-aqua);
    text-shadow: 2px 2px 0 #000, 0 0 12px rgba(85, 255, 255, 0.6);
}

.brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mc-gold);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--mc-green);
    border-radius: 50%;
}

/* 3D Minecraft Buttons */
.mc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-pixel);
    font-size: 0.82rem;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    padding: 0.85rem 1.6rem;
    border-radius: 4px;
    border: none;
    transition: all 0.1s ease;
}

.mc-btn-primary {
    background: linear-gradient(180deg, #44b73b 0%, #298c21 100%);
    color: #fff;
    border-top: 3px solid #71d969;
    border-left: 3px solid #71d969;
    border-right: 3px solid #195814;
    border-bottom: 4px solid #113c0e;
    text-shadow: 2px 2px 0 #13420f;
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.mc-btn-primary:hover {
    background: linear-gradient(180deg, #4ecf44 0%, #2f9f25 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 183, 59, 0.4);
}

.mc-btn-primary:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

.mc-btn-secondary {
    background: linear-gradient(180deg, #2b3342 0%, #1c222c 100%);
    color: #cbd5e1;
    border-top: 3px solid #434f66;
    border-left: 3px solid #434f66;
    border-right: 3px solid #12161d;
    border-bottom: 4px solid #0d1015;
    text-shadow: 2px 2px 0 #0d1015;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.mc-btn-secondary:hover {
    background: linear-gradient(180deg, #374154 0%, #222935 100%);
    color: #fff;
    transform: translateY(-2px);
}

.mc-btn-store {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
    color: #fff;
    border-top: 3px solid #fcd34d;
    border-left: 3px solid #fcd34d;
    border-right: 3px solid #78350f;
    border-bottom: 4px solid #451a03;
    text-shadow: 2px 2px 0 #78350f;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3);
}

.mc-btn-store:hover {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 3rem;
    text-align: center;
}

.season-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(17, 20, 27, 0.9);
    border: 1px solid var(--border-accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mc-aqua);
    margin-bottom: 1.75rem;
    box-shadow: 0 0 20px rgba(85, 255, 255, 0.15);
}

.season-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--mc-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--mc-green);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-title span.highlight {
    background: linear-gradient(135deg, #55ffff 0%, #55ff55 50%, #ffff55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Server IP Connect Card */
.server-connect-banner {
    display: inline-flex;
    align-items: center;
    background: var(--bg-surface);
    border: 2px solid #2a3342;
    border-radius: 12px;
    padding: 0.6rem 0.8rem 0.6rem 1.75rem;
    gap: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    margin-bottom: 2.75rem;
    transition: border-color 0.2s ease;
}

.server-connect-banner:hover {
    border-color: var(--mc-aqua);
}

.ip-label-group {
    text-align: left;
}

.ip-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748b;
}

.ip-value {
    font-family: var(--font-pixel);
    font-size: 1.05rem;
    color: var(--mc-yellow);
    letter-spacing: -0.5px;
}

.copy-btn-interactive {
    background: #232b38;
    border: 1px solid #3b475c;
    color: #fff;
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.copy-btn-interactive:hover {
    background: #2e3849;
    border-color: var(--mc-aqua);
    color: var(--mc-aqua);
}

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

/* Network Highlights Counter */
.network-highlights {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto 4.5rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .network-highlights { grid-template-columns: repeat(2, 1fr); }
}

.highlight-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.highlight-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: #1c222d;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-content h4 {
    font-family: var(--font-pixel);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.highlight-content p {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* Realm Roster Section */
.realms-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto 4.5rem;
    padding: 0 1.5rem;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.section-heading-mc {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading-mc span {
    font-family: var(--font-pixel);
    font-size: 1.6rem;
    color: var(--mc-aqua);
    margin-left: 0.5rem;
}

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

.realm-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.realm-card-banner {
    height: 120px;
    position: relative;
    padding: 1.25rem;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.realm-card-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 20, 27, 0.2) 0%, rgba(17, 20, 27, 0.95) 100%);
}

.realm-tag {
    position: relative;
    z-index: 1;
    font-family: var(--font-pixel);
    font-size: 0.68rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--mc-yellow);
}

.realm-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.realm-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.realm-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.realm-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mc-green);
}

.realm-status-indicator .circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mc-green);
}

/* Genuine Minecraft In-Game Formatting §-Style */
.mc-motd-box {
    background: #090b0e;
    border: 1px solid #202633;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: var(--font-pixel);
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--mc-aqua);
}

.mc-color-green { color: var(--mc-green); }
.mc-color-yellow { color: var(--mc-yellow); }
.mc-color-gold { color: var(--mc-gold); }
.mc-color-aqua { color: var(--mc-aqua); }
.mc-color-gray { color: var(--mc-gray); }
.mc-color-red { color: var(--mc-red); }
.mc-color-white { color: var(--mc-white); }

.realm-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #64748b;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    margin-top: auto;
}

.realm-meta-row span.val {
    color: #cbd5e1;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Voxel Streaming Live Telemetry Showcase */
.stream-showcase {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.stream-card {
    background: linear-gradient(135deg, rgba(17, 20, 27, 0.95) 0%, rgba(24, 29, 38, 0.95) 100%);
    border: 1px solid rgba(85, 255, 255, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .stream-card { grid-template-columns: 1fr; }
}

.stream-info h3 {
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stream-info p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    font-size: 0.98rem;
}

.stream-endpoint-bar {
    background: #090b0e;
    border: 1px solid #232b38;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--mc-aqua);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stream-endpoint-bar code {
    color: var(--mc-yellow);
}

.stream-stats-panel {
    background: #090b0e;
    border: 1px solid #202633;
    border-radius: 12px;
    padding: 1.5rem;
}

.stream-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
}

.stream-stat-item:last-child {
    border-bottom: none;
}

.stream-stat-item .key {
    color: #64748b;
}

.stream-stat-item .val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #f1f5f9;
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    background: #07080a;
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 1.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy {
    color: #64748b;
    font-size: 0.88rem;
}

.footer-copy a {
    color: var(--mc-aqua);
    text-decoration: none;
}

.footer-nav {
    display: flex;
    gap: 1.75rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: #fff;
}
