/* Genel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; /* Kaydırma çubuklarını engelle */
}

body {
    /* Arka plan rengini siyah yap (üst/alt boşluklar için) */
    background-color: black;

    /* Arka plan görselini ayarla */
    background-image: url('maxton.jpg');

    /* Görselin tekrarlanmasını engelle */
    background-repeat: no-repeat;

    /* Görseli yatayda ve dikeyde ortala */
    background-position: center center;
    
    /* Görselin tüm ekranı kaplamasını sağla */
    background-size: cover;
}

/* Mobil cihazlar için medya sorgusu */
@media screen and (max-width: 768px) {
    body {
        /* Mobil cihazlarda mobile.png görselini kullan */
        background-image: url('mobile.jpg');
    }
}

/* Salınan Bildirim Kutusu */
.notification-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: swingContainer 3s ease-in-out infinite;
    transform-origin: top center;
}

.rope {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #8B4513, #654321);
    margin: 0 auto;
    box-shadow: 1px 0 2px rgba(0,0,0,0.3);
}

.notification-box {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: -2px;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.notification-text {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.notification-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #232854, #1a1a2e);
}

/* Sallanma Animasyonu */
@keyframes swingContainer {
    0%, 100% {
        transform: translateX(-50%) rotate(-3deg);
    }
    50% {
        transform: translateX(-50%) rotate(3deg);
    }
}

/* Hafif yukarı aşağı hareket */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.notification-box {
    animation: float 2s ease-in-out infinite;
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
    .notification-text {
        font-size: 12px;
    }
    
    .notification-box {
        padding: 10px 16px;
    }
    
    .rope {
        height: 30px;
    }
}