:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --accent: #f59e0b;
    --whatsapp: #25D366;
    --whatsapp-dark: #1da851;
    --bg-main: #f8fafc;
    --bg-light: #f1f5f9;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #cbd5e1;
}

html.dark-theme {
    --bg-main: #0b0f19;
    --bg-light: #111827;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #475569;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* 1. SİNEMATİK GİRİŞ AÇILIŞ ANİMASYONU */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #090d16;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-stage {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.45);
    animation: zoomFromDistance 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 2;
}

@keyframes zoomFromDistance {
    0% { transform: scale(0.05) translateZ(-400px); opacity: 0; }
    65% { transform: scale(1.08) translateZ(0); opacity: 1; }
    100% { transform: scale(1) translateZ(0); opacity: 1; }
}

.intro-ring {
    position: absolute;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #38bdf8;
    border-right-color: #0284c7;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
    opacity: 0;
    animation: ringSpin 1.4s linear 0.9s infinite, ringFadeIn 0.4s ease 0.9s forwards;
    z-index: 1;
}

@keyframes ringFadeIn { to { opacity: 1; } }
@keyframes ringSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.intro-text {
    margin-top: 18px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    opacity: 0;
    animation: textReveal 0.6s ease 0.9s forwards;
}

.intro-subtext {
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0;
    animation: textReveal 0.6s ease 1.1s forwards;
}

@keyframes textReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVBAR */
.navbar {
    background: var(--card-bg);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-logo-img {
    height: 42px;
    width: 42px;
    min-width: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
}

.nav-links {
    display: none !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Giriş Yapılmamışken Çıkan Düğme */
.nav-auth-btn {
    background: var(--primary);
    color: #ffffff !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--primary);
    transition: 0.2s ease;
}

.nav-auth-btn:hover {
    background: var(--primary-dark);
}

/* YUVARLAK KULLANICI PROFİL BUTONU (FOTOĞRAF YÜKLENEBİLİR) */
.user-avatar-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--bg-light);
    display: none; /* Giriş yapıldığında JS açar */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
    position: relative;
    padding: 0;
}

.user-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-avatar-btn i {
    font-size: 1.3rem;
    color: var(--primary);
}

/* TEMA BUTONU */
.theme-toggle {
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: 0.2s ease;
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* BELİRGİN VE KONTRASTLI 3 ÇİZGİ MENÜ BUTONU */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: 0.2s ease;
}

.menu-toggle:hover {
    border-color: var(--primary);
}

.menu-toggle span {
    width: 22px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.2s ease;
}

html.dark-theme .menu-toggle span {
    background-color: #f8fafc;
}

/* YAN MENÜ (DRAWER) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -330px;
    width: 310px;
    height: 100%;
    background: var(--card-bg);
    z-index: 1100;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.drawer-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

/* 3 ÇİZGİ MENÜSÜNDEKİ PROFİL ALANI */
.drawer-profile-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-profile-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 2px solid var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drawer-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-profile-avatar i {
    font-size: 1.4rem;
    color: var(--primary);
}

.drawer-profile-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.drawer-profile-info span {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.drawer-score-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

html.dark-theme .drawer-score-badge {
    background: #1e3a8a;
    color: #93c5fd;
}

.drawer-profile-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.profile-action-btn {
    flex: 1;
    padding: 7px 10px;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.profile-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.profile-action-btn.logout {
    color: #ef4444;
}

.profile-action-btn.logout:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.drawer-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.94rem;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    transition: 0.2s ease;
}

.drawer-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.drawer-link i {
    width: 20px;
    color: var(--primary);
}

.drawer-link.highlight {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary);
}

html.dark-theme .drawer-link.highlight {
    background: #1e3a8a;
    color: #60a5fa;
    border-color: #38bdf8;
}

.drawer-btn-apply {
    background: var(--primary);
    color: #fff !important;
    border: none;
}

.drawer-btn-apply i {
    color: #fff;
}

.drawer-btn-wa {
    background: var(--whatsapp);
    color: #fff !important;
    border: none;
}

.drawer-btn-wa i {
    color: #fff;
}

