* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0a0e27 25%, #1a1f3a 50%, #0f1419 75%, #000000 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Kar Yağışı */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.stars::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 
        100px 200px 0 0 white,
        300px 100px 0 0 white,
        500px 300px 0 0 white,
        700px 150px 0 0 white,
        900px 250px 0 0 white,
        200px 400px 0 0 white,
        400px 500px 0 0 white,
        600px 450px 0 0 white,
        800px 350px 0 0 white,
        150px 600px 0 0 white,
        350px 700px 0 0 white,
        550px 650px 0 0 white,
        750px 550px 0 0 white,
        950px 600px 0 0 white;
}

.stars::after {
    top: 40%;
    left: 20%;
    animation-delay: 1.5s;
    box-shadow: 
        120px 180px 0 0 white,
        320px 120px 0 0 white,
        520px 320px 0 0 white,
        720px 170px 0 0 white,
        920px 270px 0 0 white,
        220px 420px 0 0 white,
        420px 520px 0 0 white,
        620px 470px 0 0 white,
        820px 370px 0 0 white,
        170px 620px 0 0 white,
        370px 720px 0 0 white,
        570px 670px 0 0 white,
        770px 570px 0 0 white,
        970px 620px 0 0 white;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out, glow 3s ease-in-out infinite;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.title span {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 50%, #2e5c8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
    position: relative;
    display: inline-block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hidden-card {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.3;
    transform: scale(0.9) translateY(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: all;
    cursor: pointer;
    z-index: 10;
}

.hidden-card .card-content {
    filter: blur(15px);
    transition: filter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hidden-card:hover .card-content {
    filter: blur(10px);
}

.hidden-card.reveal .card-content {
    filter: blur(0);
}

.hidden-card:hover {
    opacity: 0.6;
}

.hidden-card.reveal {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    pointer-events: all;
    animation: cardFloat 3s ease-in-out infinite;
    cursor: default;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.card-content {
    background: rgba(15, 20, 40, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 50px rgba(74, 144, 226, 0.2);
    position: relative;
    overflow: visible;
}

/* Yıldız parlamaları */
.star-sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.click-hint {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
    z-index: 100;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.hidden-message {
    display: none;
    font-size: 1.4rem;
    font-weight: 400;
    color: #e8f4f8;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    animation: textFadeIn 1s ease-out 0.5s both;
}


.hidden-card.reveal {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
    animation: cardFloat 3s ease-in-out infinite;
    cursor: default;
}

.hidden-card.reveal .hidden-message {
    display: block;
}

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

/* Doğum Günü Widget */
.birthday-widget {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: widgetFadeIn 1s ease-out 0.5s both;
}

.widget-content {
    background: rgba(15, 20, 40, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 226, 0.4);
    border-radius: 15px;
    padding: 1rem 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: widgetFloat 3s ease-in-out infinite;
}

.widget-icon {
    font-size: 2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.widget-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e8f4f8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

@keyframes widgetFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes widgetFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .card-content p {
        font-size: 1.2rem;
    }
    
    .birthday-widget {
        bottom: 20px;
    }
    
    .widget-content {
        padding: 0.8rem 1.5rem;
        gap: 0.8rem;
    }
    
    .widget-icon {
        font-size: 1.5rem;
    }
    
    .widget-date {
        font-size: 1rem;
    }
}

