/*
Theme Name: Moravian Eagles
Author: Moravian Eagles
Description: Vlastní one-page šablona pro Moravian Eagles.
Version: 1.2
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #0d0f12;
    color: #f3f3f3;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 14, 17, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
    max-width: 1200px;
    margin: auto;
    min-height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #d3a643;
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: .2s;
}

.menu a:hover {
    color: #d3a643;
}

.discord-btn {
    background: #5865f2;
    padding: 12px 18px;
    border-radius: 6px;
}

.menu .discord-btn:hover {
    color: white;
    transform: translateY(-1px);
}

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 24px;
    background:
        radial-gradient(circle at center, rgba(214, 158, 35, 0.18), transparent 35%),
        linear-gradient(rgba(7, 8, 10, 0.72), rgba(7, 8, 10, 0.96)),
        #0b0d10;
}
  

.hero-inner {
    max-width: 950px;
    margin: auto;
}

.hero-kicker {
    color: #d3a643;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0;
    font-size: clamp(52px, 8vw, 105px);
    line-height: .92;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .55);
}

.hero p {
    max-width: 700px;
    margin: 25px auto 40px;
    color: #c9c9c9;
    font-size: 19px;
    line-height: 1.7;
}

.primary-btn {
    display: inline-block;
    padding: 16px 30px;
    background: linear-gradient(135deg, #f0b52f, #cf7d12);
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(240, 181, 47, .2);
    transition: .2s;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.section {
    padding: 100px 24px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    margin: 0 0 20px;
    font-size: 42px;
    text-transform: uppercase;
}

.gold {
    color: #f0b52f;
}

.section-text {
    max-width: 800px;
    color: #bcbcbc;
    line-height: 1.8;
    font-size: 17px;
}

.alt {
    background: #15181d;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.card {
    padding: 32px;
    background: #1c2026;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 7px;
}

.card h3 {
    margin-top: 0;
    color: #d3a643;
}

.contact-box {
    margin-top: 35px;
    padding: 32px;
    background: #1c2026;
    border-left: 4px solid #d3a643;
}

.discord-section {
    text-align: center;
    background: #101217;
}

.discord-section h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.discord-section p {
    color: #bbb;
    margin-bottom: 35px;
}

.footer {
    padding: 35px 24px;
    text-align: center;
    color: #777;
    background: #090a0c;
}

@media (max-width: 850px) {
    .nav {
        flex-direction: column;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

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

    .hero {
        min-height: 600px;
    }
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    display: block;
    height: 95px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}


/* =========================
   MORAVIAN EAGLES V1.2
========================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    background: #0b0d10;
    color: #f4f4f4;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 10, 13, 0.96);
    border-bottom: 1px solid rgba(240, 181, 47, 0.20);
    backdrop-filter: blur(12px);
}

.nav {
    max-width: 1300px;
    min-height: 115px;
    margin: 0 auto;
    padding: 10px 30px;
}

.custom-logo {
    display: block;
    height: 100px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.menu a {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.menu a:hover {
    color: #f0b52f;
}

.hero {
    min-height: 760px;
    padding: 120px 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(240, 181, 47, 0.18),
            transparent 38%
        ),
        radial-gradient(
            circle at 20% 35%,
            rgba(180, 20, 30, 0.13),
            transparent 30%
        ),
        linear-gradient(
            rgba(7, 8, 10, 0.72),
            rgba(7, 8, 10, 0.98)
        ),
        #0b0d10;
}

.hero-kicker {
    color: #f0b52f;
    font-weight: 900;
    letter-spacing: 5px;
}

.hero h1 {
    font-size: clamp(52px, 8vw, 105px);
    line-height: 0.92;
    letter-spacing: -2px;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.65);
}

.gold {
    color: #f0b52f;
}

.primary-btn {
    background: linear-gradient(
        135deg,
        #f0b52f,
        #cf7d12
    );

    color: #111;
    border-radius: 6px;

    box-shadow:
        0 8px 25px rgba(240, 181, 47, 0.22);

    transition: 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 35px rgba(240, 181, 47, 0.30);
}

.alt {
    background: #12151a;
}

.card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #1b1f25,
            #15181d
        );

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;

    transition: 0.2s ease;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background:
        linear-gradient(
            #a61c24,
            #f0b52f
        );
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 181, 47, 0.30);
}

.card h3 {
    color: #f0b52f;
}

.contact-box {
    background: #181c22;
    border-left: 4px solid #f0b52f;
}

.discord-section {
    background:
        radial-gradient(
            circle at center,
            rgba(88, 101, 242, 0.16),
            transparent 42%
        ),
        #0d1015;
}

.footer {
    background: #07080a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 950px) {
    .custom-logo {
        height: 90px;
        max-width: 210px;
    }

    .nav {
        flex-direction: column;
        padding-top: 15px;
        padding-bottom: 18px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =========================
   DOLADĚNÍ HEADERU A HERO
========================= */

