/* ==========================================
   📚 GOOGLE FONTS - Proje genelinde kullanılan font ailesi
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap');

/* ==========================================
   🔄 GLOBAL RESET - Tarayıcı varsayılan stillerini sıfırlama
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   🎨 CSS DEĞİŞKENLERİ - Tema renkleri ve ayarları
   Not: :root içindeki değişkenler tüm sayfada kullanılır
   ========================================== */
:root {
    /* KOYU MOD RENK PALETİ */
    --primary-color: #6366f1;
    /* Canlı Indigo */
    --accent-color: #a855f7;
    /* Vurgu Moru */
    --text-dark: #f8fafc;
    /* Başlıklar */
    --text-light: #94a3b8;
    /* Açıklama Metinleri */
    --bg-body: #040a23;
    /* Derin Gece Mavisi Arka Plan */
    --bg-sections: #0c1938;
    /* Panel Bölümleri */
    --white: #fff;
    --border-color: #1e293b;
    --btn-bg: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --btn-text: #ffffff;
}

/* AÇIK MOD RENK PALETİ - data-theme="light" aktif olduğunda */
[data-theme="light"] {
    --bg-body: rgb(245, 250, 247);
    /* Ferah Gri-Mavi Arka Plan */
    --bg-sections: #ffffff;
    /* Beyaz Bölümler */
    --text-dark: #0f172a;
    /* Koyu Metin */
    --text-light: #475569;
    /* Açıklama Metni */
    --white: #0f172a;
    --border-color: #e2e8f0;
    --btn-bg: linear-gradient(135deg, #0ea5e9 0%, #2dd4bf 100%);
    /* Renkli Geçişli Buton */
    --btn-text: #ffffff;
    --primary-color:#0ea5e9;
    --accent-color: #0ea5e9;
}

/* ==========================================
   📄 TEMEL SAYFA STİLLERİ
   ========================================== */
html {
    scroll-behavior: smooth; /* Bağlantılara tıklandığında yumuşak kaydırma */
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-body);
    transition: background-color 0.4s ease; /* Tema değişiminde yumuşak geçiş */
}

/* ==========================================
   ✨ PARÇACIK ANİMASYONU - Arka planda uçuşan parçacıklar
   ========================================== */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Yazıların arkasında kalması için 0 yaptık */
    pointer-events: none;
    /* Mouse tıklamalarını engellemesin */
}

/* Hero section'ı parçacıklara göre ayarladık */
.hero {
    position: relative;
    /* İçindeki canvas'ı hizalamak için */
    overflow: hidden;
    background: var(--bg-body);
    padding: 150px 0 100px;
    text-align: center;
}

/* Hero içeriğini parçacıkların önüne çıkardık */
.hero .container {
    position: relative;
    z-index: 1;
}

/* ==========================================
   🎬 HERO ANİMASYONU - WordPress ikonu ve metin geçiş animasyonu
   Not: Logo soldan sağa kayar, metin ortaya çıkar
   ========================================== */
.wp-anim-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    /* Yatayda ortalar */
    align-items: center;
    /* Dikeyde ortalar */
    overflow: hidden;
    margin-bottom: 20px;
}

.image-container {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    height: 80px;
    filter: drop-shadow(-4px 5px 15px rgba(99, 102, 241, 0.5));
    /* Bir kez çalışması için forwards eklendi */
    animation: image-slide 4s cubic-bezier(.5, .5, 0, 1) forwards;
}

