/* =========================================================
   AltariaMC — Homepage redesign (2026)
   Palette originale: rosso brand, neri caldi, verde stato,
   blurple Discord. Nessun glow decorativo.
   ========================================================= */

@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.18); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =========================================================
   HERO
   ========================================================= */
.info.hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: max(620px, calc(100svh - 68px));
    display: block;
    overflow: hidden;
    padding: clamp(48px, 6.5vw, 88px) clamp(24px, 4vw, 56px) clamp(64px, 7vw, 92px) clamp(20px, 3vw, 44px);
}

.hero-bg {
    position: absolute;
    inset: -18px;
    z-index: -2;
    background-color: #120303;
    background-image: url("../images/hub.webp");
    background-image: image-set(
        url("../images/hub.avif") type("image/avif"),
        url("../images/hub.webp") type("image/webp"),
        url("../images/hub.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    filter: blur(1.5px) saturate(0.9);
    transform: scale(1.03);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(26, 5, 5, 0.97) 0%, rgba(26, 5, 5, 0.9) 32%, rgba(26, 5, 5, 0.62) 60%, rgba(26, 5, 5, 0.3) 100%),
        linear-gradient(180deg, rgba(26, 5, 5, 0.6) 0%, rgba(26, 5, 5, 0.12) 38%, #0d0202 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1720px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 700px;
    min-width: 0;
    text-align: left;
    animation: fadeSlideUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff8a8a;
}

.hero-kicker::before {
    content: "";
    width: 30px;
    height: 1px;
    background: #e60000;
}

.hero-title {
    margin: 0;
    font-size: clamp(2.7rem, 5.4vw, 5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.hero-title-brand {
    color: #ff2e2e;
}

.hero-tagline {
    margin: 20px 0 0;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: clamp(0.72rem, 1.1vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #ffcccc;
}

.hero-tagline span {
    color: #ff2e2e;
    margin-right: 0.35em;
}

.hero-lead {
    margin: 22px 0 0;
    max-width: 620px;
    font-size: clamp(0.95rem, 1.15vw, 1.04rem);
    line-height: 1.75;
    color: #e0d0d0;
}

.hero-quote {
    margin: 16px 0 0;
    max-width: 580px;
    padding-left: 14px;
    border-left: 2px solid rgba(255, 46, 46, 0.45);
    font-size: 0.85rem;
    line-height: 1.55;
    color: #9aa0a6;
}

.hero-quote span {
    color: #ffd1d1;
    font-weight: 600;
}

/* IP console */
.hero-ip {
    margin-top: 28px;
    max-width: 600px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(26, 5, 5, 0.78);
}

.hero-ip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9aa0a6;
}

.hero-ip-java {
    color: #b0b8c0;
    letter-spacing: 0.08em;
}

.hero-ip-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-ip-address {
    flex: 1;
    min-width: 0;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: clamp(1.02rem, 2vw, 1.26rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.copia-ip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: #e60000;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.copia-ip:hover {
    background: #ff2e2e;
    transform: translateY(-1px);
}

.copia-ip:active {
    transform: translateY(0) scale(0.98);
}

/* CTA row */
.pulsanti {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.hero-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 10px;
    background: #5865f2;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

.mostra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mostra:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.mostra span {
    color: #ff8a8a;
    transition: transform 0.2s ease;
}

.mostra:hover span {
    transform: translateY(2px);
}

/* Live stats */
.hero-live {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 640px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.live-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.live-label {
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #9aa0a6;
}

.live-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.live-value-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e0d0d0;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #555555;
    transition: background 0.3s ease;
}

.status-dot.online {
    background: #2ed573;
}

.status-dot.offline {
    background: #ff4757;
}

.skeleton {
    display: inline-block;
    min-width: 1.6em;
    color: transparent;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.08) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(320px, 38vw, 470px);
}

.emblem {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 460px);
    aspect-ratio: 1 / 1;
}

.emblem picture {
    display: contents;
}

.logo1 {
    position: relative;
    z-index: 1;
    width: min(72%, 340px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
    animation: fadeIn 1s ease 0.2s both;
}

.live-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: currentColor;
    animation: pulseDot 2.4s ease-in-out infinite;
}

/* =========================================================
   SHARED SECTION HEAD
   ========================================================= */
.modalita-section {
    position: relative;
    width: 100%;
    display: block;
    padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 40px);
    scroll-margin-top: 80px;
}

.modalita-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 24px 48px;
    margin-bottom: clamp(28px, 4vw, 46px);
}

.section-head-left {
    min-width: 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9aa0a6;
}

.eyebrow-index {
    padding: 3px 7px;
    border: 1px solid rgba(255, 46, 46, 0.32);
    border-radius: 6px;
    color: #ff2e2e;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.section-title {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.section-title span {
    color: #ff2e2e;
}

.section-subtitle {
    margin: 0 0 4px auto;
    max-width: 460px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #9aa0a6;
}

/* =========================================================
   MODES
   ========================================================= */
.modes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    gap: 20px;
}

.mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #171010;
    transition: border-color 0.3s ease;
}

.mode-card:hover {
    border-color: rgba(255, 46, 46, 0.32);
}

