/* ═══════════════════════════════════════════════════════════════════
   fyrestyle.css — FindFyre Global Design System
   Shared across all pages. Link BEFORE any page-specific stylesheet.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Varela+Round&display=swap');


/* ══════════════════════════════════════════════
   Variables
   ══════════════════════════════════════════════ */
:root {
    /* Colours */
    --ff-bg:            #080006;
    --ff-bg-deep:       #0f0a1a;
    --ff-purple:        #6B48FF;
    --ff-purple-light:  #9F7AEA;
    --ff-purple-mid:    rgba(159, 122, 234, 0.85);
    --ff-fire:          #FF3B30;
    --ff-fire-soft:     #FF6B6B;
    --ff-pink:          #dc1e6e;
    --ff-white:         #ffffff;
    --ff-text-muted:    rgba(255, 255, 255, 0.6);
    --ff-border:        rgba(255, 255, 255, 0.1);

    /* Typography scale */
    --ff-font-xs:   0.75rem;     /* 12px */
    --ff-font-sm:   0.875rem;    /* 14px */
    --ff-font-base: 1rem;        /* 16px */
    --ff-font-md:   1.125rem;    /* 18px */
    --ff-font-lg:   1.5rem;      /* 24px */
    --ff-font-xl:   2rem;        /* 32px */
    --ff-font-2xl:  3rem;        /* 48px */
    --ff-font-3xl:  4rem;        /* 64px */

    /* Spacing */
    --ff-space-xs:  0.25rem;
    --ff-space-sm:  0.5rem;
    --ff-space-md:  1rem;
    --ff-space-lg:  1.5rem;
    --ff-space-xl:  2rem;
    --ff-space-2xl: 3rem;
    --ff-space-3xl: 4rem;

    /* Radii */
    --ff-radius-sm:  6px;
    --ff-radius-md:  12px;
    --ff-radius-lg:  16px;
    --ff-radius-pill: 999px;

    /* Transitions */
    --ff-transition: 0.2s ease;
}


/* ══════════════════════════════════════════════
   Reset & Base
   ══════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--ff-bg);
    color: var(--ff-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--ff-font-base);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ff-transition);
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}


/* ══════════════════════════════════════════════
   Scrollbar
   ══════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--ff-bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(107, 72, 255, 0.5);
    border-radius: var(--ff-radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ff-purple);
}


/* ══════════════════════════════════════════════
   Typography
   ══════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--ff-white);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--ff-font-3xl); }
h2 { font-size: var(--ff-font-2xl); }
h3 { font-size: var(--ff-font-xl);  }
h4 { font-size: var(--ff-font-lg);  }
h5 { font-size: var(--ff-font-md);  }
h6 { font-size: var(--ff-font-base); }

/* Panel title — bold heading with brand pink underline accent
   Usage: <h3 class="ff-panel-title">Filters</h3>
          <div class="ff-panel-title-wrap"><h3>...</h3></div> */
.ff-panel-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ff-white);
    margin: 0 0 0.45rem;
    line-height: 1.15;
}
.ff-panel-title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}
.ff-panel-title-wrap::after {
    content: '';
    display: block;
    width: 2.4rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ff-pink, #e91e8c), #c2185b);
    margin-top: 0;
}

p {
    margin-bottom: var(--ff-space-md);
    color: var(--ff-text-muted);
    line-height: 1.7;
}

p:last-child {
    margin-bottom: 0;
}

strong, b {
    font-weight: 700;
    color: var(--ff-white);
}

small {
    font-size: var(--ff-font-sm);
    color: var(--ff-text-muted);
}


/* ══════════════════════════════════════════════
   Gradient Text
   ══════════════════════════════════════════════ */
