/* ============================================================
   XMMO — gaming network page
   WittyBits Studio · 2026
   ============================================================ */

:root {
    --xmmo-blue   : #0066FF;   /* WittyBits blue */
    --xmmo-cyan   : #00D4FF;   /* WittyBits cyan */
    --xmmo-orange : #F97316;   /* XMMO signature orange */
    --xmmo-b-glow : rgba(0, 102, 255, 0.12);
    --xmmo-o-glow : rgba(249, 115, 22, 0.10);
}

/* ── HERO ─────────────────────────────────────────────────── */
.xmmo-hero {
    position: relative;
    min-height: 100vh;
    margin-top: 80px;
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a0a0f;
}

/* Grid overlay — network feel */
.xmmo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* Ambient glows */
.xmmo-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.xmmo-glow-1 {
    width: 700px; height: 700px;
    background: var(--xmmo-b-glow);
    top: -200px; left: -150px;
}
.xmmo-glow-2 {
    width: 500px; height: 500px;
    background: var(--xmmo-o-glow);
    bottom: -100px; right: -100px;
}
.xmmo-glow-3 {
    width: 350px; height: 350px;
    background: rgba(0, 212, 255, 0.06);
    top: 30%; left: 40%;
}

/* Circuit nodes */
.xmmo-node {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: xmmo-node-pulse 3s ease-in-out infinite;
}
.xmmo-node-1 { width:6px;height:6px;background:var(--xmmo-blue);  top:20%;left:15%; animation-delay:0s;   box-shadow:0 0 8px var(--xmmo-blue); }
.xmmo-node-2 { width:4px;height:4px;background:var(--xmmo-cyan);  top:65%;left:8%;  animation-delay:0.8s; box-shadow:0 0 6px var(--xmmo-cyan); }
.xmmo-node-3 { width:8px;height:8px;background:var(--xmmo-orange);top:35%;left:50%; animation-delay:1.2s; box-shadow:0 0 10px var(--xmmo-orange); }
.xmmo-node-4 { width:5px;height:5px;background:var(--xmmo-blue);  top:75%;left:60%; animation-delay:0.4s; box-shadow:0 0 7px var(--xmmo-blue); }
.xmmo-node-5 { width:4px;height:4px;background:var(--xmmo-cyan);  top:15%;left:75%; animation-delay:1.6s; box-shadow:0 0 6px var(--xmmo-cyan); }

@keyframes xmmo-node-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.5); }
}

/* Ghost watermark */
.xmmo-hero-ghost {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 16vw, 14rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 102, 255, 0.06);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

/* Inner layout */
.xmmo-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ── Hero text ── */
.xmmo-hero-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.xmmo-hero-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--xmmo-blue);
    border: 1px solid rgba(0, 102, 255, 0.35);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
}

.xmmo-status-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
}

.xmmo-status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00cc44;
    box-shadow: 0 0 6px #00cc44;
    animation: xmmo-online 2s ease-in-out infinite;
}

@keyframes xmmo-online {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; box-shadow: 0 0 10px #00cc44; }
}

.xmmo-hero-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, #fff 10%, var(--xmmo-cyan) 50%, var(--xmmo-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.xmmo-hero-tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-left: 3px solid var(--xmmo-blue);
    padding-left: 1rem;
    margin-bottom: 1.2rem;
}

.xmmo-hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 460px;
}

.xmmo-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.xmmo-tech-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
    background: rgba(255,255,255,0.02);
}

.xmmo-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    border: 1px dashed rgba(0, 102, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}

/* ── Hero right: logo + network visual ── */
.xmmo-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.xmmo-hero-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xmmo-hero-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(0,102,255,0.08) 0%, rgba(249,115,22,0.04) 50%, transparent 70%);
    border-radius: 50%;
    animation: xmmo-logo-glow 5s ease-in-out infinite;
}

@keyframes xmmo-logo-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%       { transform: scale(1.12); opacity: 1; }
}

.xmmo-hero-logo {
    position: relative;
    z-index: 1;
    width: 360px;
    height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0,102,255,0.25)) drop-shadow(0 0 40px rgba(249,115,22,0.1));
}

/* ── SECTION ─────────────────────────────────────────────── */
.xmmo-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.xmmo-section-header {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.xmmo-section-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--xmmo-blue);
    opacity: 0.6;
}

.xmmo-section-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
    position: relative;
}

.xmmo-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--xmmo-blue), transparent);
    opacity: 0.3;
}

