/* =========================================================================
   Exodia – základní design systém (tmavý herní styl)
   Pořadí: tokeny → základ → stavební prvky → navigace → hero → sekce → patička
   ========================================================================= */

:root {
    /* --- Brand --- */
    --ex-cyan: #29c2ff;
    --ex-cyan-bright: #6fd8ff;
    --ex-cyan-dark: #0d8fd1;
    --ex-cyan-deep: #0a6d9f;
    --ex-cyan-soft: rgba(41, 194, 255, 0.10);

    /* --- Minecraft akcenty --- */
    --ex-grass: #63d44e;
    --ex-grass-dark: #3d9c2e;
    --ex-gold: #ffc93c;
    --ex-gold-dark: #c48c00;
    --ex-redstone: #ff5a5a;

    /* --- Povrchy --- */
    --bg-0: #050a11;
    --bg-1: #08101b;
    --bg-2: #0e1a28;
    --bg-3: #142334;
    --bg-4: #1b2e43;
    --line: rgba(120, 180, 225, 0.14);
    --line-strong: rgba(41, 194, 255, 0.34);

    /* --- Text --- */
    --tx-1: #eaf4ff;
    --tx-2: #a3bad2;
    --tx-3: #6a8199;

    /* --- Písma --- */
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;

    /* --- Geometrie (blokový, ne oblý) --- */
    --r-sm: 3px;
    --r: 6px;

    /* --- Stíny --- */
    --sh-panel: 0 18px 40px rgba(0, 0, 0, 0.45);
    --sh-text: 0 3px 0 rgba(0, 0, 0, 0.55);
}

/* =========================================================================
   Základ
   ========================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    /* Nativní prvky (select, scrollbary, autofill) se vykreslí tmavě */
    color-scheme: dark;
    scroll-padding-top: 110px;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background-color: var(--bg-0);
}

body {
    font-family: "Poppins", "Roboto", sans-serif;
    color: var(--tx-2);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background-color: var(--bg-1);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(41, 194, 255, 0.12) 0, transparent 34%),
        radial-gradient(circle at 88% 22%, rgba(99, 212, 78, 0.06) 0, transparent 32%),
        radial-gradient(circle at 50% 92%, rgba(41, 194, 255, 0.08) 0, transparent 38%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
    color: var(--tx-1);
}

a {
    display: inline-block;
    border: none;
    text-decoration: none;
    color: var(--ex-cyan);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

/* Obrázky drží poměr stran i když je v HTML uvedený atribut width/height
   (bez tohohle se atribut height uplatní jako pevná výška a obrázek se roztáhne) */
img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--ex-cyan);
    color: #04121c;
}

::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-4);
    border: 3px solid var(--bg-0);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ex-cyan-deep);
}

/* =========================================================================
   Stavební prvky
   ========================================================================= */

/* Malý pixelový popisek nad nadpisem */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ex-cyan-bright);
    background: var(--ex-cyan-soft);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
}

/* Velký blokový nadpis s tvrdým MC stínem */
.section-heading,
.nabizime-heading {
    margin: 18px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.9rem, 4.6vw, 2.9rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--tx-1);
    text-shadow: var(--sh-text);
}

.nabizime-accent,
.heading-accent {
    color: var(--ex-cyan);
}

.section-intro,
.nabizime-text {
    max-width: 620px;
    margin: 16px auto 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--tx-2);
}

.nabizime-highlight {
    color: var(--ex-cyan-bright);
    font-weight: 600;
}

/* Když se AOS nenačte (výpadek CDN), obsah musí zůstat viditelný */
.no-aos [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* --- Blokové tlačítko ve stylu Minecraftu --- */
.btn-block {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 26px;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #04121c;
    background: linear-gradient(180deg, var(--ex-cyan-bright) 0%, var(--ex-cyan) 55%, var(--ex-cyan-dark) 100%);
    border: 2px solid rgba(2, 16, 26, 0.55);
    border-radius: var(--r-sm);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.45),
        inset 0 -3px 0 rgba(0, 0, 0, 0.22),
        0 5px 0 var(--ex-cyan-deep),
        0 12px 26px rgba(0, 0, 0, 0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}

.btn-block:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.22),
        0 7px 0 var(--ex-cyan-deep),
        0 16px 32px rgba(0, 0, 0, 0.55);
}

