/* ============================================================
   FRIENDSHIP APPLICATION — Style
   Warm, playful, premium dark design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500&display=swap');

:root {
    --bg:         #0b0b12;
    --bg-card:    #12111e;
    --bg-card2:   #16142a;
    --border:     rgba(255,255,255,0.07);
    --text:       rgba(255,255,255,0.9);
    --muted:      rgba(255,255,255,0.45);
    --accent:     #f5a05a;
    --accent2:    #e46f9a;
    --good:       #7eb6a0;
    --yes-color:  #6ee7a0;
    --radius:     20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ---- Background orbs ---- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
.orb-1 { width: 600px; height: 600px; background: #f5a05a; top: -200px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: #e46f9a; bottom: 10%; right: -150px; }
.orb-3 { width: 400px; height: 400px; background: #7058e8; top: 40%; left: 30%; }

/* ---- Nav ---- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.2rem 2rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(11,11,18,0.9), transparent);
}
.nav-back {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.nav-back:hover { opacity: 1; }

/* ---- Page wrapper ---- */
.page {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 4rem;
}

.stamp {
    display: inline-block;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.2rem;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 420px;
    margin-bottom: 3rem;
}

.scroll-cue {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.card-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.section-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.section-intro {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

/* Context note */
.context-note {
    border-color: rgba(245, 160, 90, 0.2);
    background: rgba(245, 160, 90, 0.04);
}
.context-note p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.8rem;
}
.context-note p:last-child { margin-bottom: 0; }
.note-tag {
    font-size: 0.75rem !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent) !important;
    margin-bottom: 1rem !important;
    font-weight: 500;
}
.highlight-quote {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem !important;
    color: var(--text) !important;
    font-weight: 600;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin: 1.2rem 0 !important;
}

/* ============================================================
   WARNING CARDS
   ============================================================ */
.warning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.warning-card {
    background: var(--bg-card2);
    border: 1px solid rgba(228, 111, 154, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    transition: transform 0.25s;
}
.warning-card:hover { transform: translateY(-3px); }

.w-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.w-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.w-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}
.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border);
}
.section-divider::before { left: 0; }
.section-divider::after { right: 0; }
.section-divider span {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    color: var(--accent);
    background: var(--bg);
    padding: 0 1rem;
    position: relative;
}

/* ============================================================
   GOOD STUFF LIST
   ============================================================ */
.good-section {
    border-color: rgba(126, 182, 160, 0.2);
}
.good-label { color: var(--good) !important; }

.good-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.good-item {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(126, 182, 160, 0.04);
    border: 1px solid rgba(126, 182, 160, 0.1);
    transition: background 0.2s;
}
.good-item:hover { background: rgba(126, 182, 160, 0.08); }

.g-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(126, 182, 160, 0.25);
    min-width: 2.5rem;
    line-height: 1;
    margin-top: 2px;
}
.g-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
}
.g-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   SINCERE NOTE
   ============================================================ */
.sincere-section {
    border-color: rgba(228, 111, 154, 0.15);
    background: linear-gradient(135deg, rgba(228,111,154,0.05), rgba(245,160,90,0.03));
}
.sincere-inner { max-width: 600px; }
.sincere-tag {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 1.2rem;
    display: block;
}
.sincere-inner p {
    color: rgba(255,255,255,0.65);
    font-size: 0.96rem;
    line-height: 1.85;
    margin-bottom: 1rem;
    font-weight: 300;
}
.sincere-close {
    font-family: 'Syne', sans-serif !important;
    font-size: 1.3rem !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    margin-top: 1.5rem !important;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    text-align: center;
    padding: 4rem 1rem;
}

.cta-question {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cta-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-yes, .btn-no {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.5rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 8px 30px rgba(245, 160, 90, 0.3);
}
.btn-yes:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 40px rgba(245,160,90,0.4); }
.btn-yes.selected {
    background: linear-gradient(135deg, var(--yes-color), #38c8a8);
    box-shadow: 0 8px 30px rgba(110, 231, 160, 0.35);
}

.btn-no {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    transition: all 0.25s, opacity 0.4s;
}
.btn-no:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

/* Jumping escape mode */
.btn-no.jumping {
    transition: left 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                top  0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: not-allowed;
    background: rgba(228, 111, 154, 0.12);
    border-color: rgba(228, 111, 154, 0.35);
    color: var(--accent2);
    white-space: nowrap;
    animation: wiggle 0.4s ease;
}
@keyframes wiggle {
    0%   { transform: rotate(0deg) scale(1); }
    25%  { transform: rotate(-5deg) scale(1.05); }
    75%  { transform: rotate(5deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Response box */
.cta-response {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    animation: fadeUp 0.4s ease;
}
.cta-response.show { display: block; }
.yes-response { border-color: rgba(110, 231, 160, 0.3); background: rgba(110, 231, 160, 0.05); }
.maybe-response { border-color: rgba(245, 160, 90, 0.25); }

.response-emoji { font-size: 2.5rem; margin-bottom: 0.8rem; }
.response-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.response-text { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

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

/* ============================================================
   FINE PRINT
   ============================================================ */
.fine-print {
    text-align: center;
    padding: 0 1rem 2rem;
}
.fine-print p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================================
   FOOTER & COMMENTS
   ============================================================ */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.footer-back {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.footer-back:hover { opacity: 1; }

.comment-zone {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
    .warning-grid { grid-template-columns: 1fr; }
    .card-section { padding: 1.8rem 1.5rem; }
    .good-item { flex-direction: column; gap: 0.6rem; }
    .g-num { font-size: 1rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-yes, .btn-no { width: 100%; max-width: 280px; }
}
