/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --secondary-color: #06b6d4;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: #9ca3af;
    --border-color: #2a2a2a;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple-neon: #a855f7;
    --cyan-neon: #06b6d4;
    --gradient: linear-gradient(135deg, var(--purple-neon) 0%, var(--cyan-neon) 100%);
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    animation: logoBounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.9));
    position: relative;
    z-index: 2;
}

@keyframes logoBounce {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.9));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 50px rgba(168, 85, 247, 1)) drop-shadow(0 0 70px rgba(6, 182, 212, 0.8));
    }
}

@keyframes logoGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(168, 85, 247, 1)) drop-shadow(0 0 70px rgba(6, 182, 212, 0.6));
    }
}

.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.progress-ring-circle {
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    animation: progress 2s ease-in-out infinite;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
}

@keyframes progress {
    0% {
        stroke-dashoffset: 565.48;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -565.48;
    }
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(168, 85, 247, 0.2);
    border-top: 4px solid var(--purple-neon);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Glow Text Effect ===== */
.glow-text {
    text-shadow: 
        0 0 10px var(--purple-neon),
        0 0 20px var(--purple-neon),
        0 0 30px var(--purple-neon);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px var(--purple-neon),
            0 0 20px var(--purple-neon),
            0 0 30px var(--purple-neon);
    }
    to {
        text-shadow: 
            0 0 20px var(--cyan-neon),
            0 0 30px var(--cyan-neon),
            0 0 40px var(--cyan-neon);
    }
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6));
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

.nav-brand h1 {
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--purple-neon);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--gradient);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Nav User Dropdown */
.nav-user-dropdown {
    position: relative;
    margin-left: 1rem;
}

.nav-user-trigger {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.15)) !important;
    border: 2px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 50px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.nav-user-trigger:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(6, 182, 212, 0.25)) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4) !important;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.2;
}

.user-balance {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan-neon);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.nav-user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 320px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(168, 85, 247, 0.3);
    z-index: 1000;
}

.nav-user-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 14px 14px 0 0;
}

.dropdown-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.dropdown-user-info h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
    font-weight: 700;
}

.dropdown-user-info p {
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

.dropdown-balance {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(6, 182, 212, 0.05));
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.dropdown-balance > i {
    font-size: 1.8rem;
    color: var(--cyan-neon);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.balance-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.balance-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-topup {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.btn-topup:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.8);
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 85, 247, 0.3), 
        transparent);
    margin: 0.5rem 1rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--purple-neon);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.15));
    padding-left: 2rem;
}

.dropdown-item.logout {
    color: var(--danger);
    border-radius: 0 0 14px 14px;
}

.dropdown-item.logout i {
    color: var(--danger);
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===== Banner Section ===== */
.banner-section {
    position: relative;
    padding: 3rem 0;
    overflow: visible;
    background: transparent;
    z-index: 1;
}

.banner-slider {
    position: relative;
    min-height: 600px;
}

.banner-slide {
    display: none;
    opacity: 0;
    position: absolute;
    width: 100%;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide.active {
    display: block;
    opacity: 1;
    position: relative;
    animation: smoothFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 15, 20, 0.98) 0%, rgba(20, 15, 30, 0.98) 100%);
    border-radius: 25px;
    padding: 5rem 4rem;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(6, 182, 212, 0.5)) 1;
    box-shadow: 
        0 20px 60px rgba(168, 85, 247, 0.25),
        0 10px 30px rgba(6, 182, 212, 0.15),
        inset 0 0 80px rgba(168, 85, 247, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    backdrop-filter: blur(10px);
}

.banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.banner-text {
    position: relative;
    z-index: 1;
}

.banner-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 4px 20px rgba(168, 85, 247, 0.5),
        0 0 30px rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(168, 85, 247, 0.5),
            0 0 30px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 
            0 4px 25px rgba(168, 85, 247, 0.7),
            0 0 40px rgba(168, 85, 247, 0.5);
    }
}