/* Hero */
.hero {
    background: radial-gradient(100% 100% at 50% 0%, #0369a1 0%, #0c4a6e 100%);
    color: #fff;
    padding: 75px 0 80px;
    text-align: center;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #e0f2fe;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 820px;
    margin: 0 auto 16px;
    line-height: 1.25;
}

.hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 30px;
    color: #bae6fd;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #fff;
    color: var(--primary-dark);
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Dijital Saat Kartı */
.countdown-center-section {
    margin-top: -45px;
    position: relative;
    z-index: 20;
    margin-bottom: 25px;
}

.digital-event-card {
    background: #0f172a;
    border: 2px solid #1e293b;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.badge-digital {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border: 1px solid #0284c7;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 10px;
}

.digital-event-card h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.digital-event-card .event-meta {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.digital-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clock-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clock-screen {
    background: #020617;
    color: #38bdf8;
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.6rem;
    font-weight: 700;
    width: 90px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 15px rgba(56, 189, 248, 0.2), 0 4px 12px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.clock-segment span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.clock-divider {
    color: #38bdf8;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 22px;
}

/* Bölümler */
.section {
    padding: 65px 24px;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.25s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 6px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 6px;
}

/* Hızlı Gezinme */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

html.dark-theme .feature-icon {
    background: #1e3a8a;
    color: #60a5fa;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Galeri */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.insta-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    display: block;
    border: 1px solid var(--border);
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 132, 199, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* İletişim & Form */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.contact-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    transition: background-color 0.25s ease;
}

.contact-box h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.contact-box p {
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
}

.map-box {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 55px 0 28px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h4 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #cbd5e1;
    background: #1e293b;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    font-size: 0.85rem;
    color: #64748b;
}

/* 2. DANS EDEN, KAŞLI, AYRIK PALA BIYIKLI VE EL SALLAYAN FEHİM */
.chat-widget-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.robot-trigger-btn {
    width: 100px;
    height: 130px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.fehim-character-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fehimDance 2.4s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes fehimDance {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-11px) rotate(-6deg); }
    50% { transform: translateY(-3px) rotate(0deg); }
    75% { transform: translateY(-11px) rotate(6deg); }
}

.fehim-shadow {
    position: absolute;
    bottom: 0px;
    width: 52px;
    height: 9px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    filter: blur(2px);
    animation: shadowScale 2.4s ease-in-out infinite;
}

@keyframes shadowScale {
    0%, 50%, 100% { transform: scale(1); opacity: 0.4; }
    25%, 75% { transform: scale(0.65); opacity: 0.15; }
}

.fehim-antenna {
    width: 4px;
    height: 11px;
    background: #94a3b8;
    position: relative;
    margin-bottom: -1px;
}

.fehim-antenna-light {
    position: absolute;
    top: -8px;
    left: -4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8, 0 0 18px #0284c7;
    animation: antennaGlow 1.3s infinite alternate;
}

@keyframes antennaGlow {
    from { opacity: 0.4; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.15); }
}

.fehim-head {
    width: 66px;
    height: 54px;
    background: linear-gradient(145deg, #ffffff 0%, #cbd5e1 100%);
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), inset -2px -2px 5px rgba(0, 0, 0, 0.1), inset 2px 2px 5px rgba(255, 255, 255, 0.95);
    border: 2px solid #0284c7;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 4px;
    z-index: 4;
}

.fehim-head::before, .fehim-head::after {
    content: '';
    position: absolute;
    top: 15px;
    width: 6px;
    height: 16px;
    background: #0284c7;
    border-radius: 3px;
}
.fehim-head::before { left: -7px; }
.fehim-head::after { right: -7px; }

.fehim-eyebrows-row {
    display: flex;
    gap: 12px;
    margin-bottom: 2px;
    z-index: 5;
}

.eyebrow-l, .eyebrow-r {
    width: 10px;
    height: 3px;
    background: #0284c7;
    border-radius: 2px;
}
.eyebrow-l { transform: rotate(10deg); }
.eyebrow-r { transform: rotate(-10deg); }

.fehim-eye-visor {
    width: 48px;
    height: 22px;
    background: #090d16;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    box-shadow: inset 0 0 8px rgba(2, 132, 199, 0.9);
}

.fehim-eye-dot {
    width: 7px;
    height: 9px;
    background: #38bdf8;
    border-radius: 3px;
    box-shadow: 0 0 8px #38bdf8;
    animation: eyeBlink 3.8s infinite ease-in-out;
}

@keyframes eyeBlink {
    0%, 94%, 98%, 100% { transform: scaleY(1); }
    96% { transform: scaleY(0.1); }
}

.fehim-mustache-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 3px;
}

