/* ------------------------------------------------------
   IONTech Online+ Premium Theme Styles
   Glassmorphism + Neon Glow + Blue-Purple Gradient
------------------------------------------------------- */

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    max-width: 100% !important;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0d25, #3a0ca3, #008cff);
    background-attachment: fixed;
    color: #fff;
}

* { box-sizing: border-box; }

/* ROOT VARIABLES */
:root {
    --glass-bg: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.22);
    --glass-blur: 16px;
    --radius: 14px;
    --text-secondary: #b8c4ff;
}

/* PAGE LAYOUT */
.page-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 20px;
}

/* HEADER */
.header-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 20px 0;
    padding: 0 20px;
}

.header-left img {
    width: 140px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.premium-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nav-btn {
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(14px);
    text-decoration: none;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: .25s;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 12px rgba(0,255,255,0.6);
    transform: translateY(-3px);
}

/* STATS */
.stats-section {
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.stat-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: var(--radius);
    text-align: center;
    backdrop-filter: blur(var(--glass-blur));
    transition: .3s;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-title {
    color: var(--text-secondary);
}

.stat-value {
    margin-top: 8px;
    font-size: 1.35rem;
    font-weight: bold;
    text-shadow: 0 0 7px #fff;
}

/* ------------------------------------------------------
   ✅ INVITE + VIDEO SECTION
------------------------------------------------------- */

.invite-video-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
}

.invite-area, .video-area {
    background: var(--glass-bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    padding: 25px;
}

.invite-img {
    width: 100%;
    max-width: 150px;
    margin: auto;
    display: block;
}

.invite-title {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 12px;
    font-weight: 600;
}

.invite-box {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

.invite-box input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
}

.invite-box button {
    padding: 12px 18px;
    background: linear-gradient(135deg,#00e9ff,#00b7ff);
    border-radius: 10px;
    border: none;
    font-weight: 400;
    cursor: pointer;
}

/* ------------------------------------------------------
   ✅ STORE BUTTONS — FINAL STABLE VERSION
------------------------------------------------------- */

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.store-buttons img {
    width: 140px;
    max-width: 100%;
    height: auto;
    transition: 0.25s ease;
}

.store-buttons img:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.6));
}

/* TABLET */
@media (max-width: 1024px) {
    .store-buttons img {
        width: 125px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .store-buttons img {
        width: 180px;
    }
}

.premium-video {
    width: 100%;
    border-radius: 12px;
}

/* RESPONSIVE GENERAL */
@media (max-width: 900px) {
    .invite-video-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .invite-area, .video-area {
        padding: 18px !important;
    }

    .invite-box {
        flex-direction: column !important;
    }

    .invite-box button {
        width: 100% !important;
    }
}

/* ------------------------------------------------------
   FOOTER
------------------------------------------------------- */

.premium-footer {
    margin-top: 60px;
    padding: 25px;
    text-align: center;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.footer-links a {
    color: #00dfff !important;
    margin: 0 12px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    line-height: 1.3;
}

/* GLOBAL LINK FIX */
a,
a:visited,
a:active,
a:hover {
    color: #00dfff !important;
    text-decoration: none !important;
}

a:hover {
    color: #4dd2ff !important;
    text-shadow: 0 0 6px rgba(0,223,255,0.5);
}
/* ✅ DESKTOP STORE IMAGE SIZE FIX (ORJİNAL DOSYA NE KADAR BÜYÜK OLURSA OLSUN) */
.store-buttons img {
    max-width: 140px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ✅ APK GÖRSELİ ÖZEL EKSTRA KONTROL (EN ÇOK SORUN ÇIKARAN) */
.store-buttons img[src*="apk"],
.store-buttons img[src*="APK"] {
    max-width: 130px !important;
}