.banner-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.banner-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.banner-price {
    margin-bottom: 2rem;
}

.price-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
}

.banner-image-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.banner-image img {
    position: relative;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(168, 85, 247, 0.6));
    animation: float 3s ease-in-out infinite;
}

.banner-stock {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    border: 2px solid var(--cyan-neon);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 
        0 4px 15px rgba(6, 182, 212, 0.4),
        0 0 20px rgba(6, 182, 212, 0.2);
    backdrop-filter: blur(10px);
}

.banner-stock i {
    color: var(--cyan-neon);
}

.banner-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(168, 85, 247, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-dot:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.6);
    transform: scale(1.3);
}

.banner-dot.active {
    background: var(--gradient);
    width: 40px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 0 15px rgba(168, 85, 247, 0.8),
        0 0 30px rgba(168, 85, 247, 0.4);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Hero Section (Backup) ===== */
.hero {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn::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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--purple-neon);
    color: var(--purple-neon);
}

.btn-outline:hover {
    background: var(--purple-neon);
    color: white;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
}

/* ===== Stats Section ===== */
.stats {
    padding: 3rem 0;
    background: var(--darker-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-neon);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Products Section ===== */
.products {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.3);
    border-color: var(--purple-neon);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--darker-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success);
}

.badge-danger {
    background: var(--danger);
}

.badge-warning {
    background: var(--warning);
}

.badge-purple {
    background: var(--purple-neon);
}

.badge-info {
    background: var(--cyan-neon);
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    color: var(--purple-neon);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-stock {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Features Section ===== */
.features {
    padding: 4rem 0;
    background: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-neon);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: transparent;
    padding: 0;
    margin-top: 0;
    color: var(--text-color);
    position: relative;
    overflow: visible;
    width: 100%;
}

.footer-wave {
    position: relative;
    width: 100%;
    height: 120px;
    margin-top: -1px;
    margin-bottom: -1px;
    overflow: visible;
}

.footer-wave .wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.wave-1 {
    animation: wave-motion-1 6s ease-in-out infinite;
    z-index: 3;
}

.wave-2 {
    animation: wave-motion-2 8s ease-in-out infinite;
    animation-delay: -2s;
    z-index: 2;
}

.wave-3 {
    animation: wave-motion-3 10s ease-in-out infinite;
    animation-delay: -4s;
    z-index: 1;
}

@keyframes wave-motion-1 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-5%) translateY(-8px);
    }
    50% {
        transform: translateX(-10%) translateY(0);
    }
    75% {
        transform: translateX(-15%) translateY(-8px);
    }
}

@keyframes wave-motion-2 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-8%) translateY(-5px);
    }
    50% {
        transform: translateX(-16%) translateY(0);
    }
    75% {
        transform: translateX(-24%) translateY(-5px);
    }
}

@keyframes wave-motion-3 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-6%) translateY(-10px);
    }
    50% {
        transform: translateX(-12%) translateY(0);
    }
    75% {
        transform: translateX(-18%) translateY(-10px);
    }
}

.footer .container {
    padding: 3rem 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    max-height: 100px;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoGlow 3s ease-in-out infinite;
}

.footer-logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.9));
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--purple-neon);
}

.social-links {
    display: inline-flex !important;
    flex-flow: row wrap !important;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.2rem;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px) rotate(360deg);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(168, 85, 247, 0.3);
}

