/* Genel Ayarlar ve Renk Paleti */

:root {

    /* Arka plan geÃ§iÅi iÃ§in lila ve mor tonlarÄ± */

    --bg-color-start: #E6E6FA; /* Lila */

    --bg-color-end: #9370DB; /* Mor */

    /* Buton ve kartlar iÃ§in canlÄ± sarÄ± tonlarÄ± */

    --primary-yellow: #FFD700;

    --primary-yellow-dark: #E6C200;

    /* GÃ¶lge ve 3D efektleri iÃ§in renkler */

    --shadow-color: rgba(75, 0, 130, 0.25); /* Koyu mor tonlarÄ±nda gÃ¶lge */

    --highlight-color: rgba(255, 255, 255, 0.6);

    /* Metin renkleri */

    --text-main: #4A148C; /* OkunabilirliÄi yÃ¼ksek koyu mor */

}


/* --- GLOBAL BODY & MOBILE BACKGROUND FIX --- */
html {
    height: -webkit-fill-available; /* iOS Fix */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #a29bfe !important; /* Lila/Mor Yedek Renk */
    background: linear-gradient(135deg, #E6E6FA 0%, #9370DB 100%) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important; /* Fixed mobilde sorunlu, scroll yapıldı */
    
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important; /* iOS adres çubuğu fix */
    
    color: #4A148C;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

/* Masaüstü için fixed özelliğini koruyabiliriz */
@media screen and (min-width: 1024px) {
    body {
        background-attachment: fixed !important;
    }
}

/* Temel SÄ±fÄ±rlama ve Body Stilleri */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



/* ============================================================== */

/* FÜTÜRİSTİK 3D PETEK KOVANI (ADVANCED 3D ENERGY HIVE)            */

/* ============================================================== */

.hexagon-grid-bg {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: -1;

    pointer-events: none;

    opacity: 0.25;

    /* Derinlik için isometric bakış açısı (Opsiyonel: Isometric hissi veren pattern kullanacağız) */

    background: linear-gradient(135deg, #E040FB 0%, #FF4081 50%, #00E5FF 100%);

    /* 3D Görünümlü İç İçe Geçmiş Lazer Petekler (Nested Laser Hexagons) */

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='112' height='100' viewBox='0 0 112 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100M56 16L84 0L112 16L112 50L84 66L56 50' fill='none' stroke='black' stroke-width='2.5'/%3E%3Cpath d='M28 55L10 45L10 21L28 11L46 21L46 45Z' fill='none' stroke='black' stroke-width='1'/%3E%3Cpath d='M84 55L66 45L66 21L84 11L102 21L102 45Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg width='112' height='100' viewBox='0 0 112 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100M56 16L84 0L112 16L112 50L84 66L56 50' fill='none' stroke='black' stroke-width='2.5'/%3E%3Cpath d='M28 55L10 45L10 21L28 11L46 21L46 45Z' fill='none' stroke='black' stroke-width='1'/%3E%3Cpath d='M84 55L66 45L66 21L84 11L102 21L102 45Z' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E");

    mask-size: 80px auto;

    /* Neon Parlama ve Derinlik Gölgeleri */

    filter: drop-shadow(0 0 5px rgba(224, 64, 251, 0.6)) drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));

}

/* Sayfa ortasındaki yumuşak lazer enerji küresi (Focal Energy Sphere) */

.hexagon-grid-bg::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 80vw;

    height: 80vh;

    background: radial-gradient(circle, rgba(224, 64, 251, 0.3) 0%, rgba(255, 64, 129, 0.1) 40%, transparent 70%);

    transform: translate(-50%, -50%);

    filter: blur(60px);

    pointer-events: none;

    z-index: -1;

}

    10% {

        opacity: 1; /* GÃ¶rÃ¼nÃ¼rleÅti */

    }

    90% {

        opacity: 1;

    }

    100% {

        transform: translateY(120vh) rotate(360deg);

        opacity: 0; /* Kaybolarak Ã§Ä±ksÄ±n */

    }

}

/* 

  Ortak 'Kart' SÄ±nÄ±fÄ± 

  YumuÅak kÃ¶Åeli, sevimli, hafif 3D gÃ¶rÃ¼nÃ¼mlÃ¼ kart yapÄ±larÄ±.

*/

.card {

    background-color: var(--primary-yellow);

    border-radius: 24px; /* YumuÅak ve geniÅ kÃ¶Åeler */

    padding: 20px;

    margin-bottom: 20px;

    width: 100%;

    max-width: 400px; /* Mobilde tam ekran, tablette/web'de ortalanmÄ±Å */

    /* Hafif 3D Efekti: Ãstten aydÄ±nlatma, alttan kendi renginin koyusu ile kalÄ±nlÄ±k ve dÄ±Å gÃ¶lge */

    box-shadow: 

        0px 10px 20px var(--shadow-color),

        inset 0px 4px 0px var(--highlight-color),

        inset 0px -4px 0px var(--primary-yellow-dark);

    /* Formu desteklemek ve sevimli gÃ¶stermek iÃ§in ince bir Ã§izgi */

    border: 3px solid var(--primary-yellow-dark);

    display: flex;

    flex-direction: column;

    gap: 15px;

    transition: transform 0.3s ease;

}

/* Karta hover gelindiÄinde hafif zÄ±plama efekti (opsiyonel) */

.card:hover {

    transform: translateY(-2px);

}

.card h2, .card h3 {

    text-align: center;

    margin-bottom: 5px;

    font-weight: 800;

}

.card p {

    font-size: 1rem;

    line-height: 1.5;

}

/* 

  Ortak 'Buton' SÄ±nÄ±fÄ± 

  CanlÄ± sarÄ±, yumuÅak kÃ¶Åeli, 3D ve interaktif (hover/active efektli) buton yapÄ±larÄ±.

*/

.button, .btn {

    appearance: none;

    background-color: var(--primary-yellow);

    color: var(--text-main);

    font-size: 1.1rem;

    font-weight: bold;

    text-align: center;

    padding: 16px 24px;

    border-radius: 100px; /* Tam yuvarlak (hap Åeklinde) sevimli buton */

    border: 2px solid var(--primary-yellow-dark);

    cursor: pointer;

    width: 100%;

    /* 3D GÃ¶rÃ¼nÃ¼m: AydÄ±nlatma ve alt gÃ¶lge ile kalÄ±nlÄ±k (basÄ±labilir) hissi */

    box-shadow: 

        0px 6px 0px var(--primary-yellow-dark),

        0px 8px 15px var(--shadow-color),

        inset 0px 3px 0px var(--highlight-color);

    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* YumuÅak animasyon geÃ§iÅi */

    display: inline-flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;

    user-select: none; /* Metin seÃ§imi engelleniyor */

}

/* Ãzerine gelindiÄinde (Hover): Hafif kÃ¼Ã§Ã¼lme ve koyulaÅma efekti */

.button:hover, .btn:hover {

    background-color: var(--primary-yellow-dark); /* Renk koyulaÅÄ±yor */

    transform: scale(0.98) translateY(2px); /* Hem hafif kÃ¼Ã§Ã¼lÃ¼yor hem aÅaÄÄ± iniyor */

    /* 3D gÃ¶lgeyi (kalÄ±nlÄ±ÄÄ±) azaltarak basÄ±lÄ±yormuÅ hissini baÅlatma */

    box-shadow: 

        0px 4px 0px var(--primary-yellow-dark),

        0px 5px 10px var(--shadow-color),

        inset 0px 3px 0px rgba(255, 255, 255, 0.4);

}

