:root {
    --bg-main: #0c0612;
    --bg-alt: #140a1f;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-col: rgba(244, 114, 182, 0.24);
    --text-white: #fdf2f8;
    --text-muted: #d8b4ce;
    --pink: #ec4899;
    --rose: #fb7185;
    --purple: #a855f7;
    --grad: linear-gradient(135deg, #ec4899 0%, #a855f7 55%, #fb7185 100%);
    --font-sans: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1220px;
    margin: 0 auto;
}

/* Glow Background */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}
.glow-pink {
    width: 480px;
    height: 480px;
    background: var(--pink);
    top: -100px;
    left: -100px;
}
.glow-purple {
    width: 520px;
    height: 520px;
    background: var(--purple);
    bottom: -100px;
    right: -100px;
}

/* Hearts Layer */
#hearts-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}
.fly-heart {
    position: absolute;
    bottom: -30px;
    font-size: 1.6rem;
    animation: flyUp 3s ease-out forwards;
}
@keyframes flyUp {
    0% { transform: translateY(0) scale(0.8); opacity: 1; }
    100% { transform: translateY(-95vh) scale(1.5) rotate(20deg); opacity: 0; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 6, 18, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-col);
    padding: 0.95rem 0;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}
.logo span {
    color: var(--pink);
    font-weight: 400;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: 0.2s;
}
.nav-links a:hover {
    color: #fff;
}
.nav-cta {
    background: var(--grad);
    padding: 0.5rem 1.15rem;
    border-radius: 99px;
    color: #fff !important;
}
.burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 8.5rem 0 4.5rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}
.pill {
    background: rgba(236, 72, 153, 0.14);
    border: 1px solid var(--border-col);
    padding: 0.35rem 0.9rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fbcfe8;
}
.hero-left h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.13;
    margin-bottom: 1.2rem;
    font-weight: 800;
}
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.2rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}
.btn-secondary {
    background: var(--card-bg);
    color: #fff;
    border: 1px solid var(--border-col);
}
.btn-full {
    width: 100%;
    margin-top: 1.2rem;
    font-size: 1.05rem;
    padding: 1.1rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-col);
}
.quick-stats strong {
    display: block;
    font-size: 1rem;
    color: #fff;
}
.quick-stats span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-photo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-col);
    border-radius: 24px;
    padding: 0.85rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.55);
}
.hero-photo-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    display: block;
}
.hero-photo-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0.4rem 0.2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-photo-bar strong {
    display: block;
    font-size: 1rem;
}
.hero-photo-bar span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.mini-ig-btn {
    background: var(--grad);
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 0.95rem;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Sections */
.section {
    padding: 5rem 0;
}
.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-col);
    border-bottom: 1px solid var(--border-col);
}
.sec-head {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem;
}
.tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--pink);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.sec-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    margin-bottom: 0.6rem;
}
.sec-head p {
    color: var(--text-muted);
}

/* GAME 1: MATCH CALCULATOR (VERBESSERTES FULL-WIDTH LAYOUT) */
.calculator-card {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 2.2rem;
    background: var(--bg-main);
    border: 1px solid var(--border-col);
    border-radius: 26px;
    padding: 2.2rem;
    align-items: start;
}
.input-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.input-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.input-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: #fbcfe8;
}
.input-group input,
.input-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-col);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.94rem;
    cursor: pointer;
}
.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
}
.input-group select option {
    background: #140a1f;
    color: #fff;
    padding: 0.5rem;
}

.calc-error {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fecaca;
    font-size: 0.9rem;
    font-weight: 600;
}

.calc-result {
    position: sticky;
    top: 95px;
    background: rgba(236, 72, 153, 0.07);
    border: 1px solid var(--border-col);
    border-radius: 22px;
    padding: 2rem 1.5rem;
    text-align: center;
}
.ring-wrap {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 1.2rem;
}
.progress-ring {
    transform: rotate(-90deg);
}
.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}
.ring-fill {
    fill: none;
    stroke: #ec4899;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transition: stroke-dashoffset 1s ease-out;
}
.ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ring-text span {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}
.ring-text small {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.calc-result h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}
.calc-result p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.sub-scores {
    text-align: left;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.9rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-size: 0.84rem;
    display: none;
}
.sub-scores div {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.sub-scores div:last-child {
    border-bottom: none;
}
.match-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}
.match-badges span {
    background: rgba(236, 72, 153, 0.2);
    color: #fbcfe8;
    font-size: 0.76rem;
    padding: 0.3rem 0.7rem;
    border-radius: 99px;
    font-weight: 600;
}

