/* =========================================================
   Mentalita úspěšných – TMAVÝ MOTIV (redesign)
   Aktivní když config 'theme' => 'dark' (výchozí).
   Světlou verzi najdeš v styles/main.css (beze změny).
   ========================================================= */

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

:root {
    --bg: #0e1117;
    --bg-elev: #12161f;
    --card-bg: #161c26;
    --card-bg-alt: #1a212d;
    --heading: #f3f6fb;
    --text: #b9c2cf;
    --text-soft: #828d9e;

    --accent: #e3b45c;         /* zlatá – úspěch, prestiž */
    --accent-dark: #c8973c;
    --accent-soft: rgba(227, 180, 92, 0.14);

    --brand: #dd7a4e;          /* teplá terakota (druhý akcent) */
    --brand-dark: #b85f39;
    --emerald: #3fae8f;        /* zelená pro zážitkovou kartu */
    --emerald-dark: #268065;

    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.6);
    --radius: 16px;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background:
        radial-gradient(1100px 560px at 82% -12%, rgba(227, 180, 92, 0.10), transparent 68%),
        radial-gradient(1000px 520px at -12% 112%, rgba(63, 174, 143, 0.10), transparent 66%),
        var(--bg);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page {
    display: flex;
    justify-content: center;
    padding: 48px 20px;
}

.container {
    width: 100%;
    max-width: 820px;
    animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* HERO */
.hero {
    margin-bottom: 34px;
}

.badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(227, 180, 92, 0.30);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 8vw, 4.1rem);
    font-weight: 900;
    color: var(--heading);
    line-height: 1.04;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

h1 .accent {
    background: linear-gradient(120deg, #f0cd7d 0%, var(--accent) 45%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent); /* fallback */
}

.lead {
    font-size: 1.18rem;
    color: var(--text);
    margin-bottom: 12px;
}

.lead strong {
    color: var(--heading);
}

.lead-soft {
    color: var(--text-soft);
}

.lead em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

/* FLASH zprávy */
.flash {
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 1rem;
    animation: fadeIn 0.4s ease-out;
}

.flash-success {
    background: rgba(63, 174, 143, 0.14);
    color: #7fe0c4;
    border: 1px solid rgba(63, 174, 143, 0.35);
}

.flash-error {
    background: rgba(221, 122, 78, 0.14);
    color: #f0a07d;
    border: 1px solid rgba(221, 122, 78, 0.35);
}

/* KARTY */
.card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.15rem);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.18;
    margin-bottom: 14px;
}

.signup-title {
    font-size: clamp(1.9rem, 4.2vw, 2.5rem) !important;
}

.card-text {
    color: var(--text);
    font-size: 1.03rem;
    margin-bottom: 18px;
}

.card-text strong {
    color: var(--heading);
}

.card-note {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* SIGNUP */
.card-signup {
    border-top: 3px solid var(--accent);
    background:
        linear-gradient(180deg, rgba(227, 180, 92, 0.06), transparent 120px),
        var(--card-bg);
}

.signup-form {
    display: flex;
    gap: 12px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.signup-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--heading);
    background: #0f141c;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-form input[type="email"]::placeholder {
    color: var(--text-soft);
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(227, 180, 92, 0.18);
}

.signup-form button {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0cd7d 0%, var(--accent) 55%, var(--accent-dark) 100%);
    color: #201603;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(227, 180, 92, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.signup-form button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(227, 180, 92, 0.32);
}

/* AFFILIATE */
.affiliates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.affiliates .card {
    margin-bottom: 0;
}

.card-affiliate {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #7a3f24 0%, #46220f 100%);
    color: #fdefe6;
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Druhá varianta – smaragdová (adrop.cz zážitky) */
.card-affiliate-alt {
    background: linear-gradient(150deg, #1f6656 0%, #0f3a30 100%);
    color: #e7f7f1;
}

.card-affiliate-alt .affiliate-cta {
    color: var(--emerald-dark);
}

.card-affiliate::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
    pointer-events: none;
}

.card-affiliate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.22);
}

.affiliate-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.card-affiliate h2 {
    color: #fff;
}

.card-affiliate .card-text {
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 20px;
}

.card-affiliate .card-text strong {
    color: #fff;
}

.affiliate-cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    background: #fff;
    color: var(--brand-dark);
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.card-affiliate:hover .affiliate-cta {
    transform: translateX(3px);
}

/* SOCIÁLNÍ SÍTĚ */
.social {
    margin-top: 8px;
}

.section-label {
    color: var(--heading);
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg-alt);
    color: var(--heading);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    flex: 1;
    min-width: 220px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(227, 180, 92, 0.35);
}

.btn svg {
    width: 26px;
    height: 26px;
    fill: var(--accent);
    flex-shrink: 0;
}

.btn-label {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.btn-label small {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.btn-label span {
    font-size: 1.02rem;
    font-weight: 600;
}

/* FOOTER */
.footer {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer p {
    color: var(--text-soft);
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 680px) {
    .affiliates {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .page {
        padding: 32px 16px;
    }

    .card {
        padding: 24px 20px;
    }

    .signup-form {
        flex-direction: column;
    }

    .signup-form button {
        width: 100%;
    }

    .btn {
        min-width: 100%;
        justify-content: flex-start;
    }
}