/* TÄ±klandÄ±ÄÄ±nda (Active): Tamamen basÄ±lmÄ±Å hissi */

.button:active, .btn:active {

    transform: scale(0.95) translateY(6px); /* Daha fazla kÃ¼Ã§Ã¼lÃ¼p tam basÄ±lÄ±yor */

    background-color: #D4B400; /* Biraz daha koyu sarÄ± */

    /* KalÄ±nlÄ±k gÃ¶lgesi sÄ±fÄ±rlanÄ±yor (buton zemine oturdu) */

    box-shadow: 

        0px 0px 0px var(--primary-yellow-dark),

        0px 2px 5px var(--shadow-color),

        inset 0px 3px 0px rgba(255, 255, 255, 0.2);

}

/* Mobil cihazlarda kullanÄ±labilirlik iÃ§in ekstra medya sorgularÄ± */

@media screen and (max-width: 480px) {

    

    .card {

        padding: 18px;

        border-radius: 20px;

        gap: 12px;

    }

    .button, .btn {

        padding: 14px 20px;

        font-size: 1rem;

    }

}

/* ============================================================== */

/* YENÄ° EKLENEN ANA SAYFA (INDEX) STÄ°LLERÄ°                          */

/* ============================================================== */

/* --- Ãst MenÃ¼ Ä°konlarÄ± (Ayarlar ve YardÄ±m) --- */

/* --- Ana MenÃ¼ Klasik Petek TasarÄ±mlarÄ± --- */

.honeycomb-menu-container {

    position: relative;

    width: 320px;

    height: 290px;

    z-index: 10; /* Arka plan deseninin Ã¼stÃ¼nde kalsÄ±n */

    /* Dikey ortalama - Logo ile alt kÄ±sÄ±m arasÄ±nda mÃ¼kemmel dengelenir */

    margin: auto; 

    /* TÃ¼m petekleri oranlarÄ± bozulmadan (iÃ§ yazÄ±larÄ±yla birlikte) eski %22 yerine Åimdi %40 bÃ¼yÃ¼tÃ¼r (Ekstra ~%15-20 kazanÃ§) */

    transform: scale(1.40); 

    transform-origin: center center;

}

/* Mobil limitler - BÃ¼yÃ¼tÃ¼len petekler ufak ekranlarda viewport dÄ±ÅÄ±na taÅmasÄ±n */

@media screen and (max-width: 440px) {

    .honeycomb-menu-container {

        transform: scale(1.22); /* Limit (Eski bÃ¼yÃ¼k boyut Åimdi mobil maks limit oldu) */

    }

}

@media screen and (max-width: 380px) {

    .honeycomb-menu-container {

        transform: scale(1.05); /* Ãok dar telefonlar */

    }

}

.honeycomb-btn {

    position: absolute;

    /* Tam Keskin Petek (AltÄ±gen) silÃ¼eti - DÃ¼z Ã¼st/alt, sivri yanlar */

    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

    /* Temiz, PÃ¼rÃ¼zsÃ¼z Bal Rengi Linear Degrade (Koyu Amber'den AÃ§Ä±k SarÄ±ya) */

    /* TÃ¼m desen ve iÃ§ gÃ¶lgeler kaldÄ±rÄ±ldÄ± */

    background: linear-gradient(180deg, #FFA000 0%, #FFECB3 100%);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    cursor: pointer;

    transition: transform 0.3s ease, filter 0.3s ease, z-index 0s;

    /* Ä°nce Ãst-Sol IÅÄ±k ParlamasÄ± (Kenar Vurgusu/Highlight) + Zemin GÃ¶lgesi */

    filter: drop-shadow(-1.5px -1.5px 0px rgba(255, 255, 255, 0.9)) drop-shadow(0px 8px 12px rgba(255, 143, 0, 0.5));

}

.honeycomb-btn.h-large {

    width: 170px;

    height: 147px; /* W * 0.866 */

    padding: 10px;

}

.honeycomb-btn.h-small {

    width: 125px;

    height: 108px; /* W * 0.866 */

    padding: 10px;

}

/* Pozisyonlamalar (ArÄ± kovanÄ± iÃ§iÃ§e dizilimi) */

.honeycomb-btn.h-pos-1 {

    top: 0;

    left: 10px;

    z-index: 2;

}

.honeycomb-btn.h-pos-2 {

    top: 78px; /* Tam ortadan hizalama yarÄ± yÃ¼ksekliÄi */

    left: 142px; /* GeniÅliÄin %75'i civarÄ± + boÅluk */

    z-index: 1;

}

.honeycomb-btn.h-pos-3 {

    top: 156px; 

    left: 45px; /* Alt-sol cepheye sÄ±msÄ±kÄ± oturtulmuÅ kÃ¼Ã§Ã¼k petek */

    z-index: 3;

}

/* --- Ä°konlar ve Tipografi --- */

.honeycomb-btn h2 {

    font-size: 1.25rem;

    font-weight: 800;

    margin-bottom: 2px;

    color: #4A148C; /* Koyu Mor (Siyah/Mor Vurgu) */

    line-height: 1.1;

}

.honeycomb-btn.h-small h2 {

    font-size: 1rem; /* KÃ¼Ã§Ã¼k peteÄin baÅlÄ±ÄÄ± biraz daha kÃ¼Ã§Ã¼k */

}

.honeycomb-btn p {

    font-size: 0.95rem; /* Boyut birkaÃ§ piksel bÃ¼yÃ¼tÃ¼ldÃ¼ ve daha okunabilir kÄ±lÄ±ndÄ± */

    font-weight: 700;

    color: #222222; /* Koyu gri, neredeyse siyah temiz modern metin */

    line-height: 1.25;

}

.honeycomb-btn.h-small p {

    font-size: 0.85rem;

}

.honeycomb-btn:hover {

    transform: scale(1.1); /* YumuÅak tam bÃ¼yÃ¼me animasyonu */

    /* Hover anÄ±nda CamsÄ± Halo yansÄ±masÄ± ve GÃ¼Ã§lÃ¼ Kehribar (AltÄ±n) Glow */

    filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.8)) drop-shadow(0px 0px 20px rgba(255, 215, 0, 0.95));

    z-index: 10 !important; /* BÃ¼yÃ¼dÃ¼ÄÃ¼nde tasarÄ±mÄ±n en Ã¼stÃ¼ne Ã§Ä±ksÄ±n */

}

/* --- Logo ve Responsive DÃ¼zen --- */

.logo-container {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    margin-top: 80px;

    margin-bottom: 40px;

    position: relative; /* Mistk halo efekti iÃ§in referans */

    animation: float 4s ease-in-out infinite;

    z-index: 10; /* Arka plan deseninin Ã¼stÃ¼nde kalsÄ±n */

}

/* Mistik ve DeÄerli Hava Katan Petek/Bal Mumu ParÄ±ltÄ±sÄ± (Halo Aura) */

.logo-container::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 250px;

    height: 250px;

    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(255, 143, 0, 0.08) 40%, transparent 70%);

    pointer-events: none; /* Mouse engellemesini engeller */

    z-index: -1; /* Logonun arkasÄ±nda kalsÄ±n */

}

.brand-logo {

    max-width: 100%; /* Mobil cihazlarda taÅmayÄ± Ã¶nler */

    width: 200px; /* Daha zarif ve toparlanmÄ±Å bir boyut (eskiden 300px'ti) */

    height: auto;

    object-fit: contain;

    filter: drop-shadow(0px 8px 15px var(--shadow-color)); /* Logoya derinlik katan lila gÃ¶lge */

}

/* Havada SÃ¼zÃ¼lme Animasyonu (Float) */

