@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    padding-top: 90px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 3px solid #25F4EE;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

header.hidden {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

header.visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 10px;
    width: 100%;
}

header h1 {
    color: #25F4EE;
    cursor: pointer;
    font-size: 24px;
    letter-spacing: 2px;
    margin: 0;
}

.user-badge {
    background: rgba(37, 244, 238, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(37, 244, 238, 0.2);
    font-size: 13px;
}

.user-badge span {
    color: #25F4EE;
}

nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    width: 100%;
}

nav a {
    padding: 10px 22px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    color: #aaa;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 13px;
    text-decoration: none;
}

nav a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

nav a.active {
    background: linear-gradient(135deg, #25F4EE, #00D4FF);
    color: #000;
}

#logoutBtn {
    padding: 10px 22px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background: #FE2C55;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 13px;
}

#logoutBtn:hover {
    background: #cc2244;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #25F4EE;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    padding: 30px 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow 15s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.12), rgba(254, 44, 85, 0.08));
    padding: 8px 22px;
    border-radius: 50px;
    border: 1px solid rgba(37, 244, 238, 0.12);
    color: #25F4EE;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 18px;
    color: #FFD700;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #25F4EE, #FE2C55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #aaa;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

/* ============================================================
   GAME BUTTONS (Only TikTok)
   ============================================================ */
.game-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 750px;
    margin: 0 auto;
}

