:root { 
    --hk-pink: #ffb6c1; 
    --hk-dark-pink: #ff69b4; 
    --gold: #ffd700; 
    --bg: #fff0f5; 
}

body, html { 
    margin: 0; padding: 0; min-height: 100%; 
    font-family: 'Varela Round', sans-serif; 
    color: #5d5d5d; background: var(--bg); 
    overflow-x: hidden; scroll-behavior: smooth; 
}

#yt-player { position: absolute; top: -1000px; left: -1000px; visibility: hidden; }
#main-panel, #tr-clock, #snowman { display: none; }

/* AUTH */
#auth-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.auth-card { background: white; padding: 40px; border-radius: 40px; border: 4px solid var(--hk-pink); text-align: center; width: 90%; max-width: 380px; }
.auth-card h1 { font-family: 'Pacifico'; color: var(--hk-dark-pink); font-size: 2.8em; margin: 0; }
.auth-input { padding: 13px; width: 100%; box-sizing: border-box; border-radius: 15px; border: 2px solid var(--hk-pink); margin-bottom: 12px; outline: none; }

.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tab { flex: 1; padding: 10px; border-radius: 12px; border: 2px solid var(--hk-pink); background: white; cursor: pointer; color: var(--hk-dark-pink); font-weight: bold; }
.auth-tab.active { background: var(--hk-pink); color: white; }

#sifre-guc-bar { height: 6px; border-radius: 10px; background: #eee; margin-bottom: 10px; overflow: hidden; }
#sifre-guc-ic { height: 100%; width: 0%; transition: 0.3s; }

/* PANEL */
#tr-clock { position: fixed; top: 15px; left: 15px; background: white; padding: 10px 18px; border-radius: 15px; border: 2px solid var(--hk-pink); color: var(--hk-dark-pink); font-weight: bold; z-index: 2000; }
.logo-text { font-family: 'Pacifico'; color: var(--hk-dark-pink); font-size: 2.5em; text-align: center; }

.menu-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 20px; }
.btn { background: white; padding: 12px 20px; border-radius: 20px; border: 2px solid var(--hk-pink); cursor: pointer; color: var(--hk-dark-pink); font-weight: bold; border-bottom: 5px solid var(--hk-pink); transition: 0.2s; }
.btn:hover { transform: translateY(-3px); background: var(--hk-pink); color: white; }

.content-section { width: 95%; max-width: 1100px; background: white; border-radius: 30px; padding: 25px; border: 2px solid var(--hk-pink); margin: 20px auto; }
.section-title { text-align: center; color: var(--hk-dark-pink); }

/* TABLO */
.table-wrapper { overflow-x: auto; border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th { background: var(--hk-pink); color: white; padding: 15px; }
td { padding: 12px; border-bottom: 1px solid #ffe4ed; text-align: center; }

/* SOHBET */
#chat-box { height: 350px; overflow-y: auto; background: #fff8fb; border: 2px solid var(--hk-pink); border-radius: 20px; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 75%; background: white; border: 2px solid var(--hk-pink); border-radius: 18px 18px 18px 4px; padding: 10px; font-size: 14px; }
.msg-row.mine { align-self: flex-end; }
.msg-row.mine .msg-bubble { background: var(--hk-pink); color: white; border-radius: 18px 18px 4px 18px; }

/* KAR ANİMASYONU */
.snowflake { position: absolute; top: -20px; color: white; animation: fall linear infinite; pointer-events: none; }
@keyframes fall { to { transform: translateY(100vh); } }
#snowman { position: fixed; bottom: 10px; right: 20px; font-size: 80px; z-index: 1000; animation: bounce 3s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