.btn-block:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.22),
        0 1px 0 var(--ex-cyan-deep),
        0 4px 12px rgba(0, 0, 0, 0.45);
}

/* Tmavá (sekundární) varianta blokového tlačítka */
.btn-block-dark {
    color: var(--tx-1);
    background: linear-gradient(180deg, var(--bg-4) 0%, var(--bg-3) 60%, #0f1c2a 100%);
    border-color: rgba(0, 0, 0, 0.6);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.09),
        inset 0 -3px 0 rgba(0, 0, 0, 0.3),
        0 5px 0 #060d15,
        0 12px 26px rgba(0, 0, 0, 0.5);
}

.btn-block-dark:hover {
    color: var(--ex-cyan-bright);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.12),
        inset 0 -3px 0 rgba(0, 0, 0, 0.3),
        0 7px 0 #060d15,
        0 16px 32px rgba(0, 0, 0, 0.55);
}

.btn-block-dark:active {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.08),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3),
        0 1px 0 #060d15,
        0 4px 12px rgba(0, 0, 0, 0.45);
}

/* Zelená (grass) varianta */
.btn-block-grass {
    background: linear-gradient(180deg, #8ae87a 0%, var(--ex-grass) 55%, var(--ex-grass-dark) 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.45),
        inset 0 -3px 0 rgba(0, 0, 0, 0.22),
        0 5px 0 #2c7521,
        0 12px 26px rgba(0, 0, 0, 0.5);
}

.btn-block-grass:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.22),
        0 7px 0 #2c7521,
        0 16px 32px rgba(0, 0, 0, 0.55);
}

.btn-block-grass:active {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.22),
        0 1px 0 #2c7521,
        0 4px 12px rgba(0, 0, 0, 0.45);
}

/* Zlatá (gold) varianta – obchod / VIP */
.btn-block-gold {
    background: linear-gradient(180deg, #ffe27a 0%, var(--ex-gold) 55%, var(--ex-gold-dark) 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2),
        0 5px 0 #916700,
        0 12px 26px rgba(0, 0, 0, 0.5);
}

.btn-block-gold:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.55),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2),
        0 7px 0 #916700,
        0 16px 32px rgba(0, 0, 0, 0.55);
}

.btn-block-gold:active {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 0 #916700,
        0 4px 12px rgba(0, 0, 0, 0.45);
}

/* =========================================================================
   Navigace
   ========================================================================= */

nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: fit-content;
    max-width: min(98%, 1280px);
    padding: 6px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    background: rgba(8, 16, 27, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 34px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Značka vlevo v navigaci, oddělená svislou linkou od odkazů */
nav a.nav-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 16px 4px 2px;
    margin-right: 4px;
    border-right: 1px solid var(--line);
    border-radius: 0;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

nav a.nav-brand:hover,
nav a.nav-brand:focus-visible {
    color: var(--tx-1);
    background: transparent;
}

nav a.nav-brand:hover b,
nav a.nav-brand:focus-visible b {
    color: var(--ex-cyan-bright);
}

.nav-brand img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 12px rgba(41, 194, 255, 0.35));
}

.nav-brand b {
    font-family: "Montserrat", sans-serif;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tx-1);
    transition: color 0.15s ease;
    /* letter-spacing nepřidává mezeru za posledním písmenem vizuálně do dalšího odkazu */
    padding-right: 0.1em;
}

.links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1px;
    margin: 0;
    padding-left: 6px;
    flex-shrink: 0;
}

nav a {
    padding: 8px 11px;
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--tx-2);
    background: transparent;
    border-radius: var(--r-sm);
    white-space: nowrap;
}

nav a:hover {
    color: var(--tx-1);
    background: rgba(41, 194, 255, 0.12);
}