@keyframes float {

    0% { transform: translateY(0px); }

    50% { transform: translateY(-8px); }

    100% { transform: translateY(0px); }

}

/* --- Menu KartÄ± Ãzel Ä°mleÃ§ ve TÄ±klanabilirlik Bildirimi --- */

.menu-card {

    cursor: pointer;

}

/* --- Modal (AÃ§Ä±lÄ±r Pencere) Stilleri --- */

.modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(30, 0, 60, 0.75); /* Koyu Arka Plan */

    backdrop-filter: blur(5px); /* Arka planÄ± bulanÄ±klaÅtÄ±rma efekti */

    /* ModalÄ± ortalamak iÃ§in Flexbox */

    display: flex;

    justify-content: center;

    align-items: center;

    /* VarsayÄ±lan olarak gizli */

    z-index: 1000;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;

}

/* JavaScript bu sÄ±nÄ±fÄ± eklediÄinde modal gÃ¶rÃ¼nÃ¼r olur */

.modal-overlay.active {

    opacity: 1;

    pointer-events: auto;

}

.modal-content {

    background: linear-gradient(to bottom, #FFFFFF, #FFF5FA);

    width: 90%;

    max-width: 380px;

    border-radius: 28px;

    padding: 30px;

    position: relative;

    /* Ä°Ã§erik de hafif sevimli bir kenarlÄ±kla sÄ±nÄ±rlandÄ±rÄ±lÄ±yor */

    border: 4px solid var(--primary-yellow);

    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);

    /* AÃ§Ä±lÄ±Å animasyonu iÃ§in varsayÄ±lan olarak kÃ¼Ã§Ã¼ltÃ¼lmÃ¼Å ve aÅaÄÄ± kaydÄ±rÄ±lmÄ±Å */

    transform: translateY(30px) scale(0.9);

    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* SÄ±Ã§rama (Bouncy) hareketi */

}

.modal-overlay.active .modal-content {

    transform: translateY(0) scale(1);

}

.modal-title {

    color: var(--text-main);

    font-size: 1.6rem;

    font-weight: 800;

    text-align: center;

    margin-bottom: 20px;

}

.modal-

.modal-body p {

    margin-bottom: 10px;

}

/* ÃarpÄ± (Kapatma) Butonu */

.close-btn {

    position: absolute;

    top: -15px;

    right: -15px;

    width: 44px;

    height: 44px;

    background-color: #FF4D6D; /* TatlÄ± pembe/kÄ±rmÄ±zÄ± tonu */

    color: white;

    border: 4px solid white;

    border-radius: 50%;

    font-size: 1.4rem;

    font-weight: bold;

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);

    transition: all 0.2s ease;

}

.close-btn:hover {

    transform: scale(1.1) rotate(90deg); /* Ãzerine gelince biraz dÃ¶nme ve bÃ¼yÃ¼me */

    background-color: #FF3355;

}

/* ============================================================== */

/* OYUN HAZIRLIK (PREP) SAYFALARI Ä°ÃÄ°N STÄ°LLER                    */

/* ============================================================== */

/* --- Input ve Form AlanlarÄ± --- */

.input-group {

    width: 100%;

    margin-bottom: 20px;

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.input-label {

    font-weight: 700;

    color: var(--text-main);

    font-size: 0.95rem;

}

.custom-input {

    width: 100%;

    padding: 14px 20px;

    border-radius: 18px;

    border: 3px solid var(--primary-yellow-dark);

    font-size: 1.1rem;

    font-family: inherit;

    outline: none;

    transition: all 0.3s ease;

    box-shadow: inset 0px 4px 6px rgba(0,0,0,0.03);

    color: var(--text-main);

    background-color: #fffaee;

    font-weight: 600;

}

.custom-input::placeholder {

    color: #b5a25e;

    font-weight: 500;

}

.custom-input:focus {

    background-color: #ffffff;

    border-color: var(--text-main);

    box-shadow: 0px 0px 0px 4px rgba(75, 0, 130, 0.15);

}

.custom-input:disabled {

    background-color: #e9e9e9;

    border-color: #ccc;

    color: #777;

    cursor: not-allowed;

}

/* --- Kategori KartlarÄ± IzgarasÄ± (Grid) --- */

.category-grid {

    display: grid;

    /* Mobilde 3 sÃ¼tun sÄ±Äacak Åekilde, aralarÄ±nda boÅlukla */

    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));

    gap: 12px;

}

.category-card {

    background-color: #FFFFFF;

    border: 3px solid #E6E6FA; /* AÃ§Ä±k lila kenarlÄ±k */

    border-radius: 20px;

    padding: 15px 5px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    cursor: pointer;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

}

.category-card:hover {

    transform: translateY(-3px);

    border-color: var(--primary-yellow-light);

    box-shadow: 0px 6px 12px rgba(0,0,0,0.06);

}

.category-card.selected {

    border-color: var(--text-main);

    background-color: var(--primary-yellow); /* Aktif kart tamamen sarÄ± oluyor */

    box-shadow: 0px 4px 0px var(--primary-yellow-dark);

    transform: translateY(-2px);

}

.category-icon {

    font-size: 2rem;

    line-height: 1;

}

.category-name {

    font-size: 0.8rem;

    font-weight: 800;

    color: var(--text-main);

    text-align: center;

}

/* --- Hazırlık Sayfaları İçin Standart Konteynır --- */

.prep-

.prep-container {

    width: 100%;

    max-width: 450px;

    display: flex;

    flex-direction: column;

    align-items: center;

}

/* --- Geri Butonu (Üst Sol) --- */

.back-header {

    width: 100%;

    max-width: 400px;

    display: flex;

    justify-content: flex-start;

    padding-bottom: 5px;

}

.back-btn {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    text-decoration: none;

    background-color: rgba(255, 255, 255, 0.4);

    border: 2px solid rgba(255, 255, 255, 0.6);

    padding: 8px 15px;

    border-radius: 20px;

    font-size: 1rem;

    font-weight: 800;

    color: var(--text-main);

    cursor: pointer;

    transition: all 0.2s ease;

}

.back-btn:hover {

    background-color: rgba(255, 255, 255, 0.8);

    transform: translateX(-4px);

}

.game-back-btn {

    position: fixed;

    top: 20px;

    left: 20px;

    z-index: 9999;

    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}

/* --- Oyun Kodu GÃ¶rÃ¼ntÃ¼leme Kutusu --- */

.code-box {

    background-color: #E6E6FA; /* Lila iÃ§i */

    border: 3px dashed var(--text-main);

    border-radius: 20px;

    padding: 15px;

    text-align: center;

    font-size: 1.8rem;

    font-weight: 900;

    color: var(--text-main);

    letter-spacing: 8px;

    margin: 15px 0 20px 0;

    box-shadow: inset 0px 4px 6px rgba(0,0,0,0.05);

}

/* --- AyraÃ§ (VEYA yazÄ±sÄ±) --- */

.divider {

    display: flex;

    align-items: center;

    text-align: center;

    color: #ffffff;

    font-weight: 800;

    font-size: 0.9rem;

    margin: 15px 0;

    width: 100%;

    max-width: 400px;

    opacity: 0.9;

}

.divider::before, .divider::after {

    content: '';

    flex: 1;

    border-bottom: 2px dashed rgba(255, 255, 255, 0.6);

}

.divider::before { margin-right: 15px; }

.divider::after { margin-left: 15px; }

/* --- Inaktif (BasÄ±lamaz) Buton Stili --- */

