/* Montserrat — tüm site yazıları */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&display=swap');

/* --- TEMEL AYARLAR --- */
:root { 
    --bg: #050505; 
    --surface: #0f0f13; 
    --primary: #7c3aed; 
    --primary-dark: #6d28d9;
    --text: #ffffff; 
    --text-gray: #a1a1aa; 
    --border: rgba(255, 255, 255, 0.1); 
    --font: 'Montserrat', sans-serif; 
    --primary-glow: rgba(124, 58, 237, 0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

img { display: block; max-width: 100%; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* --- BODY & GELİŞMİŞ ARKAPLAN --- */
body { 
    background-color: var(--bg);
    color: var(--text); 
    font-family: var(--font); 
    overflow-x: hidden; 
    line-height: 1.6;
}

.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    overflow: hidden;
    background: #08080a;
}

/* Nefes Alan Resim Katmanı */
.breathing-layer {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('arkaplan.png'); /* SENİN RESMİN */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: breatheEffect 10s infinite ease-in-out;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
    z-index: 1;
}

/* Network Efekt Canvas'ı */
#networkCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2; /* Resmin üstünde */
    pointer-events: none;
}

@keyframes breatheEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* (Opsiyonel) Ambient glow */
.ambient-glow{
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(124,58,237,0.18), transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(124,58,237,0.12), transparent 50%);
    z-index: -1; 
}