nav a.active,
nav .active {
    color: #04121c;
    background: linear-gradient(180deg, var(--ex-cyan-bright), var(--ex-cyan-dark));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Účet — pevný popisek, hover zůstane uvnitř lišty */
nav a.nav-account {
    flex-shrink: 0;
}

/* Zvýrazněný odkaz na obchod */
nav a.nav-shop {
    color: var(--ex-gold);
}

nav a.nav-shop:hover {
    color: #04121c;
    background: linear-gradient(180deg, #ffe27a, var(--ex-gold-dark));
}

.menu-checkbox {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    z-index: 1001;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--ex-cyan);
    border-radius: 0;
    transition: 0.25s;
}

/* =========================================================================
   Hero
   ========================================================================= */

.home {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 130px 24px 190px;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    /* Poslední zastávka je barva stránky, aby pata hero sekce nedělala viditelný šev */
    background:
        linear-gradient(180deg, #04080e 0%, #061220 28%, #082238 58%, #0a2c48 82%, var(--bg-1) 100%);
}

/* Hvězdná obloha */
.home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        radial-gradient(1.5px 1.5px at 24px 32px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 148px 76px, rgba(190, 230, 255, 0.7), transparent),
        radial-gradient(1px 1px at 76px 148px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 210px 22px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 268px 128px, rgba(190, 230, 255, 0.75), transparent),
        radial-gradient(1px 1px at 190px 190px, rgba(255, 255, 255, 0.45), transparent);
    background-size: 320px 220px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
    opacity: 0.85;
    animation: star-twinkle 7s ease-in-out infinite;
}

/* Pixelová mřížka */
.home::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(120, 190, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 190, 235, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.55; }
}

/* Blokový terén na spodní hraně hero sekce */
.hero-terrain {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: -1;
    height: clamp(160px, 21vw, 260px);
    background: url('../img/hero-terrain.svg') bottom center / 100% 100% no-repeat;
    pointer-events: none;
}

/* Světelný opar nad horizontem – odděluje siluetu od oblohy */
.hero-terrain::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -110px;
    height: 200px;
    background: linear-gradient(180deg, transparent, rgba(41, 194, 255, 0.16) 70%, rgba(41, 194, 255, 0.22));
    filter: blur(22px);
}

/* Měkký přechod paty terénu do pozadí stránky */
.hero-terrain::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52%;
    background: linear-gradient(180deg, transparent, var(--bg-1) 88%);
}

.hero-glow {
    position: absolute;
    z-index: -2;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-glow-left {
    left: -180px;
    top: 12%;
    background: rgba(41, 194, 255, 0.22);
}

.hero-glow-right {
    right: -170px;
    bottom: 12%;
    background: rgba(99, 212, 78, 0.14);
}

/* Poletující izometrické bloky */
.hero-block {
    position: absolute;
    z-index: -1;
    width: clamp(38px, 5vw, 62px);
    opacity: 0.75;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5));
    pointer-events: none;
    animation: block-float 9s ease-in-out infinite;
}

.hero-block-1 { left: 8%;  top: 26%; animation-delay: 0s; }
.hero-block-2 { right: 10%; top: 20%; animation-delay: -3s; }
.hero-block-3 { right: 18%; bottom: 26%; width: clamp(30px, 3.6vw, 46px); animation-delay: -6s; opacity: 0.6; }

@keyframes block-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-22px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
}

/* Živý ukazatel počtu hráčů */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    margin-bottom: 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tx-1);
    background: rgba(8, 20, 32, 0.7);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--ex-grass);
    box-shadow: 0 0 10px rgba(99, 212, 78, 0.9);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

#mc-online {
    color: var(--ex-cyan-bright);
}

.logo {
    width: clamp(120px, 15vw, 178px);
    height: auto;
    margin: 0 0 10px;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(41, 194, 255, 0.28));
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo:hover {
    transform: translateY(-6px) scale(1.04);
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6.4vw, 4.5rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
        0 5px 0 rgba(0, 0, 0, 0.6),
        0 0 46px rgba(41, 194, 255, 0.28);
}