.btn:disabled {

    opacity: 0.4;

    cursor: not-allowed;

    background-color: #e2c000;

    transform: none !important;

    box-shadow: 0px 4px 0px var(--primary-yellow-dark) !important;

}

/* --- Avatar SeÃ§imi (Yeni Kare GÃ¶rsel Sistem) --- */

.selected-avatars-display {

    display: flex;

    justify-content: center;

    gap: 30px;

    margin-bottom: 25px;

}

.selected-avatar-box {

    width: 120px;

    height: 120px;

    background-color: #FFFFFF;

    border-radius: 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    position: relative;

    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);

    transition: all 0.3s ease;

    border: 4px solid var(--text-main);

}

.selected-avatar-box img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

/* TakÄ±m Renkleri (Mavi = 1. Oyuncu, KÄ±rmÄ±zÄ± = 2. Oyuncu / Robot) */

.team-blue-border {

    border-color: #00E5FF !important;

    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5) !important;

}

.team-red-border {

    border-color: #FF1744 !important;

    box-shadow: 0 0 20px rgba(255, 23, 68, 0.5) !important;

}

/* Galeriler */

.avatar-galleries {

    display: flex;

    flex-direction: column;

    gap: 15px;

}

.gallery-row {

    display: flex;

    justify-content: center;

    gap: 15px;

}

.gallery-item {

    width: 65px;

    height: 65px;

    border-radius: 10px;

    overflow: hidden;

    cursor: pointer;

    border: 3px solid #E6E6FA;

    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    background-color: #FFF;

}

.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.gallery-item:hover {

    transform: scale(1.1);

    border-color: var(--primary-yellow-light);

    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);

}

.gallery-item.selected {

    border-color: var(--primary-yellow);

    box-shadow: 0px 0px 12px var(--primary-yellow);

    transform: translateY(-3px) scale(1.05);

}

/* KullanÄ±cÄ± isteÄi: Kare butonlar iÃ§indeki resimlerin tam sÄ±ÄmasÄ± iÃ§in */

.sq-avatar-btn img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

/* --- Zorluk Seviyesi ButonlarÄ± --- */

.diff-group {

    display: flex;

    gap: 10px;

    background-color: #FFFFFF;

    border: 3px solid #E6E6FA;

    border-radius: 18px;

    padding: 6px;

}

.diff-btn {

    flex: 1;

    background: transparent;

    border: none;

    padding: 10px 0;

    font-weight: 800;

    font-size: 0.95rem;

    color: var(--text-main);

    border-radius: 12px;

    cursor: pointer;

    transition: all 0.2s ease;

}

.diff-btn:hover {

    background-color: rgba(230, 230, 250, 0.5);

}

.diff-btn.selected {

    background-color: var(--primary-yellow);

    box-shadow: 0px 3px 5px rgba(0,0,0,0.1);

    color: var(--text-main);

}

/* ============================================================== */

/* OYUN EKRANI STÄ°LLERÄ° (oyun.html)                               */

/* ============================================================== */

.game-

.game-container {

    width: 100%;

    max-width: 550px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 20px;

    flex: 1; /* EkranÄ± kaplamasÄ± iÃ§in */

}

/* --- Skor Tablosu (Ãst BÃ¶lÃ¼m) --- */

/* --- Skor Tablosu (Ãst BÃ¶lÃ¼m - Yeni Image_17 TasarÄ±mÄ±) --- */



.player-profile {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

}

.avatar-container {

    position: relative;

    width: 90px;

    height: 90px;

}

.avatar-box {

    width: 90px;

    height: 90px;

    background-color: #FFF;

    border: 6px solid #4A148C;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

    display: flex;

    justify-content: center;

    align-items: center;

}

.avatar-box img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

/* TakÄ±m Renkleri ve Glow Efektleri */

.team-blue-glow {

    border-color: #00E5FF !important;

    box-shadow: 0 0 25px rgba(0, 229, 255, 0.7) !important;

}

.team-red-glow {

    border-color: #FF1744 !important;

    box-shadow: 0 0 25px rgba(255, 23, 68, 0.7) !important;

}

.name-tag {

    background-color: var(--primary-yellow);

    color: var(--text-main);

    padding: 6px 15px;

    border-radius: 12px;

    font-weight: 800;

    font-size: 0.9rem;

    box-shadow: 0 4px 0 var(--primary-yellow-dark);

    min-width: 80px;

    text-align: center;

}

.score-box {

    display: flex;

    justify-content: center;

    align-items: center;

}

