@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;700;800&subset=latin,latin-ext&display=swap');

/* ============================================================
   PINFOX — style.css
   ============================================================ */

/* FONT TANIMLARI */

@font-face {
    font-family: 'Dense';
    src: url('/assets/fonts/Dense-Regular.otf?v=6') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Dense';
    src: url('/assets/fonts/Dense-Bold.ttf?v=6') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Dense';
    src: url('/assets/fonts/Dense-Thin.ttf?v=6') format('truetype');
    font-weight: 200;
}

/* DİL BAZLI FONT OVERRİDELAR */
:lang(ar) { font-family: 'Cairo', sans-serif; direction: rtl; }
:lang(ja) { font-family: 'Noto Sans JP', sans-serif; }
:lang(ko) { font-family: 'Noto Sans KR', sans-serif; }
:lang(zh) { font-family: 'Noto Sans SC', sans-serif; }

/* GENEL */

body {
    margin: 0;
    background: #1E1836;
    color: white;
    font-family: 'Barlow Condensed', 'Dense', sans-serif;
}

.glass-strong {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) inset;
}

.glass-soft {
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.04) inset;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.glass-border {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) inset;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
}

.top-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0 20px 0;
}


/* SEARCH */

.search-section {
    display: flex;
    gap: 12px;
    flex: 1;
}

.search-section input::placeholder {
    color: #8B8BAF;
    opacity: 1;
}

.search-section input {
    flex: 1;
    height: 56px;
    padding: 0 20px;
    border-radius: 14px;
    border: none;
    background: #2A2345;
    color: white;
    font-size: 30px;
    font-family: 'Dense', sans-serif;
    font-weight: 400;
}

.search-btn {
    border-radius: 10px;
    border: none;
    background: linear-gradient(to bottom, #F97543, #772E2D);
    color: white;
    cursor: pointer;
    height: 56px;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) inset,
                0 6px 16px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.search-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease;
}

.search-btn:hover .search-icon {
    transform: scale(1.1);
}

/* CATEGORIES */

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.cat {
    position: relative;
    padding: 30px;
    border-radius: 14px;
    min-height: 130px;
    height: 130px;
    overflow: hidden;
}

.games {
    background:
        url('/assets/back_games.svg?v=6') no-repeat right center,
        linear-gradient(to bottom, #F97543, #772E2D);
    background-size: 120px auto, cover;
}

.tools {
    background:
        url('/assets/back_tools.svg?v=6') no-repeat right center,
        linear-gradient(to bottom, #AEAE29, #5C5938);
    background-size: 120px auto, cover;
}

.social {
    background:
        url('/assets/back_social.svg?v=6') no-repeat right center,
        linear-gradient(to bottom, #10B18C, #235D6A);
    background-size: 120px auto, cover;
}

/* BAŞLIK + SAYAÇ */

.cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cat-header h2 {
    font-weight: 700;
    font-size: 48px;
    margin: 0;
    letter-spacing: 1px;
}

.counter {
    font-weight: 200;
    font-size: 48px;
    opacity: 0.9;
}

/* AÇIKLAMA */

.cat p {
    font-weight: 400;
    margin: 0;
    font-size: 30px;
    line-height: 1;
}

/* CAT İKON */

.cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-icon img {
    width: 38px;
    height: auto;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.cat:hover .cat-icon img {
    transform: scale(1.2);
}

/* ALT KARTLAR */

.card {
    height: 220px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #373050, #282145);
    height: 230px;
    width: 90%;
    margin: 0 auto;
}

.cat-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #272042;
    border-radius: 10px;
    overflow: visible;
}

.sub-area {
    padding: 2px 24px 24px 24px;
    display: grid;
    gap: 24px;
}

.sub-area .card {
    width: 100%;
    margin: 0;
}

/* FİLTRE */

.filter-box {
    padding: 0 24px;
    margin: 0px 0 4px 0;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 400;
    color: #8B8BAF;
    user-select: none;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    font-size: 30px;
    color: #8B8BAF;
    padding-left: 2px;
}

.filter-box.active .filter-content {
    max-height: 60px;
    margin-top: 4px;
}

.filter-box.active .arrow-icon {
    transform: rotate(180deg);
}

/* OYUN / ARAÇ KARTLARI */

.game-card {
    position: relative;
    overflow: hidden;
}

.card-bottom {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.card-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 25px;
    color: #FFFFFF;
}

.stat-icon {
    width: 20px;
    height: 20px;
    color: #B8B8E0;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.play-btn {
    width: 80px;
    height: 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Dense', sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: white;
    background: linear-gradient(to bottom, #473E6A, #261E44);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.04) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.play-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.04) inset,
                0 8px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.15) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* KART GÖRSELLERİ */

.tool-kdv {
    background-image: url('/assets/images/image_tool_kdvhesaplayici.png?v=6');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tool-kdv::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.game-racire {
    background-image: url('/assets/images/image_game_racire.png?v=6');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.game-racire::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.tool-renk-donusturucu {
    background-image: url('/assets/images/image_tool_renkdonusturucu.png?v=6');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tool-renk-donusturucu::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

/* KART ORTASI YAZI */
.card-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
    padding-bottom: 30px; /* buton alanı için hafif yukarı kaydır */
}

.card-label-main {
    display: block;
    font-family: 'Barlow Condensed', 'Dense', sans-serif;
    font-weight: 800;
    font-size: 72px;
    color: white;
    letter-spacing: 4px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.6);
    line-height: 1;
}

.card-label-sub {
    display: block;
    font-family: 'Barlow Condensed', 'Dense', sans-serif;
    font-weight: 500;
    font-size: 34px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    margin-top: 4px;
}

/* DİVİDER */

.top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-divider {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .categories {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .search-section {
        width: 100%;
    }

    .logo,
    .lang {
        display: inline-flex;
    }

    .top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
}

.lang-wrap:hover .lang-dropdown {
    max-height: 400px;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.lang-wrap:hover .lang-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

a.lang, .lang {
    height: 56px;
    padding: 0 14px;
    border-radius: 10px;
    background: #2A2345;
    color: #8B8BAF;
    border: none;
    font-size: 26px;
    font-family: 'Barlow Condensed', 'Dense', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.tool-sifre-uretici {
    background-image: url('/assets/images/image_tool_sifreuretici.jpg?v=6');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tool-sifre-uretici::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
}/* v=1772702301 */
