
/* Genel ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fffafd;
    color: #514653;
}

/* Üst menü */
header {
    height: 85px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-bottom: 1px solid #f5eaf2;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: #b77ab4;
    text-decoration: none;
    letter-spacing: -2px;
}

.logo span {
    color: #f2a6bd;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #786b78;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: #c27db6;
}

.login-button {
    background: #f5e6f2;
    color: #a76b9f;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
}

/* Karşılama alanı */
.hero {
    min-height: 470px;
    margin: 35px 6%;
    padding: 70px 8%;
    border-radius: 30px;
    background: linear-gradient(120deg, #fce9f0, #eee8fa);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.hero-content {
    max-width: 550px;
}

.small-label {
    display: inline-block;
    background: white;
    color: #b276aa;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 13px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    color: #58485c;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #c17db4;
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    color: #796c7b;
    margin-bottom: 30px;
}

.main-button {
    display: inline-block;
    background: #bd82b6;
    color: white;
    padding: 15px 27px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.main-button:hover {
    background: #a86ca1;
    transform: translateY(-3px);
}

/* Sağ taraftaki dekorasyon */
.hero-decoration {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 30px;
}

.decoration-circle {
    font-size: 110px;
    color: #d99bc7;
}

.decoration-star {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 45px;
    color: #e4a6b9;
}

.decoration-text {
    position: absolute;
    bottom: -20px;
    right: -35px;
    background: white;
    padding: 18px 25px;
    border-radius: 18px;
    color: #ae79a8;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 8px 25px #d9c5d955;
}

/* Koleksiyonlar */
.collections {
    padding: 70px 8%;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span {
    font-size: 12px;
    letter-spacing: 3px;
    color: #bd82b6;
    font-weight: bold;
}

.section-heading h2 {
    font-size: 36px;
    margin: 12px 0;
    color: #594a5c;
}

.section-heading p {
    color: #8c7f8e;
    font-size: 14px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 1050px;
    margin: auto;
}

.collection-card {
    padding: 35px;
    min-height: 280px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.mlp-card {
    background: linear-gradient(135deg, #f9e6f2, #eae5fa);
}

.coming-card {
    background: linear-gradient(135deg, #f7edf0, #f8f1e8);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.coming-icon {
    font-size: 48px;
    color: #d7a7b9;
    margin-bottom: 15px;
}

.card-category {
    font-size: 10px;
    letter-spacing: 2px;
    color: #a77b9e;
    font-weight: bold;
}

.collection-card h3 {
    font-size: 25px;
    color: #594b60;
    margin: 10px 0;
}

.collection-card p {
    color: #837587;
    font-size: 14px;
    line-height: 1.7;
    max-width: 330px;
}

.collection-button {
    margin-top: 22px;
    padding: 12px 22px;
    border: none;
    border-radius: 20px;
    background: white;
    color: #ae79a8;
    cursor: pointer;
}

.coming-label {
    display: inline-block;
    margin-top: 20px;
    padding: 9px 17px;
    background: white;
    border-radius: 20px;
    color: #c18da5;
    font-size: 11px;
    letter-spacing: 2px;
}

/* Alt bölüm */
.bottom-section {
    text-align: center;
    padding: 65px 20px;
    background: #faf0f7;
}

.bottom-section h2 {
    font-size: 26px;
    color: #725a75;
    margin-bottom: 12px;
}

.bottom-section p {
    color: #948497;
    font-size: 14px;
}

/* Footer */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 8%;
    background: white;
}

footer p {
    color: #a193a3;
    font-size: 12px;
}

/* Telefon ve tablet uyumu */
@media (max-width: 750px) {

    header {
        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .hero {
        margin: 20px 4%;
        padding: 45px 8%;
    }

    .hero-decoration {
        display: none;
    }

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

    .collections {
        padding: 50px 5%;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================
   MY LITTLE PONY KATALOG
========================= */

.mlp-page {
    min-height: 80vh;
    padding: 55px 8%;
}

.mlp-intro {
    text-align: center;
    padding: 35px 15px 65px;
}

.back-link {
    display: block;
    text-align: left;
    color: #a77b9e;
    text-decoration: none;
    margin-bottom: 45px;
    font-size: 14px;
}

.mlp-intro h1 {
    font-size: 45px;
    color: #594a5c;
    margin: 18px 0;
}

.mlp-intro h1 span {
    color: #d994b9;
}

.mlp-intro p {
    color: #887b8c;
    line-height: 1.7;
}

.catalog-section {
    margin-bottom: 65px;
}

.catalog-heading {
    margin-bottom: 25px;
}

.section-eyebrow {
    color: #bd82b6;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.catalog-heading h2 {
    color: #594a5c;
    font-size: 29px;
    margin: 8px 0;
}

.catalog-heading p {
    color: #948497;
    font-size: 14px;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.series-card {
    text-align: left;
    border: 0;
    border-radius: 23px;
    padding: 30px;
    min-height: 230px;
    background: linear-gradient(135deg, #f9e6f2, #eae5fa);
    cursor: pointer;
    transition: 0.25s;
    color: #594a5c;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px #c9a8c533;
}

.second-series {
    background: linear-gradient(135deg, #fcefe7, #f7e5ef);
}

.series-symbol {
    display: block;
    font-size: 35px;
    color: #c17db4;
    margin-bottom: 15px;
}

.series-number {
    font-size: 10px;
    letter-spacing: 2px;
    color: #a77b9e;
}

.series-card h3 {
    font-size: 23px;
    margin: 10px 0;
}

.series-card p {
    color: #887b8c;
    font-size: 13px;
}

.series-action {
    display: block;
    margin-top: 20px;
    color: #a76b9f;
    font-size: 13px;
    font-weight: bold;
}

.hidden {
    display: none !important;
}

/* Kart listesi */

.catalog-info {
    display: flex;
    justify-content: space-between;
    color: #9a849a;
    font-size: 13px;
    margin-bottom: 22px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.catalog-card {
    background: white;
    border: 1px solid #f1e6ef;
    border-radius: 18px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: 0.25s;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px #d9c5d933;
}

.card-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 13px;
    background: linear-gradient(145deg, #f9e7f2, #e8e5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #ad7da8;
    font-size: 14px;
    text-align: center;
}

.card-placeholder span {
    font-size: 38px;
}

.catalog-card h3 {
    font-size: 15px;
    color: #625367;
    margin: 12px 3px 5px;
}

.catalog-card p {
    font-size: 12px;
    color: #a18fa3;
    margin: 0 3px 8px;
}

.card-owned-label {
    display: inline-block;
    margin: 5px 3px;
    padding: 6px 10px;
    background: #e8f4ed;
    color: #619477;
    border-radius: 15px;
    font-size: 10px;
}

/* Kart detay penceresi */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(53, 39, 55, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    background: #fffafd;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    text-align: center;
}

.modal-content h2 {
    color: #594a5c;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 12px;
    border: none;
    background: none;
    font-size: 28px;
    color: #9c829c;
    cursor: pointer;
}

.modal-card-face {
    min-height: 240px;
    border-radius: 15px;
    background: linear-gradient(145deg, #f9e7f2, #e8e5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a77b9e;
    padding: 20px;
    margin-bottom: 20px;
}

.modal-content p {
    color: #847487;
    font-size: 14px;
    margin: 8px 0;
}

.owned-button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 22px;
    background: #bd82b6;
    color: white;
    cursor: pointer;
}

.owned-button.is-owned {
    background: #79a98c;
}

/* Küçük ekranlar */

@media (max-width: 750px) {
    .mlp-page {
        padding: 35px 5%;
    }

    .mlp-intro h1 {
        font-size: 34px;
    }

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

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .catalog-heading h2 {
        font-size: 25px;
    }
}

.card-face-image {
    width: 100%;
    max-width: 350px;
    height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

#modal-card-face {
    width: 100%;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-card-face img {
    width: 300px !important;
    height: 450px !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-card-face img {
    width: 300px;
    height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* Kart katalog görselleri */
.catalog-card-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Kart görselinin bulunduğu alan */
.card-placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ALT SERİ KUTUCUKLARI */
.subseries-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.subseries-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid #ead5ff;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subseries-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(160, 100, 200, 0.18);
}

.subseries-image-area {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

.subseries-image-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.subseries-image-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b58bd5;
    font-size: 36px;
}

.subseries-name {
    color: #513276;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

/* Ekran boyutuna göre sütun sayısı */
@media (max-width: 900px) {
    .subseries-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .subseries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .subseries-card {
        padding: 7px;
    }

    .subseries-name {
        font-size: 14px;
    }
}

/* NADİRLİK FİLTRELERİ */
.rarity-filter-area {
    margin: 18px 0 22px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid #ead5ff;
    border-radius: 16px;
}

.rarity-filter-title {
    color: #513276;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.rarity-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.rarity-filter-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #dec5f5;
    border-radius: 10px;
    color: #513276;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.rarity-filter-option:has(input:checked) {
    background: #ead5ff;
    border-color: #b58bd5;
}

.rarity-filter-option input {
    accent-color: #9562c2;
    cursor: pointer;
}
/* KART KATALOĞU - KOMPAKT TASARIM */

/* Masaüstünde 6 kart */
#card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

/* Kart kutuları */
#card-grid .catalog-card {
    min-width: 0;
    padding: 10px;
    border-radius: 15px;
}

/* Kart görsel alanı */
#card-grid .card-placeholder {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
}

/* Gerçek kart fotoğrafları */
#card-grid .catalog-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Kart isimleri */
#card-grid .catalog-card h3 {
    font-size: 13px;
    line-height: 1.3;
    margin: 9px 0 3px;
}

/* Kart numarası ve nadirlik */
#card-grid .catalog-card p {
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
}

/* Laptop */
@media (max-width: 1250px) {
    #card-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Tablet */
@media (max-width: 950px) {
    #card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Küçük tablet */
@media (max-width: 650px) {
    #card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Telefon */
@media (max-width: 440px) {
    #card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Kartın görseli ve bilgileri ayrı tıklanabilir; kaydetme butonu bağımsızdır. */
#card-grid .card-preview-button,
#card-grid .card-info-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

#card-grid .card-preview-button {
    border-radius: 10px;
}

/* Başlık ve kart kodu mevcut yazı boyutlarıyla devam eder. */
#card-grid .card-footer {
    position: relative;
    min-height: 45px;
    padding-right: 46px;
}

#card-grid .card-info-button p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Kaydetme simgesi, görselin üzerinde değil alt bilgi alanının sağındadır. */
#card-grid .card-save-button {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #c98fc7;
    border-radius: 50%;
    background: #f9ecf7;
    color: #954a95;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

#card-grid .card-save-button:hover {
    background: #f3e0f1;
    border-color: #aa6caa;
}

#card-grid .card-save-button.is-owned {
    background: #e2f5e9;
    border-color: #78b79b;
    color: #298459;
}

#card-grid .card-save-button svg {
    width: 20px;
    height: 20px;
}

#card-grid .card-preview-button:focus-visible,
#card-grid .card-info-button:focus-visible,
#card-grid .card-save-button:focus-visible {
    outline: 2px solid #954a95;
    outline-offset: 3px;
}


/* CARDLY - ALT SERİ TAKİP PANELİ */
.set-overview {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 24px;
    margin-bottom: 18px;
    border: 2px solid #ead5ff;
    border-radius: 22px;
    background: linear-gradient(115deg, #fff8fd, #f5edff);
}
.set-cover {
    flex: 0 0 144px;
    width: 144px;
    height: 144px;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
}
.set-overview-details { flex: 1; min-width: 0; }
.set-overview h2 { font-size: 30px; color: #594a5c; margin: 8px 0 4px; }
.set-total, .set-progress-count { font-size: 13px; color: #8c7a90; }
.set-progress-caption { display: flex; justify-content: space-between; gap: 15px; margin: 18px 0 8px; color: #6c5372; font-size: 13px; }
.set-progress-track { width: 100%; height: 12px; border-radius: 99px; overflow: hidden; background: #e8dce9; }
.set-progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d99ec9, #a97bc8); transition: width .2s ease; }
.set-progress-count { margin-top: 8px; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; }
.ownership-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ownership-tab { border: 1px solid #e4d0e8; border-radius: 11px; background: #fff; color: #77597f; padding: 10px 13px; font-size: 13px; font-weight: 700; cursor: pointer; }
.ownership-tab.active { color: #fff; background: #b77ab4; border-color: #b77ab4; }
.toolbar-right { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 16px; }
.grey-missing-control { display: flex; align-items: center; gap: 8px; color: #735e78; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.grey-missing-control input { width: 17px; height: 17px; accent-color: #a874af; cursor: pointer; }
.card-search-box { display: flex; align-items: center; gap: 8px; border: 1px solid #dec5f5; border-radius: 11px; background: #fff; color: #a57aab; padding: 0 12px; min-width: 235px; }
.card-search-box:focus-within { outline: 2px solid #dcc1ed; }
.card-search-box input { width: 100%; min-width: 0; padding: 11px 0; border: 0; outline: 0; background: transparent; color: #594a5c; font: inherit; font-size: 13px; }
#card-grid .catalog-card.is-grey-missing .card-placeholder { filter: grayscale(1); opacity: .35; }
#card-grid .catalog-card.is-grey-missing .card-info-button { opacity: .48; }
#card-grid .catalog-card.is-grey-missing .card-save-button { opacity: 1; }
@media (max-width: 780px) {
    .set-overview { padding: 16px; gap: 14px; }
    .set-cover { flex-basis: 95px; width: 95px; height: 112px; }
    .set-overview h2 { font-size: 23px; }
    .collection-toolbar { align-items: stretch; }
    .toolbar-right { width: 100%; justify-content: space-between; }
    .card-search-box { flex: 1; min-width: 180px; }
}
@media (max-width: 450px) {
    .set-overview { align-items: flex-start; }
    .set-cover { flex-basis: 70px; width: 70px; height: 90px; }
    .grey-missing-control { font-size: 12px; }
    .card-search-box { width: 100%; flex-basis: 100%; }
}
/* Gereksiz kart sayacı satırını gizle */
.catalog-info {
    display: none !important;
}

/* =========== CARDLY YENİ ANA SAYFA VE SET LİSTESİ =========== */
.site-header { padding:0 5%; height:70px; gap:16px; }
.site-header nav { flex:1; justify-content:center; }
.header-actions {display:flex;align-items:center;gap:15px;}
.global-search {display:flex;align-items:center;gap:8px;padding:0 15px;height:40px;width:min(300px,23vw);border:1px solid #e7caeb;border-radius:30px;background:#fcf4fd;color:#ad70bc;}
.global-search span{font-size:23px;line-height:1}
.global-search input{background:transparent;border:0;outline:none;width:100%;min-width:0;color:#5e4870;font:inherit;font-size:12px;}
.global-search:focus-within{box-shadow:0 0 0 3px #eddbf3;}
.site-header .login-button {white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;padding:11px 23px;}
.not-ready {cursor:default;opacity:.8;}
.home-main{width:min(1600px,100%);margin:auto;}
.new-hero{min-height:370px;margin:24px 3% 16px;padding:35px 6%;border-radius:34px;background:radial-gradient(circle at 75% 35%,#eacafa 0,transparent 52%),linear-gradient(115deg,#ffecf5,#eee2fc);display:grid;grid-template-columns:42% 58%;overflow:hidden;position:relative;}
.new-hero-copy{z-index:3;align-self:center;}
.new-hero h1{font-size:clamp(34px,4.2vw,62px);line-height:1.08;max-width:520px;margin:14px 0 18px;color:#42265f;}
.new-hero h1 span{display:block;color:#ba6cb2;}
.new-hero p{max-width:440px;line-height:1.7;color:#614b70;font-size:15px;margin-bottom:22px;}
.new-hero-art{position:relative;min-height:320px;}
.hero-orbit{position:absolute;inset:12px 6% 2px 11%;border:3px solid #ffffff9e;border-radius:50%;box-shadow:0 0 70px #db9af1;transform:rotate(-19deg);}
.hero-moon{position:absolute;right:8%;top:0;font-size:75px;color:#fff5da;text-shadow:0 0 15px #fff;}
.hero-spark{position:absolute;font-size:35px;color:#fef6bd;z-index:3;}.hero-spark.s1{top:18%;left:15%;}.hero-spark.s2{top:8%;right:29%;}
.hero-box,.hero-pack{position:absolute;object-fit:contain;filter:drop-shadow(0 12px 11px #9d78a85c);}
.hero-box{height:100%;width:46%;left:5%;top:1%;z-index:2;}
.hero-pack{height:89%;width:39%;left:36%;top:7%;z-index:1;}
.hero-card-stack{position:absolute;right:1%;bottom:11%;width:36%;height:58%;display:flex;align-items:center;justify-content:center;z-index:2;}
.hero-card-stack img{position:absolute;width:46%;max-height:85%;height:auto;border-radius:6px;border:2px solid #fbd9fa;box-shadow:0 8px 15px #70488580;object-fit:cover;}
.hero-card-stack img:nth-child(1){left:0;transform:rotate(-13deg);}.hero-card-stack img:nth-child(2){left:27%;transform:rotate(0deg);}.hero-card-stack img:nth-child(3){left:54%;transform:rotate(13deg);}
.hero-chip{position:absolute;left:19%;bottom:4px;background:#fff8ffed;border-radius:45px;color:#5b3077;font-weight:800;padding:11px 18px;box-shadow:0 3px 20px #7b539348;z-index:4;font-size:13px;}
.home-stat-row{margin:0 3% 14px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.home-stat{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:21px;background:linear-gradient(130deg,#fce9f4,#f0e8fd);color:#472665;}
.stat-glyph{font-size:28px;color:#b56db9;min-width:34px}.home-stat strong{display:block;font-size:24px}.home-stat small{display:block;font-size:12px;margin-top:3px;}
.home-progress-panel{margin:0 3% 14px;padding:14px 20px;border-radius:24px;background:linear-gradient(115deg,#f8eafb,#f5edff);display:flex;align-items:center;gap:28px;}
.home-progress-intro{display:flex;align-items:center;gap:12px;min-width:230px;}.home-progress-intro h2{font-size:18px;color:#4c2d69}.home-progress-intro p{font-size:12px;color:#7e6787;line-height:1.5;margin-top:4px}.home-progress-heart{font-size:32px;color:#b87ac2;}
.home-progress-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:1;}
.home-progress-item{background:#fffafa;border:1px solid #ead6f3;border-radius:15px;padding:10px 12px;min-width:0;}
.home-progress-item strong{display:block;font-size:13px;color:#52316f}.home-progress-item small{font-size:11px;color:#846d8e}.home-progress-track{height:7px;border-radius:99px;background:#ecdef3;margin-top:8px;overflow:hidden}.home-progress-track span{height:100%;display:block;background:#bc78bf;border-radius:99px;}
.home-collections{padding:15px 3% 55px;}.home-collections .section-heading{margin-bottom:25px;}
.home-collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.home-collection-tile{min-height:190px;position:relative;overflow:hidden;border-radius:28px;border:3px solid #fff;box-shadow:0 4px 18px #cda8d95e;display:flex;align-items:center;gap:23px;padding:25px 30px;text-decoration:none;color:#4b2769;}
.active-tile{background:radial-gradient(circle at 8% 55%,#dfb5ee,transparent 45%),linear-gradient(115deg,#fae2f4,#f5ceef);}.future-tile{background:linear-gradient(115deg,#f5e7ff,#e9d4f8);}
.home-collection-symbol{display:flex;align-items:center;justify-content:center;font-size:105px;color:#a96bb5;min-width:125px;text-shadow:0 8px 14px #be84c5;}
.future-symbol{font-size:75px;color:#c49fd9;min-width:180px;text-align:center;}
.home-collection-copy span{font-size:11px;letter-spacing:1.3px;font-weight:bold;color:#a369aa}.home-collection-copy h3{font-size:25px;margin:6px 0;color:#4f2c6b}.home-collection-copy p{font-size:13px;line-height:1.5}.home-collection-copy strong{display:inline-block;background:#fff8;border-radius:20px;margin-top:11px;padding:7px 12px;font-size:12px;}
.tile-arrow{margin-left:auto;background:#bf76bd;color:white;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;font-size:26px;flex-shrink:0;}
.home-collection-tile:hover{transform:translateY(-3px);transition:transform .2s;}
/* MLP ana başlığı: tek süslü alan, setler sade ve doğrudan alt alta */
.mlp-page{padding:15px 4% 45px;}
.mlp-feature-banner{position:relative;display:flex;align-items:center;min-height:172px;border-radius:26px;background:linear-gradient(100deg,#fce7fa,#ecd6fb);margin-bottom:26px;padding:26px 5%;overflow:hidden;}
.mlp-feature-copy{position:relative;z-index:2;max-width:57%;}.mlp-feature-copy h1{font-size:clamp(29px,3.6vw,46px);color:#412362;margin:7px 0 11px;}.mlp-feature-copy h1 span{color:#bf79be}.mlp-feature-copy p{font-size:14px;color:#583c75;line-height:1.5;}
.mlp-banner-image{position:absolute;right:0;top:0;width:49%;height:100%;object-fit:cover;object-position:center;mask-image:linear-gradient(to right,transparent,black 28%);}
.set-browser{display:flex;flex-direction:column;gap:20px;}
.set-category{padding:0 2% 18px;border-bottom:1px solid #e8d5eb;}.set-category:last-child{border-bottom:0;}
.set-category-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px;}
.set-category-heading h2{font-size:27px;color:#432661;}.set-category-heading span{font-size:13px;color:#73528c;}
.set-tile-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
.set-tile{border:1px solid transparent;background:transparent;border-radius:13px;padding:8px 6px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;color:#422661;transition:background .18s,transform .18s;}
.set-tile:hover:not(:disabled){border-color:#ddade8;background:#fcf3ff;transform:translateY(-2px);}
.set-tile:focus-visible{outline:3px solid #b879c0;}
.set-tile img{width:100%;height:115px;object-fit:contain;mix-blend-mode:multiply;}
.set-tile strong{font-size:14px;margin-top:3px;}.set-tile small{font-size:12px;color:#795f88;}.set-tile-track{width:85%;background:#eadbf1;border-radius:20px;height:5px;overflow:hidden;margin-top:3px;}.set-tile-track span{display:block;background:#bb7dbf;height:100%;border-radius:20px;}
.set-tile:disabled{opacity:.55;cursor:default;}.set-tile .set-coming{color:#9d69ab;font-size:11px;font-weight:700;}
.return-to-sets{font:inherit;cursor:pointer;color:#8f4d9b;border:1px solid #e6caeb;background:white;border-radius:22px;padding:10px 16px;margin:0 0 14px;}
.return-to-sets:hover{background:#f7e8f7;}
@media(max-width:1100px){.set-tile-grid{grid-template-columns:repeat(5,minmax(0,1fr));}.home-progress-panel{flex-direction:column;align-items:stretch;gap:12px}.home-stat-row{grid-template-columns:repeat(2,1fr);}}
@media(max-width:780px){.site-header{height:auto;min-height:68px;flex-wrap:wrap;justify-content:space-between;padding:12px 5%;}.site-header nav{order:3;width:100%;flex:none;justify-content:center;gap:20px;}.header-actions{margin-left:auto}.global-search{width:190px;}.new-hero{grid-template-columns:1fr;padding:35px 7%;}.new-hero-art{min-height:290px}.new-hero-copy h1{max-width:100%}.home-progress-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-collection-grid{grid-template-columns:1fr}.set-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mlp-feature-copy{max-width:75%;}.mlp-banner-image{width:40%;}}
@media(max-width:520px){.site-header .logo{font-size:28px;}.header-actions{gap:6px}.global-search{width:150px;padding:0 8px}.global-search input{font-size:10px}.site-header .login-button{padding:10px 13px;font-size:11px}.new-hero-art{min-height:240px}.new-hero p{font-size:13px}.home-stat-row{gap:8px}.home-stat{padding:12px;gap:6px}.home-stat strong{font-size:18px}.home-stat small{font-size:10px}.home-progress-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-collection-tile{gap:8px;padding:14px;min-height:145px}.home-collection-symbol{min-width:65px;font-size:65px}.future-symbol{min-width:65px;font-size:44px}.home-collection-copy h3{font-size:19px}.set-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.set-category-heading h2{font-size:22px}.set-tile img{height:98px}.mlp-feature-banner{min-height:140px;padding:18px}.mlp-feature-copy h1{font-size:28px}.mlp-feature-copy p{font-size:12px}.mlp-banner-image{opacity:.4;width:55%;}.mlp-feature-copy{max-width:85%}}


/* --- CARDLY TASARIM DÜZELTMESİ --- */
/* Hero: wider, shorter, and in two text lines on desktop. */
.new-hero {
    min-height: 0;
    height: 322px;
    grid-template-columns: 43% 57%;
    padding: 18px 5.5%;
    margin-top: 18px;
    margin-bottom: 13px;
    border-radius: 31px;
}
.new-hero-copy {align-self:center;min-width:0;}
.new-hero .small-label {padding:8px 14px;margin-bottom:8px;font-size:12px;}
.new-hero h1 {font-size:clamp(32px,3.15vw,49px);line-height:1.13;margin:11px 0 12px;max-width:none;letter-spacing:-.8px;}
.new-hero h1 span {white-space:nowrap;}
.new-hero p {font-size:14px;line-height:1.55;max-width:460px;margin-bottom:15px;}
.new-hero .main-button {padding:12px 22px;font-size:13px;}
.new-hero-art {height:286px;min-height:0;align-self:center;}
.hero-box {height:99%;width:47%;left:4%;top:0;}
.hero-pack {height:91%;width:39%;left:35%;top:6%;}
.hero-card-stack {right:0;bottom:13%;width:35%;height:62%;}
.hero-card-stack img {border:0;border-radius:4px;box-shadow:0 7px 12px #5e326e4d;object-fit:contain;max-height:100%;}
.hero-card-stack img:nth-child(1) {left:0;transform:rotate(-12deg);}
.hero-card-stack img:nth-child(2) {left:27%;transform:rotate(0deg);}
.hero-card-stack img:nth-child(3) {left:54%;transform:rotate(12deg);}
.hero-chip {bottom:5px;left:21%;padding:8px 13px;}
.home-stat-row {gap:10px;margin-bottom:12px;}
.home-stat {padding:12px 16px;border-radius:17px;}
.home-stat strong {font-size:21px;}
.home-progress-panel {padding:12px 18px;}
.home-collections {padding-top:14px;}
/* Feature tiles: two editorial image panels, as in approved concept. */
.home-collection-grid {gap:20px;}
.home-collection-tile {min-height:184px;border:4px solid #fff;border-radius:30px;box-shadow:0 5px 19px #cb9bd65e;padding:18px 26px;gap:14px;}
.active-tile {background:linear-gradient(110deg,#efc9ef,#f5d6f4 66%,#fadcf6);}
.future-tile {background:linear-gradient(110deg,#efddff,#e9d2fc 70%,#efdafa);}
.home-collection-symbol,.future-symbol {position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:44%;max-width:44%;font-size:initial;text-shadow:none;overflow:visible;}
.home-collection-symbol img {position:absolute;bottom:-21px;left:-23px;width:105%;height:190px;object-fit:cover;object-position:center;mask-image:linear-gradient(to right, black 65%,transparent 99%);-webkit-mask-image:linear-gradient(to right,black 65%,transparent 99%);}
.future-symbol img {width:98%;height:165px;object-fit:contain;mask-image:linear-gradient(to right,transparent 0%,black 18%,black 83%, transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,black 18%,black 83%, transparent 100%);}
.home-collection-copy {position:relative;z-index:2;flex:1;min-width:0;}
.home-collection-copy h3{font-size:26px;line-height:1.12;margin:5px 0;}
.home-collection-copy p {max-width:290px;}
.home-collection-copy strong{background:#fffafc;color:#7c3e8b;}
.tile-arrow {width:39px;height:39px;align-self:end;margin:0 0 0 auto;}
.home-collection-tile:before {content:'✦';position:absolute;right:12%;top:15%;font-size:25px;color:#dfa0cc;opacity:.65;pointer-events:none;}
/* MLP banner: source image cleaned; image artwork no longer creates black right strip */
.mlp-feature-banner {background:linear-gradient(95deg,#fce6f7,#ead3fb);isolation:isolate;}
.mlp-banner-image {width:52%;height:100%;right:0;object-fit:cover;object-position:center center;border-radius:0;}
/* Existing set grid and card-details behavior remain unchanged. */
@media(max-width:1000px){
  .new-hero {grid-template-columns:46% 54%;height:305px;padding:15px 4%;}
  .new-hero h1 {font-size:clamp(28px,3.3vw,38px);}
  .new-hero-art {height:268px;}
  .home-collection-symbol,.future-symbol {min-width:38%;max-width:38%;}
}
@media(max-width:780px){
  .new-hero {height:auto;min-height:0;grid-template-columns:1fr;padding:30px 6%;}
  .new-hero h1 span{white-space:normal;}
  .new-hero-art {height:270px;min-height:0;width:100%;margin-top:8px;}
  .home-collection-grid {grid-template-columns:1fr;}
  .home-collection-symbol,.future-symbol {min-width:38%;max-width:38%;}
}
@media(max-width:520px){
  .new-hero {padding:25px 6%;}
  .new-hero-art {height:222px;}
  .home-collection-tile {padding:12px;min-height:147px;gap:7px;}
  .home-collection-symbol,.future-symbol {min-width:37%;max-width:37%;}
  .home-collection-symbol img {height:160px;left:-10px;bottom:-14px;}
  .future-symbol img {height:140px;}
  .home-collection-copy h3 {font-size:19px;}
  .home-collection-copy p {font-size:11px;}
}

/* Cardly Beta: üyelik henüz açılmadı */
.site-header .brand-group { display:inline-flex; align-items:center; gap:10px; flex-shrink:0; }
.site-header .beta-badge { font:700 10px/1 Arial,sans-serif; letter-spacing:1px; padding:6px 9px; border-radius:999px; background:#f3e7fc; border:1px solid #e6cced; color:#9968a4; }
.site-header .login-button.not-ready {cursor:default; opacity:1; background:#f3e9f6; color:#9b75a0; user-select:none;}
@media(max-width:520px) {.site-header .brand-group{gap:5px}.site-header .beta-badge{font-size:8px;padding:5px 6px;}}
