﻿body {
    margin: 0;
    padding: 0;
    background-image: url('../images/bahridoga.png');
    background-size: cover;
    background-position: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    overflow: hidden;
}

.overlay {
    background-color: rgba(0,0,0,0.6);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

#flipdown {
    margin: 0 auto;
}

.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    opacity: 0.8;
}

.heart {
    position: absolute;
    bottom: -30px;
    color: #ff4d6d;
    font-size: 24px;
    animation: floatUp 4s linear forwards;
    pointer-events: none;
    z-index: 10;
}

.ring {
    width: 50px;
    height: 50px;
    background-image: url('../images/tektas.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    cursor: pointer;
    z-index: 5;
}

.tooltip {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    color: black;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 16px;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    opacity: 1;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 999;
}

#play-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    align-self: center;
}

    #play-btn:hover {
        background-color: #ff85c1;
    }

.flipdown {
    margin: 0 auto;
    transform-origin: top center;
}

/* Ekran küçüldükçe sayaç ölçeklensin */
@media (max-width: 1200px) {
    .flipdown {
        transform: scale(0.9);
    }
}

@media (max-width: 992px) {
    .flipdown {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .flipdown {
        transform: scale(0.7);
    }
}

@media (max-width: 576px) {
    .flipdown {
        transform: scale(0.6);
    }
}
.heart-fly {
    position: fixed;
    bottom: 0;
    font-size: 24px;
    color: #ff4d6d;
    opacity: 1;
    animation: heartFly 4s ease-out forwards;
    pointer-events: none;
    z-index: 20;
}

/* Hafif dönerek ve büyüyerek uçan kalpler */
@keyframes heartFly {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-50vh) scale(1.5) rotate(180deg);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100vh) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}
