/* General Styles */
:root {
    --primary-color: #5D3FD3;
    --primary-dark: #4527A0;
    --secondary-color: #7928ca;
    --accent-color: #FF5722;
    --success-color: #00E676;
    --text-color: #1a1a2e;
    --light-text: #8B93A8;
    --lighter-text: #d9d9d9;
    --white: #fff;
    --light-bg: #f8f9fa;
    --border-color: #2D304D;
    --card-bg: #252642;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.35);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-primary: linear-gradient(135deg, #5D3FD3, #6366F1);
    --gradient-accent: linear-gradient(135deg, #FF5722, #FF9800);
    --gradient-card: linear-gradient(to bottom right, #1F2136, #2A2C44);
    --gradient-success: linear-gradient(135deg, #00E676, #00B894);
    --dark-bg: #181A2A;
    --darker-bg: #141526;
    --dark-card: #1F2136;
    --glass-bg: rgba(31, 33, 54, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at 80% 5%, rgba(93, 63, 211, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 10% 90%, rgba(255, 87, 34, 0.1) 0%, transparent 40%);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(93, 63, 211, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(93, 63, 211, 0.4);
}

.btn-view {
    display: inline-block;
    padding: 8px 16px;
    background: var(--dark-bg);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(93, 63, 211, 0.3);
}

.btn-view:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-cart {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(93, 63, 211, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-cart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.btn-cart:hover::after {
    transform: translateX(100%);
}

.btn-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(93, 63, 211, 0.3);
}

.btn-login {
    padding: 6px 15px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

.btn-whatsapp {
    display: inline-block;
    padding: 8px 16px;
    background: #25D366;
    color: var(--white);
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-subscribe {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(93, 63, 211, 0.3);
}

.btn-subscribe:hover {
    transform: translateY(-3px) rotate(15deg);
    box-shadow: 0 6px 15px rgba(93, 63, 211, 0.4);
}

/* Header Styles */
header {
    background-color: rgba(20, 21, 38, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    text-shadow: 0 0 8px rgba(93, 63, 211, 0.5);
}

.logo h1 span {
    color: var(--accent-color);
    background: linear-gradient(to right, #FF5722, #FF9800);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav ul {
    display: none;
}

.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
}

/* Notice Bar */
.notice {
    background-color: var(--accent-color);
    padding: 10px 0;
}

.notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice p {
    color: var(--white);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 40px 0;
    background-image: url('https://via.placeholder.com/480x250'), linear-gradient(to bottom right, #181A2A, #2A2C44);
    background-position: center;
    background-size: cover;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20, 21, 38, 0.8), rgba(20, 21, 38, 0.9));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #d1d1f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: var(--lighter-text);
    margin-bottom: 20px;
    font-size: 16px;
}

.whatsapp-banner {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-content i {
    font-size: 30px;
    color: #25D366;
}

.whatsapp-text h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.whatsapp-text p {
    font-size: 12px;
    color: var(--light-text);
}

/* Featured Games Section */
.featured-section {
    padding: 30px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 5px;
}

.section-header p {
    color: var(--light-text);
    font-size: 14px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.game-card {
    background: var(--gradient-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(93, 63, 211, 0.3);
}

.game-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 87, 34, 0.3);
}

.game-details {
    padding: 15px;
    text-align: center;
}

.game-details h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.game-details p {
    color: var(--light-text);
    font-size: 12px;
    margin-bottom: 10px;
}

/* Top-up Packages Section */
.top-up-section {
    padding: 30px 0;
    background: var(--darker-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-card {
    background: var(--gradient-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(93, 63, 211, 0.3);
}

.tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 87, 34, 0.3);
    z-index: 2;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    background: linear-gradient(to right, #fff, #d1d1f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.current-price {
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), #6366F1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 20px;
}

.original-price {
    font-size: 14px;
    color: var(--light-text);
    text-decoration: line-through;
}

/* Payment Methods Section */
.payment-section {
    padding: 30px 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.payment-card {
    background: var(--gradient-card);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(93, 63, 211, 0.3);
}

.payment-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.payment-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.payment-card p {
    color: var(--light-text);
    font-size: 12px;
}

/* Features Section */
.features-section {
    padding: 30px 0;
    background: var(--darker-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-card {
    background: var(--gradient-card);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(93, 63, 211, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-card p {
    color: var(--light-text);
    font-size: 12px;
}

/* About Section */
.about-section {
    padding: 30px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
}

.about-text h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 30px 0;
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--dark-card);
    padding: 15px;
    border-radius: 10px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-item div h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item div p {
    color: var(--light-text);
    font-size: 12px;
}

.contact-form {
    background: var(--dark-card);
    border-radius: 10px;
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--darker-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 30px 0 80px;
    background: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
    position: relative;
    border-top: 1px solid var(--glass-border);
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 10%, rgba(93, 63, 211, 0.1) 0%, transparent 30%),
                      radial-gradient(circle at 80% 90%, rgba(255, 87, 34, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-about {
    grid-column: 1 / -1;
}

.footer-about h3 {
    font-size: 22px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #d1d1f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-about h3 span {
    background: linear-gradient(to right, #FF5722, #FF9800);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-about p {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(93, 63, 211, 0.3);
    border-color: transparent;
}

.footer-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--light-text);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter {
    grid-column: 1 / -1;
}

.footer-newsletter h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-newsletter p {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 63, 211, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--light-text);
}

.payment-logos {
    display: flex;
    gap: 10px;
}

/* Floating Buttons */
.float-whatsapp {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow);
    z-index: 99;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

.float-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow);
    z-index: 99;
    cursor: pointer;
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background: var(--darker-bg);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--light-text);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.bottom-nav-item i {
    font-size: 18px;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--light-text);
    font-size: 12px;
}

.bottom-nav-item a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

.float-up {
    animation: floatUp 0.5s ease forwards;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.notification.show {
    opacity: 1;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Media Queries */
@media (min-width: 768px) {
    body {
        max-width: 768px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .game-grid, 
    .product-grid, 
    .payment-grid, 
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
    
    .footer-about,
    .footer-newsletter {
        grid-column: auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    body {
        max-width: 992px;
    }
    
    .game-grid, 
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Recharge Form Section */
.recharge-form-section {
    padding: 30px 0;
    background: var(--dark-bg);
}

.recharge-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
}

.form-step {
    margin-bottom: 30px;
}

.form-step h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    padding-left: 35px;
    background: linear-gradient(to right, #fff, #d1d1f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-step h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(93, 63, 211, 0.3);
}

.form-step:nth-child(1) h3:before {
    content: '1';
}

.form-step:nth-child(2) h3:before {
    content: '2';
}

.form-step:nth-child(3) h3:before {
    content: '3';
}

.game-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.game-selection .game-card {
    background: var(--dark-card);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.game-selection .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(93, 63, 211, 0.3);
}

.game-selection .game-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom right, rgba(93, 63, 211, 0.15), rgba(93, 63, 211, 0.05));
    box-shadow: 0 8px 15px rgba(93, 63, 211, 0.2);
}

.game-selection .game-card img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.game-selection .game-card h4 {
    font-size: 14px;
    margin-bottom: 0;
}

.game-id-input {
    margin-top: 15px;
}

.game-id-input label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 14px;
}

.game-id-input input {
    width: 100%;
    padding: 12px 15px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.game-id-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 63, 211, 0.2);
}

.input-note {
    margin-top: 8px;
    font-size: 12px;
    color: var(--light-text);
}

.top-up-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.top-up-item {
    background: var(--dark-card);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.top-up-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(93, 63, 211, 0.3);
}

.top-up-item.active {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom right, rgba(93, 63, 211, 0.15), rgba(93, 63, 211, 0.05));
    box-shadow: 0 8px 15px rgba(93, 63, 211, 0.2);
}

.top-up-item .amount {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.top-up-item .price {
    background: linear-gradient(to right, var(--primary-color), #6366F1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 22px;
}

.recharge-summary {
    background: var(--darker-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.recharge-summary h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.summary-details {
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--light-text);
}

.summary-row span:last-child {
    font-weight: 600;
}

.payment-options {
    background: var(--darker-bg);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.payment-options h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method {
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.payment-method:hover {
    transform: translateY(-3px);
}

.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(67, 56, 202, 0.1);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.method-name {
    font-weight: 600;
    font-size: 14px;
}

.hidden {
    display: none !important;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--white);
    font-size: 16px;
}

/* Order Confirmation */
.order-confirmation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 21, 38, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.confirmation-content {
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.confirmation-content h3 {
    color: var(--success-color);
    font-size: 22px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.order-details {
    text-align: left;
    margin-bottom: 20px;
    background: rgba(31, 33, 54, 0.6);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.order-details p {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.order-details p strong {
    color: var(--light-text);
    font-weight: normal;
}

.success-message {
    color: var(--success-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.close-confirmation {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.close-confirmation:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Responsive Styles for Recharge Form */
@media (min-width: 768px) {
    .game-selection {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .top-up-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .recharge-form {
        padding: 30px;
    }
    
    .form-step h3 {
        font-size: 20px;
    }
}

/* Animated Background Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(93, 63, 211, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 15px;
    height: 15px;
    animation: floating 20s infinite linear;
}

.particle:nth-child(2) {
    top: 70%;
    left: 80%;
    width: 18px;
    height: 18px;
    animation: floating 30s infinite linear;
    background: rgba(255, 87, 34, 0.1);
}

.particle:nth-child(3) {
    top: 40%;
    left: 40%;
    width: 12px;
    height: 12px;
    animation: floating 25s infinite linear;
}

.particle:nth-child(4) {
    top: 10%;
    left: 60%;
    width: 10px;
    height: 10px;
    animation: floating 35s infinite linear reverse;
    background: rgba(255, 87, 34, 0.08);
}

.particle:nth-child(5) {
    top: 85%;
    left: 30%;
    width: 16px;
    height: 16px;
    animation: floating 28s infinite linear;
}

.particle:nth-child(6) {
    top: 30%;
    left: 85%;
    width: 14px;
    height: 14px;
    animation: floating 32s infinite linear;
    background: rgba(255, 87, 34, 0.12);
}

.particle:nth-child(7) {
    top: 60%;
    left: 15%;
    width: 12px;
    height: 12px;
    animation: floating 22s infinite linear reverse;
}

.particle:nth-child(8) {
    top: 50%;
    left: 75%;
    width: 8px;
    height: 8px;
    animation: floating 38s infinite linear;
}

.particle:nth-child(9) {
    top: 80%;
    left: 50%;
    width: 10px;
    height: 10px;
    animation: floating 24s infinite linear reverse;
    background: rgba(255, 87, 34, 0.15);
}

.particle:nth-child(10) {
    top: 25%;
    left: 25%;
    width: 14px;
    height: 14px;
    animation: floating 26s infinite linear;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, 40px) rotate(90deg);
    }
    50% {
        transform: translate(10px, 80px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, 40px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Section Backgrounds & Shapes */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.4;
    pointer-events: none;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: rgba(93, 63, 211, 0.15);
    top: -50px;
    left: -100px;
    animation: shapeDrift 25s infinite alternate ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 87, 34, 0.08);
    bottom: -100px;
    right: -150px;
    animation: shapeDrift 30s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(93, 63, 211, 0.1);
    top: 20%;
    left: -100px;
    animation: shapeDrift 20s infinite alternate ease-in-out;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: rgba(255, 87, 34, 0.05);
    bottom: 10%;
    right: -100px;
    animation: shapeDrift 28s infinite alternate-reverse ease-in-out;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: rgba(93, 63, 211, 0.08);
    top: 40%;
    right: -200px;
    animation: shapeDrift 32s infinite alternate ease-in-out;
}

@keyframes shapeDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 50px) scale(1.2);
    }
}

/* Hero Shape */
.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23181A2A" fill-opacity="1" d="M0,192L48,176C96,160,192,128,288,112C384,96,480,96,576,122.7C672,149,768,203,864,192C960,181,1056,107,1152,101.3C1248,96,1344,160,1392,192L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Enhanced Section Headers */
.section-header h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.highlight {
    background: linear-gradient(to right, var(--primary-color), #6366F1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Enhanced Game Cards */
.diamond-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(93, 63, 211, 0.1), rgba(93, 63, 211, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .diamond-icon {
    transform: rotate(25deg) scale(1.2);
}

.diamond-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(93, 63, 211, 0.1), rgba(93, 63, 211, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-up-item:hover .diamond-badge {
    transform: rotate(25deg) scale(1.2);
}

/* WhatsApp Pulse Animation */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Enhanced Float WhatsApp Button */
.float-whatsapp {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.float-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}

.float-whatsapp .tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.float-whatsapp .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.float-whatsapp:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

/* Enhanced Image Overlay */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(93, 63, 211, 0.2), transparent);
    pointer-events: none;
}

/* Enhanced Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(20, 21, 38, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-top: 1px solid var(--glass-border);
} 