/* Reset ve temel stiller */

* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: #f5f5f5;
  color: #121212;
  transition: background-color 0.3s, color 0.3s;
}
a {
  color: #121212;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}
a:hover {
  color: #ff0000;
}
header {
  background: #eee;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s;
}
.logo {
  font-weight: bold;
  font-size: 1.8rem;
  letter-spacing: 3px;
  color: #121212;
  transition: color 0.3s;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
nav ul li {
  font-weight: 600;
}
main {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}
h1 {
  border-bottom: 2px solid #ff0000;
  padding-bottom: 10px;
  margin-bottom: 20px;
  color: #121212;
}
.section {
  margin-bottom: 50px;
}
footer {
  background: #eee;
  color: #444;
  text-align: center;
  padding: 20px 0 40px 0;
  font-size: 0.9rem;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
}
footer .powered-by {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  margin: 0 10px;
  color: #121212;
  font-weight: bold;
  transition: color 0.3s;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.car-gallery img {
  width: 200px;
  height: auto;
  margin: 10px;
  border: 2px solid #121212;
  border-radius: 5px;
  transition: filter 0.3s, opacity 0.3s;

}
.connect-button {
  display: inline-block;
  background: green;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: bold;
  transition: background 0.3s;
}
.connect-button:hover {
  background: #cc0000;
}
.social-icons {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

/* Hoşgeldiniz animasyonu */
#welcome-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  animation: fadeOutOverlay 4s forwards;
}
#welcome-overlay h1 {
  font-size: 4rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: textAppear 3s ease forwards;
  user-select: none;
}
#welcome-overlay .vip {
  color: black;
  text-shadow: 0 0 5px #000000aa;
}
#welcome-overlay .garage {
  color: white;
}
@keyframes textAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeOutOverlay {
  0% {opacity: 1;}
  80% {opacity: 1;}
  100% {opacity: 0; pointer-events: none;}
}

/* Gece Modu */
body.dark-mode {
  background: #121212;
  color: #f0f0f0;
}
body.dark-mode a {
  color: #f0f0f0;
}
body.dark-mode a:hover {
  color: #ff4444;
}
body.dark-mode header {
  background: #000;
}
body.dark-mode .logo {
  color: #f0f0f0;
}
body.dark-mode h1 {
  color: #f0f0f0;
}
body.dark-mode footer {
  background: #000;
  color: #999;
}
body.dark-mode footer .powered-by {
  color: #aaa;
}
body.dark-mode .car-gallery img {
  border-color: #f0f0f0;
}
body.dark-mode #welcome-overlay {
  background: #121212;
}

/* Mod değiştirme butonu */
#modeToggle {
  background: transparent;
  border: 2px solid #ff0000;
  color: #ff0000;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}
#modeToggle:hover {
  background-color: #ff0000;
  color: white;
}
#modeToggle svg {
  width: 20px;
  height: 20px;
}

/* Sunucu kartları */
.server-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.server-card {
  background-color: #1c1c1c;
  padding: 15px;
  border: 1px solid #444;
  border-radius: 8px;
}
.server-card h3 {
  margin-top: 0;
  color: #fff;
}
.server-card p {
  margin: 5px 0;
  color: #ccc;
}
.online {
  color: #4caf50;
  font-weight: bold;
}
.offline {
  color: #f44336;
  font-weight: bold;
}

/* --- ADMIN KARTLARI VE GRID YAPISI --- */

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Admin kartları renk */
.admin-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 3px solid #ddd;
    transition: transform 0.2s, box-shadow 0.3s;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.admin-card strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

body.dark-mode .admin-card span {
    color: #ccc;
}

