﻿/* ===== RESET & GENEL ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a1a;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.active {
    display: flex !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== PARTIKUL SISTEMI ===== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 20px;
    animation: particle-fall linear forwards;
    pointer-events: none;
    z-index: 1000;
}

@keyframes particle-fall {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(0.5);
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* ===== GIRIS EKRANI ===== */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    background: linear-gradient(135deg, #1a0011 0%, #2d0020 30%, #0a0a2e 70%, #1a0025 100%);
    transition: opacity 1s ease, transform 1s ease;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 0, 80, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(180, 0, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 100, 150, 0.1) 0%, transparent 50%);
}

.intro-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zarf Animasyonu */
.envelope {
    width: 200px;
    height: 140px;
    margin: 0 auto 40px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.envelope:hover {
    transform: scale(1.05);
}

.envelope-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ff6b9d, #e74c7c);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 15px 50px rgba(255, 100, 150, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.envelope-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
}

.envelope-flap {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(145deg, #ff85ab, #e74c7c);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    z-index: 3;
    transition: transform 0.8s ease;
    transform-origin: top center;
}

.envelope.opened .envelope-flap {
    transform: rotateX(180deg);
}

.letter {
    font-size: 40px;
    animation: letterBounce 2s ease infinite;
    z-index: 2;
}

@keyframes letterBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.intro-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #ff6b9d;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
}

.intro-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

/* ===== BUTONLAR ===== */
.magic-btn {
    padding: 16px 48px;
    border: none;
    border-radius: 60px;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ff6b9d, #e74c7c, #c0392b);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.4);
    letter-spacing: 1px;
}

.magic-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.6);
}

.magic-btn:active {
    transform: translateY(0) scale(0.98);
}

.pulse {
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(255, 107, 157, 0.4);
    }

    50% {
        box-shadow: 0 8px 60px rgba(255, 107, 157, 0.8), 0 0 80px rgba(255, 107, 157, 0.3);
    }
}

.rainbow-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff6bdc, #6b6bff, #6bffdc, #ff6b6b);
    background-size: 400% 400%;
    animation: rainbowShift 3s ease infinite;
}

@keyframes rainbowShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== HERO BOLUMU ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 0, 80, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(180, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 50, 100, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a1a 0%, #1a0025 50%, #0a0a1a 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-title .line1 {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-title .line2 {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    background: linear-gradient(135deg, #ff6b9d, #ff85ab, #ffd1dc, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.6s both;
}

.heart-beat {
    display: inline-block;
    font-size: 4rem;
    animation: heartbeat 1.2s ease infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(1);
    }
}

.hero-quote {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.9s both;
}

.scroll-hint {
    animation: fadeInUp 1s ease 1.2s both;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s ease infinite;
    margin-top: 10px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/* ===== SEVGI SAYACI ===== */
.love-counter-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a1a 0%, #15082e 100%);
    position: relative;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff6b9d, #ff85ab, #ffd1dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 50px;
    font-size: 1.05rem;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.counter-card {
    background: linear-gradient(145deg, rgba(255, 107, 157, 0.1), rgba(255, 107, 157, 0.03));
    border: 1px solid rgba(255, 107, 157, 0.15);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    border-color: rgba(255, 107, 157, 0.3);
}

.counter-card:hover::before {
    opacity: 1;
}

.counter-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 5px;
    font-family: 'Dancing Script', cursive;
}

.counter-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ===== CICEK BUKETI ===== */
.bouquet-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #15082e 0%, #0a0a1a 50%, #15082e 100%);
}

.bouquet-wrapper {
    position: relative;
    width: 320px;
    height: 380px;
    margin: 0 auto;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

.bouquet-wrapper:hover {
    transform: scale(1.05);
}

.bouquet-wrapper.bouquet-shake {
    animation: bouquetShake 0.6s ease;
}

@keyframes bouquetShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-5deg) scale(1.05);
    }

    30% {
        transform: rotate(5deg) scale(1.08);
    }

    45% {
        transform: rotate(-4deg) scale(1.06);
    }

    60% {
        transform: rotate(3deg) scale(1.04);
    }

    75% {
        transform: rotate(-2deg) scale(1.02);
    }
}