/* Větší logo */
.custom-logo {
    height: 115px;
    max-width: 260px;
}

/* Header */
.header {
    background: rgba(5, 7, 9, 0.98);
    border-bottom: 1px solid rgba(240, 181, 47, 0.35);
}

/* Discord tlačítko */
.discord-btn {
    background: linear-gradient(135deg, #b71925, #7f1018) !important;
    border: 1px solid #f0b52f;
    box-shadow: 0 6px 20px rgba(183, 25, 37, 0.25);
}

.discord-btn:hover {
    background: linear-gradient(135deg, #d52230, #a4131e) !important;
}

/* Hero nadpis */
.hero h1 {
    text-shadow:
        0 5px 20px rgba(0, 0, 0, 0.9),
        0 0 45px rgba(240, 181, 47, 0.08);
}

/* Hlavní tlačítko */
.primary-btn {
    border: 1px solid #ffca4b;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.hero {
    position: relative;
    overflow: hidden;
}

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

.hero-emblem {
    display: block;
    width: 210px;
    height: 210px;
    object-fit: contain;
    margin: 0 auto 25px;
    filter: drop-shadow(0 0 35px rgba(240, 181, 47, 0.20));
}

/* =========================
   FANTASY HERO BACKGROUND
========================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 25% 35%,
            rgba(170, 20, 30, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 72% 40%,
            rgba(240, 181, 47, 0.17),
            transparent 32%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(240, 181, 47, 0.08),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #12080a 0%,
            #090b0f 45%,
            #07090c 70%,
            #120d07 100%
        );
}

/* Jemná textura */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.018) 0,
            rgba(255,255,255,0.018) 1px,
            transparent 1px,
            transparent 12px
        );

    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

/* Ztmavení okrajů */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            transparent 25%,
            rgba(0,0,0,0.28) 65%,
            rgba(0,0,0,0.78) 100%
        );

    pointer-events: none;
    z-index: 1;
}

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

/* Erb trochu víc září */
.hero-emblem {
    filter:
        drop-shadow(0 0 22px rgba(240, 181, 47, 0.25))
        drop-shadow(0 0 55px rgba(180, 25, 35, 0.12));
}

/* =========================
   MORAVIAN EAGLES - CONTENT
========================= */

.section-label {
    margin-bottom: 14px;
    color: #f0b52f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 4px;
}

.guild-section {
    background:
        radial-gradient(circle at 80% 40%, rgba(240,181,47,.06), transparent 35%),
        #0b0d10;
}

.guild-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
    margin-top: 45px;
}

.secondary-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 24px;
    border: 1px solid rgba(240,181,47,.65);
    border-radius: 5px;
    color: #f0b52f;
    font-weight: 900;
    text-transform: uppercase;
    transition: .2s;
}

.secondary-btn:hover {
    background: #f0b52f;
    color: #101010;
}