.hero-content h1 span {
    color: var(--ex-cyan);
    text-shadow:
        0 5px 0 rgba(0, 0, 0, 0.6),
        0 0 40px rgba(41, 194, 255, 0.6);
}

.hero-subtitle {
    max-width: 580px;
    margin: 18px auto 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    color: var(--tx-2);
}

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

.hero-tags span {
    padding: 7px 13px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tx-2);
    background: rgba(20, 35, 52, 0.65);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* Hlavní CTA s IP adresou – stejná typografie jako sousední tlačítko,
   odlišuje se jen ikonou kopírování a barvou */
.ip-button b {
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
}

.ip-button::before {
    content: "";
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: var(--ico-copy) center / contain no-repeat;
    mask: var(--ico-copy) center / contain no-repeat;
}

/* Po zkopírování ikona přeskočí na fajfku (třídu přidává skript) */
.ip-button.is-copied::before {
    -webkit-mask-image: var(--ico-check);
    mask-image: var(--ico-check);
}

.copy-message {
    position: relative;
    z-index: 2;
    min-height: 22px;
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ex-grass);
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* =========================================================================
   Obsah stránky
   ========================================================================= */

.obsah {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.section {
    width: min(100% - 36px, 1140px);
    margin: 0 auto;
    padding: 78px 0;
    text-align: center;
}

.section-narrow {
    max-width: 940px;
}

/* =========================================================================
   Pruh se statistikami
   ========================================================================= */

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: min(100% - 36px, 1140px);
    margin: -70px auto 0;
    padding: 0;
}

.stat-tile {
    position: relative;
    padding: 24px 16px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-tile:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.stat-value {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ex-cyan-bright);
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}

.stat-label {
    display: block;
    margin-top: 11px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--tx-3);
}

/* =========================================================================
   Herní režimy
   ========================================================================= */

.modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 44px;
    text-align: left;
}

.mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 30px 30px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Barevný pruh nahoře podle režimu */
.mode-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mode-color, var(--ex-cyan));
}

/* Prosvítající záře v rohu */
.mode-card::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--mode-color, var(--ex-cyan));
    opacity: 0.11;
    filter: blur(50px);
    pointer-events: none;
}

.mode-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 26px 52px rgba(0, 0, 0, 0.55);
}

.mode-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    image-rendering: pixelated;
}

.mode-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--tx-1);
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}

.mode-card > p {
    position: relative;
    z-index: 1;
    margin: 12px 0 20px;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--tx-2);
}

.mode-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.mode-features li {
    padding: 6px 11px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--tx-2);
    background: rgba(6, 14, 24, 0.55);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

.mode-card .btn-block {
    position: relative;
    z-index: 1;
    margin-top: auto;
    align-self: flex-start;
}

/* =========================================================================
   Proč Exodia – dlaždice
   ========================================================================= */

.nabizime-block {
    width: min(100% - 36px, 1140px);
    margin: 0 auto;
    padding: 78px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nabizime-heading {
    scroll-margin-top: 110px;
}

.nabizime-text {
    margin-bottom: 46px;
}

.dlazdice-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0 auto;
}

.dlazdice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 208px;
    padding: 30px 18px 26px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    text-align: center;
    color: var(--tx-2);
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.dlazdice::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 180, 225, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 180, 225, 0.045) 1px, transparent 1px);
    background-size: 16px 16px;
}

.dlazdice:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 26px 52px rgba(0, 0, 0, 0.55);
}

.dlazdice-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(41, 194, 255, 0.18), rgba(41, 194, 255, 0.05));
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.3s ease;
}

.dlazdice:hover .dlazdice-icon {
    transform: translateY(-3px) scale(1.06);
    background: linear-gradient(180deg, rgba(41, 194, 255, 0.3), rgba(41, 194, 255, 0.1));
}

.dlazdice img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    /* SVG ikony jsou černé – obarvíme je na cyan */
    filter: brightness(0) saturate(100%) invert(72%) sepia(46%) saturate(2200%) hue-rotate(165deg) brightness(103%) contrast(101%);
}

