/* ============================================================
   FUT Coin Harvester — "Night Market" theme
   Loaded on every page via include/header.php (after uikit.css).
   Global scope: fonts, header, footer, offcanvas, sale banner.
   Everything else is scoped under body.theme-dark (marketing pages).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;1,600;1,700;1,800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --night-0: #070b14;
    --night-1: #0b0f1c;
    --night-2: #101728;
    --night-3: #161f36;
    --ink: #e9edf7;
    --ink-muted: #9aa5bd;
    --gold-1: #ffd666;
    --gold-2: #f0a020;
    --gold-ink: #1c1200;
    --blue: #2e9bff;
    --cyan: #38d9f5;
    --green: #3ddc84;
    --red: #ff5d5d;
    --line: rgba(255, 255, 255, 0.09);
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 16px;
    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------
   Global (all pages): base typography
   ------------------------------------------------------------ */

body {
    font-family: var(--font-body);
}

/* ------------------------------------------------------------
   Global (all pages): sale banner
   ------------------------------------------------------------ */

.sale-banner {
    display: block;
    text-align: center;
    padding: 9px 16px;
    background: linear-gradient(90deg, #b3540e, #e8410c 35%, #f0a11e);
    color: #fff;
    font-size: 0.92rem;
    text-decoration: none;
    transition: filter 0.2s;
}

.sale-banner:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.1);
}

.sale-banner-cta {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 12px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   Global (all pages): sticky glass header
   ------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 980;
    background: rgba(9, 13, 24, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header .uk-logo,
.site-header .uk-logo:hover {
    color: #fff;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.site-header .uk-navbar-nav > li > a {
    color: var(--ink-muted);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    min-height: 68px;
    transition: color 0.2s;
}

.site-header .uk-navbar-nav > li > a:hover,
.site-header .uk-navbar-nav > li.uk-active > a {
    color: #fff;
}

.site-header .uk-navbar-nav > li.uk-active > a {
    box-shadow: inset 0 -3px 0 var(--gold-2);
}

.site-header .uk-navbar-toggle {
    color: var(--ink);
}

/* Buttons in the header */
.btn-gold,
.site-header .btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: var(--gold-ink);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    padding: 11px 26px;
    line-height: 1.2;
    box-shadow: 0 8px 24px rgba(240, 160, 32, 0.32);
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}

.btn-gold:hover {
    color: var(--gold-ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(240, 160, 32, 0.42);
    filter: brightness(1.05);
}

.btn-gold-large {
    font-size: 0.95rem;
    padding: 16px 38px;
}

.btn-ghost {
    display: inline-block;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 10px 26px;
    line-height: 1.2;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    color: var(--gold-1);
    border-color: var(--gold-2);
    text-decoration: none;
    background: rgba(240, 160, 32, 0.06);
}

.btn-ghost-large {
    font-size: 0.95rem;
    padding: 15px 38px;
}

/* ------------------------------------------------------------
   Global (all pages): footer + offcanvas
   ------------------------------------------------------------ */

.site-footer {
    background: var(--night-0);
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
}

.site-footer h5 {
    color: #fff;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 1.15rem;
}

.site-footer a {
    color: var(--ink-muted);
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--gold-1);
    text-decoration: none;
}

.site-footer .uk-icon-button {
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--ink);
}

.site-footer .uk-icon-button:hover {
    color: var(--gold-1);
    border-color: var(--gold-2);
}

.uk-offcanvas-bar {
    background: var(--night-1);
}

/* ============================================================
   Marketing pages only: body.theme-dark
   ============================================================ */

body.theme-dark {
    background-color: var(--night-1);
    background-image:
        radial-gradient(60% 44% at 12% 0%, rgba(46, 155, 255, 0.14), transparent 62%),
        radial-gradient(46% 36% at 88% 4%, rgba(240, 160, 32, 0.09), transparent 60%);
    background-repeat: no-repeat;
    color: var(--ink);
}