.admin-card a {
    color: #cc0000;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

.admin-card a:hover {
    color: white;
    text-decoration: underline;
}

.kurucu { border-color: #fd0000; }
.yonetim { border-color: #ffff00; }
.admin-sorumlusu { border-color: #ff00ff; }
.admin { border-color: #02feff; }
.deneme { border-color: #757575; }

body.dark-mode .admin-card {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .admin-card.kurucu { border-color: #fd0000; }
body.dark-mode .admin-card.yonetim { border-color: #ffff00; }
body.dark-mode .admin-card.admin-sorumlusu { border-color: #ff00ff; }
body.dark-mode .admin-card.admin { border-color: #02feff; }
body.dark-mode .admin-card.deneme { border-color: #999; }

body.dark-mode .admin-card a { color: #ff6e6e; }
body.dark-mode .admin-card a:hover { color: #ff8a80; }

/* Buton Grubu Stilleri */
.button-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px; /
}

.button-group button {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Modal Butonları Renk */
#openAdminModalBtn {
    background: #FF0000;
}
#openAdminModalBtn:hover {
    background: #cc0000;
}

#openRutbeModalBtn {
    background: #007bff;
}
#openRutbeModalBtn:hover {
    background: #0056b3;
}

/* Modal Genel Stil */
#adminModal, #rutbeModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000a;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

/* Dark Mode Modal İçerikleri */
body.dark-mode .modal-content {
    background: #252525;
    color: #f0f0f0;
}

/* Modal Kenarlıklar */
#adminModal .modal-content {
    border: 4px solid #cc0000;
}

#rutbeModal .modal-content {
    border: 4px solid #007bff;
}

/* Kapat Butonu */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    transition: color 0.3s;
}
body.dark-mode .close-btn {
    color: #f0f0f0;
}
.close-btn:hover {
    color: #cc0000;
}

/* RÜTBE BİLGİSİ Modal İçeriği Stili */
.rutbe-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
body.dark-mode .rutbe-item {
    border-bottom-color: #444;
}
.rutbe-item:last-child {
    border-bottom: none;
}
.rutbe-item strong {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}
body.dark-mode .rutbe-item strong {
    color: #f0f0f0;
}
.rutbe-item span {
    color: #666;
    font-size: 0.9em;
}
body.dark-mode .rutbe-item span {
    color: #ccc;
}

/* Rütbe İkonları */
.rutbe-item strong::before {
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}
.rutbe-item[data-rutbe="Kurucu"] strong::before { content: "👑"; }
.rutbe-item[data-rutbe="Yönetim Sorumlusu"] strong::before { content: "🛠️"; }
.rutbe-item[data-rutbe="Admin Sorumlusu"] strong::before { content: "⚙️"; }
.rutbe-item[data-rutbe="Admin"] strong::before { content: "🗡️"; }
.rutbe-item[data-rutbe="Deneme Admin"] strong::before { content: "🍀"; }


/* ───────────── RULES BÖLÜMÜ ───────────── */

.rules-box {
    background-color: #ffffff;
    border: 1px solid #eeeeee; 
    border-radius: 18px; 
    padding: 35px; 
    color: #333333; 
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif; 
    max-width: 1200px; 
    margin: 30px auto; 
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease; 
}

.rules-box > h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #e74c3c; 
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); 
}

.rules-container {
    display: flex;
    justify-content: space-between; 
    gap: 30px; 
}

.rules-language {
    flex: 1; 
    min-width: 45%; 
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .rules-container {
        flex-direction: column;
    }
    .rules-language {
        margin-bottom: 20px;
        border-bottom: none;
    }
}

.rules-language h2 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50; 
    font-weight: 600;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.rules-language img {
    width: 30px; 
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rules-language ul {
    list-style: none;
    line-height: 1.6;
    padding-left: 0; 
}

.rules-language ul li {
    background-color: #f9f9f9; 
    border-left: 5px solid #e74c3c; 
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start; 
    gap: 15px;
    font-size: 16px;
    color: #333333;
    transition: all 0.2s ease;
}

.rules-language ul li:hover {
    background-color: #f0f0f0; 
    transform: translateY(-2px); 
}

.rules-language ul li span.rule-text {
    color: #333333;
    flex-grow: 1; 
}

.rules-language ul li > span:first-child {
    font-size: 18px;
    line-height: 1.2;
}

.rules-language strong {
    color: #c0392b; 
    font-weight: 700;
}

.bottom-note {
    margin-top: 35px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #3498db; 
    padding: 15px 0;
    border-top: 1px solid #eeeeee;
}

.demo-note {
    margin-top: 30px;
    text-align: center;
    font-weight: bold;
    color: #e53935;
    font-style: italic;
    padding: 10px;
}

body.dark-mode .rules-box {
    background-color: #1e1e1e; 
    color: #e0e0e0;
    border: 1px solid #333333;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.2);
}

body.dark-mode .rules-language {
    border: 1px solid #333333;
    box-shadow: none;
}

body.dark-mode .rules-box > h1 {
    color: #c0392b; 
}

body.dark-mode .rules-language h2 {
    color: #ffffff; 
    border-bottom: 2px solid #c0392b; 
}

body.dark-mode .rules-language ul li {
    background-color: #2a2a2a; 
    color: #e0e0e0;
    border-left: 5px solid #c0392b; 
}

body.dark-mode .rules-language ul li:hover {
    background-color: #353535;
}

body.dark-mode .rules-language ul li span.rule-text {
    color: #e0e0e0;
}

body.dark-mode .rules-language strong {
    color: #c0392b; 
}

body.dark-mode .bottom-note {
    color: #66ccff; 
    border-top: 1px solid #444444;
}

body.dark-mode .rules-box * {
    color: inherit !important; 
}

body.dark-mode .rules-box strong {
    color: #c0392b !important; 
}
/* ───────────── ETKİNLİKLER BÖLÜMÜ (YENİ + RESİMLİ) ───────────── */
.events-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    color: #121212;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

body.dark-mode .events-box {
    background: #1c1c1c;
    color: #f1f1f1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.events-box h1 {
    color: #ff0000;
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.2em;
    font-weight: 700;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.event-card {
    background: #fcfcfc;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.dark-mode .event-card {
    background: #2a2a2a;
    border: 1px solid #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.event-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 15px;
}
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.event-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.event-icon {
    font-size: 1.5em;
    color: #ff0000;
    margin-right: 10px;
    flex-shrink: 0;
}

.event-card h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s;
}
body.dark-mode .event-card h3 {
    color: #f0f0f0;
}

.event-date {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 10px;
    transition: color 0.3s;
}
body.dark-mode .event-date {
    color: #bbb;
}

.event-description {
    color: #495057;
    font-size: 1em;
    line-height: 1.4;
    margin-bottom: 0;
    transition: color 0.3s;
}
body.dark-mode .event-description {
    color: #e0e0e0;
}

.event-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-transform: uppercase;
    z-index: 10;
}

.status-planned {
    background-color: #ffc107;
    color: #333;
}
.status-upcoming {
    background-color: #28a745;
}
.status-finished {
    background-color: #dc3545;
}

.event-drift .event-icon { color: #ff9800; }
.event-cruise .event-icon { color: #02feff; }
.event-vip .event-icon { color: #ff4444; }

body.dark-mode .event-drift .event-icon { color: #ffaa33; }
body.dark-mode .event-cruise .event-icon { color: #33ffff; }
body.dark-mode .event-vip .event-icon { color: #ff7777; }

/* ───────────── SKINLER BÖLÜMÜ (GECE/GÜNDÜZ MODU UYUMLU) ───────────── */

/* Gündüz Modu (Varsayılan) Stilleri */
#skins {
    background: #ffffff; 
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #121212; 
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

#skins h1 {
    color: #ff0000;
    text-align: center;
    margin-bottom: 25px;
    
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Kartın tamamını saran link elementi stili */
.skin-link-wrapper {
    display: block;
    text-decoration: none; 
    color: inherit; 
}

.skin-card {
    background: #f5f5f5; 
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: #121212;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
    height: 100%; 
}

/* Linkin üzerine gelince kart efekti */
.skin-link-wrapper:hover .skin-card {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.skin-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #ff0000; 
}

.skin-card .skin-name {
    font-size: 0.95rem;
    color: #555; 
    margin-bottom: 10px;
}

.skin-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ddd; 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background 0.3s;
}

.skin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gece Modu Stilleri (body.dark-mode aktif olduğunda) */
body.dark-mode #skins {
    background: #1c1c1c; 
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.dark-mode .skin-card {
    background: #2a2a2a; 
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

body.dark-mode .skin-card .skin-name {
    color: #ddd; 
}
body.dark-mode .skin-image {
    background: #121212; 
}

body.dark-mode .rules-box,
body.dark-mode .rules-box h1,
body.dark-mode .rules-language h2,
body.dark-mode .demo-note,
body.dark-mode .bottom-note,
body.dark-mode .rules-language ul li,
body.dark-mode .rules-language ul li span,
body.dark-mode .rules-language p {
    color: #f1f1f1 !important;
}

body.dark-mode .rules-language strong {
    color: #ff5f5f !important;
}

body.dark-mode .bottom-note {
    color: #4fc3f7 !important;
}

.button {
    visibility: hidden;
}

.events-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #121212;
}

body.dark-mode .events-box {
    background: #1c1c1c;
    color: #f1f1f1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.events-box h1 {
    color: #ff0000;
    text-align: center;
    margin-bottom: 20px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.event-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

body.dark-mode .event-card {
    background: #2a2a2a;
    color: #f1f1f1;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.event-drift h3 { color: #ff9800; }
.event-cruise h3 { color: #02feff; }
.event-vip h3 { color: #ff4444; }

/* Galeri (Car-Card) Stilleri */
.car-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.car-card {
    flex: 0 1 250px;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 300px;
    background-color: #fff !important;
    color: #000 !important;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.car-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
}

.car-card div {
    padding: 15px 20px;
}

.car-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.car-card p {
    margin: 2px 0;
    font-size: 0.95em;
    color: #555;
}

#cars h1 {
    text-align: center;
    margin-bottom: 20px;
}

body.dark-mode .car-card {
    background-color: #1e1e1e !important;
    border-color: #444 !important;
    color: #eee !important;
}

body.dark-mode .car-card p {
    color: #ccc !important;
}

/* Liste Modal (Iframe) Stili */
#listModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); 
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#listModal .modal-content {
    background: #121212; 
    color: #f1f1f1;       
    padding: 20px;
    border-radius: 12px;
    max-width: 70;
    max-height: 80%;
    overflow: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
}

#listModal h2 {
    margin-top: 0;
    color: #ff4444; 
    text-align: center;
}

#listModal iframe {
    width: 100%;
    height: 500px;
    border: none;
    background: #000; 
}

#listModal .close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}
#listModal .close-btn:hover {
    color: #ff4444;
}

/* Admin İletişim Formu Modalı */
#adminModal {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#000a;
    z-index:9999;
    justify-content:center;
    align-items:center;
}

#adminModalContent {
    background:#fff;
    padding:30px;
    border-radius:12px;
    max-width:500px;
    width:90%;
    position:relative;
    transition:all 0.3s ease;
    border:4px solid transparent;
}

#closeModalBtn {
    position:absolute;
    top:10px;
    right:10px;
    font-size:24px;
    font-weight:bold;
    background:none;
    border:none;
    color:#000;
    cursor:pointer;
    transition:color 0.3s;
}

#adminForm {
    display:flex;
    flex-direction:column;
    gap:15px;
}

#adminModalContent input,
#adminModalContent textarea {
    padding:10px;
    border-radius:8px;
    border:1px solid #ccc;
}

#closeModalBtn:hover {
    color: #ff0000;
}

body.dark-mode #adminModalContent {
    background: #1a1a1a !important;
    color: #f0f0f0;
    border-color: #ff0000 !important;
}

body.dark-mode #adminModalContent input,
body.dark-mode #adminModalContent textarea {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

body.dark-mode #closeModalBtn {
    color: #fff;
}

body.dark-mode #closeModalBtn:hover {
    color: #ff0000;
}