.dlazdice-title {
    position: relative;
    z-index: 1;
    margin: 4px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--tx-1);
}

.dlazdice-desc {
    position: relative;
    z-index: 1;
    max-width: 200px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--tx-3);
}

/* =========================================================================
   Jak se připojit
   ========================================================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 44px;
    text-align: left;
}

.step {
    position: relative;
    padding: 30px 26px 28px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: #04121c;
    background: linear-gradient(180deg, var(--ex-cyan-bright), var(--ex-cyan-dark));
    border: 2px solid rgba(2, 16, 26, 0.5);
    border-radius: var(--r-sm);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.step h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tx-1);
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--tx-3);
}

.step code {
    display: inline-block;
    padding: 3px 7px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--ex-cyan-bright);
    background: rgba(4, 12, 20, 0.75);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    -webkit-user-select: all;
    user-select: all;
}

/* =========================================================================
   Banner obchodu / VIP
   ========================================================================= */

.shop-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    width: min(100% - 36px, 1140px);
    margin: 0 auto;
    padding: 44px 42px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 201, 60, 0.14) 0%, transparent 55%),
        linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid rgba(255, 201, 60, 0.28);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    text-align: left;
}

.shop-banner::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--ex-gold);
    opacity: 0.1;
    filter: blur(60px);
    pointer-events: none;
}

.shop-copy {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.shop-copy .section-kicker {
    color: var(--ex-gold);
    background: rgba(255, 201, 60, 0.1);
    border-color: rgba(255, 201, 60, 0.3);
}

.shop-copy h2 {
    margin: 16px 0 10px;
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--tx-1);
    text-shadow: var(--sh-text);
}

.shop-copy p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--tx-2);
}

.shop-banner .btn-block {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.shop-blocks {
    position: absolute;
    right: 26px;
    bottom: -24px;
    display: flex;
    gap: 10px;
    opacity: 0.16;
    pointer-events: none;
}

.shop-blocks img {
    width: 72px;
}

/* =========================================================================
   Discord
   ========================================================================= */

.discord {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100% - 36px, 760px);
    margin: 0 auto;
    padding: 54px 36px;
    overflow: hidden;
    background:
        linear-gradient(150deg, rgba(88, 101, 242, 0.18) 0%, transparent 60%),
        linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid rgba(88, 101, 242, 0.32);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    text-align: center;
}

.discord::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    width: 380px;
    height: 380px;
    margin-left: -190px;
    border-radius: 50%;
    background: #5865f2;
    opacity: 0.16;
    filter: blur(70px);
    pointer-events: none;
}

.discord > * {
    position: relative;
    z-index: 1;
}

.discord img {
    width: 78px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1) drop-shadow(0 6px 14px rgba(88, 101, 242, 0.6));
}

.discord .section-kicker {
    color: #aeb6ff;
    background: rgba(88, 101, 242, 0.14);
    border-color: rgba(88, 101, 242, 0.38);
}

.discord h2 {
    margin: 16px 0 10px;
    font-size: clamp(1.55rem, 3.6vw, 2.15rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--tx-1);
    text-shadow: var(--sh-text);
}

.discord p {
    max-width: 460px;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--tx-2);
}

.discord .btn-block {
    margin-top: 26px;
    color: #fff;
    background: linear-gradient(180deg, #7c86ff 0%, #5865f2 55%, #3f4bcf 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2),
        0 5px 0 #2f3aa8,
        0 12px 26px rgba(0, 0, 0, 0.5);
}

.discord .btn-block:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2),
        0 7px 0 #2f3aa8,
        0 16px 32px rgba(0, 0, 0, 0.55);
}

.discord .btn-block:active {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 0 #2f3aa8,
        0 4px 12px rgba(0, 0, 0, 0.45);
}

/* =========================================================================
   Hlasování
   ========================================================================= */

.vote {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 780px;
    margin: 44px auto 0;
    text-align: left;
}

.vote-dlazdice {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    transition: border-color 0.25s ease;
}