.xmmo-section-sep {
    border: none;
    border-top: 1px solid rgba(0, 102, 255, 0.07);
    margin: 0 2rem;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.xmmo-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.xmmo-about-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.xmmo-checklist {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.xmmo-checklist li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    padding-left: 1.6rem;
    position: relative;
    line-height: 1.5;
}

.xmmo-checklist li::before {
    content: '//';
    position: absolute; left: 0;
    color: var(--xmmo-blue);
    font-weight: 700;
    font-size: 0.75rem;
    opacity: 0.7;
}

.xmmo-about-frame {
    background: rgba(0, 102, 255, 0.02);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 4px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── SERVER TYPES GRID ───────────────────────────────────── */
.xmmo-servers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.xmmo-server-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(0,102,255,0.1);
    border-radius: 4px;
    padding: 1.8rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

/* alternating accent colors */
.xmmo-server-card:nth-child(3n+1) { --sc: var(--xmmo-blue); }
.xmmo-server-card:nth-child(3n+2) { --sc: var(--xmmo-cyan); }
.xmmo-server-card:nth-child(3n)   { --sc: var(--xmmo-orange); }

.xmmo-server-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--sc);
    opacity: 0.4;
}

.xmmo-server-card:hover {
    border-color: rgba(0,102,255,0.3);
    transform: translateY(-4px);
}

.xmmo-server-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.7rem;
}

.xmmo-server-title::before {
    content: '// ';
    color: var(--sc);
    opacity: 0.7;
}

.xmmo-server-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

/* ── COMMUNITY ───────────────────────────────────────────── */
.xmmo-community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.xmmo-community-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
}

.xmmo-community-card:nth-child(1):hover { border-color: rgba(0,102,255,0.3); background: rgba(0,102,255,0.03); }
.xmmo-community-card:nth-child(2):hover { border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.03); }
.xmmo-community-card:nth-child(3):hover { border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.03); }

.xmmo-community-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.xmmo-community-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.8rem;
}

.xmmo-community-title::before {
    content: '// ';
    color: var(--xmmo-cyan);
    opacity: 0.6;
}

.xmmo-community-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

/* ── PLATFORM FEATURES ───────────────────────────────────── */
.xmmo-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.xmmo-feat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 1.8rem 1.5rem;
    transition: border-color 0.3s, background 0.3s;
}

.xmmo-feat-card:hover {
    border-color: rgba(0,102,255,0.2);
    background: rgba(0,102,255,0.03);
}

.xmmo-feat-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.7rem;
}

.xmmo-feat-title::before {
    content: '// ';
    color: var(--xmmo-orange);
    opacity: 0.6;
}

.xmmo-feat-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

/* ── NEWS ────────────────────────────────────────────────── */
.xmmo-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.xmmo-news-card {
    border-left: 2px solid rgba(0, 102, 255, 0.25);
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 0 4px 4px 0;
    transition: border-color 0.3s;
}

.xmmo-news-card:nth-child(2) { border-left-color: rgba(0,212,255,0.25); }
.xmmo-news-card:nth-child(3) { border-left-color: rgba(249,115,22,0.25); }

.xmmo-news-card:nth-child(1):hover { border-color: var(--xmmo-blue); }
.xmmo-news-card:nth-child(2):hover { border-color: var(--xmmo-cyan); }
.xmmo-news-card:nth-child(3):hover { border-color: var(--xmmo-orange); }

.xmmo-news-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--xmmo-blue);
    opacity: 0.75;
}

.xmmo-news-card:nth-child(2) .xmmo-news-tag { color: var(--xmmo-cyan); }
.xmmo-news-card:nth-child(3) .xmmo-news-tag { color: var(--xmmo-orange); }

.xmmo-news-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 0.4rem 0 0.5rem;
    line-height: 1.4;
}

.xmmo-news-title::before {
    content: '> ';
    color: var(--xmmo-blue);
    opacity: 0.5;
}

.xmmo-news-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .xmmo-servers-grid   { grid-template-columns: repeat(2, 1fr); }
    .xmmo-feat-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .xmmo-hero-inner      { grid-template-columns: 1fr; text-align: center; }
    .xmmo-hero-visual     { order: -1; }
    .xmmo-hero-logo       { width: 200px; height: 200px; }
    .xmmo-hero-subtitle   { margin: 0 auto; }
    .xmmo-hero-top-row    { justify-content: center; }
    .xmmo-about-grid      { grid-template-columns: 1fr; }
    .xmmo-servers-grid    { grid-template-columns: 1fr; }
    .xmmo-community-grid  { grid-template-columns: 1fr; }
    .xmmo-feat-grid       { grid-template-columns: 1fr; }
    .xmmo-news-grid       { grid-template-columns: 1fr; }
    .xmmo-hero-ghost      { display: none; }
    .xmmo-node            { display: none; }
}
