/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a0b1a 0%, #2d1b2d 30%, #8b2635 100%);
    color: #fff;
    scroll-behavior: smooth;
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 157, 0.8);
    }
}

/* Scroll-triggered animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Animated Background Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 1; 
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(26, 11, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 107, 157, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    animation: bounce 0.6s ease-in-out;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px #ff6b9d); }
    to { filter: drop-shadow(0 0 20px #ff6b9d); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
    border-radius: 25px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    opacity: 0.1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    transform: translateY(-2px);
    color: #ffd93d;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 11, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 107, 157, 0.2);
    padding: 20px 0;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav .nav-links {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}

.mobile-nav .nav-links a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 217, 61, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInLeft 1s ease-out;
    position: relative;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    border-radius: 2px;
    animation: expandLine 1s ease-out 1.5s forwards;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100px; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
    position: relative;
}

.hero p::before {
    content: '✨';
    position: absolute;
    left: -30px;
    top: 0;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
    opacity: 0;
    animation: slideInLeft 1s ease-out 1s forwards;
    margin-right: 20px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.5);
    background: linear-gradient(45deg, #c44569, #ff6b9d);
    animation: glow 1s ease-in-out infinite alternate;
}

.game-button {
    background: linear-gradient(45deg, #ffd93d, #ff6b9d);
    animation: slideInLeft 1s ease-out 1.2s forwards;
}

.game-button:hover {
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    animation: bounce 0.6s ease-in-out;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lipstick-container {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.lipstick {
    width: 120px;
    height: 400px;
    background: linear-gradient(180deg, #ffd93d 0%, #ff6b9d 30%, #8b2635 100%);
    border-radius: 60px 60px 20px 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.4);
    animation: rotate 6s linear infinite;
}

.lipstick::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 200px;
    background: linear-gradient(180deg, #c44569, #8b2635);
    border-radius: 40px 40px 10px 10px;
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sparkle {
    position: absolute;
    color: #ffd93d;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Game Section */