.mode-visual {
    position: relative;
    height: clamp(210px, 22vw, 270px);
    overflow: hidden;
    background: #171010;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mode-art {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.mode-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border: 1px solid;
    border-radius: 999px;
    background: #1a0a0a;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 1;
}

.mode-badge-live {
    color: #a8f5c2;
    border-color: rgba(46, 213, 115, 0.3);
}

.mode-badge-pvp {
    color: #ffd1d1;
    border-color: rgba(255, 46, 46, 0.32);
}

.mode-num {
    position: absolute;
    top: 13px;
    right: 16px;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.45);
}

.mode-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 24px 24px 22px;
}

.mode-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 14px;
    flex-wrap: wrap;
}

.mode-heading h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.mode-type {
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #9aa0a6;
    white-space: nowrap;
}

.mode-body > p {
    margin: 0;
    max-width: 54ch;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #b0b8c0;
}

.mode-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mode-tags li {
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #e0d0d0;
}

.mode-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mode-note {
    font-size: 0.73rem;
    color: #9aa0a6;
}

.mode-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ff8a8a;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mode-link span {
    transition: transform 0.2s ease;
}

.mode-link:hover {
    color: #ffffff;
}

.mode-link:hover span {
    transform: translateX(3px);
}

/* Coming soon */
.mode-soon {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
    align-items: center;
    gap: 24px;
    min-height: 220px;
    padding: clamp(24px, 3.6vw, 40px);
    border-style: dashed;
    border-color: rgba(255, 46, 46, 0.25);
    background: #171010;
}

.mode-soon:hover {
    border-color: rgba(255, 46, 46, 0.45);
}

.soon-copy {
    min-width: 0;
}

.soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 6px 11px;
    border: 1px solid rgba(255, 46, 46, 0.28);
    border-radius: 999px;
    background: rgba(128, 12, 12, 0.18);
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #ff8a8a;
}

.soon-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2e2e;
}

.mode-soon h3 {
    margin: 16px 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.mode-soon p {
    margin: 0;
    max-width: 46ch;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #b0b8c0;
}

.soon-note {
    display: block;
    margin-top: 14px;
    font-size: 0.76rem;
    font-style: italic;
    color: #9aa0a6;
}

.soon-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 170px;
}

.soon-portal {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(128px, 15vw, 174px);
    aspect-ratio: 1 / 1;
    border: 1px dashed rgba(255, 46, 46, 0.3);
    border-radius: 26px;
    background: #1a0a0a;
}

.soon-glyph {
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #ff8a8a;
    user-select: none;
}

/* =========================================================
   JOIN — MINECRAFT + DISCORD
   ========================================================= */
.join-section {
    width: 100%;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(64px, 8vw, 96px);
    scroll-margin-top: 80px;
}

.join-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.extra-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.mc-box {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(46, 213, 115, 0.22);
    border-radius: 18px;
    background: linear-gradient(160deg, #0e1a0e 0%, #0a0f0a 58%, #111a0e 100%);
    transition: border-color 0.3s ease;
}

.mc-box:hover {
    border-color: rgba(46, 213, 115, 0.4);
}

.mc-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(46, 213, 115, 0.24);
    border-radius: 999px;
    background: rgba(46, 213, 115, 0.14);
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #a8f5c2;
}

.live-badge.discord-live {
    border-color: rgba(88, 101, 242, 0.28);
    background: rgba(88, 101, 242, 0.12);
    color: #c2c7ff;
}

.mc-box-kicker {
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #9aa0a6;
}

.mc-box h3 {
    position: relative;
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f2edea;
}

.mc-ip {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 6px 11px;
    border: 1px solid rgba(46, 213, 115, 0.18);
    border-radius: 8px;
    background: rgba(46, 213, 115, 0.1);
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2ed573;
    overflow-wrap: anywhere;
}

.mc-stats {
    display: flex;
    align-items: stretch;
    margin-bottom: 14px;
    padding: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.mc-stat {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}

.mc-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

.mc-stat-value.small {
    font-size: 0.95rem;
    color: #d0d5dd;
}

.mc-stat-label {
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a8f98;
}

.mc-stat-divider {
    width: 1px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.07);
}

.mc-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9aa0a6;
}

.mc-status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #555555;
}

.mc-status-indicator.online { background: #2ed573; }
.mc-status-indicator.offline { background: #ff4757; }

.mc-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 12px 16px;
    border: 1px solid rgba(46, 213, 115, 0.4);
    border-radius: 10px;
    background: #2ed573;
    color: #0a0f0a;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mc-copy-btn:hover {
    background: #7ee0a0;
    transform: translateY(-1px);
}

.mc-copy-btn:active {
    transform: translateY(0) scale(0.99);
}

/* Discord */
.discord-box {
    display: flex;
    min-width: 0;
}

.discord-content {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(88, 101, 242, 0.32);
    border-radius: 18px;
    background: linear-gradient(160deg, #0f1430 0%, #0c1130 60%, #111a4a 100%);
    text-align: left;
    transition: border-color 0.3s ease;
}

.discord-content:hover {
    border-color: rgba(88, 101, 242, 0.48);
}

.discord-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.discord-icon {
    width: 36px;
    height: 36px;
    opacity: 0.95;
}

.discord-content h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #eef0ff;
}

.discord-content p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b8bddd;
}

