/*
Theme Name: Hasret Sohbet Portalı
Theme URI: https://hasretsohbet.net
Description: Renkli Cam (Glassmorphism) Tasarımlı, Ortalanmış Duyurulu ve Sinematik Sohbet Girişli IRC Teması.
Author: AI Geliştirici
Version: 1.1.0
*/

:root {
    --primary-blue: #007bff;
    --accent-red: #ff3366;
    --pink: #e83e8c;
    --orange: #fd7e14;
    --lila: #6f42c1;
    --green: #28a745;
    --bg-gradient: linear-gradient(135deg, #e3f2fd 0%, #fce4ec 35%, #f3e5f5 70%, #e8f5e9 100%);
    --text-color: #2c3e50;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; padding: 0;
}

/* Karşılama Animasyonu */
#welcome-splash {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--lila), var(--pink));
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.splash-loader {
    width: 150px; height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px; overflow: hidden; margin-top: 20px;
}
.splash-bar { width: 0%; height: 100%; background: #fff; animation: load 2.5s forwards; }
@keyframes load { to { width: 100%; } }

/* %100 Esnek Tam Ekran Sinematik Sohbet Modu */
.cinematic-mode #main-header, 
.cinematic-mode #main-sidebar, 
.cinematic-mode #main-footer,
.cinematic-mode .seo-content,
.cinematic-mode .simulation-wrap,
.cinematic-mode .badge-announcement,
.cinematic-mode .istek-form-section {
    display: none !important;
}

.cinematic-mode #chat-frame-container {
    display: block !important;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 999999;
    background: #000;
}

#chat-frame-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Tam Ortalanmış Duyuru Alanları */
.marquee-container {
    background: linear-gradient(45deg, var(--accent-red), var(--pink));
    color: white;
    padding: 10px 0;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.marquee-container marquee {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.badge-announcement {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 12px 20px;
    text-align: center;
    font-weight: 800;
    border-radius: 30px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.1);
}

/* Cam Efektli Kart Yapısı */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

/* Neon Butonlar */
.btn-neon {
    background: linear-gradient(45deg, var(--primary-blue), var(--pink));
    color: white; border: none; padding: 12px 25px;
    border-radius: 25px; font-weight: bold; cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 62, 140, 0.3);
    transition: all 0.3s ease;
}
.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

/* Müzik Notalı Cam Radyo Player */
.radyo-nota-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 25px;
    border-radius: 50px;
    margin: 20px 0;
}
.radyo-sol-blok { display: flex; align-items: center; gap: 15px; }
.nota-logo-wrapper {
    width: 44px; height: 44px;
    background: linear-gradient(45deg, var(--pink), var(--lila));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.nota-logo-wrapper svg { width: 24px; height: 24px; fill: #fff; animation: notePulse 2s infinite ease-in-out; }
@keyframes notePulse { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.15) rotate(12deg); } }
.radyo-metin-alani { font-size: 1rem; font-weight: 700; color: var(--lila); }
.radyo-nota-player audio { max-width: 240px; height: 36px; border-radius: 20px; }

/* Parçacık Animasyonları */
.simulation-wrap { position: relative; overflow: hidden; }
.simulation-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#simulation-box { max-height: 220px; overflow-y: auto; font-weight: 600; color: #34495e; padding: 15px; background: rgba(255, 255, 255, 0.5); border-radius: 12px; line-height: 1.8; position: relative; z-index: 3; }
.floating-particle { position: absolute; bottom: -60px; font-size: 26px; user-select: none; opacity: 0; animation: flyUp 7s infinite linear; }
@keyframes flyUp { 0% { bottom: -60px; transform: translateX(0) scale(0.6) rotate(0deg); opacity: 0; } 15% { opacity: 0.9; } 85% { opacity: 0.9; } 100% { bottom: 110%; transform: translateX(120px) scale(1.2) rotate(360deg); opacity: 0; } }
.toast-notification { position: fixed; bottom: 20px; left: 20px; background: var(--green); color: white; padding: 15px 25px; border-radius: 8px; z-index: 100000; font-weight: bold; }
