:root {
    --bg-color: #121212;
    --primary-color: #8A2BE2; /* Mavi-Mor */
    --accent-color: #B266FF; /* Açık Mor */
    --text-color: #f0f0f0;
    --secondary-bg: #1e1e1e;
}

/* Genel Ayarlar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigasyon Menüsü */
.main-nav {
    position: sticky; /* Sayfayı kaydırınca üstte sabit kalır */
    top: 0;
    z-index: 1000; /* Diğer elementlerin üstünde görünür */
    background-color: rgba(18, 18, 18, 0.85); /* Hafif şeffaf arka plan */
    padding: 15px 20px;
    backdrop-filter: blur(5px); /* Arka planı bulanıklaştırır */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

/* Banner Alanı */
.main-banner {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/1920x1080?text=Minecraft+Arka+Plani');
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.5);
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* IP Adresi ve Sürüm Düzeni */
.ip-display {
    text-align: center;
    background-color: var(--secondary-bg);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px 30px;
    display: inline-block;
}

.ip-display p {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.ip-address-static {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.version-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Sohbet Kısmı Düzenlemesi */
.status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.chat-box {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.chat-box h3 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.chat-feed {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.chat-feed li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 5px;
}

.chat-message-time {
    color: var(--accent-color);
    font-weight: 600;
    margin-right: 5px;
}

.btn-whatsapp {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* Ortak Bölümler */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    width: 80%;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 10%;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
}

.section:hover .section-title::after {
    transform: scaleX(1);
}

/* Özellikler */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Kurallar */
#rules .container {
    max-width: 800px;
}

.rules-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.rules-list li {
    background-color: var(--secondary-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
    transition: background-color 0.2s;
}

.rules-list li:hover {
    background-color: #2a2a2a;
}

/* Yeni Topluluk Bölümü - Boşluk Eklendi */
#community {
    padding-bottom: 80px; /* Bize Katılın bölümü ile footer arasına boşluk ekler */
}

.community-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.community-btn {
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
}

.community-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--secondary-bg);
}