/* --- SAĞ TIK MENÜSÜ --- */
#custom-context-menu {
    position: fixed; 
    z-index: 99999; 
    width: 220px;
    background: rgba(15, 15, 19, 0.98); 
    border: 1px solid var(--border);
    border-radius: 12px; 
    padding: 8px; 
    display: none; 
    flex-direction: column; 
    gap: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); 
    backdrop-filter: blur(10px);
    border-left: 3px solid var(--primary);
}
.ctx-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 15px;
    color: #ccc; font-size: 0.9rem; font-weight: 500; border-radius: 8px;
    cursor: pointer; transition: 0.2s; text-decoration: none;
}
.ctx-item:hover { background: rgba(124, 58, 237, 0.15); color: #fff; padding-left: 20px; }
.ctx-item i { color: var(--primary); width: 20px; text-align: center; }
.ctx-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* --- NAVBAR --- */
nav { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px 30px; 
    position: fixed; width: 90%; left: 5%; top: 20px; 
    z-index: 1000; 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    background: rgba(10, 10, 12, 0.6); 
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.nav-left { display: flex; align-items: center; gap: 20px; }
.nav-logo { height: 50px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px var(--primary-glow)); transition: 0.3s; }
.nav-logo:hover { transform: scale(1.1); }

.server-status {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05); padding: 6px 12px;
    border-radius: 50px; border: 1px solid var(--border);
    font-size: 0.8rem; font-weight: 600; color: #aaa;
}
.status-dot { width: 8px; height: 8px; background: #ef4444; border-radius: 50%; box-shadow: 0 0 10px #ef4444; transition: 0.3s; }
.status-dot.online { background: #22c55e; box-shadow: 0 0 10px #22c55e; }

.nav-links { display: flex; align-items: center; }
.nav-links a { 
    color: var(--text-gray); text-decoration: none; font-weight: 600; 
    margin-left: 25px; transition: 0.3s; font-size: 0.9rem; 
    text-transform: uppercase; letter-spacing: 0.5px; 
    position: relative; cursor: pointer;
}
.nav-links a:hover { color: var(--text); text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.updates-badge { 
    background: #ef4444; color: white; font-size: 0.6rem; padding: 2px 5px; 
    border-radius: 6px; position: absolute; top: -8px; right: -15px; 
    animation: pulseRed 2s infinite; display: none; font-weight: 700;
}
@keyframes pulseRed { 0% { opacity: 0.7; } 50% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0.7; } }

/* --- HERO & BUTONLAR --- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.hero h1 { font-size: 5rem; font-weight: 900; line-height: 1; margin-bottom: 10px; letter-spacing: -3px; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero p { color: #ccc; font-size: 1.2rem; max-width: 600px; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.btn-wrapper { display: flex; flex-direction: column; gap: 20px; justify-content: center; align-items: center; margin-bottom: 50px; }

/* YENİ ORTAK BUTON STİLİ (Glassy) */
.btn-hero {
    background: rgba(255, 255, 255, 0.1); 
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 40px; 
    border-radius: 50px;
    font-size: 1.1rem; 
    font-weight: 700;
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 10px;
    transition: 0.3s; 
    backdrop-filter: blur(5px); 
    letter-spacing: 1px;
}
.btn-hero:hover { 
    background: rgba(255, 255, 255, 0.2); 
    transform: translateY(-2px); 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15); 
    border-color: #fff;
}

.btn-admin { 
    display: none; background: rgba(255, 255, 255, 0.05); 
    color: #aaa; border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 10px 25px; border-radius: 12px; 
    font-weight: 600; font-size: 0.9rem; 
    cursor: pointer !important;
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-admin:hover { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: #fff; transform: translateY(-2px); }


/* --- HABER SLIDER (WEAZEL HOME) --- */
.news-ticker-section{
    padding: 55px 8%;
    position: relative;
    z-index: 10;
    background: transparent; /* siyah bant yok */
}

.news-ticker-container{
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px 56px 1fr 56px;
    align-items: center;
    gap: 16px;
    background: rgba(12, 12, 16, 0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 18px 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.45);
    overflow: hidden;
}

.news-ticker-header{
    font-weight: 900;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.news-ticker-header span{ color:#ef4444; }
.news-ticker-header::after{
    content: "Güncel gelişmeler";
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.news-nav{
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}
.news-nav:hover{
    background: rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.45);
    color: #fff;
    transform: translateY(-1px);
}
.news-nav.disabled{
    opacity: 0.35;
    pointer-events: none;
}

.news-slider-wrapper{
    overflow: hidden;
    height: 160px; /* büyüttük */
    display: flex;
    align-items: center;
}

.news-track{
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card-mini{
    min-width: 100%;
    height: 160px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    padding: 10px;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.25s;
}

.news-card-mini:hover{
    background: rgba(255,255,255,0.03);
}

.news-mini-img{
    width: 260px;
    height: 140px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.35);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-mini-img img{
    width: 100%;
    height: 100%;
    object-fit: contain; /* resim komple görünsün */
    object-position: center;
    opacity: 0.95;
    transition: 0.35s;
}

.news-card-mini:hover .news-mini-img img{
    transform: scale(1.02);
    opacity: 1;
}

.news-mini-body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-right: 10px;
}

.news-mini-top{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.news-mini-cat{
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.05);
}

.news-mini-date{
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
}

.news-mini-title{
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-mini-desc{
    color: rgba(255,255,255,0.68);
    font-size: 0.95rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-mini-hint{
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

/* Mobil */
@media (max-width: 900px){
    .news-ticker-container{
        grid-template-columns: 1fr 56px 56px;
        grid-template-rows: auto auto;
        gap: 12px;
    }
    .news-ticker-header{
        grid-column: 1 / -1;
    }
    .news-slider-wrapper{
        grid-column: 1 / -1;
    }
    .news-card-mini{
        grid-template-columns: 150px 1fr;
    }
    .news-mini-img{
        width: 150px;
        height: 140px;
    }
}
/* --- USER PROFILE --- */
.discord-login-btn { 
    background: #5865F2; color: #fff; padding: 8px 20px; 
    border-radius: 8px; font-size: 0.9rem; font-weight: 600; 
    text-decoration: none; display: flex; align-items: center; gap: 8px; 
    transition: 0.3s; cursor: pointer; z-index: 1001; 
}
.discord-login-btn:hover { background: #4752c4; transform: translateY(-2px); }

.user-profile { display: none; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); padding: 5px 15px 5px 5px; border-radius: 50px; border: 1px solid var(--border); }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.user-name { font-size: 0.9rem; font-weight: 600; color: #fff; }

/* --- MODALS (GENEL) --- */
.updates-modal, .page-modal { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); 
    z-index: 10001; display: none;
    justify-content: center; align-items: center; 
}
.updates-modal.active, .page-modal.active { display: flex; }

/* HABER DETAY MODALI */
#homeNewsModal { z-index: 10002; }
.news-modal-content { 
    background: #111; width: 90%; max-width: 800px; max-height: 90vh; 
    border-radius: 20px; border: 1px solid var(--border); overflow-y: auto; 
    position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.modal-hero-img { width: 100%; height: 350px; object-fit: cover; border-bottom: 1px solid var(--border); }
.modal-body { padding: 40px; }
.modal-title { font-size: 2.2rem; font-weight: 900; margin: 15px 0; line-height: 1.2; color: #fff; }
.modal-desc { font-size: 1.1rem; line-height: 1.8; color: #ccc; white-space: pre-wrap; margin-top: 20px; }

/* DİĞER MODALLAR */
.updates-box { width: 90%; max-width: 800px; background: #111; border: 1px solid var(--border); border-radius: 16px; padding: 30px; max-height: 80vh; overflow-y: auto; position: relative; }
.update-item { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.update-date { color:#777; font-size:0.85rem; font-weight:700; letter-spacing:0.5px; text-transform: uppercase; }
.update-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; color: #fff; }
.update-img { width: 100%; border-radius: 8px; margin-top: 10px; border: 1px solid var(--border); }

.modal-content { width: 90%; max-width: 1200px; height: 85vh; background: #111; border: 1px solid var(--border); border-radius: 24px; position: relative; display: flex; flex-direction: column; overflow: hidden; }

/* KURALLAR KISMI */
.rules-wrapper { display: flex; height: 100%; width: 100%; overflow: hidden; }
.rules-sidebar { width: 300px; background: rgba(0, 0, 0, 0.3); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; }
.rules-sidebar-header { 
    padding: 30px 25px;
    border-bottom: 1px solid var(--border); 
    display: flex; flex-direction: column; gap: 10px;
}
.rules-content-area { flex-grow: 1; padding: 40px; overflow-y: auto; }
.rules-list li { padding: 15px 25px; cursor: pointer; color: var(--text-gray); transition: 0.2s; border-bottom: 1px solid rgba(255,255,255,0.02); }
.rules-list li.active { background: rgba(124, 58, 237, 0.1); color: #fff; border-left: 3px solid var(--primary); }
.rule-item { margin-bottom: 15px; padding: 20px; background: rgba(255, 255, 255, 0.03); border-radius: 12px; border: 1px solid var(--border); }
.rule-item strong { color: var(--primary); display: block; margin-bottom: 8px; font-size: 1rem; }

/* CLOSE BUTTON */
.close-modal-btn { 
    position: absolute; top: 20px; right: 30px; 
    font-size: 2rem; cursor: pointer; color: white; z-index: 200;
    transition: 0.3s;
}
.close-modal-btn:hover { color: var(--primary); transform: rotate(90deg); }

/* BÖLÜMLER */
.weekly-section, .section { padding: 100px 8%; border-top: 1px solid rgba(255,255,255,0.05); background: transparent; position: relative; z-index: 1; }
.weekly-card-box { width: 100%; max-width: 900px; background: rgba(15, 15, 20, 0.7); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 24px; padding: 40px; display: flex; gap: 40px; align-items: center; }
.weekly-img { 
    width: 200px; 
    height: 300px; 
    object-fit: contain; 
    object-position: center;
    background: rgba(0,0,0,0.35);
    border-radius: 16px; 
    border: 2px solid var(--primary); 
    box-shadow: 0 0 40px var(--primary-glow);
    flex-shrink: 0;
}
.weekly-badge { background: #fbbf24; color: #000; padding: 5px 12px; border-radius: 6px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; display: inline-block; margin-bottom: 10px; }

/* TEAM CARD */
.team-card { background: rgba(15, 15, 20, 0.6); backdrop-filter: blur(5px); border: 1px solid var(--border); border-radius: 16px; padding: 35px 20px; text-align: center; transition: 0.4s; }
.team-card:hover { transform: translateY(-10px); border-color: var(--role-color); background: rgba(15, 15, 20, 0.9); }
.team-grid-hidden { display: none; } /* Veri çekmek için kullanılıyor, gizli */

.avatar-box { width: 100px; height: 100px; margin: 0 auto 20px; }
.avatar-box img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--role-color); padding: 4px; background: rgba(0,0,0,0.5); }
.shiny-name { font-weight: 800; font-size: 1.3rem; text-transform: uppercase; background: linear-gradient(90deg, var(--role-color) 0%, #ffffff 50%, var(--role-color) 100%); background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text; animation: shineMove 4s linear infinite; margin-bottom: 8px; }
.role-badge { display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; background: rgba(255,255,255,0.05); color: #aaa; border: 1px solid var(--border); }

/* GALERİ */
.gallery-wrapper { position: relative; padding: 0 20px; }
.slider-container { display: flex; gap: 25px; overflow-x: auto; scroll-behavior: smooth; padding: 30px 0; scrollbar-width: none; }
.slide-item { min-width: 450px; height: 280px; border-radius: 18px; overflow: hidden; position: relative; border: 1px solid var(--border); cursor: pointer; flex-shrink: 0; background: rgba(0,0,0,0.5); }
.slide-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; opacity: 0.8; }
.slide-item:hover img { opacity: 1; transform: scale(1.05); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border); background: rgba(0,0,0,0.8); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition:0.3s; }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.prev { left: -10px; } .next { right: -10px; }

/* VIP EFEKT */
#vip-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
#vip-overlay.active { opacity: 1; pointer-events: all; }

.vip-content{
  text-align: center;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}
#vip-overlay.active .vip-content{
  transform: scale(1);
}

.vip-avatar{
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid transparent;
  margin-bottom: 14px;
  object-fit: cover;
  animation: pulseGlow 2s infinite alternate;
}
.vip-title{
  font-size: 1.3rem;
  letter-spacing: 6px;
  font-weight: 700;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.vip-name{
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  font-style: italic;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

#particles-container{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle{
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  opacity: 0;
  animation: riseUp 3s infinite linear;
}
@keyframes riseUp {
    0% { transform: translateY(0) scale(0.9); opacity: 0; }
    20% { opacity: 0.6; }
    100% { transform: translateY(-110vh) scale(1.15); opacity: 0; }
}

footer { border-top: 1px solid var(--border); padding: 50px 8%; margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 15px; color: #888; font-size: 0.9rem; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: #aaa; font-size: 1.4rem; transition: 0.3s; }
.footer-socials a:hover { color: var(--primary); transform: translateY(-3px); }
.credit a { color: var(--primary); text-decoration: none; font-weight: 700; }

@keyframes shineMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@media (max-width: 768px) { 
    nav { width: 100%; left: 0; top: 0; border-radius: 0; } 
    .nav-links { display: none; } 
    .hero h1 { font-size: 3rem; } 
    .news-ticker-container { flex-direction: column; align-items: flex-start; } 
    .news-ticker-header { border-right: none; border-bottom: 2px solid var(--primary); width: 100%; margin-bottom: 10px; } 
    .weekly-card-box { flex-direction: column; text-align: center; }
}

/* --- LIGHTBOX (RESİM BÜYÜTME) --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}
.lightbox.active { opacity: 1; }

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
    animation: zoomIn 0.3s ease;
}
.close-lb {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100;
}
.close-lb:hover { color: var(--primary); transform: rotate(90deg); }

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* =========================================
   TEAM MARQUEE (SONSUZ DÖNGÜ) STİLLERİ
========================================= */

.team-marquee-view {
    width: 100%;
    overflow: hidden; /* Dışarı taşanları gizle */
    position: relative;
    padding: 30px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.team-marquee-track {
    display: flex;
    gap: 40px; /* Elemanlar arası boşluk */
    width: max-content; /* İçerik kadar geniş */
    align-items: center;
    animation: marqueeScroll 45s linear infinite; /* Hızı buradan ayarla (45s) */
}

/* Hover yapınca döngü dursun */
.team-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* İçeriği 2 kere kopyaladığımız için %50 kayınca başa döner */
}

/* Kartlar yatayda sabit genişlikte olsun ki şerit düzgün aksın */
.team-marquee-track .team-card {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
}

/* Grup Ayıracı (Separator) Stili */
.team-marquee-separator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    margin: 0 10px;
    color: rgba(255,255,255,0.2);
}
.team-marquee-separator .sep-line {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    margin: 10px 0;
}
.team-marquee-separator .sep-icon {
    font-size: 1.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(124,58,237,0.4));
    margin-bottom: 5px;
}
.team-marquee-separator .sep-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    writing-mode: vertical-rl; /* Yazıyı dik çevir */
    text-orientation: mixed;
    transform: rotate(180deg);
}
/* =========================================
   HOME NEWS MODAL (WEAZEL-LIKE SPLIT)
========================================= */

.news-modal-content.home-split-modal{
    width: 92%;
    max-width: 1180px;
    max-height: 92vh;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    position: relative;
    background: rgba(17,17,20,0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 35px 80px rgba(0,0,0,0.75);
}

/* ✅ Close butonu: modal container'a göre, içerikten bağımsız */
.home-modal-close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.10);
    z-index: 200;

    cursor: pointer;
    transition: 0.25s;
    color: #fff;
}

/* ikon boyutu */
.home-modal-close i{
    font-size: 1.15rem;
    line-height: 1;
}

.home-modal-close:hover{
    background: rgba(124,58,237,0.25);
    border-color: rgba(124,58,237,0.45);
    transform: rotate(90deg);
}

.home-modal-grid{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 70vh;
    max-height: 92vh;
}

/* SOL */
.home-modal-media{
    background: rgba(0,0,0,0.30);
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-modal-media img{
    width: 100%;
    height: 100%;
    max-height: 92vh;
    object-fit: contain;      /* ✅ kırpma yok */
    object-position: center;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.25);
}

/* SAĞ */
.home-modal-text{
    padding: 44px;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

/* ✅ Çarpı için sağ üstte yer aç */
.home-modal-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;

    padding-right: 72px; /* ✅ close butonu alanı */
}

.home-modal-cat{
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-modal-brand{
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1.4px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    white-space: nowrap;
}

.home-modal-title{
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 14px 0;
    color: #fff;
}

.home-modal-date{
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-modal-desc{
    margin-top: 26px;
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.78);
    white-space: pre-wrap;
}

/* Mobil: alt alta */
@media (max-width: 900px){
    .home-modal-grid{
        grid-template-columns: 1fr;
    }

    .home-modal-media{
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        min-height: 260px;
    }

    .home-modal-media img{
        max-height: 55vh;
    }

    .home-modal-text{
        padding: 28px;
    }

    .home-modal-title{
        font-size: 2rem;
    }

    /* mobilde de çarpı için boşluk bırak */
    .home-modal-top{
        padding-right: 68px;
    }
}
/* Mobil: alt alta */
@media (max-width: 900px){
    .home-modal-grid{
        grid-template-columns: 1fr;
    }
    .home-modal-media{
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        min-height: 260px;
    }
    .home-modal-media img{
        max-height: 55vh;
    }
    .home-modal-text{
        padding: 28px;
    }
    .home-modal-title{
        font-size: 2rem;
    }
}
/* =========================
   GALLERY BOŞLUK FIX
========================= */
#gallery.section{
  padding-top: 70px !important;   /* istersen 60 */
  padding-bottom: 35px !important; /* boşluğu kesen kısım */
}

/* slider'ın kendi padding'ini de biraz kıs */
#gallery .slider-container{
  padding: 18px 0 !important; /* 30px -> 18px */
}

/* slide yüksekliği biraz düşsün (opsiyonel) */
#gallery .slide-item{
  height: 250px !important; /* 280 -> 250 */
  min-width: 420px !important; /* 450 -> 420 (istersen kalsın) */
}