/* ───────────── GALERİ LIGHTBOX STİLİ ───────────── */
#lightbox {
    position: fixed;
    inset: 0; 
    background: rgba(0,0,0,0.85);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

#lightbox .lb-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#lightbox .lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
}
#lightbox .lb-close:hover {
    color: #ff4444;
}

body.lb-open {
    overflow: hidden; 
}

/* Gece modu uyumu */
body.dark-mode #lightbox {
    background: rgba(0,0,0,0.9);
}

/* Galeri Görüntüleri Grid */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery-images a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}

.gallery-images a:hover {
    transform: scale(1.05);
    border-color: #00ff99;
}

.gallery-images img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Hakkımızda Bölümü */
#about {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #121212;
    transition: background 0.3s, color 0.3s;
}

#about h1 {
    color: #ff0000;
    text-align: center;
    margin-bottom: 20px;
}

#about p,
#about li,
#about strong,
#about a {
    color: inherit;
}

#about ul li {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
}

#about ul li span {
    color: inherit;
}

body.dark-mode #about {
    background: #1c1c1c;
    color: #f1f1f1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

body.dark-mode #about ul li {
    background: #2a2a2a;
}

body.dark-mode #about a {
    color: #02feff;
    text-decoration: underline;
}


#global-clock {
    position:absolute;
    top:70px;
    left:20px;
    z-index:9999;
    opacity:0;
    transition: opacity 1s;
}

