/* ═══════════════════════════════════════════
   ASL — Amateur Slovak League
   Global Stylesheet v2.0
   Design: Dark Brutalist Esport
═══════════════════════════════════════════ */

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

:root {
    --black:    #050507;
    --deep:     #0a0a0f;
    --panel:    #0f0f18;
    --border:   #1e1e2e;
    --neon:     #2563eb;
    --neon-dim: rgba(37, 99, 235, 0.12);
    --neon-glow:0 0 20px rgba(37, 99, 235, 0.4), 0 0 60px rgba(37, 99, 235, 0.15);
    --red:      #ff2d55;
    --white:    #f0f0f5;
    --muted:    #6b6b80;
    --font-hero:'Bebas Neue', sans-serif;
    --font-body:'Barlow Condensed', sans-serif;
    --font-mono:'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--neon); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: 64px;
    background: rgba(5,5,7,0.93);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo-link img.logo-img { height: 36px; filter: brightness(1.1); }

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0 1.1rem;
    height: 64px;
    line-height: 64px;
    color: var(--muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.nav-links .nav-merch a { color: var(--neon); }
.nav-links .nav-merch a:hover { color: var(--black); background: var(--neon); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: opacity 0.2s, transform 0.15s;
}
.btn-social:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-discord   { background: #5865F2; }
.btn-instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.btn-twitch    { background: #9146FF; }

.btn-reg {
    padding: 0.45rem 1.2rem;
    background: var(--neon);
    color: var(--black) !important;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: box-shadow 0.2s, transform 0.15s;
}
.btn-reg:hover { box-shadow: var(--neon-glow); transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   SECTION UTILITIES
═══════════════════════════════════════════ */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.section-label::before { content: '//'; opacity: 0.5; }

.section-title {
    font-family: var(--font-hero);
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.text-neon  { color: var(--neon); }
.text-muted { color: var(--muted); }
.text-red   { color: var(--red); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 70% 50%, rgba(0,245,160,0.06) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.015) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 80px);
    pointer-events: none;
}

.hero-bg-text {
    position: absolute;
    top: 50%; left: -2rem;
    transform: translateY(-50%);
    font-family: var(--font-hero);
    font-size: clamp(10rem, 20vw, 22rem);
    color: rgba(255,255,255,0.018);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--neon);
    color: var(--neon);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--neon);
    border-radius: 50%;
    animation: blink 1.4s infinite;
}

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

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--neon); }
.hero-title .stroke { -webkit-text-stroke: 2px var(--white); color: transparent; }

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

.hero-cta { display: flex; gap: 1rem; align-items: center; }

.cta-primary {
    padding: 0.9rem 2.2rem;
    background: var(--neon);
    color: var(--black);
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: box-shadow 0.3s, transform 0.2s;
}
.cta-primary:hover { box-shadow: var(--neon-glow); transform: translateY(-2px); }

.cta-secondary {
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.cta-secondary:hover { color: var(--white); }
.cta-secondary::after { content: '→'; }

.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; z-index: 2;
}

.hero-logo-wrap {
    position: relative;
    width: 560px; height: 560px;
    display: flex; align-items: center; justify-content: center;
}
.hero-logo-wrap::before {
    content: '';
    position: absolute; inset: -2px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    clip-path: polygon(30px 0%, 100% 0%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0% 100%, 0% 30px);
}
.hero-logo-wrap::after {
    content: '';
    position: absolute; inset: 20px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}
.hero-img {
    width: 760px; height: auto;
    position: relative; z-index: 2;
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.4));
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-section {
    padding: 7rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    border-top: 1px solid var(--border);
    position: relative;
}
.about-section::after {
    content: 'ASL';
    position: absolute; right: -1rem; top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--font-hero);
    font-size: 12rem;
    color: rgba(255,255,255,0.02);
    pointer-events: none;
}
.about-text-block p {
    font-size: 1.05rem; line-height: 1.7;
    color: rgba(240,240,245,0.65);
    font-weight: 300; margin-top: 1.5rem;
}
.about-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
}
.stat-block {
    background: var(--panel);
    padding: 2rem 1.5rem;
    position: relative; overflow: hidden;
    transition: background 0.3s;
}
.stat-block:hover { background: rgba(0,245,160,0.04); }
.stat-block.span2 { grid-column: 1 / -1; }
.stat-block::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--neon);
    transition: height 0.4s ease;
}
.stat-block:hover::before { height: 100%; }
.stat-number {
    display: block;
    font-family: var(--font-hero);
    font-size: 3.5rem; line-height: 1;
    color: var(--white); margin-bottom: 0.4rem;
}
.stat-desc {
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted);
}

