:root {
    --bg: #07080c;
    --panel: #101218;
    --panel2: #171a22;
    --text: #f5f7ff;
    --muted: #8d94a5;
    --line: rgba(255,255,255,.09);
    --accent1: #5ee7ff;
    --accent2: #885cff;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 70% 0%, rgba(136,92,255,.17), transparent 35rem),
        radial-gradient(circle at 10% 25%, rgba(94,231,255,.08), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    min-height: 100vh;
}

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

.topbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    border-bottom: 1px solid var(--line);
    background: rgba(7,8,12,.75);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.06em;
}

.brand span {
    background: linear-gradient(90deg,var(--accent1),var(--accent2));
    color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a, .nav-button {
    font-weight: 700;
    font-size: .9rem;
}

.nav-button {
    border: 0;
    background: none;
    color: white;
    cursor: pointer;
}

.nav-cta {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 18px;
}

.inline { display: inline; }

.hero {
    min-height: 68vh;
    display: flex;
    align-items: center;
    padding: 7vw;
}

.hero-copy {
    max-width: 800px;
}

.hero h1 {
    margin: .15em 0;
    font-size: clamp(4rem, 9vw, 8.5rem);
    letter-spacing: -.075em;
    line-height: .86;
}

.hero h1 span {
    background: linear-gradient(90deg,var(--accent1),var(--accent2));
    color: transparent;
    background-clip: text;
}

.hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.eyebrow {
    color: var(--accent1);
    letter-spacing: .22em;
    font-size: .72rem;
    font-weight: 900;
}

.section {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h1,
.section-heading h2 {
    margin: 8px 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: -.055em;
}

.section-heading p {
    color: var(--muted);
}

.plans {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 15px;
}

.plan,
.panel,
.stat {
    border: 1px solid var(--line);
    background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
    border-radius: 22px;
    padding: 28px;
}

.plan {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.duration {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
}

.months {
    color: var(--muted);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.price {
    margin: auto 0 22px;
    font-size: 1.65rem;
    font-weight: 800;
}

.button {
    border: 0;
    cursor: pointer;
    display: inline-block;
    background: linear-gradient(90deg,var(--accent1),var(--accent2));
    color: #05060a;
    padding: 13px 21px;
    border-radius: 999px;
    font-weight: 900;
    text-align: center;
}

.button.disabled {
    opacity: .45;
    cursor: default;
}

.full {
    width: 100%;
    margin-top: 20px;
}

.form-page {
    min-height: calc(100vh - 140px);
    display: grid;
    place-items: center;
    padding: 60px 20px;
}

.form-panel {
    width: min(470px,100%);
}

.form-panel h1 {
    font-size: 2.8rem;
    margin: 8px 0 25px;
}

label {
    display: block;
    font-size: .82rem;
    font-weight: 800;
    margin: 17px 0 8px;
}

input {
    width: 100%;
    background: #090a0e;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    color: white;
    outline: none;
}

input:focus {
    border-color: var(--accent1);
}

.check {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
}

.check input {
    width: auto;
}

.errors {
    padding: 13px;
    background: rgba(255,80,90,.12);
    border: 1px solid rgba(255,80,90,.35);
    border-radius: 10px;
}

.flash {
    width: min(1100px,90%);
    margin: 20px auto 0;
    border: 1px solid rgba(94,231,255,.25);
    padding: 14px 18px;
    border-radius: 12px;
}

.dashboard {
    min-height: 70vh;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat span {
    color: var(--muted);
    display: block;
}

.stat strong {
    display: block;
    margin-top: 10px;
    font-size: 2.6rem;
}

.panel h2 {
    margin-top: 0;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.row small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
}

.status {
    display: inline-block;
    margin-left: 8px;
    font-size: .65rem;
    letter-spacing: .08em;
    color: var(--accent1);
}

.subscription {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.credentials div {
    padding: 15px;
    border-radius: 12px;
    background: #090a0e;
}

.credentials span {
    color: var(--muted);
    display: block;
    font-size: .75rem;
    margin-bottom: 5px;
}

.product-admin-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.muted,
.small,
.optional {
    color: var(--muted);
}

footer {
    color: var(--muted);
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--line);
}

@media (max-width: 950px) {
    .plans {
        grid-template-columns: repeat(2,1fr);
    }

    .dashboard-grid,
    .product-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .topbar {
        padding: 0 20px;
    }

    nav {
        gap: 12px;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: 580px;
        padding: 40px 6vw;
    }

    .plans,
    .stats {
        grid-template-columns: 1fr;
    }

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


/* =========================================================
   FUNKYTV PLAN CONFIGURATOR
   ========================================================= */

.configurator {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(22px, 4vw, 45px);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );
}

.config-section {
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.config-section:first-child {
    padding-top: 0;
}

.config-label {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.config-option {
    appearance: none;
    border: 1px solid var(--line);
    background: #0b0d12;
    color: var(--text);
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease;
}

.config-option:hover {
    transform: translateY(-2px);
    border-color: rgba(94,231,255,.55);
}

.config-option.active {
    color: #05060a;
    border-color: transparent;
    background:
        linear-gradient(
            90deg,
            var(--accent1),
            var(--accent2)
        );
}

.selected-plan {
    margin-top: 32px;
    padding: 28px;
    border-radius: 20px;
    background: #090a0e;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.selected-plan h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: -.04em;
    margin: 7px 0;
}

.selected-plan-price {
    flex: 0 0 auto;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -.06em;

    background:
        linear-gradient(
            90deg,
            var(--accent1),
            var(--accent2)
        );

    color: transparent;
    background-clip: text;
}

.big-button {
    margin-top: 22px;
    font-size: 1rem;
    padding: 17px 25px;
}

.unavailable-plan {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(255,90,100,.3);
    background: rgba(255,90,100,.08);
    color: #ffafb5;
}

.plan-error {
    margin-bottom: 20px;
}


@media (max-width: 700px) {

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

    .config-option {
        width: 100%;
    }

    .selected-plan {
        display: block;
    }

    .selected-plan-price {
        margin-top: 20px;
    }
}


/* =========================================================
   ADMIN PRODUCT MATRIX
   ========================================================= */

.admin-product-group {
    margin-bottom: 22px;
}

.product-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.product-table th {
    text-align: left;
    padding: 12px 14px;
    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}

.product-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.product-table tr:last-child td {
    border-bottom: none;
}

.product-table code {
    background: #090a0e;
    border: 1px solid var(--line);
    padding: 6px 9px;
    border-radius: 7px;
    color: var(--accent1);
}

.price-input {
    display: flex;
    align-items: center;
    gap: 7px;
}

.price-input input {
    width: 105px;
    padding: 10px;
}

.small-button {
    padding: 9px 16px;
    font-size: .8rem;
}


/* Enabled / disabled switch */

.switch {
    position: relative;
    width: 46px;
    height: 25px;
    display: inline-block;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 999px;
    background: #292d37;
    transition: .2s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: white;
    transition: .2s;
}

.switch input:checked + .slider {
    background:
        linear-gradient(
            90deg,
            var(--accent1),
            var(--accent2)
        );
}

.switch input:checked + .slider:before {
    transform: translateX(21px);
}


/* =========================================================
   FUNKYTV PREMIUM PUBLIC WEBSITE
   ========================================================= */

.ft-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ft-eyebrow {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent1, #ef233c);
    margin-bottom: 16px;
}


/* HERO */

.ft-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
}

.ft-hero-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    right: -180px;
    top: -280px;
    background:
        radial-gradient(
            circle,
            rgba(239,35,60,.16),
            transparent 68%
        );
    pointer-events: none;
}

.ft-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: center;
}

.ft-hero-copy h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(3.1rem, 7vw, 6.4rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.ft-hero-copy h1 span {
    display: block;
    color: var(--muted, #9ca3af);
}

.ft-hero-lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--muted, #a6abb7);
    font-size: 1.13rem;
    line-height: 1.8;
}

.ft-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    transition:
        transform .2s ease,
        opacity .2s ease,
        border-color .2s ease;
}

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

.ft-btn-primary {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--accent1, #ef233c),
            var(--accent2, #b3122d)
        );
}

.ft-btn-secondary {
    color: #fff;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line, #262a33);
}

.ft-btn-full {
    width: 100%;
}

.ft-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    color: var(--muted, #8f95a3);
    font-size: .8rem;
}

.ft-trust-line span::before {
    content: "✓";
    margin-right: 7px;
    color: var(--accent1, #ef233c);
}

.ft-hero-panel {
    padding: 34px;
    border: 1px solid var(--line, #242832);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );
    box-shadow: 0 30px 70px rgba(0,0,0,.24);
}

.ft-panel-label {
    color: var(--accent1, #ef233c);
    font-size: .68rem;
    letter-spacing: .16em;
    font-weight: 800;
}

.ft-hero-panel h2 {
    margin: 13px 0 29px;
    font-size: 2.1rem;
    line-height: 1.08;
}

.ft-hero-feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 19px 0;
    border-top: 1px solid var(--line, #252933);
}

.ft-feature-number {
    color: var(--accent1, #ef233c);
    font-size: .72rem;
    font-weight: 800;
}

.ft-hero-feature strong {
    display: block;
    margin-bottom: 5px;
}

.ft-hero-feature span {
    display: block;
    color: var(--muted, #9298a5);
    font-size: .88rem;
    line-height: 1.55;
}


/* GENERAL SECTIONS */

.ft-intro,
.ft-plans,
.ft-how,
.ft-faq,
.ft-account-section {
    padding: 90px 0;
}

.ft-intro,
.ft-how {
    background: rgba(255,255,255,.018);
}

.ft-section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.ft-section-heading-centred {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ft-section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.ft-section-heading p {
    color: var(--muted, #9da3af);
    line-height: 1.75;
    font-size: 1.02rem;
}


/* BENEFITS */

.ft-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ft-benefit-card {
    padding: 28px;
    min-height: 250px;
    border-radius: 18px;
    border: 1px solid var(--line, #252933);
    background: rgba(255,255,255,.025);
}

.ft-card-icon {
    display: inline-flex;
    margin-bottom: 38px;
    color: var(--accent1, #ef233c);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ft-benefit-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.ft-benefit-card p {
    margin: 0;
    color: var(--muted, #969ca8);
    font-size: .91rem;
    line-height: 1.7;
}


/* PLAN BUILDER */

.ft-configurator {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 28px;
    align-items: start;
}

.ft-config-options {
    padding: 32px;
    border: 1px solid var(--line, #252933);
    border-radius: 20px;
    background: rgba(255,255,255,.02);
}

.ft-option-block + .ft-option-block {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid var(--line, #252933);
}

.ft-option-heading {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.ft-option-heading > span {
    color: var(--accent1, #ef233c);
    font-size: .75rem;
    font-weight: 800;
}

.ft-option-heading strong {
    display: block;
    margin-bottom: 4px;
}

.ft-option-heading small {
    color: var(--muted, #9298a5);
    line-height: 1.5;
}

.ft-choice-grid {
    display: grid;
    gap: 10px;
}

.ft-choice-duration {
    grid-template-columns: repeat(5, 1fr);
}

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

.ft-choice-connections {
    grid-template-columns: repeat(3, 1fr);
}

.ft-choice {
    min-height: 58px;
    padding: 12px;
    border: 1px solid var(--line, #30343f);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    color: #fff;
    cursor: pointer;
    font: inherit;
    transition:
        border-color .2s,
        background .2s,
        transform .2s;
}

.ft-choice:hover {
    border-color: rgba(255,255,255,.3);
    transform: translateY(-1px);
}

.ft-choice.active {
    border-color: var(--accent1, #ef233c);
    background: rgba(239,35,60,.11);
}

.ft-choice strong,
.ft-choice small {
    display: block;
}

.ft-choice small {
    margin-top: 4px;
    color: var(--muted, #9298a5);
    font-size: .73rem;
}

.ft-plan-summary {
    position: sticky;
    top: 24px;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--line, #252933);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
}

.ft-summary-label,
.ft-selected-plan {
    margin-bottom: 14px;
    color: var(--accent1, #ef233c);
    font-size: .68rem;
    letter-spacing: .15em;
    font-weight: 800;
}

.ft-plan-summary h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

.ft-plan-summary p {
    color: var(--muted, #999fac);
    line-height: 1.65;
}

.ft-price {
    margin: 20px 0;
    font-size: 2.8rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.ft-plan-divider {
    height: 1px;
    margin: 22px 0;
    background: var(--line, #292d37);
}

.ft-plan-detail {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 12px 0;
    font-size: .9rem;
}

.ft-plan-detail span {
    color: var(--muted, #9298a5);
}

.ft-login-hint {
    text-align: center;
    font-size: .8rem;
}

.ft-login-hint a {
    color: #fff;
}

.ft-unavailable {
    padding: 18px;
    border-radius: 12px;
    background: rgba(239,35,60,.08);
}


/* STEPS */

.ft-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line, #252933);
    border-radius: 18px;
    overflow: hidden;
    background: var(--line, #252933);
}

.ft-steps article {
    padding: 30px;
    background: #101217;
}

.ft-steps article > span {
    display: block;
    margin-bottom: 48px;
    color: var(--accent1, #ef233c);
    font-size: .72rem;
    font-weight: 800;
}

.ft-steps h3 {
    margin: 0 0 12px;
}

.ft-steps p {
    margin: 0;
    color: var(--muted, #969ca8);
    line-height: 1.65;
    font-size: .9rem;
}


/* ACCOUNT CTA */

.ft-account-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 48px;
    border-radius: 22px;
    border: 1px solid var(--line, #252933);
    background:
        linear-gradient(
            120deg,
            rgba(239,35,60,.11),
            rgba(255,255,255,.025)
        );
}

.ft-account-banner h2 {
    max-width: 650px;
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -.04em;
    line-height: 1.05;
}

.ft-account-banner p {
    max-width: 700px;
    margin: 0;
    color: var(--muted, #9ba1ad);
    line-height: 1.7;
}


/* FAQ */

.ft-faq-grid {
    max-width: 850px;
    margin: 0 auto;
}

.ft-faq details {
    border-top: 1px solid var(--line, #292d37);
}

.ft-faq details:last-child {
    border-bottom: 1px solid var(--line, #292d37);
}

.ft-faq summary {
    position: relative;
    padding: 24px 42px 24px 0;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.ft-faq summary::-webkit-details-marker {
    display: none;
}

.ft-faq summary::after {
    content: "+";
    position: absolute;
    right: 3px;
    top: 19px;
    color: var(--accent1, #ef233c);
    font-size: 1.4rem;
}

.ft-faq details[open] summary::after {
    content: "−";
}

.ft-faq details p {
    max-width: 720px;
    margin: -4px 0 24px;
    color: var(--muted, #969ca8);
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 980px) {

    .ft-hero-grid,
    .ft-configurator {
        grid-template-columns: 1fr;
    }

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

    .ft-plan-summary {
        position: static;
    }

    .ft-choice-duration {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 650px) {

    .ft-container {
        width: min(100% - 28px, 1180px);
    }

    .ft-hero {
        padding: 70px 0 60px;
    }

    .ft-hero-grid {
        gap: 35px;
    }

    .ft-benefit-grid,
    .ft-steps,
    .ft-choice-content,
    .ft-choice-connections,
    .ft-account-banner {
        grid-template-columns: 1fr;
    }

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

    .ft-config-options,
    .ft-plan-summary,
    .ft-hero-panel {
        padding: 22px;
    }

    .ft-intro,
    .ft-plans,
    .ft-how,
    .ft-faq,
    .ft-account-section {
        padding: 65px 0;
    }

}


/* =========================================================
   FUNKYTV CUSTOMER PORTAL
   ========================================================= */

.ft-account-hero {
    padding: 70px 0 55px;
    border-bottom: 1px solid var(--line, #252933);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.025),
            transparent
        );
}

.ft-account-welcome {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
}

.ft-account-welcome h1 {
    margin: 0 0 15px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    letter-spacing: -.045em;
    line-height: 1;
}

.ft-account-welcome p {
    max-width: 670px;
    margin: 0;
    color: var(--muted, #9ba1ad);
    line-height: 1.7;
}

.ft-account-content {
    padding: 70px 0 100px;
}

.ft-dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.ft-dashboard-heading h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -.025em;
}

.ft-orders-heading {
    margin-top: 70px;
}


/* SUBSCRIPTION CARDS */

.ft-subscription-grid {
    display: grid;
    gap: 22px;
}

.ft-subscription-card {
    padding: 34px;
    border-radius: 20px;
    border: 1px solid var(--line, #292d37);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
}

.ft-subscription-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.ft-subscription-top h2 {
    margin: 11px 0 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -.025em;
}

.ft-subscription-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted, #9298a5);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ft-subscription-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #777;
}

.ft-subscription-status.active {
    color: #b7f4c7;
}

.ft-subscription-status.active span {
    background: #33c76f;
    box-shadow:
        0 0 0 4px rgba(51,199,111,.12);
}

.ft-expiry-box {
    min-width: 150px;
    padding: 13px 16px;
    border-radius: 11px;
    border: 1px solid var(--line, #292d37);
    background: rgba(0,0,0,.18);
    text-align: right;
}

.ft-expiry-box small {
    display: block;
    margin-bottom: 5px;
    color: var(--muted, #8d94a1);
    font-size: .62rem;
    letter-spacing: .1em;
}

.ft-expiry-box strong {
    font-size: .9rem;
}

.ft-service-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 30px 0;
    border-radius: 13px;
    overflow: hidden;
    background: var(--line, #292d37);
}

.ft-service-summary > div {
    padding: 18px;
    background: #111318;
}

.ft-service-summary span,
.ft-credential span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted, #8f96a3);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ft-service-summary strong {
    font-size: .95rem;
}


/* ACCESS DETAILS */

.ft-access-panel {
    padding: 26px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
}

.ft-access-heading {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: flex-start;
}

.ft-access-heading h3 {
    margin: 0;
    font-size: 1.3rem;
}

.ft-secure-label {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(51,199,111,.1);
    color: #a7e9ba;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ft-access-description {
    max-width: 650px;
    margin: 12px 0 22px;
    color: var(--muted, #949ba7);
    font-size: .86rem;
    line-height: 1.6;
}

.ft-credential {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--line, #292d37);
}

.ft-credential strong {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: .95rem;
}

.ft-credential-actions {
    display: flex;
    gap: 7px;
}

.ft-copy-btn,
.ft-reveal-btn {
    min-width: 65px;
    padding: 8px 12px;
    border: 1px solid var(--line, #343944);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
}

.ft-copy-btn:hover,
.ft-reveal-btn:hover {
    border-color: var(--accent1, #ef233c);
}


/* PROVISIONING */

.ft-processing-panel {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}

.ft-processing-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #e3a62f;
    box-shadow:
        0 0 0 5px rgba(227,166,47,.1);
}

.ft-processing-panel strong {
    display: block;
    margin-bottom: 5px;
}

.ft-processing-panel p {
    margin: 0;
    color: var(--muted, #969da9);
    line-height: 1.6;
    font-size: .88rem;
}


/* ORDER HISTORY */

.ft-orders-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line, #292d37);
    border-radius: 15px;
}

.ft-orders-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.ft-orders-table th {
    padding: 13px 18px;
    text-align: left;
    color: var(--muted, #8f96a3);
    font-size: .66rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(255,255,255,.02);
}

.ft-orders-table td {
    padding: 17px 18px;
    border-top: 1px solid var(--line, #292d37);
    font-size: .88rem;
}

.ft-order-reference {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--muted, #a2a8b2);
}

.ft-order-status {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ft-order-status-active {
    color: #b8efc7;
    background: rgba(51,199,111,.1);
}

.ft-order-status-paid,
.ft-order-status-provisioning {
    color: #efd69f;
    background: rgba(227,166,47,.1);
}


/* EMPTY / HELP */

.ft-empty-state {
    padding: 60px 30px;
    border-radius: 18px;
    border: 1px solid var(--line, #292d37);
    text-align: center;
}

.ft-empty-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(239,35,60,.1);
    color: var(--accent1, #ef233c);
    font-size: 1.5rem;
}

.ft-empty-state p {
    max-width: 560px;
    margin: 0 auto 25px;
    color: var(--muted, #969da9);
    line-height: 1.7;
}

.ft-empty-orders {
    padding: 30px;
    border-radius: 14px;
    border: 1px solid var(--line, #292d37);
    color: var(--muted, #969da9);
}

.ft-help-banner {
    margin-top: 60px;
    padding: 36px;
    border-radius: 18px;
    border: 1px solid var(--line, #292d37);
    background:
        linear-gradient(
            120deg,
            rgba(239,35,60,.08),
            rgba(255,255,255,.02)
        );
}

.ft-help-banner h2 {
    margin: 0 0 10px;
}

.ft-help-banner p {
    max-width: 650px;
    margin: 0;
    color: var(--muted, #969da9);
    line-height: 1.65;
}


/* MOBILE */

@media (max-width: 760px) {

    .ft-account-welcome,
    .ft-subscription-top {
        display: block;
    }

    .ft-account-welcome .ft-btn {
        margin-top: 25px;
    }

    .ft-expiry-box {
        margin-top: 20px;
        text-align: left;
    }

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

    .ft-subscription-card {
        padding: 22px;
    }

    .ft-credential {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   FUNKYTV CONTACT LINKS
   ========================================================= */

.funkytv-contact-links {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 12px 10px 18px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;

    background: rgba(12,14,18,.94);

    box-shadow:
        0 18px 50px rgba(0,0,0,.4);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.funkytv-contact-text {
    margin-right: 4px;

    color: #fff;

    font-size: .8rem;
    font-weight: 700;

    letter-spacing: .02em;

    white-space: nowrap;
}

.funkytv-contact-icon {
    display: inline-flex;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.funkytv-contact-icon svg {
    width: 27px;
    height: 27px;
}

.funkytv-contact-icon:hover {
    transform: translateY(-3px) scale(1.05);
}

.funkytv-telegram {
    color: #fff;
    background: #229ED9;

    box-shadow:
        0 8px 22px rgba(34,158,217,.25);
}

.funkytv-whatsapp {
    color: #fff;
    background: #25D366;

    box-shadow:
        0 8px 22px rgba(37,211,102,.22);
}

.funkytv-visually-hidden {
    position: absolute !important;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0,0,0,0);

    white-space: nowrap;

    border: 0;
}


/* Mobile */

@media (max-width: 620px) {

    .funkytv-contact-links {
        right: 14px;
        bottom: 14px;

        padding: 8px 9px 8px 14px;

        gap: 8px;
    }

    .funkytv-contact-text {
        font-size: .72rem;
    }

    .funkytv-contact-icon {
        width: 43px;
        height: 43px;
    }

    .funkytv-contact-icon svg {
        width: 24px;
        height: 24px;
    }

}


/* GOOGLE SIGN IN */

.ft-google-button {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid #dadce0;
    border-radius: 10px;
    background: #fff;
    color: #202124;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.ft-google-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.ft-google-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.ft-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
}

.ft-auth-divider::before,
.ft-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line, #292d37);
}

.ft-auth-divider span {
    color: var(--muted, #9298a5);
    font-size: .72rem;
    white-space: nowrap;
}


/* =========================================================
   GOOGLE SIGN IN - PREMIUM STYLE
   ========================================================= */

.ft-social-auth {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.ft-google-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;

    width: min(100%, 360px);
    min-height: 68px;

    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(245,246,248,.96)
        );

    color: #202124;
    text-decoration: none;

    box-shadow:
        0 10px 26px rgba(0,0,0,.18);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.ft-google-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 34px rgba(0,0,0,.22);
}

.ft-google-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    border-radius: 12px;
    background: #fff;

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.05);
}

.ft-google-icon {
    width: 22px;
    height: 22px;
}

.ft-google-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.ft-google-copy small {
    margin-bottom: 4px;
    color: #5f6368;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.ft-google-copy strong {
    color: #202124;
    font-size: .98rem;
    font-weight: 700;
}

.ft-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
}

.ft-auth-divider::before,
.ft-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line, #292d37);
}

.ft-auth-divider span {
    color: var(--muted, #9298a5);
    font-size: .72rem;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .ft-google-button {
        width: 100%;
        min-height: 62px;
        border-radius: 14px;
        padding: 10px 14px;
    }

    .ft-google-icon-wrap {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .ft-google-copy strong {
        font-size: .92rem;
    }
}


/* =========================================================
   FUNKYTV AUTH SCREENS
   ========================================================= */

.ft-auth-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(239,35,60,.18), transparent 28%),
        radial-gradient(circle at left center, rgba(239,35,60,.12), transparent 26%),
        #03060d;
    color: #fff;
}

.ft-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 18px;
}

.ft-auth-shell {
    width: min(1220px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    background: rgba(5,10,18,.92);
    box-shadow:
        0 24px 80px rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ft-auth-left {
    position: relative;
    padding: 64px;
    border-right: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at top left, rgba(239,35,60,.18), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.01));
}

.ft-auth-right {
    padding: 58px 58px 50px;
}

.ft-auth-badge,
.ft-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
}

.ft-auth-badge {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(239,35,60,.28);
    border-radius: 999px;
    color: #ff4a5f;
    background: rgba(239,35,60,.08);
    font-size: .82rem;
}

.ft-auth-eyebrow {
    color: #ff4a5f;
    font-size: .92rem;
    margin-bottom: 18px;
}

.ft-auth-left h1,
.ft-auth-right h2 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .98;
}

.ft-auth-left h1 {
    margin-top: 30px;
    font-size: clamp(3rem, 5vw, 5rem);
    max-width: 560px;
}

.ft-auth-right h2 {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
}

.ft-auth-left p,
.ft-auth-subtitle {
    color: #9fb0c9;
    line-height: 1.7;
}

.ft-auth-left p {
    max-width: 540px;
    margin: 28px 0 32px;
    font-size: 1.08rem;
}

.ft-auth-subtitle {
    margin: 16px 0 32px;
    font-size: 1.06rem;
}

.ft-auth-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft-auth-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    color: #f4f6fb;
    font-size: 1.02rem;
}

.ft-auth-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3a50;
}


/* Google button */

.ft-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    padding: 0 18px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    background: #ffffff;
    color: #202124;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.ft-auth-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0,0,0,.18);
}

.ft-auth-google-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.ft-auth-google-icon {
    width: 22px;
    height: 22px;
}

.ft-auth-google-text {
    line-height: 1;
}


/* Divider */

.ft-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0 24px;
}

.ft-auth-divider::before,
.ft-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.10);
}

.ft-auth-divider span {
    color: #74829b;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .12em;
    white-space: nowrap;
}


/* Form */

.ft-auth-form {
    display: block;
}

.ft-auth-field {
    margin-bottom: 20px;
}

.ft-auth-field label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: .98rem;
    font-weight: 700;
}

.ft-auth-field input {
    width: 100%;
    height: 64px;
    padding: 0 18px;
    border: 1px solid rgba(239,35,60,.35);
    border-radius: 16px;
    background: #060b13;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.ft-auth-field input::placeholder {
    color: #5f6f86;
}

.ft-auth-field input:focus {
    border-color: #ff3b50;
    box-shadow: 0 0 0 4px rgba(255,59,80,.10);
}

.ft-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 6px 0 26px;
}

.ft-auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d6deea;
    font-size: .98rem;
    cursor: pointer;
}

.ft-auth-checkbox input {
    width: 18px;
    height: 18px;
}

.ft-auth-link {
    color: #d5dfed;
    text-decoration: none;
    font-weight: 600;
}

.ft-auth-link:hover {
    color: #fff;
}

.ft-auth-submit {
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff4560 0%, #ef233c 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -.01em;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(239,35,60,.24);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.ft-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(239,35,60,.30);
}

.ft-auth-footer {
    margin-top: 26px;
    text-align: center;
    color: #91a0b7;
    font-size: 1rem;
}

.ft-auth-footer a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.ft-auth-footnote {
    margin-top: 22px;
    text-align: center;
    color: #6d7a8f;
    font-size: .92rem;
}


/* Alerts */

.ft-auth-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: .95rem;
}

.ft-auth-alert ul {
    margin: 0;
    padding-left: 18px;
}

.ft-auth-alert-success {
    background: rgba(43,169,93,.12);
    border: 1px solid rgba(43,169,93,.22);
    color: #bce8cc;
}

.ft-auth-alert-error {
    background: rgba(239,35,60,.10);
    border: 1px solid rgba(239,35,60,.22);
    color: #ffd4d9;
}


/* Responsive */

@media (max-width: 1100px) {
    .ft-auth-shell {
        grid-template-columns: 1fr;
    }

    .ft-auth-left {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
}

@media (max-width: 720px) {
    .ft-auth-left,
    .ft-auth-right {
        padding: 32px 22px;
    }

    .ft-auth-left h1 {
        margin-top: 22px;
        font-size: 2.6rem;
    }

    .ft-auth-right h2 {
        font-size: 2.3rem;
    }

    .ft-auth-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-auth-field input,
    .ft-auth-submit,
    .ft-auth-google {
        min-height: 56px;
        height: 56px;
        border-radius: 14px;
    }
}


/* =========================================================
   FUNKYTV AUTH - MATCH MAIN SITE COLOURS
   ========================================================= */

.ft-auth-body {
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(239,35,60,.10),
            transparent 30%
        ),
        #090a0d;
    color: #fff;
}

.ft-auth-shell {
    border-color: #252933;
    background: #101217;

    box-shadow:
        0 30px 80px rgba(0,0,0,.42);
}

.ft-auth-left {
    border-right-color: #252933;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(239,35,60,.10),
            transparent 38%
        ),
        #0d0f13;
}

.ft-auth-right {
    background: #101217;
}


/* Brand label */

.ft-auth-badge {
    color: #ff4258;
    background: rgba(239,35,60,.08);
    border-color: rgba(239,35,60,.28);
}

.ft-auth-eyebrow {
    color: #ef233c;
}


/* Main typography */

.ft-auth-left h1,
.ft-auth-right h2 {
    color: #fff;
}

.ft-auth-left p,
.ft-auth-subtitle {
    color: #969ca8;
}

.ft-auth-points li {
    color: #e9ebef;
}

.ft-auth-points li::before {
    background: #ef233c;
}


/* Google */

.ft-auth-google {
    background: #fff;
    color: #202124;

    border:
        1px solid rgba(0,0,0,.08);

    box-shadow:
        0 8px 24px rgba(0,0,0,.22);
}

.ft-auth-google:hover {
    box-shadow:
        0 12px 30px rgba(0,0,0,.28);
}


/* Divider */

.ft-auth-divider::before,
.ft-auth-divider::after {
    background: #292d37;
}

.ft-auth-divider span {
    color: #858b96;
}


/* Form labels */

.ft-auth-field label {
    color: #f1f2f4;
}


/* Inputs */

.ft-auth-field input {
    background: #090b0f;

    color: #fff;

    border:
        1px solid #292d37;

    box-shadow: none;
}

.ft-auth-field input::placeholder {
    color: #656b76;
}

.ft-auth-field input:hover {
    border-color: #3a3f49;
}

.ft-auth-field input:focus {
    border-color: #ef233c;

    box-shadow:
        0 0 0 3px rgba(239,35,60,.10);
}


/* Remember / links */

.ft-auth-checkbox {
    color: #b8bdc6;
}

.ft-auth-link {
    color: #a5abb5;
}

.ft-auth-link:hover {
    color: #fff;
}


/* Main red button */

.ft-auth-submit {
    background:
        linear-gradient(
            135deg,
            #ef233c,
            #c91731
        );

    color: #fff;

    box-shadow:
        0 12px 28px rgba(239,35,60,.20);
}

.ft-auth-submit:hover {
    box-shadow:
        0 16px 34px rgba(239,35,60,.28);
}


/* Footer */

.ft-auth-footer {
    color: #8f96a2;
}

.ft-auth-footer a {
    color: #fff;
}

.ft-auth-footer a:hover {
    color: #ef233c;
}

.ft-auth-footnote {
    color: #676d77;
}


/* Alerts */

.ft-auth-alert-success {
    background: rgba(51,199,111,.08);
    border-color: rgba(51,199,111,.18);
    color: #b6eac5;
}

.ft-auth-alert-error {
    background: rgba(239,35,60,.08);
    border-color: rgba(239,35,60,.20);
    color: #ffc5cd;
}


/* Mobile */

@media (max-width: 1100px) {

    .ft-auth-left {
        border-right: 0;
        border-bottom: 1px solid #252933;
    }

}


/* =========================================================
   FUNKYTV OFFICIAL LOGO
   ========================================================= */

.ft-auth-brand-logo {
    display: block;
    width: min(100%, 390px);
    margin-bottom: 48px;
    text-decoration: none;
}

.ft-auth-brand-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.ft-header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ft-header-logo img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 250px;
    object-fit: contain;
}

@media (max-width: 700px) {

    .ft-auth-brand-logo {
        width: min(100%, 280px);
        margin-bottom: 32px;
    }

    .ft-header-logo img {
        height: 38px;
        max-width: 200px;
    }

}


/* =========================================================
   FUNKYTV MAIN HEADER LOGO
   ========================================================= */

.topbar .brand.ft-header-logo {
    display: inline-flex;
    align-items: center;

    width: auto;
    padding: 0;

    background: none;
    border: 0;

    text-decoration: none;
}

.topbar .brand.ft-header-logo img {
    display: block;

    width: auto;
    height: 48px;
    max-width: 245px;

    object-fit: contain;
}

@media (max-width: 760px) {

    .topbar .brand.ft-header-logo img {
        height: 39px;
        max-width: 195px;
    }

}


/* =========================================================
   FUNKYTV OFFICIAL BRAND PALETTE
   Matched to supplied FunkyTV logo
   ========================================================= */

:root {
    --ft-purple: #5828F8;
    --ft-pink: #F83888;
    --ft-bg: #09090D;
    --ft-panel: #111116;
    --ft-panel-alt: #15141B;
    --ft-line: #2A2833;
    --ft-muted: #A09DAA;

    --accent1: #5828F8;
    --accent2: #F83888;
    --line: #2A2833;
    --muted: #A09DAA;
}


/* SITE BACKGROUND */

html,
body {
    background: var(--ft-bg);
    color: #fff;
}

body {
    background:
        radial-gradient(
            circle at 88% 0%,
            rgba(88,40,248,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 4% 45%,
            rgba(248,56,136,.055),
            transparent 28%
        ),
        var(--ft-bg);
}


/* HEADER */

.topbar {
    background:
        rgba(9,9,13,.94);

    border-bottom:
        1px solid var(--ft-line);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.topbar nav a {
    color: #aaa7b3;
}

.topbar nav a:hover {
    color: #fff;
}

.topbar .nav-cta {
    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            var(--ft-purple),
            var(--ft-pink)
        );

    border: 0;

    box-shadow:
        0 8px 24px rgba(88,40,248,.18);
}


/* BRAND EYEBROWS */

.ft-eyebrow,
.ft-auth-eyebrow,
.ft-panel-label,
.ft-summary-label,
.ft-selected-plan,
.ft-feature-number,
.ft-card-icon,
.ft-option-heading > span {
    color: var(--ft-pink) !important;
}


/* PRIMARY BUTTONS */

.ft-btn-primary,
.ft-auth-submit {
    color: #fff !important;

    border: 0 !important;

    background:
        linear-gradient(
            135deg,
            var(--ft-purple) 0%,
            var(--ft-pink) 100%
        ) !important;

    box-shadow:
        0 12px 30px rgba(88,40,248,.20),
        0 8px 24px rgba(248,56,136,.10) !important;
}

.ft-btn-primary:hover,
.ft-auth-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 38px rgba(88,40,248,.28),
        0 10px 28px rgba(248,56,136,.16) !important;
}


/* SECONDARY BUTTON */

.ft-btn-secondary {
    background:
        rgba(255,255,255,.035);

    border:
        1px solid var(--ft-line);

    color: #fff;
}

.ft-btn-secondary:hover {
    border-color:
        rgba(88,40,248,.55);
}


/* HERO */

.ft-hero {
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(88,40,248,.17),
            transparent 30%
        ),
        radial-gradient(
            circle at 65% 80%,
            rgba(248,56,136,.06),
            transparent 28%
        );
}

.ft-hero-glow {
    background:
        radial-gradient(
            circle,
            rgba(88,40,248,.20),
            rgba(248,56,136,.06) 45%,
            transparent 72%
        ) !important;
}

.ft-hero-copy h1 span {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #d4caff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* PANELS */

.ft-hero-panel,
.ft-benefit-card,
.ft-config-options,
.ft-plan-summary,
.ft-subscription-card,
.ft-access-panel,
.ft-help-banner {
    border-color:
        var(--ft-line) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        ) !important;
}


/* PLAN SELECTION */

.ft-choice {
    background:
        rgba(255,255,255,.025);

    border-color:
        var(--ft-line);
}

.ft-choice:hover {
    border-color:
        rgba(88,40,248,.62);
}

.ft-choice.active {
    border-color:
        var(--ft-purple) !important;

    background:
        linear-gradient(
            135deg,
            rgba(88,40,248,.17),
            rgba(248,56,136,.075)
        ) !important;

    box-shadow:
        0 8px 26px rgba(88,40,248,.08);
}


/* PRICE */

.ft-price {
    background:
        linear-gradient(
            90deg,
            #765AFF,
            var(--ft-pink)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* FORM FIELDS */

input,
select,
textarea,
.ft-auth-field input {
    background:
        #0C0B10 !important;

    color:
        #fff !important;

    border-color:
        var(--ft-line) !important;
}

input:hover,
select:hover,
textarea:hover,
.ft-auth-field input:hover {
    border-color:
        #403B4C !important;
}

input:focus,
select:focus,
textarea:focus,
.ft-auth-field input:focus {
    outline: none;

    border-color:
        var(--ft-purple) !important;

    box-shadow:
        0 0 0 3px rgba(88,40,248,.14) !important;
}


/* AUTH SCREEN */

.ft-auth-body {
    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(88,40,248,.18),
            transparent 31%
        ),
        radial-gradient(
            circle at 5% 82%,
            rgba(248,56,136,.07),
            transparent 29%
        ),
        var(--ft-bg) !important;
}

.ft-auth-shell {
    background:
        var(--ft-panel) !important;

    border-color:
        var(--ft-line) !important;
}

.ft-auth-left {
    background:
        radial-gradient(
            circle at 18% 15%,
            rgba(88,40,248,.15),
            transparent 42%
        ),
        radial-gradient(
            circle at 70% 75%,
            rgba(248,56,136,.055),
            transparent 40%
        ),
        #0D0C11 !important;

    border-color:
        var(--ft-line) !important;
}

.ft-auth-right {
    background:
        #111116 !important;
}

.ft-auth-badge {
    color:
        var(--ft-pink) !important;

    background:
        rgba(248,56,136,.07) !important;

    border-color:
        rgba(248,56,136,.26) !important;
}

.ft-auth-points li::before {
    background:
        linear-gradient(
            135deg,
            var(--ft-purple),
            var(--ft-pink)
        ) !important;
}


/* GOOGLE BUTTON STAYS GOOGLE WHITE */

.ft-auth-google,
.ft-google-button {
    background:
        #fff !important;

    color:
        #202124 !important;

    border-color:
        #dadce0 !important;
}


/* DIVIDERS */

.ft-auth-divider::before,
.ft-auth-divider::after,
.ft-plan-divider {
    background:
        var(--ft-line) !important;
}


/* CUSTOMER ACCOUNT */

.ft-subscription-status.active span {
    background:
        var(--ft-purple) !important;

    box-shadow:
        0 0 0 4px rgba(88,40,248,.14) !important;
}

.ft-secure-label {
    color:
        #d8d0ff !important;

    background:
        rgba(88,40,248,.12) !important;
}

.ft-copy-btn:hover,
.ft-reveal-btn:hover {
    border-color:
        var(--ft-purple);
}


/* FAQ */

.ft-faq summary::after {
    color:
        var(--ft-pink) !important;
}


/* LINKS */

.ft-auth-link:hover,
.ft-auth-footer a:hover,
.ft-login-hint a:hover {
    color:
        var(--ft-pink) !important;
}


/* FOOTER */

footer {
    border-top-color:
        var(--ft-line) !important;

    background:
        #08080B;
}


/* CONTACT FLOAT */

.funkytv-contact-links {
    border-color:
        var(--ft-line) !important;

    background:
        rgba(13,12,17,.96) !important;
}


/* MOBILE */

@media (max-width: 760px) {

    .topbar {
        background:
            rgba(9,9,13,.98);
    }

}


/* =========================================================
   Admin provisioning notification
   ========================================================= */

.ft-nav-provisioning {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ft-nav-alert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 21px;
    height: 21px;
    padding: 0 6px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #5828F8,
            #F83888
        );

    color: #fff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 0 0 2px #09090D,
        0 4px 14px rgba(248, 56, 136, .32);
}