.score-hex {

    width: 60px;

    height: 68px;

    background: #FFD54F;

    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 1.4rem;

    font-weight: 900;

    color: #4A148C;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}

.score-hex.blue-text { color: #00B0FF; }

.score-hex.red-text { color: #D50000; }

/* ============================================================== */

/* OYUNCU BÄ°LGÄ°SÄ° VE SIRA ANÄ°MASYONLARI (MULTIPLAYER)             */

/* ============================================================== */

/* DÃ¶nen CanlÄ± IÅÄ±k SÃ¼zmesi (Glow) Animasyonu */

@keyframes spinGlow {

    0% { box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, inset 0 0 5px #FFD700; transform: scale(1); }

    50% { box-shadow: 0 0 20px #FFF, 0 0 35px #FFD700, inset 0 0 15px #FFD700; transform: scale(1.05); }

    100% { box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, inset 0 0 5px #FFD700; transform: scale(1); }

}

.player-info {

    display: none; /* Eski yapÄ± artÄ±k kullanÄ±lmÄ±yor */

}

/* SIRA KÄ°MDEYSE O PARLASIN (YENÄ° TASARIM UYUMU) */

.player-profile.active-turn .avatar-box {

    border-color: var(--primary-yellow) !important;

    animation: spinGlow 2s infinite ease-in-out;

}

.player-profile.active-turn .name-tag {

    transform: scale(1.1);

    background-color: #FFF;

    border: 2px solid var(--primary-yellow);

}

.player-info.right-aligned {

    justify-content: flex-end;

}

.avatar-circle {

    width: 60px;

    height: 60px;

    background-color: #FFF6C4;

    border-radius: 12px; /* Eskiden 50% idi, kareleÅtirildi */

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 2.5rem; 

    box-shadow: 0px 4px 0px rgba(0,0,0,0.15);

    overflow: hidden; /* Resimlerin taÅmasÄ±nÄ± Ã¶nle */

}

/* Oyun Ä°Ã§i Profil Kare Resim GÃ¶rÃ¼ntÃ¼leme */

.avatar-circle img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

/* Bot veya 2. Oyuncu iÃ§in Ã¶zel border rengi JS den gelecek. 

   VarsayÄ±lanlarÄ± koruduk. */

.bot-avatar {

    /* Background overwrite edilmesin */

}

.player-details {

    display: flex;

    flex-direction: column;

}

.player-name {

    font-weight: 900;

    font-size: 1.05rem;

    color: var(--text-main);

}

.player-score {

    font-size: 0.75rem;

    font-weight: 700;

    color: #4A148C;

    opacity: 0.8;

}

/* --- Kronometre (BÃ¼yÃ¼k Petek) --- */

.timer-wrapper {

    filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.2));

    z-index: 100;

}

.timer-hex {

    width: 60px;

    height: 70px;

    background-color: #FF4D6D;

    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 1.8rem;

    font-weight: 900;

    color: white;

    margin: 0 10px;

}

/* --- Puan Paneli (Petek Izgara H-Comb) --- */

.honeycomb-grid {

    display: flex;

    flex-wrap: nowrap; /* Her zaman tam ve ferah tek satÄ±rlÄ± dizilimi korur */

    justify-content: center;

    align-items: center;

    padding: 15px 5px; /* Mesafe optimize edildi */

    width: 100%;

    max-width: 100%;

}

.hex-row {

    display: none; /* ArtÄ±k kullanÄ±lmÄ±yor */

}

.hex-point {

    width: 63px; /* Ãok hafif kÃ¼Ã§Ã¼lterek ekstra o ferah boÅluk formunu yaratÄ±r */

    height: 73px;

    /* PÃ¼rÃ¼zsÃ¼z altÄ±gen doku ve sarÄ±/turuncu sÄ±cak degrade */

    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%), linear-gradient(135deg, #FFD54F 0%, #FFB300 50%, #FF8F00 100%);

    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 1.35rem;

    font-weight: 900;

    color: #000000; /* Net Siyah Puan */

    cursor: pointer;

    filter: drop-shadow(0px 4px 5px rgba(255, 143, 0, 0.4)); /* Bal mumu parlaklÄ±ÄÄ± efekti */

    transition: all 0.2s ease; /* AkÄ±cÄ± ve yumuÅak geÃ§iÅ */

    position: relative;

    z-index: 10;

    pointer-events: auto;

    flex-shrink: 0; /* Petek formlarÄ±nÄ±n bozulmamasÄ± saÄlanÄ±r */

    margin: 0 -5px; /* Aradaki yatay marj daraltÄ±larak boÅluk (gap) dengeli artÄ±rÄ±ldÄ±! */

}

/* Dinamik petek dizilimi - tam dikey kayma ile kovan boÅluklarÄ± hizalandÄ± */

.hex-point:nth-child(odd) {

    margin-top: 54px;

    margin-bottom: 0px;

}

.hex-point:nth-child(even) {

    margin-top: 0px;

    margin-bottom: 54px;

}

/* Mouse ile Ã¼zerine gelindiÄinde oluÅan parlama (Halo) ve bÃ¼yÃ¼me */

.hex-point:hover {

    transform: scale(1.1);

    filter: drop-shadow(0px 0px 12px rgba(255, 215, 0, 0.9)); /* AltÄ±n SarÄ±sÄ± ParlaklÄ±k */

    z-index: 20;

}

/* TÄ±klandÄ±ÄÄ±ndaki bÃ¼yÃ¼me ve Ã¼ste Ã§Ä±kma efekti */

.hex-point.pop-up {

    transform: scale(1.1);

    z-index: 20;

    position: relative;

}

/* Mavi TakÄ±m (Oyuncu 1 / Kurucu) */

.hex-point.correct-hex,

.hex-point.p1-correct {

    background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%) !important;

    color: #FFFFFF !important;

    filter: drop-shadow(0px 0px 15px rgba(0, 229, 255, 0.6)) !important;

    pointer-events: none !important;

    transform: scale(1);

}

/* KÄ±rmÄ±zÄ± TakÄ±m (Bot / KatÄ±lÄ±mcÄ±) */

.hex-point.bot-correct,

.hex-point.p2-correct {

    background: linear-gradient(135deg, #FF1744 0%, #D50000 100%) !important;

    color: #FFFFFF !important;

    filter: drop-shadow(0px 0px 15px rgba(255, 23, 68, 0.6)) !important;

    pointer-events: none !important;

    transform: scale(1);

}

/* Bilememe Durumu (Her ikisi de yanlÄ±Å) */

.hex-point.played {

    background: linear-gradient(135deg, #808080 0%, #424242 100%) !important;

    color: rgba(255, 255, 255, 0.6) !important;

    filter: grayscale(1) !important;

    pointer-events: none !important;

    transform: scale(1);

}

/* --- Alt BÃ¶lÃ¼m (Soru Paneli) --- */

.question-panel {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 5px; /* Header'a yaklaÅtÄ±rÄ±ldÄ± */

}

/* Yatay UzatÄ±lmÄ±Å AltÄ±gen iÃ§in GÃ¶lge Wrapper'Ä± */

.q-wrapper {

    filter: drop-shadow(0px 8px 10px var(--shadow-color));

}

.question-hex {

    width: 100%;

    min-height: 90px;

    background-color: #FFFFFF;

    /* Ä°ki ucu sivri (25px offsetli) yatay poligon */

    clip-path: polygon(25px 0%, calc(100% - 25px) 0%, 100% 50%, calc(100% - 25px) 100%, 25px 100%, 0% 50%);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px 40px;

    text-align: center;

}

#questionText {

    font-weight: 800;

    font-size: 1rem;

    color: var(--text-main);

    margin: 0;

    line-height: 1.4;

}

/* --- ÅÄ±k ButonlarÄ± --- */

.answers-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    transition: opacity 0.3s ease;

}

.ans-btn {

    background-color: #FFFFFF;

    border: 3px solid var(--primary-yellow);

    border-radius: 16px;

    padding: 15px 10px;

    font-weight: 800;

    color: var(--text-main);

    cursor: pointer;

    font-size: 1.05rem;

    transition: all 0.2s ease;

    box-shadow: 0px 4px 0px var(--primary-yellow-dark);

}

.ans-btn:hover {

    background-color: var(--primary-yellow-light);

    transform: translateY(2px);

    box-shadow: 0px 2px 0px var(--primary-yellow-dark);

}

.ans-btn.correct {

    background-color: #4CAF50;

    color: white;

    border-color: #2E7D32;

    box-shadow: 0px 4px 0px #2E7D32;

    transform: translateY(2px);

}

.ans-btn.wrong {

    background-color: #FF4D6D;

    color: white;

    border-color: #C62828;

    box-shadow: 0px 4px 0px #C62828;

    transform: translateY(2px);

}

/* Mobil Ufak Ekran Ekstra AyarlarÄ±: vw oranlarÄ± ile 95vw iÃ§ine sÄ±vÄ± denge (Fluid Scaling) */

@media screen and (max-width: 580px) {

    

    .avatar-box {

        width: 65px;

        height: 65px;

        border-width: 4px;

    }

    .name-tag {

        font-size: 0.7rem;

        padding: 4px 8px;

        min-width: 60px;

    }

    .score-hex {

        width: 45px;

        height: 52px;

        font-size: 1.1rem;

    }

    .timer-hex {

        width: 50px;

        height: 58px;

        font-size: 1.5rem;

    }

    .honeycomb-grid {

        width: 100vw;

        max-width: 96vw;

        padding: 30px 0;

    }

    .hex-point { 

        width: 11.2vw; 

        height: 13vw; 

        font-size: 3.1vw; 

        margin: 0 -1.1vw; 

    }

    .hex-point:nth-child(odd) { margin-top: 9vw; margin-bottom: 0px; }

    .hex-point:nth-child(even) { margin-top: 0px; margin-bottom: 9vw; }

    .question-hex {

        clip-path: polygon(15px 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0% 50%);

        padding: 15px 25px;

    }

}

/* ============================================================== */

/* FLAÅ VE GÃRSEL MÃDAHALE (OYUN)                                 */

/* ============================================================== */

/* TÃ¼m Ekran BaÅarÄ±/Hata FlaÅ Efektleri */

.flash-overlay-green {

    position: fixed; top: 0; left: 0; right: 0; bottom: 0;

    pointer-events: none; z-index: 9999;

    background-color: rgba(76, 175, 80, 0.45);

    animation: fadeOutFlash 0.6s ease-out forwards;

}

.flash-overlay-red {

    position: fixed; top: 0; left: 0; right: 0; bottom: 0;

    pointer-events: none; z-index: 9999;

    background-color: rgba(244, 67, 54, 0.45);

    animation: fadeOutFlash 0.6s ease-out forwards;

}

@keyframes fadeOutFlash { 0% { opacity: 1; } 100% { opacity: 0; } }

/* SIRA RAKÄ°PTE (TOUR) OVERLAY */

.modal-overlay {

    position: fixed;

    top: 0; left: 0; width: 100%; height: 100%;

    background-color: rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(8px); /* Ä°stenilen hafif bulanÄ±klÄ±k */

    display: none; justify-content: center; align-items: center;

    z-index: 10500;

}

.modal-overlay.active {

    display: flex !important;

}

.modal-content {

    background-color: #fff;

    padding: 30px;

    border-radius: 20px;

    width: 90%; max-width: 400px;

    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);

    position: relative;

    border: 5px solid var(--primary-yellow);

}

.modal-content.rules-content {

    background-color: #FFF9C4; /* YumuÅak SarÄ± Arka Plan */

    border-color: #FFD54F;

    box-shadow: 0px 10px 40px rgba(74, 20, 140, 0.2);

}

.modal-content.rules-content p {

    margin-bottom: 12px;

    border-bottom: 1px dashed rgba(74, 20, 140, 0.2);

    padding-bottom: 8px;

}

.turn-overlay {

    position: fixed;

    top: 50%; left: 50%;

    transform: translate(-50%, -50%) scale(0);

    background-color: rgba(255, 255, 255, 0.95);

    border: 5px solid var(--primary-yellow);

    border-radius: 30px;

    padding: 30px 60px;

    z-index: 10000;

    box-shadow: 0 20px 50px rgba(0,0,0,0.3);

    opacity: 0;

    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    pointer-events: none;

    text-align: center;

}

.turn-overlay.show {

    transform: translate(-50%, -50%) scale(1);

    opacity: 1;

}

.turn-overlay h2 {

    color: var(--text-main);

    font-size: 2.2rem;

    font-weight: 900;

    margin: 0;

}

/* ============================================================== */

/* ÃOK OYUNCULU SENKRONÄ°ZASYON (SHAKE, BLUE)                      */

/* ============================================================== */

@keyframes shakeHex {

    0% { transform: translate(1px, 1px) rotate(0deg); }

    10% { transform: translate(-1px, -2px) rotate(-1deg); }

    20% { transform: translate(-3px, 0px) rotate(1deg); }

    30% { transform: translate(3px, 2px) rotate(0deg); }

    40% { transform: translate(1px, -1px) rotate(1deg); }

    50% { transform: translate(-1px, 2px) rotate(-1deg); }

    60% { transform: translate(-3px, 1px) rotate(0deg); }

    70% { transform: translate(3px, 1px) rotate(-1deg); }

    80% { transform: translate(-1px, -1px) rotate(1deg); }

    90% { transform: translate(1px, 2px) rotate(0deg); }

    100% { transform: translate(1px, -2px) rotate(-1deg); }

}

.shake {

    animation: shakeHex 0.4s;

    animation-iteration-count: 2;

}

/* Rakip rengi sÄ±nÄ±flarÄ± artÄ±k yukarÄ±daki ortak '.played' serisinde karanlÄ±k sarÄ± (amber) yapÄ±ldÄ± */

.ans-btn.p2-blue {

    background-color: #03A9F4;

    color: white;

    border-color: #0288D1;

    box-shadow: 0px 4px 0px #0288D1;

}

/* SÄ±ra bekleme ekranÄ± korumasÄ± (YarÄ± Åeffaf Kilit KatmanÄ±) */

#boardBlocker {

    position: absolute;

    top: 110px; /* Skor tablosunun altÄ±nda kalmasÄ± iÃ§in */

    left: 0; 

    width: 100%; 

    height: calc(100% - 110px);

    z-index: 8500;

    pointer-events: all;

    display: flex;

    justify-content: center;

    align-items: center; /* Ortaya hizala */

    background-color: rgba(255, 255, 255, 0.65); /* Hafif Åeffaf katman */

    backdrop-filter: blur(4px); /* BulanÄ±klÄ±k efekti */

    border-radius: 20px;

}

#boardBlocker.hidden {

    display: none !important;

}