.discord-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.1);
}

.discord-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.discord-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.discord-stat-label {
    margin-top: 3px;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Consolas, monospace);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9aa8ff;
}

.discord-stat-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #5865f2;
}

.discord-stat-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c2c7ff;
}

.discord-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 12px 20px;
    border-radius: 10px;
    background: #5865f2;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.discord-btn:active {
    transform: translateY(0);
}

/* =========================================================
   TOAST + REVEAL
   ========================================================= */
.ipcopiato {
    position: fixed;
    left: 50%;
    bottom: -80px;
    z-index: 999;
    transform: translateX(-50%);
    padding: 13px 24px 13px 20px;
    border: 1px solid rgba(46, 213, 115, 0.32);
    border-radius: 999px;
    background: #0e1a0e;
    color: #a8f5c2;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: bottom 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}

.ipcopiato::before {
    content: "✓";
    display: inline-block;
    margin-right: 8px;
    color: #2ed573;
    font-weight: 800;
}

.ipcopiato.mostra {
    bottom: 24px;
    opacity: 1;
}

.ipcopiato.errore {
    border-color: rgba(255, 71, 87, 0.35);
    background: #1a0505;
    color: #ffd1d1;
}

.ipcopiato.errore::before {
    content: "!";
    color: #ff4757;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.modes-grid > .mode-card:nth-child(2) { transition-delay: 0.08s; }
.modes-grid > .mode-card:nth-child(3) { transition-delay: 0.14s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
    .section-head {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 20px 32px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    .info.hero {
        min-height: auto;
        padding-top: 56px;
        padding-bottom: 72px;
        padding-left: clamp(20px, 4vw, 36px);
        padding-right: clamp(20px, 4vw, 36px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-copy {
        max-width: 620px;
    }

    /* Logo come filigrana: nessuna colonna extra, hero più compatta */
    .hero-visual {
        position: absolute;
        top: -12px;
        right: -56px;
        z-index: -1;
        width: 300px;
        min-height: 0;
        height: 300px;
        opacity: 0.16;
        pointer-events: none;
    }

    .emblem {
        width: 300px;
    }

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

    .mode-soon {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .soon-art {
        display: grid;
        min-height: 0;
    }

    .soon-portal {
        width: 120px;
    }

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

    .section-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .section-subtitle {
        margin: 0;
        max-width: 560px;
    }

    .join-head {
        margin-bottom: 26px;
    }
}

@media (max-width: 640px) {
    .info.hero {
        padding-top: 42px;
        padding-bottom: 64px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-kicker {
        font-size: 0.64rem;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 11vw, 3rem);
    }

    .hero-tagline {
        margin-top: 16px;
        font-size: 0.66rem;
        letter-spacing: 0.2em;
    }

    .hero-lead {
        margin-top: 18px;
        font-size: 0.94rem;
    }

    .hero-quote {
        font-size: 0.8rem;
    }

    .hero-ip {
        margin-top: 22px;
        padding: 13px 14px;
    }

    .hero-ip-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-ip-address {
        font-size: 1.08rem;
        text-align: center;
    }

    .copia-ip {
        width: 100%;
        padding: 12px 16px;
    }

    .pulsanti {
        gap: 10px;
    }

    .hero-discord,
    .mostra {
        flex: 1 1 100%;
        width: 100%;
    }

    .hero-live {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
        margin-top: 26px;
    }

    .hero-live .live-item:last-child {
        grid-column: 1 / -1;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .hero-visual {
        right: -110px;
        top: 0;
        width: 260px;
        height: 260px;
        opacity: 0.1;
    }

    .emblem {
        width: 260px;
    }

    .modalita-section {
        padding-top: 56px;
    }

    .section-title {
        font-size: clamp(1.7rem, 7.5vw, 2.1rem);
    }

    .mode-visual {
        height: 200px;
    }

    .mode-body {
        padding: 20px 18px 18px;
    }

    .mode-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .mode-link {
        font-size: 0.8rem;
    }

    .mode-soon {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        min-height: 0;
    }

    .soon-art {
        display: none;
    }

    .soon-note {
        font-size: 0.72rem;
    }

    .mc-box,
    .discord-content {
        padding: 22px 20px;
    }

    .mc-stats {
        padding: 10px 0;
    }

    .mc-stat-value {
        font-size: 1.25rem;
    }

    .ipcopiato {
        max-width: calc(100vw - 32px);
        padding: 12px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2.15rem;
    }

    .live-value {
        font-size: 0.92rem;
    }

    .live-value-text {
        font-size: 0.74rem;
    }

    .mode-heading h3 {
        font-size: 1.35rem;
    }
}

/* Accessibilità: meno movimento */
@media (prefers-reduced-motion: reduce) {
    .hero-copy,
    .live-dot,
    .skeleton {
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mode-card,
    .mc-box,
    .discord-content {
        transition: none;
    }
}