#clock {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:24px;
    color:white;
}

#visitor-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 1s;
}

/* ==================================== */
/* HAKKIMIZDA (ABOUT) STİLLERİ */
/* ==================================== */

.about-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #eeeeee;
    color: #1e88e5; 
}

body.dark-mode .about-title {
    color: #4CAF50; 
    border-bottom-color: #333;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
    text-align: center;
    font-size: 1.05rem;
}

.about-intro {
    color: #333; 
}

body.dark-mode .about-intro {
    color: #ccc; 
}

.about-subtitle {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #555;
}

body.dark-mode .about-subtitle {
    color: #eee; 
}

.server-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* Hakkımızda Sunucu Bilgileri Kartları */
.server-item {
    padding: 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.server-vip1 {
    border-left: 5px solid #E53935; 
    background-color: #ffeaea; 
}
.server-vip1 h4 {
    color: #E53935; 
}

.server-vip2 {
    border-left: 5px solid #1E88E5; 
    background-color: #f0f7ff; 
}
.server-vip2 h4 {
    color: #1E88E5; 
}

.server-vip6r {
    border-left: 5px solid #4CAF50; 
    background-color: #f2fff4; 
}
.server-vip6r h4 {
    color: #4CAF50; 
}

body.dark-mode .server-item {
    background-color: #2a2a2a;
    color: #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

body.dark-mode .server-vip1 h4 {
    color: #FF5252; 
}
body.dark-mode .server-vip2 h4 {
    color: #64B5F6; 
}
body.dark-mode .server-vip6r h4 {
    color: #81C784; 
}

body.dark-mode .server-vip1 { border-left-color: #FF5252; }
body.dark-mode .server-vip2 { border-left-color: #64B5F6; }
body.dark-mode .server-vip6r { border-left-color: #81C784; }


.server-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #666; 
}

body.dark-mode .server-item p {
    color: #bbb; 
}

.about-admin-info {
    padding: 20px;
    border: 1px dashed #cccccc;
    background-color: #fff9e6; 
    border-radius: 4px;
    font-style: italic;
    color: #333;
}

body.dark-mode .about-admin-info {
    background-color: #333333;
    border-color: #555;
    color: #eee;
}

.details-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

body.dark-mode .details-grid {
    border-color: #333;
}

.detail-label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #555; 
}

body.dark-mode .detail-label {
    color: #bbb; 
}

.detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e88e5; 
}

body.dark-mode .detail-value {
    color: #4CAF50; 
}

#contact {
    text-align: center;
}

.contact-description {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons {
    width: 24px;
    height: 24px;
}

.telegram-link {
    color: #0088cc;
    border: 2px solid #0088cc;
}

.youtube-link {
    color: #ff0000;
    border: 2px solid #ff0000;
}

.instagram-link {
    color: #e1306c;
    border: 2px solid #e1306c;
}

.discord-link {
    color: #5865F2;
    border: 2px solid #5865F2;
}


.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.telegram-link:hover {
    background-color: #0088cc;
    color: #ffffff;
}

.youtube-link:hover {
    background-color: #ff0000;
    color: #ffffff;
}

.instagram-link:hover {
    background-color: #e1306c;
    color: #ffffff;
}

.discord-link:hover {
    background-color: #5865F2;
    color: #ffffff;
}

.contact-call-to-action {
    text-align: center;
    margin-top: 30px;
}

.contact-link {
    display: inline-block;
    font-weight: 600 !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none !important;
    
    color: #1e88e5 !important;
    border: 2px solid #1e88e5;
}

.contact-link:hover {
    background-color: #1e88e5;
    color: #ffffff !important;
    border-color: #1e88e5;
}

body.dark-mode .contact-link {
    color: #4CAF50 !important;
    border-color: #4CAF50;
}

body.dark-mode .contact-link:hover {
    background-color: #4CAF50;
    color: #121212 !important; 
    border-color: #4CAF50;
}

body.dark-mode .social-link {
    color: #f0f0f0;
}

body.dark-mode .telegram-link {
    border-color: #0088cc;
}
body.dark-mode .telegram-link:hover {
    background-color: #0088cc;
    color: #ffffff;
}

body.dark-mode .youtube-link {
    border-color: #ff0000;
}
body.dark-mode .youtube-link:hover {
    background-color: #ff0000;
    color: #ffffff;
}

body.dark-mode .instagram-link {
    border-color: #e1306c;
}
body.dark-mode .instagram-link:hover {
    background-color: #e1306c;
    color: #ffffff;
}

body.dark-mode .discord-link {
    border-color: #5865F2;
}
body.dark-mode .discord-link:hover {
    background-color: #5865F2;
    color: #ffffff;
}

/* ------------------------------------------------------ */
/* --- YENİ EKLENEN KODLAR (SLIDER, KARŞILAMA EKRANI VE GEÇİŞ HIZI) --- */
/* ------------------------------------------------------ */

/* Karşılama Ekranı Stilleri (Mevcut Dark/Light modu destekler) */
#welcome-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  /* Başlangıçta karanlık temaya uygun */
  background: #121212; 
  display: flex; justify-content: center;
  align-items: center; z-index: 9999; opacity: 1;
  animation: fadeOutOverlay 4s forwards;
}
#welcome-overlay h1 {
  font-size: 4rem; letter-spacing: 0.3em; text-transform: uppercase;
  animation: textAppear 3s ease forwards; user-select: none;
  border-bottom: none;
}
#welcome-overlay .vip { color: #f0f0f0; text-shadow: 0 0 5px #ff0000aa; }
#welcome-overlay .garage { color: #ff0000; }
@keyframes textAppear {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeOutOverlay {
  0% {opacity: 1;} 80% {opacity: 1;} 100% {opacity: 0; pointer-events: none;}
}


/* SLIDER YAPISI */
.slider-container {
    position: relative; 
    max-width: 100%; 
    margin: 20px auto;
    overflow: hidden; 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-height: 400px; 
}
.slider-track {
    display: flex;
    /* İSTENEN: GEÇİŞ HIZI 0.6 saniye (Yavaşlama düşürüldü) */
    transition: transform 0.6s ease-in-out; 
    width: 400%; /* 4 resim varsayımı */
}
.slider-item {
    min-width: 25%; 
    box-sizing: border-box;
}
.slider-item img {
    width: 100%;
    height: 400px; 
    object-fit: cover; 
    display: block;
}
/* Orijinal .home-image stilini Slider içeriği için günceller */
.home-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 0; /* Slider yapısı için margin kaldırıldı */
}

