* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9c27b0;
    --secondary-color: #e1bee7;
    --accent-color: #ce93d8;
    --text-color: #2c3e50;
    --light-text: #ffffff;
    --background-gradient: linear-gradient(135deg, #9c27b0, #ce93d8);
    --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-gradient);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 1.5rem;
    position: relative;
}

.heart {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: heartbeat 1.5s infinite;
    filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.3));
}

.heart:before,
.heart:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 96px;
    background: #ff007a;
    border-radius: 60px 60px 0 0;
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.4);
}

.heart:before {
    left: 60px;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.title {
    font-size: 3.5rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: sparkle 2s infinite;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(20deg);
    text-align: center;
    padding: 20px;
    border-radius: 50% 50% 0 0;
    background: linear-gradient(180deg, rgba(156, 39, 176, 0.2) 0%, rgba(156, 39, 176, 0) 100%);
}

@keyframes sparkle {

    0%,
    100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2),
            0 0 15px rgba(255, 255, 255, 0.8),
            0 0 25px rgba(255, 255, 255, 0.6);
    }

    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2),
            0 0 25px rgba(255, 255, 255, 1),
            0 0 35px rgba(255, 255, 255, 0.8),
            0 0 45px rgba(255, 255, 255, 0.6);
    }
}

.subtitle {
    font-size: 1.4rem;
    color: var(--light-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Navigation Styles */
.navigation {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

.navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.navigation a:hover {
    color: var(--accent-color);
    background: rgba(156, 39, 176, 0.1);
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    padding-top: 2.5rem;
    margin-top: 0;
}

.section:hover {
    transform: translateY(-5px);
}

.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Photo Gallery Styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.photo-container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.photo-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.photo-container:hover .photo {
    transform: scale(1.05);
}

.photo-info {
    padding: 1rem;
}

.photo-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.photo-date {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.photo-description {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Message Box Styles */
.message-content {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(206, 147, 216, 0.1));
    border-radius: 20px;
}

.message {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 2rem 0;
    font-weight: 500;
}

.message-signature {
    margin-top: 2.5rem;
    font-style: italic;
}

.signature {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Countdown Styles */
.countdown-info {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(206, 147, 216, 0.1));
    border-radius: 20px;
}

.timer {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.timer .days {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timer .time {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--accent-color);
}

/* Music Player Styles */
.music-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(206, 147, 216, 0.1));
    border-radius: 20px;
}

.song-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
    font-size: 1.2rem;
}

.play-button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    transition: var(--transition);
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-date {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 1.5rem;
    }

    .title {
        font-size: 3rem;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navigation ul {
        gap: 2rem;
    }

    .photo {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .navigation {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .navigation a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .photo {
        height: 250px;
    }

    .photo-info h3 {
        font-size: 1.3rem;
    }

    .message {
        font-size: 1.1rem;
        margin: 1.5rem 0;
    }

    .timer {
        font-size: 2.5rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .balloon {
        width: 30px;
        height: 40px;
    }

    .balloon::before {
        height: 20px;
    }

    .balloon::after {
        width: 8px;
        height: 8px;
    }

    .vine {
        width: 36px;
        height: 180px;
        top: 10px;
    }

    .vine-left {
        left: 0;
    }

    .vine-right {
        right: 0;
    }

    .vine-fixed {
        width: 24vw !important;
        min-width: 28px;
        max-width: 60px;
    }

    .vine-left.vine-long {
        left: 0;
    }

    .vine-left.vine-short {
        left: 100px;
    }

    .vine-right.vine-medium {
        right: 0;
    }

    .vine-right.vine-short {
        right: 100px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0.8rem;
    }

    .header {
        padding: 1.5rem 0;
    }

    .heart {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .photo {
        height: 200px;
    }

    .photo-info {
        padding: 0.8rem;
    }

    .photo-info h3 {
        font-size: 1.2rem;
    }

    .photo-description {
        font-size: 1rem;
    }

    .message-content {
        padding: 1.5rem;
    }

    .message {
        font-size: 1rem;
        margin: 1.2rem 0;
    }

    .timer {
        font-size: 2rem;
    }

    .music-info {
        padding: 1rem;
    }

    .song-title {
        font-size: 1.1rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-date {
        font-size: 0.9rem;
    }

    .balloon {
        width: 25px;
        height: 35px;
    }

    .curved-title {
        height: 70px;
    }

    .curved-text {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }

    .vine {
        width: 36px;
        height: 180px;
        top: 10px;
    }
}

/* iPhone SE ve küçük ekranlar için özel düzenlemeler */
@media (max-width: 375px) {
    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .photo {
        height: 180px;
    }

    .timer {
        font-size: 1.8rem;
    }

    .curved-title {
        height: 50px;
    }

    .curved-text {
        font-size: 0.8rem;
        letter-spacing: 0.2px;
    }

    .vine {
        width: 36px;
        height: 180px;
        top: 10px;
    }
}

/* Yatay mobil görünüm için düzenlemeler */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 1rem 0;
    }

    .heart {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo {
        height: 150px;
    }
}

/* Tablet için özel düzenlemeler */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo {
        height: 280px;
    }
}

/* Tablet yatay görünüm için düzenlemeler */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .container {
        max-width: 1000px;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Balon Animasyonları */
.balloons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.balloon {
    position: absolute;
    width: 60px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 15s infinite;
    z-index: 9999;
}

.balloon::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.balloon::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.balloon-1 {
    left: 10%;
    animation-delay: 0s;
    background: var(--primary-color);
}

.balloon-2 {
    left: 20%;
    animation-delay: 2s;
    background: var(--accent-color);
}

.balloon-3 {
    left: 30%;
    animation-delay: 4s;
    background: var(--secondary-color);
}

.balloon-4 {
    left: 40%;
    animation-delay: 1s;
    background: var(--primary-color);
}

.balloon-5 {
    left: 50%;
    animation-delay: 3s;
    background: var(--accent-color);
}

.balloon-6 {
    left: 60%;
    animation-delay: 5s;
    background: var(--secondary-color);
}

.balloon-7 {
    left: 70%;
    animation-delay: 2.5s;
    background: var(--primary-color);
}

.balloon-8 {
    left: 80%;
    animation-delay: 4.5s;
    background: var(--accent-color);
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.menu-box {
    background: linear-gradient(135deg, #f8e8ff 0%, #f3f0ff 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(123, 31, 162, 0.15);
    padding: 40px 0;
    margin: 32px auto 48px auto;
    max-width: 375px;
    transition: box-shadow 0.3s;
}

.menu-box ul {
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 0;
    margin: 0;
}

.menu-box li {
    margin: 0;
}

.menu-box a {
    width: 90%;
    min-width: 220px;
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #9c27b0;
    text-decoration: none;
    background: #fff;
    border-radius: 18px;
    padding: 22px 0;
    box-shadow: 0 2px 12px rgba(156, 39, 176, 0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    gap: 16px;
}

.menu-box a:hover {
    background: #e1bee7;
    color: #6a1b9a;
    transform: translateY(-2px) scale(1.04);
}

.menu-box i {
    font-size: 1.3em;
}

/* Genel Stiller */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff5f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.curved-title {
    width: 100%;
    max-width: 100vw;
    height: 120px;
    display: block;
    margin: 0 auto 1rem auto;
    overflow: visible;
    box-sizing: border-box;
}

.curved-text {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    fill: #fff;
    text-shadow: 0 0 15px #fff, 0 0 30px #fff;
    filter: drop-shadow(0 0 10px #fff);
    animation: sparkle 2s infinite;
    letter-spacing: 2px;
}

.flashing-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.flashing-icons i {
    font-size: 2.2rem;
    color: #fff;
    animation: flash 1.2s infinite alternate;
    filter: drop-shadow(0 0 8px #fff);
}

.flashing-icons i:nth-child(2) {
    animation-delay: 0.3s;
}

.flashing-icons i:nth-child(3) {
    animation-delay: 0.6s;
}

.flashing-icons i:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes flash {
    0% {
        opacity: 0.5;
        filter: drop-shadow(0 0 2px #fff);
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 16px #fff);
    }
}

.flashing-icons .icon-link {
    display: inline-block;
    margin: 0 18px;
    color: #fff;
    font-size: 2.5rem;
    transition: transform 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.4));
}

.flashing-icons .icon-link:hover {
    color: var(--accent-color);
    transform: scale(1.18) translateY(-4px);
    box-shadow: 0 4px 24px rgba(156, 39, 176, 0.25);
    filter: drop-shadow(0 0 18px #ce93d8);
}

html {
    scroll-behavior: smooth;
}

/* Genel Stiller */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff5f8;
}

.header .heart {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    margin-bottom: 2rem;
    float: none;
}

/* Vine (Sarmaşık) Stilleri */
.vine {
    position: absolute;
    top: 30px;
    width: 60px;
    height: 300px;
    pointer-events: none;
    z-index: 10;
}

.vine-left {
    left: 10px;
}

.vine-right {
    right: 10px;
}

/* Sabit Sarmaşıklar (Vine) */
.fixed-vines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
}

.vine-fixed {
    position: absolute;
    top: 0;
    pointer-events: none;
}

.vine-left.vine-long {
    left: 40px;
}

.vine-left.vine-short {
    left: 180px;
}

.vine-right.vine-medium {
    right: 40px;
}

.vine-right.vine-short {
    right: 180px;
}

/* Yanıp sönen ışık animasyonu */
.vine-light {
    filter: drop-shadow(0 0 20px #fff700);
    animation: vineLightBlink 1.5s infinite;
    opacity: 1;
}

@keyframes vineLightBlink {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 20px #fff700);
    }

    50% {
        opacity: 0.8;
        filter: drop-shadow(0 0 30px #fff700);
    }
}

@media (max-width: 768px) {
    .vine-fixed {
        width: 24vw !important;
        min-width: 28px;
        max-width: 60px;
    }

    .vine-left.vine-long {
        left: 0;
    }

    .vine-left.vine-short {
        left: 100px;
    }

    .vine-right.vine-medium {
        right: 0;
    }

    .vine-right.vine-short {
        right: 100px;
    }
}

.firework {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff0 0%, #f00 50%, transparent 100%);
    box-shadow: 0 0 10px #ff0, 0 0 20px #f00;
    pointer-events: none;
    transition: transform 2s ease-out, opacity 2s ease-out;
    z-index: 9999;
}