/* GAME 2: VIBE CHAT */
.chat-game-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-alt);
    border: 1px solid var(--border-col);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}
.chat-header {
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--border-col);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.chat-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.chat-profile img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pink);
}
.chat-profile strong {
    display: block;
    font-size: 0.98rem;
}
.verified {
    color: #38bdf8;
}
.chat-profile span {
    font-size: 0.78rem;
    color: #4ade80;
}
.rizz-meter {
    background: rgba(236, 72, 153, 0.16);
    border: 1px solid var(--border-col);
    padding: 0.45rem 1rem;
    border-radius: 99px;
    font-size: 0.9rem;
}

.chat-messages {
    padding: 1.5rem;
    height: 330px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.msg {
    max-width: 84%;
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    font-size: 0.93rem;
}
.msg.bot {
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border-col);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.msg.user {
    background: var(--grad);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-choices {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid var(--border-col);
    background: rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.choice-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-col);
    color: #fff;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    cursor: pointer;
    transition: 0.2s;
}
.choice-btn:hover {
    background: rgba(236, 72, 153, 0.22);
    border-color: var(--pink);
}

/* GAME 3: GREEN FLAG / RED FLAG SWIPER */
.swiper-box {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-main);
    border: 1px solid var(--border-col);
    border-radius: 26px;
    padding: 2.2rem;
    text-align: center;
}
.swiper-progress {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.swiper-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-col);
    border-radius: 20px;
    padding: 2.2rem 1.5rem;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}
.swiper-emoji {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}
.swiper-card h3 {
    font-size: 1.2rem;
    line-height: 1.45;
}
.swiper-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.btn-red {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}
.btn-red:hover {
    background: #ef4444;
    color: #fff;
}
.btn-green {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #6ee7b7;
}
.btn-green:hover {
    background: #10b981;
    color: #fff;
}

/* VIDEO STAGE */
.video-stage {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.8rem;
    align-items: start;
}
.video-frame-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-col);
    background: #000;
}
.video-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.video-playlist h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.vid-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-col);
    padding: 0.7rem;
    border-radius: 14px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: 0.2s;
}
.vid-item.active, .vid-item:hover {
    border-color: var(--pink);
    background: rgba(236, 72, 153, 0.15);
}
.vid-item img {
    width: 95px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.vid-tag {
    display: block;
    font-size: 0.72rem;
    color: var(--pink);
    font-weight: 700;
}
.vid-item strong {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* FLIP CARDS */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.flip-card {
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}
.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
    transform: rotateY(180deg);
}
.flip-front, .flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 22px;
    padding: 1.8rem;
    border: 1px solid var(--border-col);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flip-front {
    background: var(--card-bg);
}
.flip-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 0.5rem;
}
.flip-front h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.flip-front p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.flip-back {
    background: linear-gradient(145deg, #2e1035, #1b0a24);
    border-color: var(--pink);
    transform: rotateY(180deg);
}
.flip-back h4 {
    color: #fbcfe8;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.flip-back p {
    font-size: 0.88rem;
    color: #fff;
}

/* VERIFIED LINKS */
.links-bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.1rem;
}
.link-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-col);
    padding: 1.25rem 1.4rem;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    transition: 0.25s;
}
.link-item:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
    background: rgba(236, 72, 153, 0.12);
}
.link-item i {
    font-size: 1.8rem;
    color: var(--pink);
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}
.link-item strong {
    display: block;
    font-size: 0.98rem;
}
.link-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-col);
    color: var(--text-muted);
}
.footer a {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--pink);
    text-decoration: none;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .calculator-card, .video-stage {
        grid-template-columns: 1fr;
    }
    .input-row-2 {
        grid-template-columns: 1fr;
    }
    .calc-result {
        position: static;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-col);
    }
    .nav-links.open {
        display: flex;
    }
    .burger {
        display: block;
    }
}