/* Navigasyon Butonları */
.slider-nav {
    position: absolute; top: 50%; width: 100%; display: flex;
    justify-content: space-between; transform: translateY(-50%);
    padding: 0 15px; z-index: 10;
}
.slider-nav button {
    background: rgba(0, 0, 0, 0.5); color: white; border: none;
    padding: 10px 15px; cursor: pointer; font-size: 1.2rem;
    border-radius: 4px; opacity: 0.8;
    transition: background-color 0.3s, opacity 0.3s;
}
.slider-nav button:hover {
    background: rgba(255, 0, 0, 0.8); 
    opacity: 1;
}

/* Nokta Göstergeleri (Resmin üstüne konumlandırma) */
.slider-dots {
    position: absolute; 
    bottom: 10px; 
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 11; 
}
.dot {
    display: inline-block;
    height: 8px; width: 8px; margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5); 
    border-radius: 50%;
    transition: background-color 0.3s, width 0.3s, height 0.3s;
    cursor: pointer;
}
.dot.active {
    background-color: #ff0000; 
    width: 10px;
    height: 10px;
}
/* =================================================================
| FOOTER STYLES 
================================================================= */

/* ============================== */
/* FOOTER (GECE / GÜNDÜZ MOD UYUMLU) */
/* ============================== */