.game-section {
    padding: 100px 50px;
    background: rgba(45, 27, 45, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.game-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd93d;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.game-canvas-container {
    position: relative;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 3px solid rgba(255, 107, 157, 0.5);
    margin: 20px 0;
    overflow: hidden;
}

#gameCanvas {
    display: block;
    border-radius: 17px;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.game-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.start-btn {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
}

.start-btn:hover {
    background: linear-gradient(45deg, #c44569, #ff6b9d);
    transform: translateY(-2px);
}

.pause-btn {
    background: linear-gradient(45deg, #ffd93d, #ffb347);
    color: #333;
}

.pause-btn:hover {
    background: linear-gradient(45deg, #ffb347, #ffd93d);
    transform: translateY(-2px);
}

.game-instructions {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-instructions h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffd93d;
    font-weight: bold;
}

.instruction-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px 20px;
    margin: 10px 0;
    border-left: 4px solid #ff6b9d;
    transition: all 0.3s ease;
}

.instruction-box:hover {
    background: rgba(255, 107, 157, 0.1);
    transform: translateX(5px);
    border-left-color: #ffd93d;
}

.instruction-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

kbd {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 2px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.points {
    color: #ffd93d;
    font-weight: bold;
    background: rgba(255, 217, 61, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.lipstick-emoji {
    font-size: 1.2rem;
    margin: 0 5px;
    animation: pulse 2s infinite;
}

/* Responsive design for instructions */
@media (max-width: 768px) {
    .game-instructions {
        padding: 15px;
        margin: 15px 0;
    }
    
    .instruction-box {
        padding: 12px 15px;
        margin: 8px 0;
    }
    
    .instruction-box p {
        font-size: 0.9rem;
    }
    
    kbd {
        padding: 3px 6px;
        font-size: 0.8rem;
    }
    
    .game-instructions h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

.game-over-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #ff6b9d;
    display: none;
}

.game-over-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features Section */
.features {
    padding: 100px 50px;
    background: rgba(45, 27, 45, 0.8);
    backdrop-filter: blur(10px);
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Product Showcase */
.showcase {
    padding: 100px 50px;
    text-align: center;
}

.showcase h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 157, 0.4);
    border-color: rgba(255, 107, 157, 0.5);
}

.product-card h3 {
    transition: all 0.3s ease;
}

.product-card:hover h3 {
    color: #ffd93d;
    transform: translateY(-5px);
}

.product-color {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-color:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.6);
}

.product-color::after {
    content: '👆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.5rem;
}

.product-color:hover::after {
    opacity: 1;
}

/* Color Swatch Hover Effect */
.color-swatch {
    position: relative;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.wishlist-btn:hover {
    background: rgba(255, 107, 157, 0.8);
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.3);
}

/* Add to Cart Button */
.add-to-cart {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover .add-to-cart {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart:hover {
    background: linear-gradient(45deg, #c44569, #ff6b9d);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.4);
}

/* Color Swatches */
.color-swatches {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
    border-color: #ffd93d;
    box-shadow: 0 0 15px rgba(255, 217, 61, 0.5);
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    color: #ffd93d;
}

.cart-item-info p {
    margin: 0;
    color: #fff;
    font-weight: bold;
}

.remove-btn {
    background: linear-gradient(45deg, #ff4757, #c44569);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: linear-gradient(45deg, #c44569, #ff4757);
    transform: scale(1.05);
}

.cart-total {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 107, 157, 0.3);
}

.cart-total h3 {
    color: #ffd93d;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Virtual Try-On Styles */
.try-on-container {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.face-preview {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lips {
    width: 60px;
    height: 30px;
    background: #ff6b9d;
    border-radius: 50px;
    position: relative;
    transition: all 0.3s ease;
}

.lips::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: inherit;
    border-radius: 50px;
}

.color-picker h3 {
    color: #ffd93d;
    margin-bottom: 15px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #ffd93d;
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
}

.color-option.active {
    border-color: #ff6b9d;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a0b1a 0%, #2d1b2d 50%, #8b2635 100%);
    padding: 80px 50px 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 217, 61, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd93d;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
}

.footer-brand {
    text-align: left;
}

.brand-tagline {
    font-size: 1.1rem;
    color: #ffd93d;
    margin-bottom: 15px;
    font-style: italic;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a:hover {
    color: #ffd93d;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    color: #ffd93d;
    transform: translateX(10px);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 107, 157, 0.3);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.copyright strong {
    color: #ffd93d;
    font-size: 1.1rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: #ff6b9d;
}

.payment-methods {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.payment-methods p {
    color: #ffd93d;
    margin-bottom: 10px;
    font-weight: bold;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
}

.payment-icons span {
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-icons span:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #ffd93d);
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 157, 0.3);
    border-top: 4px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Counter Animation */
.counter {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd93d;
    display: inline-block;
}

.counter.animate {
    animation: countUp 1s ease-out;
}

@keyframes countUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #2d1b2d, #8b2635);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    border: 2px solid rgba(255, 107, 157, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #ff6b9d;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 3000;
    animation: toastSlideIn 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Shopping Cart */
.cart-icon {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.cart-icon:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffd93d;
    color: #333;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: bounce 0.6s ease-in-out;
}

/* Virtual Try-On */
.virtual-tryon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.virtual-tryon::after {
    content: 'Try On';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.virtual-tryon:hover::after {
    opacity: 1;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #ff6b9d, #ffd93d);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .game-stats {
        flex-direction: column;
        align-items: center;
    }

    #gameCanvas {
        max-width: 100%;
        height: auto;
    }

    .game-controls {
        flex-direction: column;
        align-items: center;
    }

    .features, .showcase, .game-section {
        padding: 60px 20px;
    }

    header {
        padding: 15px 20px;
    }

    .cart-icon {
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        justify-content: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link {
        margin: 0 10px;
    }
}