:root {
    --primary-purple: #6C4DF6;
    --primary-purple-hover: #5A3DE0;
    --kawaii-pink: #FF8ACD;
    --kawaii-pink-hover: #FF75C0;
    --neon-blue: #00D4FF;
    --bg-light: #F8F7FF;
    --bg-dark: #151528;
    --stock-green: #00C896;
    --offer-yellow: #FFC857;
    --text-main: #2D2D3A;
    --text-muted: #6B6B7B;
    --white: #FFFFFF;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 70px; /* For mobile nav */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.logo span {
    color: var(--primary-purple);
}

.search-bar {
    display: none;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid #E0E0EB;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(108, 77, 246, 0.1);
}

.search-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-purple);
    cursor: pointer;
}

.nav-desktop {
    display: none;
    gap: 20px;
    font-weight: 600;
}

.nav-desktop a:hover {
    color: var(--primary-purple);
}

.highlight-link {
    color: var(--offer-yellow);
}

.header-icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    font-size: 1.2rem;
    color: var(--bg-dark);
    position: relative;
}

.icon-link:hover {
    color: var(--primary-purple);
}

.cart-badge, .cart-badge-mobile {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--kawaii-pink);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Mobile Nav */
.nav-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-mobile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-mobile a.active {
    color: var(--primary-purple);
}

.nav-mobile i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cart-icon-mobile {
    position: relative;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2A2A4A 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--kawaii-pink);
    filter: blur(100px);
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--neon-blue);
    filter: blur(100px);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #E0E0EB;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 77, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-purple-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--kawaii-pink);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 138, 205, 0.4);
}

.btn-secondary:hover {
    background-color: var(--kawaii-pink-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
}

.btn-outline:hover {
    background-color: var(--neon-blue);
    color: var(--bg-dark);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

.badge {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 10px;
}

.badge-new {
    background-color: var(--stock-green);
    color: var(--white);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #f0f0f0; /* placeholder */
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--white);
}

.badge-offer { background-color: var(--offer-yellow); color: var(--bg-dark); }
.badge-presale { background-color: var(--primary-purple); }

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 15px;
    margin-top: auto;
}

.product-old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 5px;
}

.btn-add-cart {
    background-color: var(--bg-dark);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: var(--primary-purple);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand span {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary-purple);
}

.footer-links h4 {
    margin-bottom: 15px;
    color: var(--neon-blue);
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #E0E0EB;
}

.footer-links a:hover {
    color: var(--kawaii-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.payment-notice {
    margin-top: 10px;
    color: var(--stock-green);
    font-weight: 600;
}

/* Media Queries */
@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .nav-mobile { display: none; }
    .search-bar, .nav-desktop { display: flex; }
    
    .hero h1 { font-size: 3.5rem; }
    .hero-buttons { flex-direction: row; justify-content: center; }
    .btn { width: auto; }
    
    .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .footer-content { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .grid { grid-template-columns: repeat(4, 1fr); }
}
