/* ==========================================================================
   HaxScipt - Mağaza & VIP Üyelikler Tasarımı (Shop.css)
   ========================================================================== */

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

body {
    font-family: 'Poppins', sans-serif;
    background-image: url("../İmages/BG.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-color: #0e0e10;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== UNIFIED HEADER & NAVBAR ==================== */
.navbar {
    width: 100%;
    padding: 40px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-container {
    width: 95%;
    max-width: 1580px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo img {
    width: 64px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.35vw, 24px);
    margin: 0 auto;
    padding: 0;
    flex-shrink: 1;
}

.nav-links li {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-links a.active {
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.24), 0 0 14px rgba(255, 255, 255, 0.233);
    color: #ffffff;
}

.nav-links a:hover {
    color: #ffea62;
}

/* BUTTONS */
.nav-buttons {
    display: flex;
    align-items: center;
}

.nav-buttons a {
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.25s ease;
}

.login-btn {
    border: 2px solid #ffd84d;
    color: #ffd84d;
    background: transparent;
}

.login-btn:hover {
    color: black;
    background-color: #ffea62;
}

.register-btn {
    border: 2px solid #ffd84d;
    background-color: #ffd84d;
    color: black;
}

.register-btn:hover {
    border: 2px solid #ffd84d;
    color: #ffd84d;
    background: transparent;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* ==================== SHOP CONTAINER ==================== */
.shop-wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 150px auto 50px;
    padding: 0 24px;
    flex: 1;
}

/* ==================== HERO SECTION ==================== */
.shop-hero {
    text-align: center;
    margin-bottom: 30px;
}

.shop-title {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.shop-subtitle {
    font-size: 14.5px;
    color: #a0a0ab;
    max-width: 650px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #2ed573;
    font-weight: 600;
}

/* ==================== SECTION HEADERS ==================== */
.shop-section {
    margin-bottom: 55px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffd84d;
    letter-spacing: 0.5px;
}

.section-desc {
    font-size: 13px;
    color: #888894;
    margin-top: 4px;
}

/* ==================== VIP VERTICAL GRID (DİKEY SÜTUN DÜZENİ) ==================== */
.vip-vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 26px;
    align-items: stretch;
}

.vip-card {
    background: rgba(18, 18, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.vip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

/* Üst Renk Vurgusu Çizgisi */
.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.vip-card.sapphire::before { background: linear-gradient(90deg, #3a7bd5, #00d2ff); }
.vip-card.ruby::before { background: linear-gradient(90deg, #eb2f06, #ff7675); }
.vip-card.diamond::before { background: linear-gradient(90deg, #70a1ff, #1e90ff); }
.vip-card.diamond-plus::before { background: linear-gradient(90deg, #70a1ff, #ffd84d); }
.vip-card.supporter::before { background: linear-gradient(90deg, #ffd84d, #ffa502); }

/* ==================== EN ÇOK SATAN: EMERALD VIP (HAREKETLİ IŞIK BORDER) ==================== */
.vip-card.featured-best-seller {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(180deg, #131b16, #121217) padding-box,
                linear-gradient(135deg, #2ed573, #ffd84d, #10ac84, #00d2d3, #2ed573) border-box;
    background-size: 300% 300%;
    animation: emeraldBorderFlow 4s linear infinite;
    box-shadow: 0 0 35px rgba(46, 213, 115, 0.35);
}

.vip-card.featured-best-seller::before {
    display: none; /* Gradient border kullanıldığı için üst çizgi gizlenir */
}

@keyframes emeraldBorderFlow {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 30px rgba(46, 213, 115, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 55px rgba(46, 213, 115, 0.6), 0 0 25px rgba(255, 216, 77, 0.4), 0 15px 40px rgba(0, 0, 0, 0.7);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 30px rgba(46, 213, 115, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}

.best-seller-badge {
    position: absolute;
    top: 14px;
    right: 18px;
    background: linear-gradient(135deg, #2ed573, #10ac84);
    color: #000;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.6);
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(46, 213, 115, 0.6);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 25px rgba(46, 213, 115, 0.9), 0 0 12px rgba(255, 216, 77, 0.5);
    }
}

/* Card Header */
.card-header {
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gem-icon {
    font-size: 42px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
    line-height: 1;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.card-period {
    font-size: 13px;
    color: #888894;
    font-weight: 500;
    margin-top: 3px;
    margin-bottom: 16px;
}

.card-price {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.card-price .currency {
    font-size: 18px;
    font-weight: 700;
    color: #ffd84d;
}

.card-price .per {
    font-size: 13px;
    font-weight: 500;
    color: #888894;
}

/* Satın Al Butonları */
.btn-buy {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.sapphire-btn {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: #fff;
    box-shadow: 0 4px 15px rgba(58, 123, 213, 0.35);
}
.sapphire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(58, 123, 213, 0.6);
}

.ruby-btn {
    background: linear-gradient(135deg, #eb2f06, #ff7675);
    color: #fff;
    box-shadow: 0 4px 15px rgba(235, 47, 6, 0.35);
}
.ruby-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(235, 47, 6, 0.6);
}

.emerald-btn {
    background: linear-gradient(135deg, #2ed573, #10ac84);
    color: #000;
    box-shadow: 0 4px 18px rgba(46, 213, 115, 0.45);
}
.emerald-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 213, 115, 0.7);
}

.diamond-btn {
    background: linear-gradient(135deg, #70a1ff, #1e90ff);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.35);
}
.diamond-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(30, 144, 255, 0.6);
}

.diamond-plus-btn {
    background: linear-gradient(135deg, #70a1ff, #ffd84d);
    color: #000;
    box-shadow: 0 4px 18px rgba(255, 216, 77, 0.35);
}
.diamond-plus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 216, 77, 0.6);
}

.supporter-btn {
    background: linear-gradient(135deg, #ffd84d, #ffa502);
    color: #000;
    box-shadow: 0 4px 18px rgba(255, 216, 77, 0.45);
}
.supporter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 216, 77, 0.7);
}

/* Card Divider */
.card-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

/* Features List */
.card-features {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    font-size: 13.5px;
    color: #d1d1d8;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.features-list .bullet {
    color: #ffd84d;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.features-list li.extra-highlight {
    display: block;
    color: #ffd84d;
    font-size: 12.5px;
    line-height: 1.6;
    font-weight: 600;
    background: rgba(255, 216, 77, 0.08);
    border: 1px dashed rgba(255, 216, 77, 0.35);
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: left;
    white-space: normal;
    word-break: normal;
}

.features-list li.extra-highlight .bullet {
    display: inline-block;
    margin-right: 5px;
    font-size: 13px;
}

/* ==================== CUSTOMIZATION CARDS (KARE / GRID FORMATI) ==================== */
.custom-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.custom-card {
    background: rgba(18, 18, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.custom-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 216, 77, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.card-top-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.custom-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffd84d;
    margin-bottom: 6px;
}

.custom-desc {
    font-size: 13px;
    color: #a0a0ab;
    margin-bottom: 20px;
    min-height: 38px;
}

.pricing-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s ease;
}

.price-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.price-row.highlight-row {
    border-color: rgba(255, 216, 77, 0.25);
    background: rgba(255, 216, 77, 0.03);
}

.duration-wrap {
    text-align: left;
}

.duration {
    font-size: 12px;
    color: #888894;
    display: block;
    font-weight: 600;
}

.price-tag {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.btn-custom-buy {
    background: #1e1e24;
    border: 1px solid #ffd84d;
    color: #ffd84d;
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-custom-buy:hover {
    background: #ffd84d;
    color: #000;
    box-shadow: 0 4px 14px rgba(255, 216, 77, 0.3);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background-color: #000000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888894;
    font-size: 14px;
    font-weight: 600;
}

.footer-logo {
    width: 80px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-links a {
    color: #888894;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.social-links a:hover {
    color: #ffd84d;
}

.footer-right {
    font-size: 13px;
    color: #888894;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .vip-vertical-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(11, 11, 14, 0.98);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-buttons {
        display: none;
    }

    .shop-title {
        font-size: 28px;
    }

    .vip-card {
        padding: 24px 20px;
    }
}