/* Film grain overlay */
body.theme-dark::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark .uk-h1,
body.theme-dark .uk-h2,
body.theme-dark .uk-heading-primary {
    color: #fff;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark .uk-h1,
body.theme-dark .uk-heading-primary {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 0.95;
}

body.theme-dark p,
body.theme-dark li {
    color: var(--ink-muted);
}

body.theme-dark .uk-text-muted {
    color: #7d879d !important;
}

body.theme-dark hr {
    border-color: var(--line);
}

body.theme-dark a:not([class]) {
    color: var(--cyan);
}

/* Section framework */
.eyebrow {
    display: block;
    color: var(--gold-2);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.display-xl,
.display-l {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 0.95;
    color: #fff;
}

.display-xl {
    font-size: clamp(2.9rem, 6vw, 5rem);
}

.display-l {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

.text-gold {
    background: linear-gradient(115deg, var(--gold-1) 20%, var(--gold-2) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lead {
    font-size: 1.08rem;
    line-height: 1.75;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

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

.hero-media {
    position: relative;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: -12% -8%;
    background:
        radial-gradient(50% 50% at 30% 40%, rgba(46, 155, 255, 0.28), transparent 65%),
        radial-gradient(45% 45% at 75% 70%, rgba(240, 160, 32, 0.2), transparent 65%);
    filter: blur(10px);
    z-index: 0;
}

/* Fake browser frame around app screenshots */
.app-frame {
    position: relative;
    z-index: 1;
    background: var(--night-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px 10px 10px 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 18px 0 0 var(--gold-2), 36px 0 0 var(--green);
}

.app-frame img {
    display: block;
    width: 100%;
    border-radius: 6px;
}

.app-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}

/* Trust chips */
.trust-chips {
    margin-top: 26px;
    padding-left: 0;
    list-style: none;
}

.trust-chips li {
    display: inline-block;
    margin: 4px 8px 4px 0;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--ink) !important;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.trust-chips li .uk-icon {
    color: var(--green);
    margin-right: 5px;
}

/* ------------------------------------------------------------
   Glass cards (features, testimonials, pricing)
   ------------------------------------------------------------ */

body.theme-dark .uk-card-default {
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink-muted);
    box-shadow: none;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

body.theme-dark .uk-card-default .uk-card-header,
body.theme-dark .uk-card-default .uk-card-footer {
    border-color: var(--line);
}

body.theme-dark .uk-card-default.uk-card-hover:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

body.theme-dark .uk-card-default strong {
    color: #fff;
}

/* Feature cards */
.feature-card {
    text-align: left;
    padding: 30px 28px;
}

.icon-chip {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(240, 160, 32, 0.12);
    border: 1px solid rgba(240, 160, 32, 0.3);
    color: var(--gold-1);
}

.icon-chip.chip-blue {
    background: rgba(46, 155, 255, 0.12);
    border-color: rgba(46, 155, 255, 0.32);
    color: var(--blue);
}

.icon-chip.chip-green {
    background: rgba(61, 220, 132, 0.1);
    border-color: rgba(61, 220, 132, 0.3);
    color: var(--green);
}

.feature-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

/* ------------------------------------------------------------
   How it works — editorial numbered steps
   ------------------------------------------------------------ */

.step-card {
    position: relative;
    padding: 28px 26px 26px 26px;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 100%;
    overflow: hidden;
}

.step-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 4.4rem;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 214, 102, 0.9), rgba(240, 160, 32, 0.25));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.step-card h4 {
    margin: 10px 0 8px 0;
    color: #fff;
}

.step-card p {
    margin: 0;
    font-size: 0.94rem;
}

/* ------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------ */

.star-rating {
    color: var(--gold-1);
    font-size: 1.15rem;
    letter-spacing: 4px;
    text-shadow: 0 0 14px rgba(255, 214, 102, 0.45);
}

body.theme-dark blockquote {
    color: var(--ink);
    font-size: 0.98rem;
    font-style: normal;
    line-height: 1.7;
}

.avatar-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.theme-dark .uk-text-meta {
    color: #7d879d;
}

body.theme-dark h4 {
    color: #fff;
}

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */

body.theme-dark .uk-accordion > li {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--glass);
    padding: 4px 22px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

body.theme-dark .uk-accordion > li.uk-open {
    border-color: rgba(240, 160, 32, 0.45);
}

body.theme-dark .uk-accordion > :nth-child(n+2) {
    margin-top: 0;
}

body.theme-dark .uk-accordion-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 0;
}

body.theme-dark .uk-accordion-title:hover {
    color: var(--gold-1);
}

body.theme-dark .uk-accordion-content {
    margin-top: 0;
    padding-bottom: 14px;
}

/* ------------------------------------------------------------
   Tabs (pricing) — segmented pill control
   ------------------------------------------------------------ */

body.theme-dark .uk-tab {
    display: inline-flex;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    margin-left: 0;
}

body.theme-dark .uk-tab::before {
    display: none;
}

body.theme-dark .uk-tab > * {
    padding-left: 0;
}

body.theme-dark .uk-tab > * > a {
    border: none;
    border-radius: 999px;
    padding: 9px 24px;
    color: var(--ink-muted);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

body.theme-dark .uk-tab > .uk-active > a {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: var(--gold-ink);
}

.tab-center {
    display: flex;
    justify-content: center;
}

/* ------------------------------------------------------------
   Pricing cards
   ------------------------------------------------------------ */

.price-value {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 3.9rem;
    line-height: 1;
    color: #fff;
}

.price-value .price-cur {
    font-size: 0.45em;
    vertical-align: super;
    color: var(--ink-muted);
    margin-right: 2px;
}

.price-value small {
    font-size: 0.5em;
}

.card-popular {
    border-color: rgba(240, 160, 32, 0.55) !important;
    background: linear-gradient(180deg, rgba(240, 160, 32, 0.07), rgba(255, 255, 255, 0.03)) !important;
    box-shadow: 0 18px 50px rgba(240, 160, 32, 0.12) !important;
}

.card-popular .uk-card-badge {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: var(--gold-ink);
    font-weight: 800;
    border-radius: 999px;
    top: -13px;
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 6px 18px rgba(240, 160, 32, 0.4);
    white-space: nowrap;
}

.card-popular {
    overflow: visible;
}

body.theme-dark .price-feature-list li {
    font-size: 0.86rem;
}

body.theme-dark .price-feature-list .uk-icon {
    color: var(--green);
}

body.theme-dark .price-meta-list .uk-icon {
    color: var(--gold-2);
}

body.theme-dark .price-meta-list strong {
    color: #fff;
}

/* Labels (sale badges) */
body.theme-dark .uk-label-danger {
    background: linear-gradient(135deg, #ff5d5d, #e8410c);
    border-radius: 999px;
    font-weight: 800;
}

/* ------------------------------------------------------------
   Trust row + final CTA panel
   ------------------------------------------------------------ */

.trust-row {
    color: var(--ink-muted);
    font-size: 0.88rem;
}

.trust-row .uk-icon {
    color: var(--gold-2);
    margin-right: 6px;
}

.trust-row > div {
    display: inline-flex;
    align-items: center;
    margin: 6px 14px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 64px 34px;
    background:
        radial-gradient(70% 90% at 50% -10%, rgba(46, 155, 255, 0.22), transparent 65%),
        radial-gradient(60% 80% at 85% 110%, rgba(240, 160, 32, 0.16), transparent 60%),
        var(--night-2);
}

/* ------------------------------------------------------------
   Light-theme leftovers on dark pages
   ------------------------------------------------------------ */

body.theme-dark .uk-section-muted {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

body.theme-dark .uk-button-primary {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    color: var(--gold-ink);
    font-weight: 800;
    letter-spacing: 0.06em;
    border-radius: 999px;
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}

body.theme-dark .uk-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(240, 160, 32, 0.35);
    filter: brightness(1.05);
    color: var(--gold-ink);
}

body.theme-dark .uk-button-text {
    color: var(--ink);
}

body.theme-dark .uk-button-text:hover {
    color: var(--gold-1);
}

/* Keep payment modal readable (light dialog on dark page) */
body.theme-dark .uk-modal-dialog {
    color: #333;
    border-radius: 14px;
}

body.theme-dark .uk-modal-dialog p,
body.theme-dark .uk-modal-dialog li {
    color: #444;
}

body.theme-dark .uk-modal-title {
    color: #111;
    font-family: var(--font-body);
    font-style: normal;
    text-transform: none;
}

/* ------------------------------------------------------------
   Content pages (guides, member, contact, proxies)
   ------------------------------------------------------------ */

body.theme-dark .uk-table th {
    color: var(--gold-2);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid var(--line);
}

body.theme-dark .uk-table td {
    color: var(--ink-muted);
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

body.theme-dark .uk-table tbody tr:hover td,
body.theme-dark .uk-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

body.theme-dark .uk-button-default {
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: transparent;
    transition: border-color 0.2s, color 0.2s;
}

body.theme-dark .uk-button-default:hover {
    color: var(--gold-1);
    border-color: var(--gold-2);
    background: rgba(240, 160, 32, 0.06);
}

body.theme-dark .uk-heading-line > ::before,
body.theme-dark .uk-heading-line > ::after {
    border-bottom-color: var(--line);
}

body.theme-dark .uk-article-meta,
body.theme-dark figcaption {
    color: #7d879d;
}

body.theme-dark .uk-article-meta a {
    color: var(--cyan);
}

body.theme-dark .uk-tile-muted {
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-muted);
}

body.theme-dark article img {
    border-radius: 10px;
    border: 1px solid var(--line);
}

/* Contact / generic icon feature blocks */
.icon-chip-large {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    background: rgba(240, 160, 32, 0.12);
    border: 1px solid rgba(240, 160, 32, 0.3);
    color: var(--gold-1);
}

.icon-chip-large.chip-blue {
    background: rgba(46, 155, 255, 0.12);
    border-color: rgba(46, 155, 255, 0.32);
    color: var(--blue);
}

.icon-chip-large.chip-green {
    background: rgba(61, 220, 132, 0.1);
    border-color: rgba(61, 220, 132, 0.3);
    color: var(--green);
}

/* ------------------------------------------------------------
   Motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    .app-frame,
    .btn-gold,
    body.theme-dark .uk-card-default {
        transition: none;
    }
}