/* ═══════════════════════════════════════════
   MATCHES
═══════════════════════════════════════════ */
.matches-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }
.matches-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.match-row {
    background: var(--panel);
    display: grid;
    grid-template-columns: 80px 1fr auto 1fr 80px;
    align-items: center;
    padding: 1.2rem 2rem; gap: 1rem;
    transition: background 0.2s;
}
.match-row:hover { background: rgba(0,245,160,0.04); }
.match-team { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.match-team.right { text-align: right; }
.match-vs { text-align: center; font-family: var(--font-hero); font-size: 1.8rem; color: var(--muted); letter-spacing: 0.1em; }
.match-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; text-align: center; }
.match-badge { display: inline-block; padding: 0.2rem 0.6rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid currentColor; }
.badge-live { color: var(--red); animation: pulse-badge 1.2s infinite; }
.badge-upcoming { color: var(--neon); }
.badge-done { color: var(--muted); }
@keyframes pulse-badge { 0%,100%{opacity:1} 50%{opacity:0.4} }
.loading-spinner { padding: 3rem; text-align: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════
   HOF
═══════════════════════════════════════════ */
.hof-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }
.hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border); margin-top: 3rem; }
.hof-card { background: var(--panel); padding: 2rem; position: relative; overflow: hidden; transition: background 0.3s; }
.hof-card:hover { background: var(--deep); }

/* Logo — full card watermark background */
.hof-logo-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hof-team-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    object-fit: contain;
    opacity: 0.06;
    filter: grayscale(100%) brightness(4);
    transition: opacity 0.4s, filter 0.4s;
}
.hof-card:hover .hof-team-logo {
    opacity: 0.12;
    filter: grayscale(50%) brightness(1.8);
}
/* All text content above the watermark */
.hof-year, .hof-event, .hof-label, .hof-winner, .hof-players {
    position: relative;
    z-index: 1;
}
.hof-year { font-family: var(--font-mono); font-size: 0.72rem; color: var(--neon); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.4rem; }
.hof-event { font-family: var(--font-hero); font-size: 1.4rem; text-transform: uppercase; margin-bottom: 1.5rem; line-height: 1.1; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.hof-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.hof-winner { font-family: var(--font-hero); font-size: 1.8rem; color: var(--neon); margin-bottom: 1rem; }
.hof-players { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(240,240,245,0.45); letter-spacing: 0.05em; line-height: 1.7; }

/* ═══════════════════════════════════════════
   TEAM / CONTACTS
═══════════════════════════════════════════ */
.team-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--border); margin-top: 3rem; }
.team-card { background: var(--panel); position: relative; overflow: hidden; transition: background 0.3s; }
.team-card:hover { background: var(--deep); }
.team-image { position: relative; height: 280px; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%) contrast(1.1); transition: filter 0.4s, transform 0.4s; }
.team-card:hover .team-image img { filter: grayscale(0%) contrast(1.05); transform: scale(1.05); }
.team-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, transparent 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.4s; }
.team-card:hover .team-image-overlay { opacity: 1; }
.team-hover-text { font-size: 0.82rem; color: rgba(240,240,245,0.75); line-height: 1.5; font-weight: 300; }
.team-info { padding: 1.5rem; }
.player-name { font-family: var(--font-hero); font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 0.3rem; }
.player-role { font-family: var(--font-mono); font-size: 0.7rem; color: var(--neon); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.player-contacts { display: flex; flex-direction: column; gap: 0.35rem; }
.player-contacts span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.player-contacts i { color: var(--neon); width: 14px; }

/* ═══════════════════════════════════════════
   TOURNAMENTS
═══════════════════════════════════════════ */
.tournaments-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }
.tournaments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1px; background: var(--border); margin-top: 3rem; }
.tournament-card { background: var(--panel); position: relative; overflow: hidden; transition: background 0.3s; }
.tournament-card:hover { background: var(--deep); }
.tournament-card .tournament-image { height: 200px; overflow: hidden; position: relative; }
.tournament-card .tournament-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(0.8); transition: filter 0.4s, transform 0.4s; }
.tournament-card:hover .tournament-image img { filter: brightness(0.7) saturate(1); transform: scale(1.05); }
.tournament-status-badge { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem 0.7rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.status-upcoming { background: var(--neon); color: var(--black); }
.status-live { background: var(--red); color: #fff; }
.status-ended { background: rgba(107,107,128,0.4); color: var(--muted); border: 1px solid var(--muted); }
.tournament-content { padding: 1.5rem; }
.tournament-name { font-family: var(--font-hero); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 0.75rem; }
.tournament-date-location { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.25rem; }
.tournament-date-location span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; display: flex; align-items: center; gap: 0.5rem; }
.tournament-date-location i { color: var(--neon); }
.tournament-countdown { margin-bottom: 1.25rem; }
.countdown-title { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.6rem; }
.countdown-timer { display: flex; gap: 0.5rem; }
.countdown-block { background: var(--black); border: 1px solid var(--border); padding: 0.4rem 0.6rem; display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.countdown-block span:first-child { font-family: var(--font-hero); font-size: 1.4rem; line-height: 1; color: var(--neon); }
.countdown-block span:last-child { font-family: var(--font-mono); font-size: 0.55rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.tournament-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); text-decoration: none; transition: gap 0.2s; }
.tournament-link:hover { gap: 0.9rem; }

/* ═══════════════════════════════════════════
   ASL TV
═══════════════════════════════════════════ */
.asltv-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); margin-top: 3rem; }
.article-card { background: var(--panel); overflow: hidden; position: relative; transition: background 0.3s; }
.article-card:hover { background: var(--deep); }
.article-image { height: 200px; overflow: hidden; position: relative; }
.article-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7) grayscale(30%); transition: filter 0.4s, transform 0.5s; }
.article-card:hover .article-image img { filter: brightness(0.8) grayscale(0%); transform: scale(1.08); }
.article-tag { position: absolute; bottom: 0.75rem; left: 1rem; padding: 0.2rem 0.6rem; background: var(--neon); color: var(--black); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.article-content { padding: 1.5rem; }
.article-title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.35; margin-bottom: 0.75rem; letter-spacing: 0.02em; }
.article-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.55; font-weight: 300; margin-bottom: 1rem; }
.article-link { font-family: var(--font-mono); font-size: 0.7rem; color: var(--neon); text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; transition: letter-spacing 0.2s; }
.article-link:hover { letter-spacing: 0.2em; }