.m-wing-left, .m-wing-right {
    width: 15px;
    height: 6px;
    background: #0284c7;
    box-shadow: 0 0 5px rgba(2, 132, 199, 0.8);
}
.m-wing-left { border-radius: 12px 2px 10px 0; transform: rotate(14deg); }
.m-wing-right { border-radius: 2px 12px 0 10px; transform: rotate(-14deg); }

.fehim-torso-assembly {
    position: relative;
    width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -3px;
    z-index: 2;
}

.fehim-chest-body {
    width: 44px;
    height: 33px;
    background: linear-gradient(145deg, #ffffff 0%, #cbd5e1 100%);
    border: 2px solid #0284c7;
    border-radius: 8px 8px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    position: relative;
}

.fehim-name-tag {
    font-size: 0.52rem;
    font-weight: 800;
    color: #ffffff;
    background: #0284c7;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.fehim-chest-heart {
    font-size: 0.6rem;
    color: #ef4444;
    margin-top: 2px;
    animation: heartBeat 1.2s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(0.9); }
    50% { transform: scale(1.25); }
}

.fehim-arm-l {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 9px;
    height: 20px;
    background: #94a3b8;
    border: 1px solid #64748b;
    border-radius: 5px;
    transform: rotate(20deg);
}

.fehim-arm-r {
    position: absolute;
    right: 3px;
    top: 2px;
    width: 9px;
    height: 23px;
    background: #0284c7;
    border: 1px solid #0369a1;
    border-radius: 5px;
    transform-origin: top center;
    animation: waveHandAction 1.6s ease-in-out infinite;
}

@keyframes waveHandAction {
    0%, 100% { transform: rotate(-20deg); }
    20% { transform: rotate(-125deg); }
    35% { transform: rotate(-85deg); }
    50% { transform: rotate(-125deg); }
    65% { transform: rotate(-85deg); }
    80% { transform: rotate(-125deg); }
}

.fehim-legs-row {
    display: flex;
    gap: 10px;
    margin-top: -2px;
}

.fehim-leg {
    width: 8px;
    height: 10px;
    background: #0284c7;
    border-radius: 0 0 4px 4px;
}

.chat-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Sohbet Penceresi */
.chat-window {
    position: absolute;
    bottom: 140px;
    right: 0;
    width: 360px;
    height: 520px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #090d16;
    border: 2px solid #38bdf8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-avatar-eyes {
    display: flex;
    gap: 5px;
}

.chat-avatar-eyes span {
    width: 5px;
    height: 5px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 6px #38bdf8;
}

.chat-avatar-mustache {
    display: flex;
    gap: 1px;
    margin-top: 3px;
}

.chat-avatar-mustache span {
    width: 8px;
    height: 3px;
    background: #38bdf8;
    border-radius: 3px;
}

.chat-online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #075985;
}

.chat-header-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.chat-header-info span {
    font-size: 0.74rem;
    opacity: 0.88;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-main);
}

.chat-msg {
    max-width: 84%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.chat-msg.bot {
    align-self: flex-start;
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--primary);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.quick-btn {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s;
}

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

.chat-footer {
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    outline: none;
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 0.88rem;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PROFİL AYARLARI MODALI */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.profile-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}

/* Fotoğraf Yükleme Alanı */
.avatar-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    gap: 8px;
}

.avatar-preview-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.avatar-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-preview-box i {
    font-size: 2.2rem;
    color: var(--primary);
}

.file-select-btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.file-select-btn:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 900px) {
    .clock-screen { font-size: 2.1rem; width: 70px; height: 70px; }
    .clock-divider { font-size: 1.8rem; }
    .chat-window { width: calc(100vw - 32px); right: -8px; height: 460px; }
    .nav-auth-btn span { display: none; }
    .nav-auth-btn { padding: 8px 10px; }
}
