/* Steam Pusula - Full Responsive CSS */
body { 
    background: #1b2838;
    background-image: url('https://store.cloudflare.steamstatic.com/public/images/v6/home/background_main_v6.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    color: #c6d4df; 
    font-family: 'Motiva Sans', Arial, sans-serif; 
    margin: 0;
    padding: 10px;
}



.card { 
    background: rgba(27, 40, 56, 0.98); 
    max-width: 940px; 
    margin: 10px auto;
    padding: 10px; 
    border-radius: 4px; 
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8); 
    border: 1px solid rgba(102, 192, 244, 0.1);
}


.header-text { flex: 1; min-width: 250px; }

h1 { color: #fff; font-size: 28px; margin: 0; font-weight: 500; }

/* Galeri Alanı */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.main-img-box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-grid img {
    width: 100%;
    height: auto;
    opacity: 0.6;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 2px;
}

.thumb-grid img:hover { opacity: 1; outline: 2px solid #66c0f4; }

/* İçerik ve Buton */
.description { 
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.install-bar {
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
}

.btn-green { 
    padding: 12px 35px; 
    background: linear-gradient( to right, #75b022 5%, #588a1b 95%);
    color: #fff; 
    text-decoration: none; 
    border-radius: 2px; 
    font-weight: bold; 
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-green:hover { background: linear-gradient( to right, #8ed629 5%, #6aa621 95%); }

/* --- Mobil Uyumluluk (Responsive) --- */
@media (max-width: 600px) {
    h1 { font-size: 22px; }
    .header-flex { justify-content: center; text-align: center; }
    .install-bar { justify-content: center; text-align: center; }
    .btn-green { width: 100%; box-sizing: border-box; }

}


/* Galeri Izgarası (Grid) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Resimler otomatik sığar */
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-grid a {
    display: block;
    aspect-ratio: 16 / 9; /* Tüm resimleri aynı orana zorlar */
    overflow: hidden;
    border-radius: 4px;
     border: 1px solid rgba(102, 192, 244, 0.3);
    background: #000;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resim yamulmadan alanı doldurur */
    transition: transform 0.3s ease, opacity 0.3s;
    opacity: 0.8;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Diğer Tasarım Öğeleri */
.header-flex { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
h1 { color: #fff; margin: 0; font-size: 24px; }

.description { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 4px; color: #acb2b8; margin-bottom: 20px; }

.install-bar {
    background: #0000004d;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
        text-align:left;

}

.btn-green { 
    padding: 12px 30px; 
    background: linear-gradient(to right, #75b022 5%, #588a1b 95%);
    color: #fff; 
    text-decoration: none; 
    font-weight: bold;
    border-radius: 2px;
    text-align:center;

}



/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; } /* Mobilde yan yana 2 resim */
}


.short-description {
    margin-top: 8px;
    font-size: 14px;
    color: #898e91; /* Steam'in ikincil yazı rengi */
    line-height: 1.4;
    max-width: 500px; /* Okunabilirliği artırmak için genişliği sınırladık */
}

/* Mobil cihazlarda açıklamanın ortalanması için */
@media (max-width: 600px) {
    .short-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
    }
}

.video-wrapper {
    margin: 30px auto; /* Üstten-alttan boşluk bırak ve ortala */
    max-width: 700px;  /* VİDEO GENİŞLİĞİNİ BURADAN KISABİLİRSİN (Örn: 600px veya 700px) */
    width: 100%;
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Oranı */
    position: relative;
    height: 0;
    border-radius: 4px;
    border: 1px solid rgba(102, 192, 244, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000; /* Video yüklenirken siyah dursun */
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Mobilde video tekrar tam genişlik olsun */
@media (max-width: 600px) {
    .video-wrapper {
        max-width: 100%; 
    }
}


.acklama{
font-size: 15px;
color: #c6d4df;

    
}

.li{
    color: #c6d4df;
}



.details-box {
    margin-top: 10px;
    overflow: hidden;
}

.details-header {
    width: 100%;
    background: rgba(102,192,244,0.12); /* açık ama yumuşak */
    color: #66c0f4;
    border: none;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .2s ease;
}

.details-header:hover {
    background: rgba(102,192,244,0.18);
}


.details-header .arrow {
    transition: transform .3s ease;
}

.details-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease;
    background: rgba(255,255,255,0.03);
}

.details-content ul {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.details-content li {
    padding: 6px 0;
    color: #c7d5e0;
    font-size: 15px;
}

.details-box.open .details-content {
    max-height: 400px;
    opacity: 1;
}

.details-box.open .arrow {
    transform: rotate(180deg);
}







.simple-widget {
    max-width: 680px;
    margin: 0 auto 10px;
    padding: 8px;
    background: linear-gradient(135deg, #3b4351, #282e39);
    border-radius: 4px;
    font-family: "Motiva Sans", Arial, sans-serif;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
    border-top: 1px solid #424c5c;
    border-left: 1px solid #424c5c;
}

/* Header */
.widget-header {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 15px;
}
.widget-header .title {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Body */
.widget-body {
    display: flex;
    gap: 12px;
}

/* Image */
.capsule {
    width: 184px;
    height: 69px;
    object-fit: cover;
    border-radius: 2px;
}

/* Info */
.widget-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

/* Discount */
.discount-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.discount-pct {
    background: #4c6b22;
    color: #a4d007;
    font-weight: bold;
    padding: 4px 6px;
    border-radius: 3px;
}
.prices .old {
    color: #738895;
    text-decoration: line-through;
    font-size: 13px;
}
.prices .new {
    color: #a4d007;
    font-weight: bold;
}

/* Button */
.buy-btn {
    align-self: flex-start;
    margin-top: 6px;
    padding: 6px 12px;
    background: linear-gradient(to bottom, #6fa720, #588a1b);
    color: #d2efa9;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
}
.buy-btn:hover {
    filter: brightness(1.1);
}








.widget-header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34px;
}

/* Oyun adı */
.widget-header .title {
    color: #f5f5f5;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 100px; /* logo alanı */
}

/* Sağdaki Steam logosu */
.steam-logo-bg {
    position: absolute;
     right: -20px;
    width: 100px;
    height: 100px;
    opacity: 0.50;       /* düşük opaklık */
    pointer-events: auto;
}

.discounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    gap: 10px;
    flex-wrap: wrap;
}

.discounts-header h2 {
    color: #66c0f4;
    font-size: 18px;
    margin: 0;
}

.sort-select {
    background: #1b2838;
    color: #c7d5e0;
    border: 1px solid #2a475e;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.widget-body {
    position: relative;
}

.capsule-link {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.widget-info {
    position: relative;
    z-index: 3; /* üstte kalsın */
}
/* Başlık ve Select kutusunu yan yana getiren kapsayıcı */
.section-header {
    display: flex;
    justify-content: space-between; /* Başlığı sola, kutuyu sağa yaslar */
    align-items: center;            /* Dikeyde aynı hizada tutar */
    width: 100%;
    margin-bottom: 20px;
    max-width: 680px;
    margin: 0 auto 16px;
}

/* Mobilde (isteğe bağlı) alt alta gelmesini istersen */
@media (max-width: 600px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Ana Kapsayıcı */
.header-flex {
    display: flex;
    flex-direction: column; /* Steam logosu üstte, içerik altta */
    gap: 20px;
    padding-bottom: 10px;
}

/* Steam Logosu Bölümü */
.steam-logo {
    width: 150px; /* Orijinal boyuta yakın */
    opacity: 0.70;
}

/* Eklenti Başlık ve Logo Bölümü */
.header-main {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.logo {
    width: 85px;
    height: 85px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    padding: 5px;
}

.header-text h1 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    letter-spacing: 1px;
    font-weight:bold;
}

.short-description {
    margin-top: 10px;
    color: #acb2b8;
    font-size: 15px;
    line-height: 1.5;
    max-width: 650px;
}

/* Mobil Düzenleme */
@media (max-width: 600px) {
    .header-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .short-description {
        text-align: center;
    }
}/* Linkin tasarımı bozmasını engelle */
.header-click-area {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none !important; /* Alt çizgiyi kesin olarak kapatır */
    color: inherit !important;        /* Yazı renklerini (beyaz/gri) olduğu gibi bırakır */
    outline: none;
}

/* Link içindeki h1 ve p etiketlerinin renklerini koru */
.header-click-area h1, 
.header-click-area p {
    text-decoration: none !important;
}@media (max-width: 768px) {
    /* Ana kapsayıcıyı dikey (üst üste) hale getirir */
    .header-click-area {
        flex-direction: column;
        align-items: center; /* Logoyu ve yazıyı ortalar */
        text-align: center;  /* Yazıları merkezler */
        gap: 15px;           /* Aradaki boşluğu daraltır */
    }

    /* Logonun mobilde çok büyük veya çok küçük kalmasını engeller */
    .logo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    /* Açıklama metninin sağdan soldan taşmasını önler */
    .short-description {
        font-size: 14px;
        max-width: 100%;
    }
    
   
}


/* Logoyu ve Paylaş Butonlarını Aynı Satıra Alır */
.header-top-row {
    display: flex;
    justify-content: space-between; /* Birini en sola, diğerini en sağa iter */
    align-items: center;            /* Dikeyde tam ortalar */
    margin-bottom: 15px;
    width: 100%;
}

/* Paylaş Buton Grubu */
.header-share {
    display: flex;
    gap: 4px;
}

/* Küçük Kare Butonlar */
.mini-share-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 71, 94, 0.6); /* Steam mavisi şeffaf */
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hover Efektleri */
.mini-share-btn.wa, .mini-share-btn.tw:hover, mini-share-btn.fb { background: rgba(66, 118, 168, 0.35); }




/* Ana Kapsayıcı: İçindekileri alt alta dizer */
.header-share-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Sağ tarafa yaslar */
    gap: 10px;
}

/* Üst Kısım: Paylaşım Butonları Yan Yana */
.share-top {
    display: flex;
    gap: 8px;
}

/* Alt Kısım: Dil Seçici Genişliği Butonlarla Uyumlu */
.share-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.lang-dropdown {
    position: relative;
    width: 60px; /* Butonların toplam genişliğine göre ayarlanabilir */
}

.lang-trigger {
    background: #171a21;
    border: 1px solid #30333b;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.lang-trigger:hover { border-color: #66c0f4; }

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #171a21;
    border: 1px solid #3d4450;
    z-index: 1000;
    width: 100%;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.lang-dropdown:hover .lang-options { display: block; }

.lang-options a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: #c5c3c0;
    text-decoration: none;
    font-size: 10px;
}

.lang-options a:hover { background: #3d4450; color: #fff; }
.lang-options a.active { background: #1b2838; color: #66c0f4; }

.lang-trigger img, .lang-options img { width: 16px; border-radius: 2px; }


/* Sadece skeleton-loader sınıfı olan linklerde çalışır */
.gallery-grid a.skeleton-loader {
    position: relative;
    display: block;
    background-color: #1b2838;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.gallery-grid a.skeleton-loader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    z-index: 1;
}

/* Resim yüklendiğinde animasyon kalkacağı için bu sabit kalır */
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.backlogo {
    display: flex;
    justify-content: center; /* Yatayda ortalar */
    align-items: center;     /* Dikeyde ortalar */
    background: transparent; /* Arka planı şeffaf tutar */
    width: 100%;             /* Alanı kaplar */
}

.logao {
    width: 100px;             /* Logoyu ufak yapar */
    height: auto;            /* Oranları korur */
    opacity: 0.7;            /* %50 yerine %80 yaparak biraz daha görünür kıldık */
}