.ff-gradient-text {
    background: linear-gradient(90deg, var(--ff-fire) 0%, var(--ff-pink) 40%, var(--ff-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.ff-gradient-text-purple {
    background: linear-gradient(90deg, var(--ff-purple) 0%, var(--ff-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* ══════════════════════════════════════════════
   Buttons
   ══════════════════════════════════════════════ */
.ff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: var(--ff-radius-pill);
    font-family: 'Inter', sans-serif;
    font-size: var(--ff-font-base);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: opacity var(--ff-transition), transform var(--ff-transition), box-shadow var(--ff-transition);
    white-space: nowrap;
    line-height: 1;
}

.ff-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ff-btn:active {
    transform: translateY(0);
    opacity: 1;
}

/* Primary — purple → fire gradient */
.ff-btn-primary {
    background: linear-gradient(90deg, var(--ff-purple) 0%, var(--ff-pink) 60%, var(--ff-fire) 100%);
    color: var(--ff-white);
    box-shadow: 0 4px 20px rgba(107, 72, 255, 0.35);
}

.ff-btn-primary:hover {
    box-shadow: 0 6px 28px rgba(107, 72, 255, 0.5);
}

/* Outline — transparent with purple border */
.ff-btn-outline {
    background: transparent;
    color: var(--ff-purple-light);
    border: 1.5px solid var(--ff-purple);
}

.ff-btn-outline:hover {
    background: rgba(107, 72, 255, 0.12);
    border-color: var(--ff-purple-light);
}

/* Ghost — minimal */
.ff-btn-ghost {
    background: transparent;
    color: var(--ff-text-muted);
    border: 1.5px solid var(--ff-border);
}

.ff-btn-ghost:hover {
    color: var(--ff-white);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

/* Size variants */
.ff-btn-sm {
    padding: 0.45rem 1rem;
    font-size: var(--ff-font-sm);
}

.ff-btn-lg {
    padding: 0.85rem 2rem;
    font-size: var(--ff-font-md);
}


/* ══════════════════════════════════════════════
   Inputs & Forms
   ══════════════════════════════════════════════ */
.ff-input {
    display: block;
    width: 100%;
    padding: 0.7rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid var(--ff-border);
    border-radius: var(--ff-radius-md);
    color: var(--ff-white);
    font-family: 'Inter', sans-serif;
    font-size: var(--ff-font-base);
    line-height: 1.5;
    outline: none;
    transition: border-color var(--ff-transition), background var(--ff-transition), box-shadow var(--ff-transition);
    -webkit-appearance: none;
    appearance: none;
}

.ff-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.ff-input:focus {
    border-color: var(--ff-purple-light);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(107, 72, 255, 0.2);
}

.ff-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ff-label {
    display: block;
    font-size: var(--ff-font-sm);
    font-weight: 600;
    color: var(--ff-white);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.ff-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: var(--ff-space-lg);
}

.ff-form-hint {
    font-size: var(--ff-font-xs);
    color: var(--ff-text-muted);
    margin-top: 0.25rem;
}

.ff-form-error {
    font-size: var(--ff-font-xs);
    color: var(--ff-fire-soft);
    margin-top: 0.25rem;
}

textarea.ff-input {
    resize: vertical;
    min-height: 100px;
}

select.ff-input {
    cursor: pointer;
}


/* ══════════════════════════════════════════════
   Cards
   ══════════════════════════════════════════════ */
.ff-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ff-radius-lg);
    padding: var(--ff-space-xl);
    position: relative;
    overflow: hidden;
    transition: border-color var(--ff-transition), box-shadow var(--ff-transition);
}

.ff-card:hover {
    border-color: rgba(107, 72, 255, 0.3);
    box-shadow: 0 8px 32px rgba(107, 72, 255, 0.12);
}

.ff-card-title {
    font-size: var(--ff-font-lg);
    font-weight: 700;
    color: var(--ff-white);
    margin-bottom: var(--ff-space-sm);
}

.ff-card-body {
    color: var(--ff-text-muted);
    font-size: var(--ff-font-base);
    line-height: 1.7;
}

/* Glass variant */
.ff-card-glass {
    background: rgba(107, 72, 255, 0.06);
    border: 1px solid rgba(107, 72, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ══════════════════════════════════════════════
   Badge / Pill
   ══════════════════════════════════════════════ */
.ff-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.3rem 0.85rem;
    border: 1px solid var(--ff-purple);
    border-radius: var(--ff-radius-pill);
    font-size: var(--ff-font-xs);
    font-weight: 600;
    color: var(--ff-purple-light);
    background: rgba(107, 72, 255, 0.1);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.ff-badge-fire {
    border-color: var(--ff-fire);
    color: var(--ff-fire-soft);
    background: rgba(255, 59, 48, 0.1);
}

.ff-badge-pink {
    border-color: var(--ff-pink);
    color: #f472b6;
    background: rgba(220, 30, 110, 0.1);
}

.ff-badge-dot::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════
   Links
   ══════════════════════════════════════════════ */
a {
    color: inherit;
    text-decoration: none;
}

.ff-link-accent {
    color: var(--ff-purple-mid);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--ff-transition);
}

.ff-link-accent:hover {
    color: var(--ff-purple-light);
}

.ff-link-fire {
    color: var(--ff-fire-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ff-link-fire:hover {
    color: #ff8a80;
}


/* ══════════════════════════════════════════════
   Section / Layout Helpers
   ══════════════════════════════════════════════ */
.ff-section {
    padding: var(--ff-space-3xl) var(--ff-space-xl);
    position: relative;
}

.ff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ff-space-xl);
    width: 100%;
}

.ff-container-sm {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--ff-space-xl);
    width: 100%;
}

.ff-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ff-space-xl);
}

.ff-col {
    flex: 1 1 0;
    min-width: 0;
}

.ff-divider {
    border: none;
    border-top: 1px solid var(--ff-border);
    margin: var(--ff-space-xl) 0;
}


/* ══════════════════════════════════════════════
   Utility — Text Colours
   ══════════════════════════════════════════════ */
.ff-text-muted   { color: var(--ff-text-muted) !important; }
.ff-text-white   { color: var(--ff-white) !important; }
.ff-text-fire    { color: var(--ff-fire-soft) !important; }
.ff-text-purple  { color: var(--ff-purple-light) !important; }
.ff-text-pink    { color: #f472b6 !important; }
.ff-text-center  { text-align: center !important; }
.ff-text-left    { text-align: left !important; }
.ff-text-right   { text-align: right !important; }

.ff-text-xs   { font-size: var(--ff-font-xs) !important; }
.ff-text-sm   { font-size: var(--ff-font-sm) !important; }
.ff-text-base { font-size: var(--ff-font-base) !important; }
.ff-text-md   { font-size: var(--ff-font-md) !important; }
.ff-text-lg   { font-size: var(--ff-font-lg) !important; }
.ff-text-xl   { font-size: var(--ff-font-xl) !important; }


/* ══════════════════════════════════════════════
   Utility — Spacing (margin-top)
   ══════════════════════════════════════════════ */
.ff-mt-xs  { margin-top: var(--ff-space-xs) !important; }
.ff-mt-sm  { margin-top: var(--ff-space-sm) !important; }
.ff-mt-md  { margin-top: var(--ff-space-md) !important; }
.ff-mt-lg  { margin-top: var(--ff-space-lg) !important; }
.ff-mt-xl  { margin-top: var(--ff-space-xl) !important; }
.ff-mt-2xl { margin-top: var(--ff-space-2xl) !important; }
.ff-mt-3xl { margin-top: var(--ff-space-3xl) !important; }

.ff-mb-xs  { margin-bottom: var(--ff-space-xs) !important; }
.ff-mb-sm  { margin-bottom: var(--ff-space-sm) !important; }
.ff-mb-md  { margin-bottom: var(--ff-space-md) !important; }
.ff-mb-lg  { margin-bottom: var(--ff-space-lg) !important; }
.ff-mb-xl  { margin-bottom: var(--ff-space-xl) !important; }
.ff-mb-2xl { margin-bottom: var(--ff-space-2xl) !important; }
.ff-mb-3xl { margin-bottom: var(--ff-space-3xl) !important; }

.ff-p-md  { padding: var(--ff-space-md) !important; }
.ff-p-lg  { padding: var(--ff-space-lg) !important; }
.ff-p-xl  { padding: var(--ff-space-xl) !important; }


/* ══════════════════════════════════════════════
   Utility — Display & Flex
   ══════════════════════════════════════════════ */
.ff-flex         { display: flex !important; }
.ff-flex-col     { display: flex !important; flex-direction: column; }
.ff-flex-center  { display: flex !important; align-items: center; justify-content: center; }
.ff-flex-between { display: flex !important; align-items: center; justify-content: space-between; }
.ff-flex-wrap    { flex-wrap: wrap !important; }
.ff-gap-sm       { gap: var(--ff-space-sm) !important; }
.ff-gap-md       { gap: var(--ff-space-md) !important; }
.ff-gap-lg       { gap: var(--ff-space-lg) !important; }
.ff-hidden       { display: none !important; }
.ff-w-full       { width: 100% !important; }


/* ══════════════════════════════════════════════
   Background Helpers
   ══════════════════════════════════════════════ */
.ff-bg-deep {
    background: var(--ff-bg-deep);
}

.ff-bg-glow {
    background:
        radial-gradient(ellipse 70% 50% at 30% 50%, rgba(220, 30, 110, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(120, 0, 180, 0.15) 0%, transparent 60%),
        var(--ff-bg);
}

.ff-bg-subtle {
    background: rgba(255, 255, 255, 0.03);
}


/* ══════════════════════════════════════════════
   Eyebrow / Section Label
   ══════════════════════════════════════════════ */
.ff-eyebrow {
    display: inline-block;
    font-size: var(--ff-font-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ff-purple-light);
    margin-bottom: var(--ff-space-md);
}


/* ══════════════════════════════════════════════
   Responsive — 768px (Tablet)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --ff-font-3xl: 2.5rem;
        --ff-font-2xl: 2rem;
        --ff-font-xl:  1.5rem;
        --ff-font-lg:  1.25rem;
    }

    .ff-section {
        padding: var(--ff-space-2xl) var(--ff-space-md);
    }

    .ff-container,
    .ff-container-sm {
        padding: 0 var(--ff-space-md);
    }

    .ff-row {
        flex-direction: column;
    }

    .ff-card {
        padding: var(--ff-space-lg);
    }

    h1 { font-size: var(--ff-font-3xl); }
    h2 { font-size: var(--ff-font-2xl); }
    h3 { font-size: var(--ff-font-xl); }
}


/* ══════════════════════════════════════════════
   Responsive — 480px (Mobile)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
    :root {
        --ff-font-3xl: 2rem;
        --ff-font-2xl: 1.65rem;
        --ff-font-xl:  1.35rem;
        --ff-font-lg:  1.15rem;
    }

    .ff-btn {
        width: 100%;
        justify-content: center;
    }

    .ff-card {
        padding: var(--ff-space-md);
    }

    .ff-section {
        padding: var(--ff-space-xl) var(--ff-space-md);
    }
}


/* ══════════════════════════════════════════════
   Responsive — 1200px (Wide)
   ══════════════════════════════════════════════ */
@media (min-width: 1200px) {
    :root {
        --ff-font-3xl: 4.5rem;
    }
}