/* ═══════════════════════════════════════════
   SPONSORS
═══════════════════════════════════════════ */
.sponsors-section { padding: 5rem 3rem; border-top: 1px solid var(--border); }
.sponsors-logos { display: flex; flex-wrap: wrap; gap: 1px; background: var(--border); margin-top: 3rem; }
.sponsor-item { background: var(--panel); flex: 1 1 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; padding: 2rem 1.5rem; text-decoration: none; transition: background 0.3s; }
.sponsor-item:hover { background: rgba(0,245,160,0.06); }
.sponsor-item img { height: 40px; width: auto; object-fit: contain; filter: grayscale(100%) brightness(0.7); transition: filter 0.3s; }
.sponsor-item:hover img { filter: grayscale(0%) brightness(1); }
.sponsor-name { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer { padding: 2rem 3rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.copyright-link { color: var(--neon); text-decoration: none; }
.footer-neon-line { width: 100px; height: 1px; background: linear-gradient(to right, transparent, var(--neon), transparent); }
.footer-tagline { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════
   ARTICLE PAGE (clanek1)
═══════════════════════════════════════════ */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 2rem 6rem;
}
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s;
}
.article-back:hover { color: var(--neon); }
.article-back i { font-size: 0.65rem; }

.article-page-title {
    font-family: var(--font-hero);
    font-size: clamp(2.2rem, 5vw, 4rem);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
}
.article-page-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.article-page-meta span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.article-page-meta i { color: var(--neon); }
.article-page-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel);
}
.article-page-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}
.article-page-content { font-size: 1.05rem; line-height: 1.8; color: rgba(240,240,245,0.8); font-weight: 300; }
.article-page-content p { margin-bottom: 1.25rem; }
.article-page-content strong { color: var(--white); font-weight: 700; }
.article-page-content h2 { font-family: var(--font-hero); font-size: 2rem; text-transform: uppercase; color: var(--white); margin: 2.5rem 0 1rem; }
.article-page-content blockquote {
    border-left: 3px solid var(--neon);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--panel);
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--white);
    font-style: italic;
}
.article-footer { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.back-to-home {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--neon);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: letter-spacing 0.2s;
}
.back-to-home:hover { letter-spacing: 0.2em; }

