/* ============================================================
   FORMAT PAGES — Edison & Goat — Partenope Duel Format
   ============================================================ */

.fmt-page {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 0;
    overflow: hidden;
}

/* --- Tag ------------------------------------------------- */
.fmt-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 100px;
    background: rgba(232, 96, 90, .08);
    border: 1px solid rgba(232, 96, 90, .15);
    color: var(--coral);
    font-family: var(--font-display);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* --- Floating Particles ---------------------------------- */
.fmt-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.fmt-particle {
    position: absolute;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0;
    animation: fmtDrift linear infinite;
}

@keyframes fmtDrift {
    0%   { opacity: 0; transform: translate(0, 0) scale(0); }
    10%  { opacity: .4; transform: scale(.8); }
    50%  { opacity: .15; transform: translate(30px, -60px) scale(1); }
    80%  { opacity: .3; }
    100% { opacity: 0; transform: translate(-20px, -120px) scale(.5); }
}

/* --- Hero ------------------------------------------------ */
.fmt-hero {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 48px;
}
.fmt-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--text-primary);
    margin-top: 8px;
    margin-bottom: 14px;
}
.fmt-hero__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

/* Hero Stats */
.fmt-hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.fmt-hero__stat {
    text-align: center;
}
.fmt-hero__stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
}
.fmt-hero__stat-lbl {
    font-size: .68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 4px;
}

/* --- Content Blocks -------------------------------------- */
.fmt-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto 48px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.fmt-block h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--coral);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.fmt-block p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}
.fmt-block p:last-child { margin-bottom: 0; }
.fmt-block p strong { color: var(--text-primary); }
.fmt-block p em { color: var(--text-muted); font-style: italic; }

/* Divider */
.fmt-divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
}
.fmt-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* --- Section Header -------------------------------------- */
.fmt-section-header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}
.fmt-section-header h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-top: 6px;
}

/* --- Features -------------------------------------------- */
.fmt-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 780px;
    margin: 0 auto;
}
.fmt-feature {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), transform .2s ease;
}
.fmt-feature:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.fmt-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(232, 96, 90, .08);
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 14px;
}
.fmt-feature h3 {
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.fmt-feature p {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- CTA ------------------------------------------------- */
.fmt-cta {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0 80px;
    margin-top: 48px;
}
.fmt-cta h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.fmt-cta p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.fmt-cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Responsive ------------------------------------------ */
@media (max-width: 768px) {
    .fmt-page { padding: 90px 0 0; }
    .fmt-hero__title { letter-spacing: 3px; }
    .fmt-hero__subtitle { font-size: .88rem; }
    .fmt-hero__stats { gap: 24px; }
    .fmt-hero__stat-val { font-size: 1.3rem; }
    .fmt-hero { margin-bottom: 32px; }

    .fmt-content { padding: 28px 22px; margin-bottom: 36px; }
    .fmt-block h2 { font-size: 1rem; }
    .fmt-block p { font-size: .84rem; }
    .fmt-divider { margin: 24px 0; }

    .fmt-section-header h2 { font-size: 1.15rem; }
    .fmt-features { grid-template-columns: 1fr; }
    .fmt-feature { padding: 22px 18px; }

    .fmt-cta { padding: 40px 0 60px; margin-top: 32px; }
    .fmt-cta h2 { font-size: 1.2rem; }
    .fmt-cta__actions { flex-direction: column; align-items: center; }
    .fmt-cta__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .fmt-page { padding: 80px 0 0; }
    .fmt-hero__title { font-size: 2rem; letter-spacing: 2px; }
    .fmt-hero__stats { flex-direction: column; gap: 12px; }
    .fmt-content { padding: 22px 16px; }
    .fmt-block h2 { font-size: .9rem; }
    .fmt-block p { font-size: .8rem; line-height: 1.7; }
    .fmt-feature__icon { width: 38px; height: 38px; font-size: .9rem; }
    .fmt-feature h3 { font-size: .78rem; }
    .fmt-feature p { font-size: .74rem; }
}