#waitOverlayText {

    background-color: var(--primary-yellow);

    color: var(--text-main);

    padding: 15px 30px;

    border-radius: 15px;

    font-weight: 900;

    font-size: 1.2rem;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    animation: pulseLock 2s infinite;

}

@keyframes pulseLock { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.85; transform: scale(0.98); } 100% { opacity: 1; transform: scale(1); } }

/* --- Soru SeÃ§imi EsnasÄ±ndaki Sade TasarÄ±m (Hafif Renk AÃ§Ä±lmasÄ± ve BÃ¼yÃ¼me) --- */

.hex-point.selected-blue, .hexagon.selected-blue,

.hex-point.selected-red, .hexagon.selected-red {

    transform: scale(1.15) !important;

    z-index: 1000 !important;

    /* PeteÄin kendi renginin (SarÄ±) 2 ton aÃ§Ä±ÄÄ±: Parlak Limon SarÄ±sÄ± */

    background: linear-gradient(135deg, #FFF176 0%, #FFD600 100%) !important;

    box-shadow: none !important;

    outline: none !important;

    border: none !important;

    filter: none !important;

}

/* SeÃ§ili petek Ã¼zerindeki puanÄ±n gÃ¶rÃ¼nÃ¼rlÃ¼ÄÃ¼ */

.hex-point.selected-blue span, .hexagon.selected-blue span,

.hex-point.selected-red span, .hexagon.selected-red span {

    position: relative;

    z-index: 1001;

    font-weight: 800;

    text-shadow: none !important;

}

/* SeÃ§ili deÄilken parlama olmamasÄ± iÃ§in temizlik */

.hex-point:not(.selected-blue):not(.selected-red) {

    /* Normal durum */

}

/* Eski odak sÄ±nÄ±flarÄ± temizlendi */

.hex-point.opponent-focus {

    pointer-events: none;

}

/* --- Özel Çýkýþ Uyarý Modalý (Custom Modal) --- */

.custom-modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.6);

    backdrop-filter: blur(8px);

    display: none; /* Varsayýlan kapalý */

    justify-content: center;

    align-items: center;

    z-index: 10000;

    animation: fadeIn 0.3s ease;

}

.custom-modal-overlay.active {

    display: flex;

}

.custom-modal-content {

    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.5);

    padding: 40px;

    border-radius: 30px;

    text-align: center;

    max-width: 450px;

    width: 90%;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.custom-modal-content p {

    font-size: 1.2rem;

    font-weight: 800;

    color: #4A148C; /* Koyu Lila / Mor Tonu */

    line-height: 1.5;

    margin-bottom: 30px;

}

.custom-modal-content p span {

    color: #7B1FA2;

    font-size: 1rem;

    font-weight: 600;

    opacity: 0.8;

}

.modal-buttons {

    display: flex;

    gap: 15px;

    justify-content: center;

}

.m-btn {

    padding: 12px 25px;

    border: none;

    border-radius: 15px;

    font-size: 0.95rem;

    font-weight: 800;

    cursor: pointer;

    transition: all 0.2s ease;

    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

}

.m-btn-red {

    background-color: #FF1744; /* Kýrmýzý Takým Rengi */

    color: white;

}

.m-btn-red:hover {

    background-color: #D50000;

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(255, 23, 68, 0.3);

}

.m-btn-blue {

    background-color: #00E5FF; /* Mavi Takým Rengi */

    color: #004D40;

}

.m-btn-blue:hover {

    background-color: #00B8D4;

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(0, 229, 255, 0.3);

}

@keyframes fadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}