footer {
  background-color: #f5f5f5; /* Gündüz modu: açık gri */
  color: #121212;
  padding: 40px 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 2px solid #ddd;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.footer-section {
  flex: 1;
  min-width: 220px;
  margin-bottom: 30px;
  color: inherit;
  transition: color 0.3s;
}

.footer-section h3 {
  color: #ff0000;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.footer-section a {
  color: #121212;
  text-decoration: none;
  display: block;
  margin: 6px 0;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ff0000;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background-color: #e0e0e0;
  width: 100%;
  transition: background-color 0.3s, color 0.3s;
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
  transition: color 0.3s;
}

.socials {
  margin-top: 15px;
}

.socials a {
  display: inline-block;
  margin-right: 10px;
  color: #121212;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s;
}

.socials a:hover {
  color: #ff0000;
}

footer .logo {
  font-size: 26px;
  font-weight: bold;
  color: #121212;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.highlight {
  color: #ff0000;
}

/* ============================== */
/* GECE MODU (body.dark-mode aktifken) */
/* ============================== */

body.dark-mode footer {
  background-color: #1a1a1a;
  border-top: 2px solid #333;
  color: #f0f0f0;
}

body.dark-mode .footer-section {
  color: #f0f0f0;
}

body.dark-mode .footer-section h3 {
  color: #ff4444;
}