.game-btn {
    width: 210px;
    background: linear-gradient(145deg, #141428, #1a1a2e);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 22px 16px 18px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.game-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-btn:hover::before {
    opacity: 1;
}

.game-btn:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(37, 244, 238, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.premium-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.premium-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.game-btn:hover .premium-icon {
    transform: scale(1.08) rotate(3deg);
}

.game-btn.tiktok-btn .premium-icon {
    border: 2px solid rgba(37, 244, 238, 0.2);
}

.game-btn.tiktok-btn:hover {
    border-color: rgba(37, 244, 238, 0.4);
    box-shadow: 0 20px 50px rgba(37, 244, 238, 0.1);
}

.game-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.game-sub {
    color: #888;
    font-size: 12px;
    text-align: center;
    font-weight: 400;
}

.game-badge-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.game-badge-tag.popular {
    background: rgba(37, 244, 238, 0.15);
    color: #25F4EE;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 20px 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-container {
    background: linear-gradient(145deg, #1a1a2e, #141428);
    border-radius: 24px;
    padding: 40px 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-header {
    text-align: center;
    margin-bottom: 35px;
}

.features-subtitle {
    color: #25F4EE;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.features-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.features-header h2 .highlight-text {
    background: linear-gradient(135deg, #25F4EE, #FE2C55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-header p {
    color: #888;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 244, 238, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.12), rgba(37, 244, 238, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: #25F4EE;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.2), rgba(37, 244, 238, 0.05));
    transform: scale(1.05);
}

.feature-card h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-card p {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================================
   HOW TO PURCHASE
   ============================================================ */
.how-to-purchase {
    padding: 20px 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.purchase-header {
    text-align: center;
    margin-bottom: 30px;
}

.purchase-icon {
    font-size: 34px;
    display: block;
    margin-bottom: 6px;
}

.purchase-header h2 {
    color: #25F4EE;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
}

.purchase-header p {
    color: #aaa;
    font-size: 16px;
}

.purchase-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}

.step-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 22px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: #25F4EE;
    box-shadow: 0 8px 35px rgba(37, 244, 238, 0.06);
}

.step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #25F4EE, #1a8a8a);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.step-content h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-content p {
    color: #888;
    font-size: 13px;
}

/* ============================================================
   PLAYER SECTION
   ============================================================ */
.player-section {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px;
}

.player-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.player-box i {
    font-size: 24px;
    color: #25F4EE;
}

.player-box span {
    color: #aaa;
    font-size: 14px;
}

.player-box input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 16px;
    min-width: 200px;
}

.player-box input:focus {
    outline: none;
    border-color: #25F4EE;
}

.player-box small {
    color: #666;
    font-size: 12px;
    width: 100%;
    text-align: left;
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-section h2 {
    color: #25F4EE;
    font-size: 32px;
    text-align: center;
    margin-bottom: 5px;
}

.packages-section .sub-title {
    color: #aaa;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.package-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 30px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #25F4EE;
    color: #fff;
    background: rgba(37, 244, 238, 0.05);
}

.filter-btn.active {
    border-color: #25F4EE;
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.2), rgba(37, 244, 238, 0.05));
    color: #25F4EE;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.package-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 25px 20px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #25F4EE;
    box-shadow: 0 15px 50px rgba(37, 244, 238, 0.15);
}

.package-card .coin-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #FE2C55;
    transition: all 0.3s;
}

.package-card:hover .coin-icon {
    border-color: #25F4EE;
    transform: scale(1.05);
}

.package-card h3 {
    color: #25F4EE;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
}

.package-card .coins-label {
    color: #888;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.package-card .price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 6px;
}

.package-card .price-wrapper .price {
    color: #25F4EE;
    font-size: 22px;
    font-weight: 700;
}

.package-card .price-wrapper .original-price {
    color: #666;
    font-size: 15px;
    text-decoration: line-through;
}

.package-card .package-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-card .package-badge.basic { background: #666; }
.package-card .package-badge.starter { background: #4CAF50; }
.package-card .package-badge.popular { background: #FF6B00; }
.package-card .package-badge.premium { background: #9C27B0; }
.package-card .package-badge.ultimate { background: linear-gradient(135deg, #FFD700, #FF0066); }
.package-card .package-badge.mega { background: linear-gradient(135deg, #FF0066, #FF4444); }

.package-card .popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FE2C55, #ff6b8a);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.3);
    animation: pulse 2s infinite;
}

.package-card .discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #FF4444, #FF6B00);
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    animation: pulse 2s infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.package-card:active {
    transform: scale(0.95);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 25px 20px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-left p {
    color: #888;
    font-size: 14px;
}

.footer-left strong {
    color: #25F4EE;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-center a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-center a:hover {
    color: #25F4EE;
}

.footer-divider {
    color: #333;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.messenger-link {
    color: #0084FF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 132, 255, 0.1);
}

.messenger-link:hover {
    background: rgba(0, 132, 255, 0.2);
    transform: scale(1.05);
}

.messenger-link i {
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom p {
    color: #555;
    font-size: 12px;
}

/* ============================================================
   BACK BUTTON
   ============================================================ */
.back-btn {
    display: inline-block;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    background: #25F4EE;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-btn:hover {
    transform: scale(1.03);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .hamburger {
        display: flex;
    }
    .header-content {
        flex-wrap: nowrap;
    }
    header h1 {
        font-size: 18px;
        flex: 1;
        text-align: left;
    }
    .user-badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        padding: 15px 0;
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
        gap: 8px;
        animation: slideDown 0.3s ease;
        backdrop-filter: blur(10px);
    }
    nav.open {
        display: flex;
    }
    nav a {
        width: 90%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }
    #logoutBtn {
        width: 90%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .game-buttons {
        gap: 15px;
    }
    .game-btn {
        width: 180px;
        min-height: 120px;
        padding: 18px 12px;
    }
    .premium-icon {
        width: 52px;
        height: 52px;
    }
    .game-name {
        font-size: 14px;
    }
    .game-sub {
        font-size: 11px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .features-container {
        padding: 25px 18px;
    }
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .package-filters {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    .purchase-steps {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    header {
        padding: 10px 15px;
    }
    header h1 {
        font-size: 16px;
    }
    .user-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .game-buttons {
        flex-direction: column;
        align-items: center;
    }
    .game-btn {
        width: 220px;
        min-height: 100px;
        padding: 15px 12px;
    }
    .premium-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }
    .game-name {
        font-size: 14px;
    }
    .game-sub {
        font-size: 11px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .features-container {
        padding: 20px 15px;
    }
    .features-header h2 {
        font-size: 22px;
    }
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .package-filters {
        gap: 6px;
    }
    .filter-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    .purchase-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #25F4EE;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00D4FF;
}