@keyframes zoomIn {

    from { transform: scale(0.85); opacity: 0; }

    to { transform: scale(1); opacity: 1; }

}

/* --- Oda Kodu Kopyalama Alaný --- */

.code-display-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    position: relative;

}

.copy-btn {

    background: rgba(255, 255, 255, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.4);

    color: white;

    width: 40px;

    height: 40px;

    border-radius: 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    transition: all 0.2s ease;

    position: relative;

    backdrop-filter: blur(5px);

}

.copy-btn:hover {

    background: rgba(255, 255, 255, 0.4);

    transform: scale(1.05);

    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);

}

.copy-btn .tooltip {

    position: absolute;

    bottom: 120%;

    left: 50%;

    transform: translateX(-50%);

    background: #4A148C;

    color: white;

    padding: 5px 12px;

    border-radius: 8px;

    font-size: 0.8rem;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);

    font-weight: 800;

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

}

.copy-btn .tooltip.visible {

    opacity: 1;

    bottom: 130%;

}

/* ============================================================== */

/* AYARLAR VE EK MODAL STİLLERİ                                    */

/* ============================================================== */

.settings-content {

    background: #FFFFFF !important;

    opacity: 1 !important;

    backdrop-filter: none !important;

    -webkit-backdrop-filter: none !important;

    border: 3px solid #4A148C !important; /* Daha belirgin bir kenarlık */

    border-radius: 30px !important;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;

    max-width: 450px !important;

}

/* Kategori Kart Modifiye (Ayarlar Paneli için) */

.settings-content .category-card {

    padding: 10px !important;

    min-height: 80px !important;

}

.settings-content .category-icon {

    font-size: 1.5rem !important;

}

.settings-content .category-name {

    font-size: 0.75rem !important;

}

/* Aktif Seçim Belirteci */

.category-card.active, .diff-btn.active {

    border: 2px solid #4A148C !important;

    background-color: rgba(74, 20, 140, 0.1) !important;

    box-shadow: 0 0 10px rgba(74, 20, 140, 0.2) !important;

}

/* E-mail Alanı (Nickname ile aynı stil) */

input[type='email'].custom-input {

    background: rgba(255, 255, 255, 0.9);

}

/* ============================================================== */

/* AYARLAR VE EK MODAL STİLLERİ (GLASSMORPHISM)                   */

/* ============================================================== */

/* Ayarlar Butonu Özel Animasyon (Dönme) */

/* Glassmorphism Ayarlar Paneli */

.settings-content {

    background: #FFFFFF !important;

    opacity: 1 !important;

    backdrop-filter: none !important;

    -webkit-backdrop-filter: none !important;

    border: 3px solid #4A148C !important; /* Daha belirgin bir kenarlık */

    border-radius: 30px !important;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;

    max-width: 450px !important;

}

.settings-content .modal-title {

    color: #4A148C !important;

    font-size: 1.8rem !important;

    text-shadow: 0 2px 4px rgba(0,0,0,0.1);

}

.settings-content .input-label {

    font-weight: 800 !important;

    color: #4A148C !important;

    text-transform: uppercase;

    font-size: 0.85rem;

    letter-spacing: 1px;

}

/* Kategori ve Zorluk Seçimlerinde Aktif Durum (Glassmorphism Glow) */

.settings-content .category-card.active, 

.settings-content .diff-btn.active {

    background: rgba(74, 20, 140, 0.2) !important;

    border: 2px solid #4A148C !important;

    box-shadow: 0 0 15px rgba(74, 20, 140, 0.3) !important;

    transform: translateY(-3px);

}

.settings-content .diff-btn {

    padding: 12px !important;

    border: 1px solid rgba(74, 20, 140, 0.1);

}

/* E-mail Input (Nickname ile birebir aynı) */

input[type='email'].custom-input {

    background-color: #fffaee !important; /* Nickname ile aynı sarımsı beyaz */

}

/* HOW TO PLAY butonunun hemen üstü için ayarlandı */

    left: 45px;

    display: flex;

    gap: 15px;

    z-index: 1000;

    align-items: center;

}

/* Ekrana sabitlendi */

    bottom: 40px;

    left: 40px;

    display: flex;

    gap: 15px;

    z-index: 2000;

    align-items: center;

}

/* Mobil için konum düzenlemesi */

@media screen and (max-width: 600px) {

}

/* EN SAĞ ALT KÖŞE */

    display: flex;

    flex-direction: column; /* ÜST ÜSTE DİZİLİM */

    gap: 15px;

    z-index: 2000;

    align-items: center;

}

/* Mobil cihazlar için ölçeklendirme */

@media screen and (max-width: 600px) {

}

 EN SAĞ ÜST KÖŞE */

    display: flex;

    flex-direction: row; /* YAN YANA DİZİLİM */

    gap: 15px;

    z-index: 2000;

    align-items: center;

}

/* Mobil cihazlar için ölçeklendirme */

@media screen and (max-width: 600px) {

}

/* --- ULTIMATE HEADER ICONS (GLOWING YELLOW HEXAGONS - HORIZONTAL - TOP RIGHT) --- */

/* Mobil Ölçeklendirme */

@media screen and (max-width: 600px) {

}

/* --- ULTIMATE SIDE-BY-SIDE HEADER ICONS (GLOWING YELLOW HEXAGONS) --- */

.header {

    position: fixed !important;

    top: 20px !important;

    right: 20px !important;

    display: flex !important;

    flex-direction: row !important; /* YAN YANA - KESİN ÇÖZÜM */

    flex-wrap: nowrap !important;   /* ALT SATIRA KAYMAYI ENGELLER */

    gap: 15px !important;           /* ARALARINDAKİ BOŞLUK */

    z-index: 9999 !important;

    align-items: center !important;

    width: auto !important;

    height: auto !important;

}

.icon-btn {

    display: flex !important;

    justify-content: center !important;

    align-items: center !important;

    width: 62px !important;

    height: 70px !important;

    background: linear-gradient(135deg, #FFEB3B 0%, #FBC02D 100%) !important;

    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;

    cursor: pointer !important;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;

    filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.8)) !important;

    border: none !important;

    padding: 0 !important;

    margin: 0 !important;

    color: #FFFFFF !important;

    font-size: 1.8rem !important;

    font-weight: 900 !important;

    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;

    pointer-events: auto !important;

}

.icon-btn:hover {

    transform: scale(1.1) !important;

    filter: drop-shadow(0 0 20px rgba(255, 235, 59, 1)) !important;

}

#settingsBtn:hover {

    transform: scale(1.1) rotate(90deg) !important;

}

/* Mobil Ölçeklendirme - Yan Yana Düzeni Koruyarak */

@media screen and (max-width: 600px) {

    .header {

        top: 15px !important;

        right: 15px !important;

        gap: 10px !important;

    }

    .icon-btn {

        width: 50px !important;

        height: 56px !important;

        font-size: 1.4rem !important;

    }

}

/* 1. Seçilme Efekti (Active/Secili) */

.hex-point.active {

    transform: scale(1.15) !important;

    z-index: 100 !important;

    background: linear-gradient(135deg, #FFF176 0%, #FFEB3B 100%) !important; /* Parlak Sarı */

    filter: drop-shadow(0 0 15px rgba(255, 235, 59, 0.8)) !important;

    border: 3px solid #FBC02D !important;

    animation: pulseSelection 1.5s infinite alternate !important;

}

@keyframes pulseSelection {

    from { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 235, 59, 0.6)); }

    to { transform: scale(1.2); filter: drop-shadow(0 0 20px rgba(255, 235, 59, 1)); }

}

/* 2. Oyuncu 1 (Host) Kazandı - Mor */