/* ═══════════════════════════════════════════
   REGISTER PAGE
═══════════════════════════════════════════ */
.reg-section {
    padding: 120px 3rem 6rem;
    max-width: 980px;
    margin: 0 auto;
}
.reg-header { margin-bottom: 3rem; }
.reg-title { font-family: var(--font-hero); font-size: clamp(3rem, 6vw, 6rem); text-transform: uppercase; line-height: 0.95; }
.reg-container { border: 1px solid var(--border); background: var(--panel); padding: 3rem; }

.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.form-input {
    width: 100%;
    background: var(--black);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}
.form-input:focus { border-color: var(--neon); }
.form-input::placeholder { color: var(--muted); }
.form-input[type="file"] { padding: 0.6rem 1rem; cursor: pointer; }
.form-input[type="file"]::-webkit-file-upload-button { background: var(--border); color: var(--white); border: none; padding: 0.3rem 0.8rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; margin-right: 1rem; }

.roster-title-box { margin: 2.5rem 0 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.roster-title-box .form-label { font-size: 0.75rem; color: var(--neon); margin: 0; }

.roster-header-row, .roster-grid-row { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap: 0.5rem; margin-bottom: 0.5rem; }
.roster-header-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; padding: 0 0.25rem; }

.form-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.05em; margin: 2rem 0 1.5rem; }
.form-note a { color: var(--neon); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--neon);
    color: var(--black);
    font-family: var(--font-hero);
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: box-shadow 0.3s, transform 0.2s;
}
.btn-submit:hover { box-shadow: var(--neon-glow); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

#formMessage { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; padding: 1rem; border: 1px solid var(--border); }

/* ═══════════════════════════════════════════
   THANK YOU PAGE
═══════════════════════════════════════════ */
.thankyou-section {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 5rem 2rem;
    position: relative;
}
.thankyou-section::before {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,245,160,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.thankyou-container {
    border: 1px solid var(--border);
    background: var(--panel);
    padding: 4rem 3rem;
    text-align: center;
    max-width: 560px;
    width: 100%;
    position: relative;
}
.thankyou-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--neon), transparent);
}
.thankyou-icon { font-family: var(--font-hero); font-size: 5rem; color: var(--neon); margin-bottom: 1rem; line-height: 1; display: block; }
.thankyou-title { font-family: var(--font-hero); font-size: 4rem; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; line-height: 1; }
.thankyou-message { font-size: 1rem; color: rgba(240,240,245,0.65); line-height: 1.7; margin-bottom: 0.75rem; font-weight: 300; }
.thankyou-team { color: var(--neon); font-weight: 700; }
.redirect-info { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.redirect-info p { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 1rem; }
.redirect-countdown { color: var(--neon); font-weight: 700; font-size: 1rem; }
.spinner-wrap { display: flex; justify-content: center; margin-bottom: 1rem; }
.preloader-spinner-small {
    width: 32px; height: 32px;
    border: 2px solid var(--border);
    border-top: 2px solid var(--neon);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
.btn-back {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 1px solid var(--neon);
    color: var(--neon);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn-back:hover { background: var(--neon); color: var(--black); }

/* ═══════════════════════════════════════════
   ENTER ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-tag         { animation: fadeUp 0.6s 0.0s ease both; }
.hero-title       { animation: fadeUp 0.6s 0.1s ease both; }
.hero-subtitle    { animation: fadeUp 0.6s 0.2s ease both; }
.hero-cta         { animation: fadeUp 0.6s 0.3s ease both; }
.hero-image-area  { animation: fadeUp 0.7s 0.2s ease both; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero-section, .about-section { grid-template-columns: 1fr; }
    .hero-image-area { display: none; }
    .main-nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
}
@media (max-width: 700px) {
    .hero-section, .about-section, .hof-section, .team-section,
    .tournaments-section, .asltv-section, .matches-section,
    .sponsors-section, .reg-section, .article-page { padding-left: 1.25rem; padding-right: 1.25rem; }
    .articles-grid { grid-template-columns: 1fr; }
    .tournaments-grid { grid-template-columns: 1fr; }
    .reg-container { padding: 1.5rem; }
    .roster-header-row, .roster-grid-row { grid-template-columns: 1fr 1fr; }
    .roster-header-row .roster-header-label:nth-child(3),
    .roster-header-row .roster-header-label:nth-child(4),
    .roster-grid-row input:nth-child(3),
    .roster-grid-row input:nth-child(4) { display: none; }
    .article-page-meta { flex-direction: column; gap: 0.5rem; }
}

/* ═══════════════════════════════════════════
   ARTICLE PAGE — clanek.php
═══════════════════════════════════════════ */
.article-perex {
    font-size: 1.15rem;
    color: rgba(240,240,245,0.7);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--neon);
    background: var(--panel);
}

.article-page-content h2 { font-family: var(--font-hero); font-size: 2rem; text-transform: uppercase; color: var(--white); margin: 2.5rem 0 1rem; }
.article-page-content h3 { font-family: var(--font-hero); font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin: 2rem 0 0.75rem; }
.article-page-content ul, .article-page-content ol { padding-left: 1.5rem; margin: 1rem 0; color: rgba(240,240,245,0.75); line-height: 1.8; }
.article-page-content li { margin-bottom: 0.35rem; }
.article-page-content a { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }
.article-page-content a:hover { opacity: 0.8; }

/* Share */
.article-share {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.share-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }
.share-btn {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); color: var(--muted); text-decoration: none; font-size: 0.8rem;
    transition: all 0.2s;
}
.share-btn:hover { border-color: var(--neon); color: var(--neon); }

/* Related articles */
.related-articles { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); margin-top: 1.5rem; }
.related-card { background: var(--panel); text-decoration: none; display: block; transition: background 0.2s; }
.related-card:hover { background: var(--deep); }
.related-img { height: 120px; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: filter 0.3s; }
.related-card:hover .related-img img { filter: brightness(0.9); }
.related-info { padding: 1rem; }
.related-tag { font-family: var(--font-mono); font-size: 0.6rem; color: var(--neon); letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-bottom: 0.4rem; }
.related-title { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--white); line-height: 1.35; }