.guild-panel {
    padding: 15px 34px;
    background: linear-gradient(145deg, #181c22, #101216);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
}

.guild-feature {
    display: flex;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.guild-feature:last-child {
    border-bottom: 0;
}

.feature-number {
    color: #a61c24;
    font-size: 13px;
    font-weight: 900;
}

.guild-feature h3 {
    margin: 0 0 7px;
    color: #f0b52f;
}

.guild-feature p {
    margin: 0;
    color: #999;
    line-height: 1.6;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.stat {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.07);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    color: #f0b52f;
    font-size: 23px;
}

.stat span {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* TEAM */

.team-section {
    background:
        linear-gradient(rgba(18,21,26,.96), rgba(18,21,26,.96)),
        #12151a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.team-card {
    position: relative;
    padding: 38px 30px;
    background: #181c22;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    transition: .25s;
}

.team-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #a61c24, #f0b52f);
}

.team-card:hover {
    transform: translateY(-7px);
    border-color: rgba(240,181,47,.25);
}

.team-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #a61c24, #661016);
    border: 1px solid #f0b52f;
    border-radius: 50%;
    color: white;
    font-weight: 900;
}

.team-role {
    color: #f0b52f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-card h3 {
    margin: 8px 0 12px;
    font-size: 24px;
}

.team-card p {
    color: #999;
    line-height: 1.6;
}


/* KONTAKT */

.contact-section {
    background: #0b0d10;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    padding: 55px;
    background:
        radial-gradient(circle at right, rgba(166,28,36,.13), transparent 45%),
        #15181d;
    border: 1px solid rgba(240,181,47,.12);
    border-radius: 12px;
}

.contact-action {
    min-width: 270px;
    padding-left: 45px;
    border-left: 1px solid rgba(255,255,255,.08);
}

.contact-action span {
    display: block;
    color: #777;
}

.contact-action strong {
    display: block;
    margin: 7px 0 25px;
    font-size: 20px;
}


/* DISCORD */

.discord-section {
    padding: 130px 24px;
}

.discord-inner {
    max-width: 850px;
}

.discord-mark {
    width: 85px;
    height: 85px;
    margin: 0 auto 30px;
    display: grid;
    place-items: center;
    border: 2px solid #f0b52f;
    border-radius: 50%;
    background: #a61c24;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 0 50px rgba(166,28,36,.25);
}

.discord-main-btn {
    display: inline-block;
    padding: 17px 32px;
    background: linear-gradient(135deg, #b71925, #7f1018);
    border: 1px solid #f0b52f;
    border-radius: 6px;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    transition: .2s;
}

.discord-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(183,25,37,.3);
}


/* MOBIL */

@media (max-width: 850px) {

    .guild-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

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

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-panel {
        padding: 35px 25px;
    }

    .contact-action {
        padding: 30px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }
}

/* =====================================
   MORAVIAN EAGLES - FINAL POLISH
===================================== */

/* TEAM - 3 nahoře + 2 vycentrované dole */

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 25px;
}

.team-card {
    grid-column: span 2;
}

@media (min-width: 851px) {
    .team-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .team-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}


/* Výraznější team karty */

.team-card {
    background:
        radial-gradient(
            circle at top right,
            rgba(240, 181, 47, 0.06),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #1a1e24,
            #12151a
        );

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);
}

.team-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.30),
        0 0 25px rgba(240, 181, 47, 0.06);
}


/* Role kruhy */

.team-icon {
    position: relative;

    box-shadow:
        0 0 25px rgba(166, 28, 36, 0.22);
}

.team-icon::after {
    content: "";

    position: absolute;
    inset: -5px;

    border: 1px solid rgba(240, 181, 47, 0.18);
    border-radius: 50%;
}


/* O NÁS */

.guild-panel {
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);
}

.guild-feature {
    transition: transform 0.2s ease;
}

.guild-feature:hover {
    transform: translateX(6px);
}


/* Statistiky */

.stat {
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.stat:hover {
    background: rgba(240, 181, 47, 0.035);
}

.stat strong {
    text-shadow:
        0 0 18px rgba(240, 181, 47, 0.12);
}


/* Kontakt */

.contact-panel {
    position: relative;
    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22);
}

.contact-panel::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    top: -100px;

    background: rgba(166, 28, 36, 0.12);

    filter: blur(70px);

    pointer-events: none;
}


/* Jemné přechody mezi sekcemi */

.guild-section,
.team-section,
.contact-section,
.discord-section {
    position: relative;
}

.guild-section::after,
.team-section::after,
.contact-section::after {
    content: "";

    position: absolute;

    left: 10%;
    right: 10%;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(240, 181, 47, 0.18),
            transparent
        );
}


/* Discord CTA */

.discord-main-btn {
    letter-spacing: 0.5px;

    box-shadow:
        0 10px 30px rgba(166, 28, 36, 0.20);
}

.discord-main-btn:hover {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
        0 15px 40px rgba(166, 28, 36, 0.32);
}


/* Mobil */

@media (max-width: 850px) {

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

    .team-card,
    .team-card:nth-child(4),
    .team-card:nth-child(5) {
        grid-column: auto;
    }

}