.hex-point.host_won {

    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%) !important; /* Mor */

    color: #FFFFFF !important;

    filter: drop-shadow(0 0 15px rgba(123, 31, 162, 0.6)) !important;

    pointer-events: none !important;

    transform: scale(1) !important;

}

/* 3. Oyuncu 2 (Joiner) Kazandı - Lila/Sarı Karışımı */

.hex-point.joiner_won {

    background: linear-gradient(135deg, #E1BEE7 0%, #FFD54F 100%) !important; /* Lila ve Sarı Geçişli */

    color: #4A148C !important;

    filter: drop-shadow(0 0 15px rgba(225, 190, 231, 0.6)) !important;

    pointer-events: none !important;

    transform: scale(1) !important;

}

/* 4. Kimse Bilemedi (Pasif) - Mat Gri */

.hex-point.dead {

    background: linear-gradient(135deg, #BDBDBD 0%, #757575 100%) !important; /* Mat Gri */

    color: rgba(255, 255, 255, 0.5) !important;

    filter: grayscale(1) !important;

    pointer-events: none !important;

    opacity: 0.7 !important;

    transform: scale(0.95) !important;

}

.hex-point.host_won span, .hex-point.joiner_won span, .hex-point.dead span {

    text-shadow: none !important;

}

/* 1. Seçilme Efekti (Active/Secili) - Parlak Sarı Neon */

.hex-point.active {

    transform: scale(1.15) !important;

    z-index: 100 !important;

    background: linear-gradient(135deg, #FFFF00 0%, #FFEA00 100%) !important; /* Ultra Parlak Sarı */

    filter: drop-shadow(0 0 20px rgba(255, 234, 0, 0.9)) !important;

    border: 3px solid #FFFFFF !important;

    animation: hexPulseActive 1.2s infinite alternate !important;

}

@keyframes hexPulseActive {

    from { transform: scale(1.1); box-shadow: 0 0 10px rgba(255, 234, 0, 0.5); }

    to { transform: scale(1.18); box-shadow: 0 0 25px rgba(255, 234, 0, 1); }

}

/* 2. Oyuncu 1 (Host) - MAVİ */

.hex-point.host_won {

    background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%) !important;

    color: #FFFFFF !important;

    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.6)) !important;

    pointer-events: none !important;

    transform: scale(1) !important;

    border: 2px solid rgba(255, 255, 255, 0.3) !important;

}

/* 3. Oyuncu 2 (Joiner) - SARI */

.hex-point.joiner_won {

    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%) !important;

    color: #4A148C !important;

    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) !important;

    pointer-events: none !important;

    transform: scale(1) !important;

    border: 2px solid rgba(255, 255, 255, 0.3) !important;

}

/* 4. Yanlış Cevap / Bilememe (Pasif) - GRİ */

.hex-point.dead {

    background: linear-gradient(135deg, #9E9E9E 0%, #616161 100%) !important;

    color: rgba(255, 255, 255, 0.5) !important;

    filter: grayscale(1) opacity(0.6) !important;

    pointer-events: none !important;

    transform: scale(0.95) !important;

    border: 1px solid rgba(255, 255, 255, 0.1) !important;

}

.hex-point.host_won span, .hex-point.joiner_won span, .hex-point.dead span {

    text-shadow: none !important;

}

/* --- MULTIPLAYER HEXAGON STATES (BLUE vs RED - BORDERLESS) --- */

/* 1. Seçilme Efekti (Active) - Parlak Sarı Neon */
.hex-point.active {
    transform: scale(1.15) !important;
    z-index: 100 !important;
    background: linear-gradient(135deg, #FFFF00 0%, #FFD600 100%) !important;
    filter: drop-shadow(0 0 20px rgba(255, 214, 0, 0.8)) !important;
    border: none !important; /* ÇERÇEVE YASAĞI */
    outline: none !important;
    animation: hexPulseSelection 1.2s infinite alternate !important;
}

@keyframes hexPulseSelection {
    from { transform: scale(1.1); }
    to { transform: scale(1.18); }
}

/* 2. Oyuncu 1 (Host) - MAVİ */
.hex-point.host_won {
    background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%) !important;
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.7)) !important;
    pointer-events: none !important;
    transform: scale(1) !important;
    border: none !important; /* ÇERÇEVE YASAĞI */
    outline: none !important;
}

/* 3. Oyuncu 2 (Joiner) - KIRMIZI */
.hex-point.joiner_won {
    background: linear-gradient(135deg, #FF1744 0%, #D50000 100%) !important;
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 18px rgba(255, 23, 68, 0.7)) !important;
    pointer-events: none !important;
    transform: scale(1) !important;
    border: none !important; /* ÇERÇEVE YASAĞI */
    outline: none !important;
}

/* 4. Yanlış Cevap / Bilememe (Pasif) - GRİ */
.hex-point.dead {
    background: linear-gradient(135deg, #9E9E9E 0%, #616161 100%) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    filter: grayscale(1) opacity(0.6) !important;
    pointer-events: none !important;
    transform: scale(0.95) !important;
    border: none !important; /* ÇERÇEVE YASAĞI */
    outline: none !important;
}

.hex-point.host_won span, .hex-point.joiner_won span, .hex-point.dead span {
    text-shadow: none !important;
}

/* --- SCOREBOARD POSITIONING FIX --- */
.scoreboard-row {
    margin-top: 60px !important; /* Geri butonu ile çakışmayı önlemek için aşağı çekildi */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media screen and (max-width: 600px) {
    .scoreboard-row {
        margin-top: 50px !important;
    }
}


/* --- HAZIRLIK SAYFALARI (MOBILE COMPATIBLE) --- */


.prep-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Mobile Background Adjustment */
@media screen and (max-width: 768px) {
    .hexagon-grid-bg {
        position: absolute !important; /* Fixed mobilde beyazlığa neden olabilir */
        height: 100% !important;
        min-height: 100vh !important;
    }
}


/* --- HAZIRLIK SAYFALARI (TEK PARÇA PÜRÜZSÜZ ARKA PLAN) --- */
.prep-body {
    background-color: #a29bfe !important;
    background: #a29bfe !important; /* İki parça görüntüsünü engellemek için düz renk */
    background-size: cover !important;
    background-attachment: fixed !important;
    
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 !important; /* Margin/Padding sıfırlandı */
    margin: 0 !important;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}


/* --- PETEK GAME EXIT MODAL (PREMIUM DESIGN) --- */
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 10, 60, 0.6); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 10000; opacity: 0; transition: opacity 0.3s ease; }
.custom-modal-overlay.active { display: flex; opacity: 1; }
.custom-modal-content { background: #f8f9fa; width: 90%; max-width: 420px; border-radius: 40px; padding: 35px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.3); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.custom-modal-overlay.active .custom-modal-content { transform: scale(1); }
.custom-modal-content p { color: #4A148C; font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.custom-modal-content p span { color: #9B6BBF; font-size: 1.1rem; font-weight: 600; display: block; margin-top: 8px; }
.modal-buttons { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
.m-btn { border: none; padding: 15px 25px; border-radius: 20px; font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: all 0.2s ease; flex: 1; }
.m-btn-red { background: #FF3B5C; color: white; box-shadow: 0 6px 0 #D32F2F; }
.m-btn-red:active { transform: translateY(4px); box-shadow: 0 2px 0 #D32F2F; }
.m-btn-blue { background: #00E5FF; color: #4A148C; box-shadow: 0 6px 0 #00B8D4; }
.m-btn-blue:active { transform: translateY(4px); box-shadow: 0 2px 0 #00B8D4; }