@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ARTICLES SLIDER (4+ articles)
═══════════════════════════════════════════ */
.articles-slider-wrap { overflow: hidden; }

.articles-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.articles-nav-btn {
    width: 36px; height: 36px;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.8rem;
    transition: all 0.2s;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.articles-nav-btn:hover:not(:disabled) {
    border-color: var(--neon);
    color: var(--neon);
    background: rgba(0,245,160,0.08);
}
.articles-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.articles-nav-count {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    min-width: 40px;
    text-align: center;
}

/* ── Admin drag&drop ── */
tr[data-id] { transition: background 0.15s; }
tr[data-id]:hover .drag-handle { color: var(--white); }

/* ═══════════════════════════════════════════
   TOURNAMENT MODAL
═══════════════════════════════════════════ */
.tournament-info-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.t-modal {
    position: fixed;
    inset: 0;
    background: rgba(5,5,7,0.85);
    backdrop-filter: blur(6px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.t-modal.open {
    opacity: 1;
    pointer-events: all;
}
.t-modal-box {
    background: var(--panel);
    border: 1px solid var(--border);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s;
}
.t-modal.open .t-modal-box { transform: translateY(0); }

.t-modal-header { position: relative; }
.t-modal-img { height: 220px; overflow: hidden; position: relative; }
.t-modal-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.t-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    background: rgba(5,5,7,.8);
    border: 1px solid var(--border);
    color: var(--white);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    transition: border-color .2s, color .2s;
    z-index: 2;
}
.t-modal-close:hover { border-color: var(--red); color: var(--red); }

.t-modal-body { padding: 2rem; }
.t-modal-title {
    font-family: var(--font-hero);
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
}
.t-modal-meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.t-modal-meta span {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.t-modal-meta i { color: var(--neon); }
.t-modal-content {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(240,240,245,.75);
    font-weight: 300;
}
.t-modal-content h3 { font-family: var(--font-hero); font-size: 1.3rem; text-transform: uppercase; color: var(--white); margin: 1.25rem 0 .5rem; }
.t-modal-content ul { padding-left: 1.5rem; margin: .75rem 0; }
.t-modal-content li { margin-bottom: .3rem; }
.t-modal-content strong { color: var(--white); font-weight: 700; }

@media (max-width: 600px) {
    .t-modal-box { max-height: 95vh; }
    .t-modal-body { padding: 1.25rem; }
    .t-modal-title { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════
   MATCHES — FLEXBOX LAYOUT
═══════════════════════════════════════════ */
.matches-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }

.matches-empty {
    padding: 3rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--muted);
    letter-spacing: .1em;
    border: 1px solid var(--border);
    background: var(--panel);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.matches-empty i { font-size: 2rem; opacity: .3; }

/* Tab buttons */
.match-tab-btn {
    padding: .55rem 1.4rem;
    background: var(--panel);
    border: none;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s, color .15s;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.match-tab-btn:hover { color: var(--white); }
.match-tab-btn.active { background: var(--neon); color: var(--black); }
.match-tab-count { background: rgba(0,0,0,.25); padding: .05rem .35rem; font-size: .58rem; }
.match-tab-btn.active .match-tab-count { background: rgba(0,0,0,.2); }

/* ── Match list (flexbox, not table) ── */
.mlist {
    border: 1px solid var(--border);
    background: var(--panel);
    overflow-x: auto;
}

/* Shared row layout — 7 columns for upcoming, 5 for finished */
.mlist-head,
.mlist-row {
    display: flex;
    align-items: center;
    min-width: 640px;
}

.mlist-head {
    background: var(--deep);
    border-bottom: 1px solid var(--border);
    padding: .6rem 1.25rem;
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.mlist-row {
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.mlist-row:last-child { border-bottom: none; }
.mlist-row:hover { background: rgba(0,245,160,.03); }
.mrow-live { background: rgba(255,45,85,.05) !important; }
.mrow-live:hover { background: rgba(255,45,85,.08) !important; }
.mrow-today { background: rgba(0,245,160,.025); }
.mrow-finished { opacity: .72; }

/* ── Column widths (upcoming) ── */
.mc-date   { width: 80px;  flex-shrink: 0; }
.mc-time   { width: 62px;  flex-shrink: 0; }
.mc-league { width: 170px; flex-shrink: 0; }
.mc-home   { flex: 1; text-align: right; padding-right: .75rem; }
.mc-vs     { width: 40px;  flex-shrink: 0; text-align: center; }
.mc-away   { flex: 1; text-align: left;  padding-left: .75rem; }
.mc-stream { width: 110px; flex-shrink: 0; text-align: right; }

/* ── Column widths (finished) ── */
.mc-fhome  { flex: 1; text-align: right; padding-right: .75rem; }
.mc-score  { width: 72px; flex-shrink: 0; text-align: center; }
.mc-faway  { flex: 1; text-align: left;  padding-left: .75rem; }

/* Date */
.mdate-num {
    display: block;
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--white);
}
.mdate-day {
    display: block;
    font-family: var(--font-mono);
    font-size: .58rem;
    color: var(--muted);
    margin-top: .1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Time */
.mtime {
    font-family: var(--font-mono);
    font-size: .88rem;
    color: var(--neon);
}

/* Live badge */
.mlive-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--font-mono);
    font-size: .65rem;
    color: var(--red);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.mlive-dot {
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 1.1s infinite;
}

/* League pills */
.league-pill {
    display: inline-block;
    padding: .15rem .5rem;
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    color: var(--white);
    margin-right: .2rem;
    white-space: nowrap;
}
.division-pill {
    display: inline-block;
    padding: .15rem .5rem;
    font-family: var(--font-mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 1px solid rgba(0,245,160,.35);
    color: var(--neon);
    white-space: nowrap;
}

/* Team names */
.mc-home, .mc-away, .mc-fhome, .mc-faway {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-winner { color: var(--neon); }

/* VS */
.mc-vs {
    font-family: var(--font-hero);
    font-size: .9rem;
    color: var(--muted);
    letter-spacing: .1em;
}

/* Score */
.mc-score {
    font-family: var(--font-hero);
    font-size: 1.3rem;
    letter-spacing: .05em;
    white-space: nowrap;
}
.score-win  { color: var(--neon); }
.score-sep  { color: var(--muted); margin: 0 .15rem; }

/* Stream badge */
.stream-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .65rem;
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid currentColor;
    transition: opacity .2s;
    white-space: nowrap;
}
.stream-badge:hover { opacity: .7; }
.stream-twitch   { color: #9146FF; }
.stream-kick     { color: #53fc18; }
.stream-youtube  { color: #ff2020; }
.stream-facebook { color: #1877f2; }

/* Notes */
.mlist-notes {
    padding: .15rem 1.25rem .6rem;
    font-family: var(--font-mono);
    font-size: .63rem;
    color: var(--muted);
    letter-spacing: .05em;
    border-bottom: 1px solid var(--border);
    min-width: 640px;
}
.mlist-notes i { color: var(--neon); margin-right: .35rem; }
.mlist-notes.mrow-live { background: rgba(255,45,85,.05); }

@media (max-width: 860px) {
    .matches-section { padding: 4rem 1.25rem; }
    .mc-league { display: none; }
    .mc-stream { width: 90px; }
}