.text-container {
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-container h1 {
    text-transform: none;
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.fading-effect {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    background: var(--bg-body);
    animation: text-slide 4s cubic-bezier(.5, .5, 0, 1) forwards;
}

@keyframes image-slide {
    0% {
        transform: translateX(-350px) scale(0);
        opacity: 1;
    }

    60% {
        transform: translateX(-350px) scale(1);
        opacity: 1;
    }

    90% {
        transform: translateX(320px) scale(1);
        opacity: 1;
        visibility: visible;
    }

    100% {
        transform: translateX(320px) scale(1);
        opacity: 0;
        visibility: hidden;
    }

    /* Resim burada kalkar */
}

@keyframes text-slide {
    0% {
        width: 100%;
    }

    60% {
        width: 100%;
    }

    77% {
        width: 0;
    }

    100% {
        width: 0;
    }
}

@media screen and (max-width: 768px) {
    .text-container h1 {
        font-size: 24px;
    }

    .image-container img {
        height: 50px;
    }

    @keyframes image-slide {
        0% {
            transform: translateX(-180px) scale(0);
            opacity: 1;
        }

        60% {
            transform: translateX(-180px) scale(1);
            opacity: 1;
        }

        90% {
            transform: translateX(180px) scale(1);
            opacity: 1;
        }

        100% {
            transform: translateX(180px) scale(1);
            opacity: 0;
            visibility: hidden;
        }
    }
}

/* ==========================================
   🌗 TEMA DEĞİŞTİRİCİ BUTONU - Gündüz/Gece animasyonlu toggle
   Not: Güneş/Ay, Dağlar ve Deniz ile görsel geçiş efekti
   ========================================== */
#checkbox {
    display: none;
}

.toggle {
    height: 28px;
    width: 70px;
    border-radius: 9999px;
    background: linear-gradient(to bottom, #6ec8ff, #1f73a7);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mountains {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 3;
    background-color: #1d7371;
    transition: all 0.5s ease-in-out;
    clip-path: polygon(0% 80%, 25% 50%, 40% 70%, 60% 35%, 65% 45%, 80% 20%, 100% 80%, 100% 100%, 0% 100%);
}

.cloud {
    height: 4px;
    width: 10px;
    border-radius: 9999px;
    background-color: white;
    position: absolute;
    top: 20%;
    left: 10%;
    filter: opacity(0.5);
}

.cloud::before {
    content: "";
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: -50%;
    right: 50%;
    transform: translateX(50%);
}

.sea {
    height: 100px;
    width: 300%;
    border-radius: 50%;
    position: absolute;
    right: 50%;
    bottom: -500%;
    transform: translateX(50%);
    transition: all 0.5s ease-in-out;
    background: linear-gradient(to bottom, #3f75cc, #06063b);
}

.star {
    height: 1px;
    width: 1px;
    position: absolute;
    top: -50%;
    right: 15%;
    background-color: #fff;
    transition: all 0.5s ease-in-out;
    border-radius: 50%;
}

.star::before,
.star::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
}

.star::before {
    top: -5px;
    right: 10px;
}

.star::after {
    top: 5px;
    right: -10px;
}

.toggle::before {
    /* GÜNEŞ */
    content: "";
    height: 18px;
    width: 18px;
    position: absolute;
    top: 10%;
    right: 15%;
    border-radius: 50%;
    background-color: #ffd34d;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 0 10px #fef95fc3;
    z-index: 2;
}

.toggle::after {
    /* AY */
    content: "";
    height: 16px;
    width: 16px;
    position: absolute;
    top: 10%;
    left: -60%;
    border-radius: 50%;
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

#checkbox:checked+.toggle {
    background: linear-gradient(to bottom, #036daf, #003d63);
}

#checkbox:checked+.toggle::before {
    transform: translateX(280%);
}

#checkbox:checked+.toggle::after {
    transform: translateX(310%);
}

#checkbox:checked+.toggle .mountains {
    background-color: #05021a;
    transform: translateY(100%);
}

#checkbox:checked+.toggle .sea {
    bottom: -210%;
}

#checkbox:checked+.toggle .star {
    top: 20%;
}

/* ==========================================
   🌍 ÇOK DİLLİ DESTEK - TR/EN/SQ bayrak butonları
   Not: Hover'da bayrak üzerine dil kodu (TR/EN/SQ) belirir
   ========================================== */