body.dark-mode .footer-section a {
  color: #ddd;
}

body.dark-mode .footer-section a:hover {
  color: #ff4444;
}

body.dark-mode .footer-bottom {
  background-color: #0d0d0d;
}

body.dark-mode .footer-bottom p {
  color: #999;
}

body.dark-mode .socials a {
  color: #f0f0f0;
}

body.dark-mode footer .logo {
  color: #f0f0f0;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}
/* ============================== */
/* SKINLER BÖLÜMÜ STİLLERİ
/* ============================== */

.skin-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 30px;
  padding: 30px 0;
}

.skin-card {
  background-color: #ffffff;
  border: 1px solid #eee; 
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); 
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background-color 0.4s;
  text-align: center;
}

body.dark-mode .skin-card {
  background-color: #2a2a2a; 
  border-color: #3a3a3a;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.skin-card:hover {
  transform: translateY(-8px); 
  box-shadow: 0 15px 30px rgba(255, 51, 51, 0.3); 
}

.skin-card a {
    display: block; /
}

.skin-card img {
  width: 100%;
  height: 200px; /
  display: block;
  object-fit: cover;
  cursor: pointer; 
  transition: opacity 0.3s;
}

.skin-card img:hover {
    opacity: 0.85;
}

.skin-info {
  padding: 20px;
}

.skin-info h3 {
  color: #ff3333; 
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.skin-info p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 15px;
}

body.dark-mode .skin-info p {
  color: #ccc;
}

.skin-info button {
  background-color: #ff3333;
  color: #fff;
  border: none;
  padding: 12px 25px; 
  border-radius: 8px; 
  font-weight: 700;
  font-size: 1.1rem; /
  transition: background-color 0.3s, transform 0.1s;
  width: 100%;
  box-sizing: border-box; 
}

.skin-info button:hover {
  background-color: #e60000;
  transform: translateY(-2px); /* Tıklanabilirlik hissi */
}

/* Mobil görünüm için responsive ayar */
@media (max-width: 768px) {
  .skin-gallery {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
}
/* ==================================== */
/* LFS 6.R Sekmesi Stilleri */
/* ==================================== */

.lfs6r-info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    background-color: #fff; /* Açık mod arka plan */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 40px;
    margin-top: 20px;
    /* CANLI KIRMIZI ÇERÇEVE */
    border: 3px solid #ff0000;
}

/* Gece Modu Uyumu */
body.dark-mode .lfs6r-info-container {
    background-color: #2a2a2a; /* Koyu mod arka plan */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 3px solid #ff3333;
}

.lfs6r-details {
    flex-grow: 1;
}

.lfs6r-details h3 {
    color: #ff3333;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

body.dark-mode .lfs6r-details h3 {
    border-bottom-color: #3a3a3a;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

body.dark-mode .info-item {
    border-bottom: 1px dashed #3a3a3a;
}

.info-label {
    font-weight: 600;
    color: #333;
}

body.dark-mode .info-label {
    color: #ccc;
}

/* SUNUCU BİLGİLERİ (IP/Port/Ad)*/
.info-value {
    /* Gündüz Modu */
    color: #000000;
    font-family: 'Consolas', 'Courier New', monospace; /
    font-weight: bold;
    font-size: 1.2rem; 
}

body.dark-mode .info-value {
    /* Gece Modu: Tam Beyaz */
    color: #ffffff; 
}

.lfs-connect-link {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
}

.lfs-connect-link:hover {
    color: #cc0000;
}


/* BAŞLIK ALANI STİLLERİ */
.tab-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #ff3333; 
}

.tab-header h2 {
    font-size: 2.5rem;
    /* ANA BAŞLIK CANLI SARI */
    color: #000000; 
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tab-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

body.dark-mode .tab-header h2 {
    color: #ffffff;
}

body.dark-mode .tab-header p {
    color: #bbb;
}


/* İndirme Alanı Stilleri */
.lfs6r-download-section {
    width: 300px;
    text-align: center;
}

.lfs6r-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.download-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #ff3333;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-button:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

.download-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

body.dark-mode .download-note {
    color: #999;
}


/* Mobil Uyum (768px altı) */
@media (max-width: 768px) {
    .lfs6r-info-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .lfs6r-download-section {
        width: 100%;
        margin-top: 30px;
    }
}