/* --- GENEL AYARLAR --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-purple: #6a0dad;
    --dark-purple: #240046;
    --accent-pink: #d500f9;
    --text-white: #ffffff;
}

body {
    background-color: var(--dark-purple);
    color: var(--text-white);
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    overflow-x: hidden;
    position: relative;
}

/* Canvas Ayarı */
#gaming-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at center, #3a0ca3 0%, #10002b 100%);
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 40px;
}

.main-title {
    font-family: 'Rubik Pixels', cursive;
    font-size: 6rem;
    color: #fff;
    text-shadow: 6px 6px 0px #000, 0 0 20px var(--accent-pink);
    margin-bottom: 0;
    line-height: 1.2;
}

.subtitle {
    font-family: 'VT323', monospace;
    color: #e0e0e0;
    font-size: 1.8rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* --- SAYAC --- */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.time-block span {
    font-size: 3rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 25px;
    border: 3px solid var(--accent-pink);
    border-radius: 12px;
    box-shadow: 0 0 15px var(--primary-purple);
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.time-block small {
    display: block;
    font-size: 1.4rem;
    color: #ddd;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 2px;
}

/* --- BUTONLAR & ANİMASYON --- */
.pixel-btn {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-purple);
    padding: 15px 50px;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Rubik Pixels', cursive;
    border-radius: 10px;
    border: 4px solid var(--dark-purple);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
    transition: transform 0.1s;
}

/* Kilitli Buton Animasyonu */
.locked-btn {
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
}

.locked-btn span {
    display: block;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    width: 100%;
}

/* --- KİLİTLİ BUTON YAZISI (TAM ORTALI) --- */
.locked-btn::after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Esnek Kutu (Flexbox) ile tam göbeğe hizalama */
    display: flex;
    align-items: center;     /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
    text-align: center;      /* Metin satırlarını ortala */
    
    white-space: pre-line;   /* Satır atlamayı (Enter) algıla ve boşlukları temizle */
    
    font-size: 1.5rem;       /* Yazı boyutu */
    font-weight: bold;       /* Yazıyı kalınlaştır, daha net okunsun */
    line-height: 1.2;        /* Satırlar birbirine ne çok uzak ne çok yakın olsun */
    padding: 0;              /* Gereksiz iç boşlukları sıfırla */
    
    color: var(--primary-purple);
    background-color: #fff;
    transition: top 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.locked-btn:hover span, .locked-btn:active span {
    transform: translateY(-200%);
}

.locked-btn:hover::after, .locked-btn:active::after {
    top: 0;
}

/* --- ETKİNLİK DETAYLARI --- */
.event-details {
    display: table;
    margin: 20px auto 0 auto;
    background: rgba(106, 13, 173, 0.3);
    padding: 20px 30px;
    border-radius: 15px;
    border: 2px solid var(--accent-pink);
    backdrop-filter: blur(5px);
    text-align: left;
}
.event-details p { margin: 5px 0; font-size: 1.6rem; }

/* --- BÖLÜMLER --- */
section { padding: 80px 0; }

.about-section {
    margin-top: 0;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.pixel-border {
    border: 3px solid var(--accent-pink);
    background-color: rgba(16, 0, 43, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(106, 13, 173, 0.4);
}

h2 {
    color: var(--accent-pink);
    font-size: 3rem;
    font-family: 'Rubik Pixels', cursive;
    margin-bottom: 30px;
    text-shadow: 3px 3px 0 #000;
}

.about-text { text-align: left; padding: 0 10px; }
.about-text p { margin-bottom: 25px; line-height: 1.8; font-size: 1.4rem; color: #e0e0e0; }
.about-text p:last-child { margin-bottom: 0; }

/* --- SOSYAL MEDYA KARTLARI --- */
.social-cta-section { padding: 60px 0; text-align: center; }
.social-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px; height: 180px;
    background: rgba(36, 0, 70, 0.6);
    border: 3px solid #fff;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-card svg { width: 80px; height: 80px; fill: #fff; margin-bottom: 15px; transition: all 0.3s; }
.social-card span { color: #fff; font-family: 'Rubik Pixels', cursive; font-size: 1.2rem; letter-spacing: 1px; }

/* WhatsApp Hover */
.whatsapp-card:hover { border-color: #25D366; box-shadow: 0 0 25px #25D366; transform: translateY(-10px); }
.whatsapp-card:hover svg { fill: #25D366; }
.whatsapp-card:hover span { color: #25D366; }

/* Instagram Hover */
.instagram-card:hover { border-color: #E1306C; box-shadow: 0 0 25px #E1306C; transform: translateY(-10px); }
.instagram-card:hover svg { fill: #E1306C; }
.instagram-card:hover span { color: #E1306C; }

/* LinkedIn Hover */
.linkedin-card:hover { border-color: #0077B5; box-shadow: 0 0 25px #0077B5; transform: translateY(-10px); }
.linkedin-card:hover svg { fill: #0077B5; }
.linkedin-card:hover span { color: #0077B5; }

/* --- SPONSORLAR --- */
.sponsors-section { padding-bottom: 80px; text-align: center; }
.sponsors-wrapper {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px;
    padding: 50px; background: rgba(16, 0, 43, 0.5);
    border: 3px dashed #666; border-radius: 20px; min-height: 200px;
}
.sponsor-logo {
    font-size: 1.5rem; color: #888; font-family: 'VT323', monospace;
    width: 150px; height: 100px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.05); border-radius: 10px; transition: all 0.3s;
}
.sponsor-logo:hover { color: #fff; background: rgba(255, 255, 255, 0.1); transform: scale(1.05); }

/* --- BİZE ULAŞIN --- */
.contact-info-section { padding-bottom: 50px; }
.contact-box {
    display: flex; flex-direction: column; align-items: center; gap: 30px;
    background: rgba(16, 0, 43, 0.8); max-width: 600px; margin: 0 auto;
}
.contact-item { display: flex; align-items: center; gap: 20px; font-size: 1.5rem; }
.contact-item .icon { font-size: 2.5rem; }
.contact-item .details { display: flex; flex-direction: column; text-align: left; }
.contact-item .label { color: var(--accent-pink); font-size: 1rem; margin-bottom: 5px; font-family: 'Rubik Pixels', cursive; }
.contact-item a { color: #fff; text-decoration: none; font-family: 'VT323', monospace; letter-spacing: 1px; transition: color 0.3s; }
.contact-item a:hover { color: var(--accent-pink); text-shadow: 0 0 10px var(--accent-pink); }

/* --- HARİTA & FOOTER --- */
.location-section { padding-bottom: 100px; }
.map-wrapper { padding: 10px; background: var(--dark-purple); box-shadow: 0 0 20px rgba(213, 0, 249, 0.4); }
iframe { display: block; width: 100%; border-radius: 5px; }
.address-text { margin-top: 20px; font-size: 1.5rem; color: #fff; font-family: 'VT323', monospace; letter-spacing: 1px; }

.map-link-btn {
    display: inline-block; margin-top: 20px; padding: 10px 20px;
    background-color: transparent; border: 2px solid var(--accent-pink);
    color: #fff; text-decoration: none; font-family: 'Rubik Pixels', cursive;
    font-size: 1.2rem; border-radius: 8px; transition: all 0.3s;
}
.map-link-btn:hover { background-color: var(--accent-pink); color: #000; box-shadow: 0 0 15px var(--accent-pink); transform: translateY(-3px); }

footer { padding: 30px 0; background: transparent; }
footer p { color: #666; font-size: 1.2rem; margin: 0; }

/* MOBİL */
@media (max-width: 600px) {
    .main-title { font-size: 3.5rem; }
    .time-block span { font-size: 1.8rem; padding: 10px; min-width: 70px; }
    .time-block small { font-size: 1rem; }
    .pixel-btn { font-size: 1.5rem; width: 100%; }
}

/* --- SPONSORLUK ÇAĞRISI (ALTIN KUTU) --- */
.sponsor-call-section {
    padding-bottom: 50px;
    text-align: center;
}

.sponsor-box {
    border: 4px dashed #FFD700; /* Altın Sarısı Çerçeve */
    background: rgba(255, 215, 0, 0.1); /* Çok hafif sarı zemin */
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s;
}

.sponsor-box:hover {
    transform: scale(1.02); /* Üzerine gelince hafif büyüsün */
    background: rgba(255, 215, 0, 0.15);
}

.sponsor-box h3 {
    font-family: 'Rubik Pixels', cursive;
    font-size: 2.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 20px;
}

.sponsor-box p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 25px;
}

.sponsor-mail {
    display: inline-block;
    font-size: 2rem;
    font-family: 'VT323', monospace;
    color: #fff;
    background-color: #000;
    padding: 10px 30px;
    border-radius: 10px;
    border: 2px solid #FFD700;
    text-decoration: none;
    transition: all 0.3s;
}

.sponsor-mail:hover {
    background-color: #FFD700;
    color: #000;
    box-shadow: 0 0 20px #FFD700; /* Altın parlama */
}

/* --- SIKÇA SORULAN SORULAR (SSS) --- */
.faq-section {
    padding-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(16, 0, 43, 0.9); /* Koyu zemin */
    padding: 20px;
    border-radius: 15px;
}

.faq-item {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none; /* Son çizgi olmasın */
}

/* Soru Butonu */
.faq-question {
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.6rem;
    font-family: 'VT323', monospace;
    display: flex;
    justify-content: space-between; /* Yazı sola, + işareti sağa */
    align-items: center;
    transition: all 0.3s ease;
}

/* Üzerine gelince veya aktif olunca */
.faq-question:hover, .faq-question.active {
    color: var(--accent-pink);
    text-shadow: 0 0 8px var(--accent-pink);
}

/* Sağdaki + İkonu */
.faq-icon {
    font-size: 2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* Açıldığında + işareti çarpı (x) olsun diye döndür */
.faq-question.active .faq-icon {
    transform: rotate(45deg); 
}

/* Cevap Kutusu (Başlangıçta Gizli) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Kayarak açılma animasyonu */
    background-color: rgba(255, 255, 255, 0.05); /* Cevap zemini hafif açık */
}

.faq-answer p {
    padding: 20px;
    font-size: 1.4rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
}

/* --- KURALLAR BÖLÜMÜ --- */
.rules-section {
    padding-bottom: 80px;
}

.rules-wrapper {
    background: rgba(16, 0, 43, 0.8); /* Koyu zemin */
    padding: 40px;
    text-align: left; /* Yazılar soldan başlasın */
}

.rule-item {
    display: flex; /* Numara ve yazıyı yan yana koy */
    gap: 20px; /* Numara ile yazı arası boşluk */
    margin-bottom: 25px;
    align-items: flex-start; /* Üstten hizala */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1); /* Maddeler arası silik çizgi */
    padding-bottom: 25px;
}

.rule-item:last-child {
    border-bottom: none; /* Son maddede çizgi olmasın */
    margin-bottom: 0;
    padding-bottom: 0;
}

.rule-number {
    font-family: 'Rubik Pixels', cursive;
    font-size: 2.5rem;
    color: var(--accent-pink); /* Neon Pembe */
    text-shadow: 2px 2px 0 #000;
    line-height: 1;
    min-width: 40px; /* Numaralar hizalı dursun */
}

.rule-item p {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

/* --- ÖDÜLLER BÖLÜMÜ (GİZEMLİ KUTU) --- */
.rewards-section {
    padding-bottom: 80px;
    text-align: center;
}
/* --- ÖDÜL KARTLARI --- */
.rewards-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Kürsü gibi durması için alta hizala */
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.reward-card {
    background: rgba(16, 0, 43, 0.9);
    padding: 30px 20px;
    width: 260px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Birincilik Kartı Daha Önde ve Büyük */
.first-place {
    order: 2; /* Ortada dursun */
    border-color: #FFD700 !important; /* Altın */
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
    z-index: 2;
}

.second-place {
    order: 1; /* Solda dursun */
    border-color: #C0C0C0 !important; /* Gümüş */
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.2);
}

.third-place {
    order: 3; /* Sağda dursun */
    border-color: #CD7F32 !important; /* Bronz */
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.2);
}

.reward-card:hover {
    transform: translateY(-10px) scale(1.15);
}

.reward-rank {
    font-family: 'Rubik Pixels', cursive;
    font-size: 2rem;
    color: #fff;
}

.reward-amount {
    font-size: 2.8rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.reward-desc {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--accent-pink);
    letter-spacing: 2px;
}

/* Mobilde kürsü yapısı yerine alt alta düzgün dizilsin */
@media (max-width: 768px) {
    .rewards-grid {
        align-items: center;
        flex-direction: column;
    }
    .reward-card {
        order: initial !important;
        transform: none !important;
        width: 100%;
        max-width: 300px;
    }
}


/* --- TÜM SPONSORLAR TEK GRID --- */
.sponsors-all-section {
    padding-bottom: 60px;
}

/* --- YENİ VE DÜZENLİ GRID YAPISI --- */
.sponsors-grid {
    display: grid;
    /* Mobilde 2, tablette 3, masaüstünde 4 veya 5 kolon */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    /* Arka planı tamamen kaldırıp sadece dış çerçeve bırakalım */
    background: transparent;
    padding: 40px;
    border: 3px solid var(--accent-pink); /* Dış çerçeve neon pembe */
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(213, 0, 249, 0.3); /* Hafif dış parlama */
    justify-items: center;
    align-items: center;
}

/* --- LOGO KUTULARI --- */
.sponsor-item {
    width: 100%;
    /* Kutuların boyutu biraz daha kompakt olsun */
    max-width: 180px;
    aspect-ratio: 1 / 1; /* Tam kare olsunlar */
}

/* --- SPONSORLAR FINAL FIX --- */
.sponsors-grid {
    display: grid;
    /* Masaüstünde tam 3 sütun */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    padding: 30px;
    background: transparent;
    border: 3px solid var(--accent-pink);
    border-radius: 20px;
    justify-items: center;
}

.sponsor-item {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1; /* Tam kare kutular */
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-logo {
    width: 100%;
    height: 100%;
    background: #fff; /* Beyaz dolgu */
    border: 2px solid rgba(213, 0, 249, 0.4);
    border-radius: 12px;
    overflow: hidden; /* Taşmaları keser */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    /* Kutuyu tam doldurması ve boşluk kalmaması için */
    object-fit: cover; 
}

/* MOBİL AYARI: Telefonlarda 2'li dizilsin ki çok küçülmesin */
@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
    }
}