.langswitcher {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.lang-btn {
    width: 26px;
    height: 26px;
    /* Butonlar küçültüldü */
    margin: 0 3px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.lang-btn.active {
    border-color: var(--primary-color);
}

.lang-btn span {
    font-size: 8px;
    /* Yazı boyutu küçültüldü */
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.lang-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    z-index: 1;
}

.lang-btn:hover span {
    opacity: 1;
}

.lang-btn:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Bayraklar ve Konum Ayarları */
.lang-btn.tr {
    background-image: url('https://flagcdn.com/w160/tr.png');
    background-position: 30% center;
    /* Türk bayrağı biraz daha sağa (hilal-yıldız odağına) kaydırıldı */
}

.lang-btn.sq {
    background-image: url('https://flagcdn.com/w160/al.png');
}

.lang-btn.en {
    background-image: url('https://flagcdn.com/w160/gb.png');
}

/* ==========================================
   📦 GENEL KONTEYNIR - Sayfa içeriğini ortalar
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   🧭 HEADER & NAVİGASYON - Üst menü ve logo
   ========================================== */
header {
    background: var(--bg-body);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {

    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* NAV CV dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    padding: 12px 14px;
    min-width: 150px;
    flex-direction: column;
    gap: 10px;
    z-index: 1100;
}

.nav-dropdown .dropdown-menu a {
    text-transform: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--text-dark);
}

.nav-dropdown .dropdown-menu a:hover {
    color: var(--primary-color);
}

.nav-dropdown.open .dropdown-menu {
    display: flex;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    width: 45px;
    height: 45px;
    background: var(--bg-sections);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

/* ==========================================
   🎯 HERO BÖLÜMÜ - Ana sayfa karşılama ekranı
   ========================================== */
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--white);
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* BUTONLARI DEĞİŞKENLERE BAĞLADIK */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--btn-bg);
    color: var(--btn-text) !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
    font-size: 16px;
    line-height: 1;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* CV buton grubu */
.cv-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.cv-buttons .btn {
    padding: 12px 26px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-sections);
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* ==========================================
   👤 HAKKIMDA BÖLÜMÜ - Kişisel tanıtım ve beceriler
   ========================================== */
.about {
    padding: 100px 0;
    background: var(--bg-body);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}

.section-description {
    color: var(--text-light);
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--white);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 700;
}

.about-text a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.about-text .btn {
    margin-top: 30px;
}

.skills h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--white);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tag {
    background: var(--bg-sections);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.skill-tag:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
}

/* ==========================================
   💼 PROJELER BÖLÜMÜ - Portfolio çalışmaları
   ========================================== */
.projects {
    padding: 100px 0;
    background: var(--bg-sections);
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.project-item:nth-child(even) {
    direction: rtl;
}

.project-item:nth-child(even)>* {
    direction: ltr;
}

.project-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.project-img img:hover {
    transform: scale(1.02);
}

.project-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
}

.project-content p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ==========================================
   📧 İLETİŞİM BÖLÜMÜ - İletişim formu ve mesaj gönderme
   ========================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-body);
}

.contact .section-title h2,
.contact .section-description {
    color: var(--white);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-sections);
    color: var(--white);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

/* FORM BUTONUNU DEĞİŞKENE BAĞLADIK */
.form-group button.btn {
    background: var(--btn-bg);
    color: var(--btn-text) !important;
    width: auto;
}

/* ==========================================
   🦶 FOOTER - Alt bilgi ve sosyal medya linkleri
   ========================================== */
footer {
    background: var(--bg-sections);
    color: var(--text-dark);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.4s ease;
    /* Yumuşak geçiş için */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.footer-social h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social-links svg {
    fill: var(--text-dark);
    /* Metin rengiyle aynı olsun */
    transition: fill 0.3s ease;
    width: 32px;
    /* İstediğin genişlik */
    height: 32px;
    /* İstediğin yükseklik */
    transition: transform 0.3s ease;
    /* Hover efekti için hazırlık */
}

.footer-social-links a:hover svg {
    fill: var(--primary-color);
    /* Üzerine gelince parlasın */
    width: 40px;
    /* İstediğin genişlik */
    height: 40px;
    /* İstediğin yükseklik */
    transition: transform 0.3s ease;
    /* Hover efekti için hazırlık */
}

.footer-social-links a:hover {
    opacity: 1;
}

.footer-social-links img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    /* Değişken kullanıldı */
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
    /* Koyu modda beyaz yerine ana rengi verebiliriz */
    font-weight: 700;
}

