/* Temel Sıfırlama ve Font Ayarı */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('arkaplan.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Tüm siteyi saran ana pencere */
.site-wrapper, .page-wrapper {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    max-height: 850px;
    background-color: rgba(33, 33, 33, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-wrapper {
    max-width: 1000px;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header (Üst Kısım) */
header {
    background-color: transparent;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-link {
    display: flex; 
    align-items: center; 
    text-decoration: none;
    color: #fff;
}

header .logo-link img {
    height: 40px; 
    margin-right: 15px; 
}

header h1 {
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav a {
    color: #B0B0B0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #6ABFF4;
}

/* Buton Stilleri */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background-color: #6ABFF4; /* Buton arka plan rengi */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Buton içeriğini ortala */
    gap: 8px;
    font-size: 1rem;
    margin-top: 10px;
}

.btn:hover {
    background-color: #4A9BCF;
    transform: scale(1.05);
}

.btn-discord {
    background-color: #6ABFF4;
    padding: 10px 20px;
}

main {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px 0;
}

/* Main için özel scrollbar stili */
main::-webkit-scrollbar { width: 8px; }
main::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
main::-webkit-scrollbar-thumb { background-color: #444; border-radius: 10px; border: 2px solid transparent; background-clip: content-box; }
main::-webkit-scrollbar-thumb:hover { background-color: #666; }

.section-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ccc;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 3px solid #6ABFF4;
}

section > h2 { display: none; }

/* HABER SLIDER */
#news-slider { padding-top: 0; }
#news-slider .slider-wrapper { position: relative; width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); }
#news-slider .slider { position: relative; height: 400px; overflow: hidden; }
#news-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.0s ease-in-out; background-size: cover; background-position: center center; }
#news-slider .slide.active { opacity: 1; }
#news-slider .slide-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 4%; background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%); }
#news-slider .slide-tags { margin-bottom: 10px; display: flex; gap: 8px; }
#news-slider .tag { display: inline-block; padding: 5px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: 600; color: #fff; }
.tag-borsa { background-color: #28a745; }
.tag-weazel { background-color: #dc3545; }
.tag-lspd { background-color: #007bff; }
.tag-illegal { background-color: #ffc107; color: #1a1a1a; }
#news-slider .slide-content h2 { font-size: 2.2rem; line-height: 1.2; color: #fff; margin: 0 0 10px 0; font-weight: 700; text-shadow: 2px 2px 6px rgba(0,0,0,0.7); display: block; }
#news-slider .slide-content p { font-size: 1rem; color: #ddd; max-width: 700px; font-weight: 300; }
#news-slider .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); border: none; color: #fff; font-size: 1.2rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; transition: background-color 0.3s ease; display: flex; justify-content: center; align-items: center; }
#news-slider .slider-arrow:hover { background-color: #6ABFF4; color: #121212; }
#news-slider .slider-arrow.prev { left: 15px; }
#news-slider .slider-arrow.next { right: 15px; }
.slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.4); cursor: pointer; transition: all 0.3s ease; }
.dot.active { background-color: #6ABFF4; transform: scale(1.2); }

/* VİDEO BÖLÜMÜ */
#media-showcase { padding-top: 40px; }
.video-wrapper { 
    position: relative; 
    padding-bottom: 56.25%; /* 16:9 Oran */
    height: 0; 
    overflow: hidden; 
    border-radius: 10px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    background-color: #000; /* Video yüklenirken siyah arka plan */
}
/* DÜZELTME: iframe VE video etiketleri için ortak kural */
.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* iframe için kenarlık sıfırlama */
}

/* DUYURU & GÜNCELLEME */
.grid-section { padding-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.post-item { background-color: #2c2c2c; padding: 25px; border-radius: 10px; border-top: 4px solid #6ABFF4; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; }
.post-item.update { border-top-color: #28a745; }
.post-item h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; font-weight: 600; }
.post-item .post-meta { font-size: 0.8rem; color: #888; margin-bottom: 15px; }
.post-item p, .post-item ul { color: #B0B0B0; font-weight: 300; }
.post-item ul { list-style-type: none; padding-left: 0; margin-top: 15px; }
.post-item ul li { position: relative; padding-left: 22px; margin-bottom: 5px; }
.post-item ul li::before { content: '\f058'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #28a745; position: absolute; left: 0; top: 2px; }

/* YÖNETİM EKİBİ */
#management-team { padding-top: 40px; padding-bottom: 20px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-member { background-color: #2c2c2c; padding: 20px; border-radius: 10px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-member:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.team-member-pfp { width: 100px; height: 100px; border-radius: 50%; border: 3px solid #6ABFF4; margin-bottom: 15px; object-fit: cover; }
.team-member-name { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 5px; }
.team-member-role { font-size: 0.9rem; color: #b0b0b0; font-weight: 400; }

/* FOOTER */
footer { padding: 20px 0; background-color: transparent; color: #888; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; flex-shrink: 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.social-links { display: flex; gap: 20px; }
.social-icon { font-size: 1.5rem; color: #888; transition: color 0.3s ease, transform 0.3s ease; }
.social-icon:hover { transform: scale(1.1) translateY(-3px); }
.social-icon.youtube:hover { color: #FF0000; }
.social-icon.tiktok:hover { color: #fff; }
.social-icon.discord:hover { color: #6ABFF4; }

/* BAŞVURU SAYFASI */
.page-content { padding: 30px; }
.page-content > h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; color: #fff; text-align: center; }
.page-content > h2 i { margin-right: 10px; color: #6ABFF4; }
.form-tabs { display: flex; justify-content: center; margin-bottom: 30px; gap: 10px; flex-wrap: wrap; }
.tab-button { padding: 10px 20px; font-size: 0.9rem; border: 1px solid #555; background-color: transparent; color: #f0f0f0; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.tab-button:hover { background-color: #333; border-color: #6ABFF4; }
.tab-button.active { background-color: #6ABFF4; color: #fff; border-color: #6ABFF4; }
.form-container { display: none; background-color: #2c2c2c; padding: 30px; border-radius: 8px; }
.form-container.active { display: block; }
.form-container h3 { font-size: 1.5rem; margin-bottom: 20px; text-align: center; }
form label { display: block; margin-bottom: 8px; font-weight: 400; color: #ccc; }
form input, form textarea { width: 100%; padding: 12px; margin-bottom: 20px; background-color: #1f1f1f; border: 1px solid #444; border-radius: 5px; color: #f0f0f0; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
form input:focus, form textarea:focus { outline: none; border-color: #6ABFF4; box-shadow: 0 0 5px rgba(106, 191, 244, 0.5); }
.form-subheading { font-size: 1.1rem; font-weight: 500; color: #6ABFF4; border-bottom: 1px solid #444; padding-bottom: 8px; margin-top: 25px; margin-bottom: 20px; }
.form-subheading:first-of-type { margin-top: 0; }
.radio-group { display: flex; gap: 25px; margin-bottom: 20px; }
.radio-option { display: flex; align-items: center; gap: 8px; }
.radio-option label { margin-bottom: 0; cursor: pointer; font-weight: 400; }
.radio-option input[type="radio"] { display: none; }
.radio-option label::before { content: ''; display: inline-block; width: 18px; height: 18px; border: 2px solid #666; border-radius: 50%; margin-right: 8px; vertical-align: middle; transition: all 0.2s ease; }
.radio-option input[type="radio"]:checked + label::before { border-color: #6ABFF4; background-color: #6ABFF4; box-shadow: 0 0 0 3px #2c2c2c, 0 0 0 5px #6ABFF4; }
.form-notice { margin-top: 25px; padding-top: 20px; border-top: 1px solid #444; font-size: 0.85rem; color: #aaa; line-height: 1.5; }
.form-notice a { color: #6ABFF4; text-decoration: none; font-weight: 500; }
.form-notice a:hover { text-decoration: underline; }
.checkbox-group { display: flex; align-items: center; margin-bottom: 20px; }
.checkbox-group input[type="checkbox"] { display: none; }
.checkbox-group label { cursor: pointer; position: relative; padding-left: 30px; }
.checkbox-group label::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border: 2px solid #666; border-radius: 4px; transition: all 0.2s ease; }
.checkbox-group label::after { content: '\f00c'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 4px; top: 3px; color: #fff; font-size: 14px; opacity: 0; transition: opacity 0.2s ease; }
.checkbox-group input[type="checkbox"]:checked + label::before { border-color: #6ABFF4; background-color: #6ABFF4; }
.checkbox-group input[type="checkbox"]:checked + label::after { opacity: 1; }
.ai-warning { color: #ffc107; font-weight: 500; margin-bottom: 15px; text-align: center; background-color: rgba(255, 193, 7, 0.1); padding: 10px; border-radius: 5px; border-left: 3px solid #ffc107; }
.scenario-question { background-color: #1f1f1f; border-left: 4px solid #555; padding: 15px; border-radius: 5px; margin-bottom: 15px; font-style: italic; color: #ccc; line-height: 1.7; }
.scenario-question p { margin-bottom: 10px; }
.scenario-question p:last-child { margin-bottom: 0; }
.scenario-question strong { color: #fff; font-style: normal; }
.kurallar-listesi { margin-top: 20px; }
.kurallar-listesi h3 { font-size: 1.5rem; color: #6ABFF4; margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 5px; }
.kurallar-listesi li { background-color: #2c2c2c; margin-bottom: 10px; padding: 15px; border-left: 4px solid #444; border-radius: 5px; line-height: 1.7; }
.kurallar-listesi li strong { color: #6ABFF4; }

/* RESPONSIVE DÜZENLEMELER */
@media (max-width: 992px) {
    body { padding: 0; align-items: flex-start; }
    .site-wrapper, .page-wrapper { height: 100vh; max-height: none; border-radius: 0; border: none; }
    .grid-section { grid-template-columns: 1fr; }
    header .container { flex-direction: column; gap: 15px; }
    header nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
    #news-slider .slider { height: 300px; }
    #news-slider .slide-content h2 { font-size: 1.8rem; }
    #news-slider .slide-content p { font-size: 0.9rem; }
    footer .container { justify-content: center; }
    .team-grid { grid-template-columns: 1fr; }
}