/* ===== Auth Section ===== */
.auth-section {
    padding: 5rem 0;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    padding: 4rem 5rem;
    border-radius: 25px;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(6, 182, 212, 0.5)) 1;
    box-shadow: 
        0 20px 60px rgba(168, 85, 247, 0.25),
        0 10px 30px rgba(6, 182, 212, 0.15),
        inset 0 0 60px rgba(168, 85, 247, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.auth-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.auth-form {
    position: relative;
    z-index: 1;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.75rem;
}

.auth-form .form-group.full-width {
    grid-column: 1 / -1;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    z-index: 1;
}

.auth-footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.auth-footer a {
    color: var(--purple-neon);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-footer a:hover {
    color: var(--cyan-neon);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--purple-neon);
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(5, 5, 5, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.form-control:focus {
    outline: none;
    border-color: var(--purple-neon);
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 
        0 0 20px rgba(168, 85, 247, 0.4),
        inset 0 0 10px rgba(168, 85, 247, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: rgba(156, 163, 175, 0.5);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

/* ===== Alerts ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* ===== Page Header ===== */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background: var(--darker-bg);
    border-bottom: 2px solid var(--border-color);
}

.page-header .page-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.page-header .page-logo img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-header .page-logo img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 1)) !important;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logoFloat 3s ease-in-out infinite;
    margin-bottom: 2rem;
}

.auth-logo img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-logo img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 1)) !important;
}

/* ===== Tables ===== */
.history-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.history-table table {
    width: 100%;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.history-table thead {
    background: var(--darker-bg);
}

.history-table th,
.history-table td {
    padding: 1rem;
    text-align: left;
}

.history-table th {
    font-weight: 600;
    color: var(--purple-neon);
    border-bottom: 2px solid var(--border-color);
}

.history-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.history-table tbody tr:hover {
    background: rgba(168, 85, 247, 0.05);
}

.history-table .badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-center {
    text-align: center;
}

/* ===== Empty State ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
}

/* ===== Additional Utility Classes ===== */
.price-highlight {
    color: var(--purple-neon);
    font-weight: bold;
}

.balance-display {
    margin-bottom: 2rem;
}

.balance-card {
    background: var(--gradient);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.balance-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.balance-card h2 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.quick-amounts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.quick-amounts .btn {
    flex: 1;
    min-width: 80px;
}

/* Product Detail Specific */
.product-detail {
    padding: 4rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.product-meta {
    margin: 2rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.meta-item i {
    color: var(--cyan-neon);
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Floating Logos Background ===== */
.floating-logos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-logo {
    position: absolute;
    opacity: 0.15;
    animation: float-bounce 15s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
    transition: all 0.3s;
}

.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-logo:hover {
    opacity: 0.3;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
    transform: scale(1.2) !important;
}

@keyframes float-bounce {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.9));
    }
}

/* ===== Minigame & Topup Sections ===== */
.minigame-section,
.topup-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.minigames-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.minigame-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.minigame-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.minigame-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--purple-neon);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.4);
}

.minigame-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.minigame-info {
    margin: 1.5rem 0;
    position: relative;
}

.minigame-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-item i {
    color: var(--cyan-neon);
}

.minigame-history,
.topup-history {
    margin-top: 4rem;
}

.minigame-history h2,
.topup-history h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.topup-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.topup-form-container,
.topup-sidebar {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.topup-form-container::before,
.topup-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.topup-methods {
    margin: 2rem 0;
    position: relative;
}

.topup-methods h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.topup-method {
    background: rgba(5, 5, 5, 0.6);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.topup-method:hover {
    border-color: var(--purple-neon);
    transform: translateX(5px);
    background: rgba(168, 85, 247, 0.05);
}

.topup-method.active {
    border-color: var(--purple-neon);
    background: rgba(168, 85, 247, 0.15);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.topup-method input[type="radio"] {
    margin-right: 1rem;
    accent-color: var(--purple-neon);
    width: 20px;
    height: 20px;
}

.topup-method label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
}

.topup-method label i {
    font-size: 1.8rem;
    color: var(--cyan-neon);
}

.topup-sidebar h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.payment-info {
    background: rgba(5, 5, 5, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.payment-info p {
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.payment-info strong {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .topup-grid {
        grid-template-columns: 1fr;
    }
    
    .minigames-grid {
        grid-template-columns: 1fr;
    }
}