.vote-dlazdice:hover {
    border-color: var(--line-strong);
}

.vote-number {
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: rgba(41, 194, 255, 0.16);
}

.vote-dlazdice h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tx-1);
}

.vote-dlazdice > p {
    min-height: 44px;
    margin: 0 0 18px;
    font-size: 0.87rem;
    line-height: 1.6;
    color: var(--tx-3);
}

.vote-input {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.vote-dlazdice input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    color: var(--tx-1);
    background: rgba(4, 12, 20, 0.7);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vote-dlazdice input::placeholder {
    color: var(--tx-3);
}

.vote-dlazdice input:focus {
    outline: none;
    border-color: var(--ex-cyan);
    box-shadow: 0 0 0 3px rgba(41, 194, 255, 0.16);
}

.vote-input > span {
    position: absolute;
    top: calc(100% + 4px);
    left: 2px;
    font-size: 0.7rem;
    color: var(--ex-redstone) !important;
}

.vote-dlazdice .btn-block {
    width: 100%;
}

/* =========================================================================
   A-Team
   ========================================================================= */

.admin-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100% - 36px, 1140px);
    margin: 0 auto;
    padding: 150px 0 40px;
}

/* Hlavička podstránky (A-Team, Pravidla) */
.page-head {
    margin-bottom: 18px;
    text-align: center;
}

.admin-team > h2 {
    margin: 54px 0 26px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.35rem, 3.4vw, 1.9rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: var(--tx-1);
    text-shadow: var(--sh-text);
}

.admin-team > .page-head + h2 {
    margin-top: 26px;
}

.sekce {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    margin-bottom: 10px;
}

.hrac {
    position: relative;
    display: flex;
    /* Skin nahoře, nick pod ním — v markupu je nick první, proto column-reverse */
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 14px;
    /* Pevná šířka — jinak karty skáčou podle délky prefixu ranku */
    width: 208px;
    padding: 22px 18px 20px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    cursor: default;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.hrac::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 180, 225, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 180, 225, 0.04) 1px, transparent 1px);
    background-size: 16px 16px;
}

.hrac:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 26px 52px rgba(0, 0, 0, 0.55);
}

.hrac img {
    position: relative;
    z-index: 1;
    width: auto;
    height: 132px;
    image-rendering: pixelated;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.hrac:hover img {
    transform: scale(1.06);
}

/* Rank nad nickem – vejde se i dlouhý prefix bez rozhozených karet */
.hrac span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    color: var(--tx-1);
    white-space: nowrap;
}

.hrac span div {
    margin-right: 0;
}

/* =========================================================================
   Pravidla
   ========================================================================= */

.pravidla-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100% - 36px, 900px);
    margin: 0 auto;
    padding: 150px 0 40px;
    gap: 34px;
}

.pravidla-tabulka {
    width: 100%;
    border-spacing: 0;
    table-layout: fixed;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        var(--sh-panel);
    color: var(--tx-2);
}

.pravidla-tabulka thead {
    background: linear-gradient(180deg, rgba(41, 194, 255, 0.18), rgba(41, 194, 255, 0.06));
}

.pravidla-tabulka th {
    padding: 14px 20px;
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: var(--ex-cyan-bright);
    border-bottom: 1px solid var(--line-strong);
}

.pravidla-tabulka td {
    padding: 15px 20px;
    font-size: 0.92rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
}

.pravidla-tabulka td:first-child,
.pravidla-tabulka th:first-child {
    width: 56px;
    text-align: center;
}

/* Pixelové číslování jen v tělu tabulky – „#" v hlavičce ten font kreslí divně */
.pravidla-tabulka td:first-child {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--tx-3);
}

.pravidla-tabulka td:nth-child(2),
.pravidla-tabulka th:nth-child(2) {
    width: 28%;
}

.pravidla-tabulka td:nth-child(3),
.pravidla-tabulka th:nth-child(3) {
    width: auto;
    word-wrap: break-word;
}

.pravidla-tabulka td:nth-child(2) {
    font-weight: 700;
    color: var(--tx-1);
}

