:root {
    --scroll-time: 15s;
    --scrollTXTsize: 20px;
    --glass-bg: rgba(0, 0, 0, 0.65);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --accent-color: #ff3333;
    --text-color: #ffffff;
}

/* Genel Stil */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    /* Daha modern bir font */
    background-color: #000;
    color: var(--text-color);
}

/* Google Fonts Import (Eğer index.php'de ekli değilse buraya da ekleyebilirsiniz ama index.php'de var) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Anton&display=swap');

body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Başlık / Logo */
#top {
    position: fixed;
    z-index: 1000;
    top: 20px;
    left: 40px;
    /* Sol üst köşeye alındı daha modern durması için */
    width: 220px;
    /* Biraz büyütüldü */
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.5));
    cursor: pointer;
    transition: transform 0.3s ease;
}

#top:hover {
    transform: scale(1.05);
}

/* Saat ve Tarih - BOZULMAMALI */
#timer {
    position: fixed;
    z-index: 1000;
    top: 30px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#clock {
    font-family: "Anton", sans-serif;
    /* Okunabilirlik için korundu */
    font-size: 64px;
    color: var(--text-color);
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

#tarih {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
}

/* İçerik Konteyneri */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    /* İki panel arası boşluk */
    padding: 0 50px;
    box-sizing: border-box;
}

/* Fiyat ve Saat Panelleri */
.fiyat,
.gun {
    width: 400px;
    height: auto;
    max-height: 70vh;
    /* Ekranın %70'ini geçmesin */
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    /* İçerik taşarsa kaydır */
    transition: transform 0.3s ease;
}

.fiyat::-webkit-scrollbar,
.gun::-webkit-scrollbar {
    width: 6px;
}

.fiyat::-webkit-scrollbar-thumb,
.gun::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Panel Başlıkları (Opsiyonel olarak eklenebilir ama şu an yok, data'dan geliyor) */

/* Liste Öğeleri */
.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 500;
    color: #eee;
}

.item:last-child {
    border-bottom: none;
}

.item span:last-child {
    font-family: "Anton", sans-serif;
    color: var(--accent-color);
    font-size: 24px;
}

/* Sosyal Medya */
.social-wrapper {
    position: fixed;
    bottom: 80px;
    /* Kayan yazının üstünde */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 999;
}

.instagram {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.instagram:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.instagram img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    /* Beyaz ikon */
}

.instagram h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
}


/* Ek Bilgi */
#ekBilgi {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#ekBilgi h3 {
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Kayan Yazı */
.scrolling-text {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000;
    border-top: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.8);
}

.scrolling-text span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll var(--scroll-time) linear infinite;
    font-size: var(--scrollTXTsize);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

@keyframes scroll {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Video Background */
#video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        gap: 30px;
    }

    .fiyat,
    .gun {
        width: 80%;
        max-height: 40vh;
    }

    #top {
        left: 20px;
        width: 100px;
    }

    #timer {
        right: 20px;
    }

    #clock {
        font-size: 40px;
    }

    #tarih {
        font-size: 18px;
    }
}

/* Evaluation Section (NEW) */
.evaluation-container {
    position: fixed;
    bottom: 90px;
    right: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}

.evaluation-container:hover {
    transform: scale(1.05);
}

.evaluation-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 18px;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: white;
    /* QR codes often need white bg for best scanning */
    padding: 5px;
}