/* Vazo */
.bouquet-vase {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 150px;
    background: linear-gradient(145deg, #c0392b, #922b21);
    border-radius: 10px 10px 40px 40px;
    box-shadow:
        inset -10px 0 20px rgba(0, 0, 0, 0.2),
        inset 10px 0 20px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.bouquet-vase::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    height: 28px;
    background: linear-gradient(145deg, #e74c7c, #c0392b);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(231, 76, 124, 0.3);
}

.bouquet-vase::after {
    content: '\2665';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #ff85ab;
    text-shadow: 0 0 15px rgba(255, 107, 157, 0.5);
}

/* Saplar */
.bouquet-stems {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
}

.stem {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 100px;
    background: linear-gradient(0deg, #27ae60, #2ecc71);
    border-radius: 2px;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(calc((var(--i) - 3) * 8deg));
}

/* Cicekler */
.bouquet-flowers {
    position: absolute;
    bottom: 195px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 140px;
}

.flower {
    position: absolute;
    animation: flowerFloat 3s ease infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.flower img {
    display: block;
}

.flower:hover {
    transform: scale(1.3) !important;
}

.flower-1 {
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.flower-2 {
    top: 40px;
    left: 18%;
    animation-delay: 0.2s;
}

.flower-3 {
    top: 40px;
    left: 60%;
    animation-delay: 0.4s;
}

.flower-4 {
    top: 15px;
    left: 38%;
    animation-delay: 0.6s;
}

.flower-5 {
    top: 60px;
    left: 8%;
    animation-delay: 0.1s;
}

.flower-6 {
    top: 60px;
    left: 70%;
    animation-delay: 0.3s;
}

.flower-7 {
    top: 10px;
    left: 15%;
    animation-delay: 0.5s;
}

.flower-8 {
    top: 10px;
    left: 56%;
    animation-delay: 0.7s;
}

.flower-9 {
    top: 80px;
    left: 35%;
    animation-delay: 0.15s;
}

@keyframes flowerFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.flower-1 {
    animation-name: flowerFloatCenter;
}

@keyframes flowerFloatCenter {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Fiyonk */
.bouquet-ribbon {
    position: absolute;
    bottom: 125px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Kalpler container */
#hearts-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

@keyframes heartBurst {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 1;
    }

    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.3), calc(var(--ty) * 0.3)) scale(1.2) rotate(calc(var(--rot) * 0.3));
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rot));
        opacity: 0;
    }
}

@keyframes loveTextFloat {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(0.5);
    }

    15% {
        opacity: 1;
        transform: translateX(-50%) translateY(-30px) scale(1.1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-80px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-160px) scale(0.8);
    }
}

/* ===== ASK KUPONLARI ===== */
.coupons-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #15082e 0%, #0a0a1a 100%);
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.coupon {
    display: flex;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(255, 107, 157, 0.03));
    border: 1px solid rgba(255, 107, 157, 0.15);
}

.coupon:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
    border-color: rgba(255, 107, 157, 0.3);
}

.coupon.used {
    opacity: 0.5;
    transform: scale(0.95);
    filter: grayscale(0.5);
}

.coupon.used::after {
    content: 'KULLANILDI';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 1.5rem;
    font-weight: 800;
    color: #4caf50;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    letter-spacing: 3px;
}

.coupon-edge {
    width: 20px;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 8px,
            rgba(255, 107, 157, 0.15) 8px,
            rgba(255, 107, 157, 0.15) 10px);
}

.coupon-content {
    flex: 1;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.coupon-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.coupon-text h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: #ff85ab;
    margin-bottom: 5px;
}

.coupon-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.coupon-badge {
    background: linear-gradient(135deg, #ff6b9d, #e74c7c);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== MESAJ BOLUMU ===== */
.message-section {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 80, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, #0a0a1a 0%, #1a0025 50%, #0a0a1a 100%);
}

.final-message {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    border-radius: 32px;
    border: 1px solid rgba(255, 107, 157, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.final-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
    animation: messageGlow 6s ease infinite;
}

@keyframes messageGlow {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

.message-decoration {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 10px;
}

.final-message h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #ff6b9d;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.final-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.signature p {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #ff85ab;
}

.heart-big {
    font-size: 2rem;
    animation: heartbeat 1.2s ease infinite;
}

/* ===== HAVAI FISEK ===== */
@keyframes firework-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* ===== MUZIK BUTONU ===== */
.music-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 157, 0.3);
    background: rgba(255, 107, 157, 0.15);
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-toggle:hover {
    background: rgba(255, 107, 157, 0.3);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.3);
}

.music-toggle.playing {
    animation: musicPulse 1s ease infinite;
}

@keyframes musicPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 157, 0);
    }
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: #050510;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-date {
    margin-top: 8px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: rgba(255, 107, 157, 0.5);
}

/* ===== SCROLL ANIMASYONLARI ===== */
.counter-card,
.coupon,
.final-message,
.bouquet-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.counter-card.visible,
.coupon.visible,
.final-message.visible,
.bouquet-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2rem;
    }

    .hero-title .line1 {
        font-size: 2.2rem;
    }

    .hero-title .line2 {
        font-size: 3rem;
    }

    .heart-beat {
        font-size: 2.5rem;
    }

    .hero-quote {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .counter-card {
        padding: 25px 15px;
    }

    .coupons-grid {
        grid-template-columns: 1fr;
    }

    .bouquet-wrapper {
        width: 260px;
        height: 360px;
    }

    .bouquet-flowers {
        width: 230px;
    }

    .final-message {
        padding: 40px 25px;
    }

    .signature p {
        font-size: 1.4rem;
    }

    .magic-btn {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .envelope {
        width: 160px;
        height: 110px;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 1.6rem;
    }

    .hero-title .line1 {
        font-size: 1.8rem;
    }

    .hero-title .line2 {
        font-size: 2.5rem;
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bouquet-wrapper {
        width: 220px;
        height: 320px;
    }
}