.pravidla-tabulka tr:last-child td {
    border-bottom: none;
}

.pravidla-tabulka tbody tr:hover td {
    background: rgba(41, 194, 255, 0.06);
}

/* =========================================================================
   Patička
   ========================================================================= */

footer {
    width: 100%;
    margin-top: auto;
    padding: 52px 24px 34px;
    background: linear-gradient(180deg, transparent, rgba(4, 9, 16, 0.85));
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px 64px;
    width: min(100% - 36px, 1140px);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 340px;
}

.footer-brand img {
    width: 52px;
    margin-bottom: 14px;
}

.footer-brand p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--tx-3);
}

.footer-ip {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ex-cyan-bright);
    background: rgba(4, 12, 20, 0.7);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    -webkit-user-select: all;
    user-select: all;
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 54px;
    margin-left: auto;
}

.footer-col h4 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tx-1);
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--tx-3);
}

.footer-col a:hover {
    color: var(--ex-cyan);
}

.footer-bottom {
    width: min(100% - 36px, 1140px);
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-bottom span {
    font-size: 0.78rem;
    color: var(--tx-3);
}

/* =========================================================================
   Responzivita
   ========================================================================= */

@media (max-width: 1024px) {
    .dlazdice-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .modes,
    .steps,
    .vote {
        grid-template-columns: 1fr;
    }

    .shop-banner {
        padding: 36px 28px;
        text-align: center;
        justify-content: center;
    }

    .shop-copy {
        max-width: none;
    }

    .shop-blocks {
        display: none;
    }
}

@media (max-width: 860px) {
    nav {
        top: 12px;
        right: 12px;
        left: auto;
        width: auto;
        max-width: calc(100% - 24px);
        padding: 6px;
        transform: none;
        justify-content: flex-end;
        overflow: visible;
    }

    .nav-brand {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .links {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 218px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 12px;
        background: rgba(8, 16, 27, 0.97);
        border: 1px solid var(--line);
        border-radius: var(--r);
        box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    nav a {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.92rem;
        text-align: left;
    }

    .menu-checkbox:checked ~ .links {
        display: flex;
    }

    .menu-checkbox:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-checkbox:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-checkbox:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 640px) {
    .home {
        padding: 118px 18px 150px;
    }

    .hero-block-1,
    .hero-block-2 {
        width: 34px;
        opacity: 0.5;
    }

    .hero-block-3 {
        display: none;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-inline: auto;
    }

    .section,
    .nabizime-block {
        padding: 56px 0;
    }

    .stats-strip {
        margin-top: -50px;
        gap: 10px;
    }

    .stat-tile {
        padding: 18px 10px;
    }

    .dlazdice-box {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .mode-card,
    .step {
        padding: 26px 22px;
    }

    .footer-cols {
        gap: 34px;
    }
}

@media (max-width: 420px) {
    .hero-eyebrow {
        font-size: 0.63rem;
        letter-spacing: 0.1em;
    }

    .ip-button b {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-block,
    .home::before,
    .hero-eyebrow i {
        animation: none;
    }
}

/* =========================================================================
   Ikony navigace (SVG jako CSS mask – dědí barvu odkazu)
   ========================================================================= */

:root {
    --ico-home: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010.5%2012%203l9%207.5%22%2F%3E%3Cpath%20d%3D%22M5.5%209.5V20h13V9.5%22%2F%3E%3Cpath%20d%3D%22M9.5%2020v-6h5v6%22%2F%3E%3C%2Fsvg%3E");
    --ico-rules: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224.5%22%20y%3D%223%22%20width%3D%2215%22%20height%3D%2218%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M8%207.5h8M8%2012h8M8%2016.5h5%22%2F%3E%3C%2Fsvg%3E");
    --ico-shop: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16l-1.3%2011.2a2%202%200%200%201-2%201.8H7.3a2%202%200%200%201-2-1.8L4%207Z%22%2F%3E%3Cpath%20d%3D%22M9%207V5.5a3%203%200%200%201%206%200V7%22%2F%3E%3C%2Fsvg%3E");
    --ico-team: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228.5%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M3.5%2020c0-3%202.5-5%205.5-5s5.5%202%205.5%205%22%2F%3E%3Cpath%20d%3D%22M16%205.6a3.2%203.2%200%200%201%200%206.3%22%2F%3E%3Cpath%20d%3D%22M17.2%2015.4c2%20.7%203.3%202.4%203.3%204.6%22%2F%3E%3C%2Fsvg%3E");
    --ico-ticket: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206.5h16v3.2a2.3%202.3%200%200%200%200%204.6v3.2H4v-3.2a2.3%202.3%200%200%200%200-4.6V6.5Z%22%2F%3E%3Cpath%20d%3D%22M12%208v2M12%2014v2%22%2F%3E%3C%2Fsvg%3E");
    --ico-discord: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8.4%2015.6c2.4%201.1%204.8%201.1%207.2%200%22%2F%3E%3Cpath%20d%3D%22M9.2%205.6C6.6%206.4%205%208.6%204.5%2012c-.3%202.3%200%203.9.6%204.9%201%20.9%202.2%201.5%203.6%201.8l.9-1.7%22%2F%3E%3Cpath%20d%3D%22M14.8%205.6c2.6.8%204.2%203%204.7%206.4.3%202.3%200%203.9-.6%204.9-1%20.9-2.2%201.5-3.6%201.8l-.9-1.7%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%2212%22%20r%3D%221.1%22%20fill%3D%22currentColor%22%20stroke%3D%22none%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2212%22%20r%3D%221.1%22%20fill%3D%22currentColor%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    --ico-map: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%206.5%209%204.5v13l-5.5%202v-13Z%22%2F%3E%3Cpath%20d%3D%22M9%204.5l6%202v13l-6-2%22%2F%3E%3Cpath%20d%3D%22M15%206.5l5.5-2v13l-5.5%202%22%2F%3E%3C%2Fsvg%3E");
    --ico-user: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.4%22%2F%3E%3Cpath%20d%3D%22M5%2020c0-3.3%203.1-5.6%207-5.6s7%202.3%207%205.6%22%2F%3E%3C%2Fsvg%3E");
    --ico-copy: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%2211%22%20height%3D%2211%22%20rx%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M15%206.2V5.5A1.5%201.5%200%200%200%2013.5%204H5.5A1.5%201.5%200%200%200%204%205.5v8A1.5%201.5%200%200%200%205.5%2015h.7%22%2F%3E%3C%2Fsvg%3E");
    --ico-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4.5%2012.5%209.5%2017.5%2019.5%206.5%22%2F%3E%3C%2Fsvg%3E");
}

/* Ikona před textem odkazu; třídy .ico-* jsou v markupu na <a> */
.links a[class*="ico-"]::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 7px;
    vertical-align: -3px;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
    opacity: 0.85;
}

.links a[class*="ico-"]:hover::before,
.links a[class*="ico-"].active::before {
    opacity: 1;
}

.links a.ico-home::before { -webkit-mask-image: var(--ico-home); mask-image: var(--ico-home); }
.links a.ico-rules::before { -webkit-mask-image: var(--ico-rules); mask-image: var(--ico-rules); }
.links a.ico-shop::before { -webkit-mask-image: var(--ico-shop); mask-image: var(--ico-shop); }
.links a.ico-team::before { -webkit-mask-image: var(--ico-team); mask-image: var(--ico-team); }
.links a.ico-ticket::before { -webkit-mask-image: var(--ico-ticket); mask-image: var(--ico-ticket); }
.links a.ico-discord::before { -webkit-mask-image: var(--ico-discord); mask-image: var(--ico-discord); }
.links a.ico-map::before { -webkit-mask-image: var(--ico-map); mask-image: var(--ico-map); }
.links a.ico-user::before { -webkit-mask-image: var(--ico-user); mask-image: var(--ico-user); }

/* Když je hráč přihlášený, ikonu nahradí jeho avatar */
.links a.nav-account.has-avatar::before {
    display: none;
}