/* ==========================================
   📱 RESPONSİVE TASARIM - Tablet / Mobil uyumluluğu
   ========================================== */

/* Tablet ve küçük laptoplar */
@media (max-width: 1024px) {
    .hero { padding: 140px 0 80px; }
    .section-title h2 { font-size: 34px; }
    .project-item { grid-template-columns: 1fr; gap: 45px; }
    .about-content,
    .footer-content { grid-template-columns: 1fr; gap: 50px; }
    .container { padding: 0 18px; }
}

/* Mobil */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-body);
        padding: 40px 20px;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    nav ul.active {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 8px 0 0;
        align-items: center;
    }

    .nav-dropdown.open .dropdown-menu {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        color: var(--white);
        font-size: 28px;
        order: 3;
    }

    .header-content {
        padding: 10px 0;
    }

    nav {
        gap: 15px;
    }

    .langswitcher {
        margin-right: 5px;
    }

    .hero h1 {
        font-size: 28px;
        padding: 0 10px;
    }

    .hero-description {
        font-size: 16px;
        padding: 0 15px;
    }

    .about-content,
    .project-item,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-item {
        margin-bottom: 60px;
    }

    .project-item:nth-child(even) {
        direction: ltr;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
        display: flex;
        gap: 15px;
    }
}

/* Çok küçük ekranlar için (iPhone SE vb.) */
@media (max-width: 480px) {
    .logo-name {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    #chat-box {
        width: calc(100vw - 40px) !important;
        right: -10px !important;
        height: 400px !important;
    }
}

/* ==========================================
   🤖 CHAT AI BÖLÜMÜ - Yapay zeka asistan penceresi
   ========================================== */
#chat-wrapper { position: fixed; bottom: 20px; right: 20px; z-index: 9999; font-family: 'Source Sans Pro', sans-serif; }
#chat-btn { 
    width: 60px; height: 60px; border-radius: 50%; background: var(--btn-bg); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: none; cursor: pointer; color: white; font-size: 20px;
    transition: transform 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}
#chat-btn:hover { transform: scale(1.1); }
#chat-box { 
    display: none; width: 320px; height: 450px; background: var(--bg-sections); 
    border: 1px solid var(--primary-color); border-radius: 15px; flex-direction: column; 
    position: absolute; bottom: 75px; right: 0; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
#chat-header { background: var(--btn-bg); padding: 15px; color: white; font-weight: bold; display: flex; justify-content: space-between; }
#chat-messages { flex: 1; padding: 15px; overflow-y: auto; color: var(--text-dark); display: flex; flex-direction: column; gap: 10px; background: var(--bg-body); }
.msg { padding: 8px 12px; border-radius: 10px; max-width: 80%; font-size: 14px; line-height: 1.4; }
.user-msg { background: var(--primary-color); color: white; align-self: flex-end; border-bottom-right-radius: 2px; }
.ai-msg { background: var(--border-color); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 2px; }
#chat-input-area { display: flex; border-top: 1px solid var(--border-color); padding: 10px; background: var(--bg-sections); }
#chat-input-area input { flex: 1; background: transparent; border: none; color: var(--text-dark); outline: none; padding: 5px; }

/* ==========================================
   🎮 GİZLİ OYUN BUTONU - Şifreli giriş
   ========================================== */
.secret-game-section {
    margin-top: 30px;
    text-align: center;
    padding-bottom: 20px;
}

.secret-game-btn {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    border: 1px dashed var(--primary-color);
    color: var(--text-light);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.secret-game-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    color: var(--text-dark);
}

[data-theme="light"] .secret-game-btn {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: var(--primary-color);
}
