/*
Theme Name: IE777 Clone
Theme URI: https://ek1.dhan7game.online
Author: MMGames
Description: IE777 & IN7 Game APK Download landing page clone - dark purple theme with pink/purple gradients
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ie777-clone
*/

:root {
    --ie-text: #e6e0f5;
    --ie-muted: #a99fc4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #050010, #120026, #1d003d);
    background-attachment: fixed;
    color: #e6e0f5;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============ HEADER ============ */
.ie-header {
    background: rgba(5, 0, 16, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ie-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ie-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ie-logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.ie-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.ie-logo-sub {
    font-size: .75rem;
    color: #9fc4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ie-header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ============ BUTTONS ============ */
.ie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ie-btn:hover {
    transform: translateY(-2px);
}

.ie-btn-primary {
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 47, 125, .35);
}

.ie-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(255, 47, 125, .5);
}

.ie-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #8b2fff;
}

.ie-btn-outline:hover {
    background: rgba(139, 47, 255, .15);
}

.ie-btn-telegram {
    background: linear-gradient(90deg, #1d9bf0, #2aabee);
    color: #fff;
    box-shadow: 0 8px 24px rgba(29, 155, 240, .3);
}

.ie-btn-telegram:hover {
    box-shadow: 0 12px 32px rgba(29, 155, 240, .5);
}

.ie-btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ============ HERO ============ */
.ie-hero {
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ie-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 47, 255, .25) 0%, transparent 60%);
    pointer-events: none;
}

.ie-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 47, 125, .15);
    border: 1px solid rgba(255, 47, 125, .4);
    color: #ff2f7d;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.ie-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #ec9aff, #ff9ccb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ie-hero p {
    font-size: 1.15rem;
    color: #9a9f;
    max-width: 720px;
    margin: 0 auto 40px;
}

.ie-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* ============ GAME CARDS ============ */
.ie-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.ie-game-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ie-game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(139, 47, 255, .25);
}

.ie-game-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.ie-game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ie-game-card p {
    color: #9a8f;
    font-size: .95rem;
    margin-bottom: 20px;
}

/* ============ SECTIONS ============ */
.ie-section {
    padding: 70px 0;
}

.ie-section-alt {
    background: rgba(255, 255, 255, .03);
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ie-section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #d4b4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ie-section-sub {
    text-align: center;
    color: #9a8f;
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

/* ============ FEATURES ============ */
.ie-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.ie-feature {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 28px;
    transition: border-color .3s ease, transform .3s ease;
}

.ie-feature:hover {
    border-color: #8b2fff;
    transform: translateY(-4px);
}

.ie-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.ie-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.ie-feature p {
    color: var(--ie-muted);
    font-size: .95rem;
}

/* ============ CHECK LIST ============ */
.ie-checklist {
    max-width: 760px;
    margin: 0 auto;
}

.ie-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    margin-bottom: 12px;
}

.ie-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    margin-top: 2px;
}

.ie-check-item span {
    color: #e6e0f5;
    font-size: 1rem;
}

/* ============ STEPS ============ */
.ie-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ie-step {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.ie-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.1rem;
}

.ie-step h4 {
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.ie-step p {
    color: var(--ie-muted);
    font-size: .9rem;
}

/* ============ FAQ ============ */
.ie-faq {
    max-width: 800px;
    margin: 0 auto;
}

.ie-faq-item {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.ie-faq-q {
    padding: 18px 22px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ie-faq-q::after {
    content: '+';
    font-size: 1.4rem;
    color: #ff2f7d;
    flex-shrink: 0;
}

.ie-faq-item.open .ie-faq-q::after {
    content: '−';
}

.ie-faq-a {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    color: var(--ie-muted);
}

.ie-faq-item.open .ie-faq-a {
    max-height: 500px;
    padding: 0 22px 18px;
}

/* ============ POPULAR GAMES ============ */
.ie-games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

.ie-game-item {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ie-game-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(139, 47, 255, .3);
    border-color: #ff2f7d;
}

.ie-game-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 auto 10px;
}

.ie-game-item h4 {
    font-size: .95rem;
    color: #fff;
    margin-bottom: 8px;
}

.ie-game-item .ie-btn {
    padding: 8px 16px;
    font-size: .8rem;
    width: 100%;
}

/* ============ CTA ============ */
.ie-cta {
    text-align: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 50px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.ie-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #ec9aff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ie-cta p {
    color: var(--ie-muted);
    margin-bottom: 28px;
}

/* ============ FOOTER ============ */
.ie-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 40px 0 30px;
    text-align: center;
    background: rgba(0, 0, 0, .3);
}

.ie-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ie-footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.ie-footer-logo span {
    font-weight: 800;
    background: linear-gradient(90deg, #ff2f7d, #8b2fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1rem;
}

.ie-footer p {
    color: var(--ie-muted);
    font-size: .9rem;
    margin-bottom: 8px;
}

.ie-footer .ie-disclaimer {
    font-size: .8rem;
    max-width: 700px;
    margin: 12px auto 0;
    color: rgba(154, 143, 175, .7);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .ie-hero h1 {
        font-size: 2rem;
    }

    .ie-hero p {
        font-size: 1rem;
    }

    .ie-section-title {
        font-size: 1.7rem;
    }

    .ie-header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .ie-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .ie-btn-lg {
        width: 100%;
        max-width: 320px;
    }

    .ie-games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ie-games {
        grid-template-columns: repeat(2, 1fr);
    }

    .ie-section {
        padding: 50px 0;
    }
}