/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --accent-1: #6c5ce7;
    --accent-2: #a855f7;
    --accent-3: #06b6d4;
    --gradient-1: linear-gradient(135deg, #6c5ce7, #a855f7);
    --gradient-2: linear-gradient(135deg, #a855f7, #06b6d4);
    --gradient-3: linear-gradient(135deg, #6c5ce7, #06b6d4);
    --neon-purple: rgba(108, 92, 231, 0.4);
    --neon-cyan: rgba(6, 182, 212, 0.4);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ============================================
   PARTICLES BACKGROUND
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0.15;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--accent-1)); }
    50% { filter: drop-shadow(0 0 20px var(--accent-2)); }
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.lang-switch {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px var(--neon-purple);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    z-index: 999;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 10px var(--neon-purple); }
    50% { box-shadow: 0 0 25px var(--neon-purple), 0 0 50px var(--neon-cyan); }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
    box-shadow: 0 5px 20px var(--neon-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--neon-purple);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-3);
    box-shadow: 0 5px 20px var(--neon-cyan);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.floating-card:hover {
    transform: scale(1.05) !important;
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-1 {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-card-1 6s ease-in-out infinite;
    z-index: 3;
}

.card-2 {
    width: 180px;
    height: 180px;
    top: 10%;
    left: 5%;
    animation: float-card-2 7s ease-in-out infinite;
    z-index: 2;
}

.card-3 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    right: 0;
    animation: float-card-3 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-card-1 {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -55%) rotate(2deg); }
    50% { transform: translate(-50%, -48%) rotate(-1deg); }
    75% { transform: translate(-50%, -53%) rotate(1deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-3deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* ============================================
   CATALOG SECTION
   ============================================ */
.catalog {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.badge-new {
    background: var(--accent-3);
    color: white;
}

.badge-hit {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}

.badge-sale {
    background: #ef4444;
    color: white;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.old-price {
    color: var(--text-secondary);
    font-size: 0.9rem;
    -webkit-text-fill-color: var(--text-secondary);
    margin-right: 5px;
}

.btn-cart {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    box-shadow: 0 5px 15px var(--neon-purple);
    transform: translateY(-2px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--accent-1);
    box-shadow: 0 5px 15px var(--neon-purple);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.feature span:last-child {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(6, 182, 212, 0.2));
    pointer-events: none;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 20% 80%, rgba(108, 92, 231, 0.08) 0%, transparent 50%);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-1);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.15);
}

.telegram-card {
    border-color: var(--accent-3);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(108, 92, 231, 0.1));
}

.telegram-card:hover {
    box-shadow: 0 15px 30px var(--neon-cyan);
}

.contact-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.btn-telegram {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0088cc, #06b6d4);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram-card:hover .btn-telegram {
    box-shadow: 0 5px 20px var(--neon-cyan);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--neon-purple);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--neon-purple);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="up"] {
    transform: translateY(40px);
}

[data-animate="right"] {
    transform: translateX(-40px);
}

[data-animate="left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        height: 350px;
    }

    .card-1 {
        width: 200px;
        height: 200px;
    }

    .card-2, .card-3 {
        width: 130px;
        height: 130px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }
}

/* ============================================
   MOBILE OPTIMIZATION (iOS/Android)
   ============================================ */

/* iOS Safe Area support */
body {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

/* Prevent iOS zoom on input/touch */
a, button, input, select, textarea {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* iOS smooth scrolling */
html {
    -webkit-overflow-scrolling: touch;
}

/* Prevent text size adjustment on orientation change */
html, body, input, textarea, select, button {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

/* Touch-friendly tap targets */
.btn, .btn-cart, .btn-telegram, .nav-links a, .lang-switch, .contact-card {
    min-height: 44px;
    min-width: 44px;
}

/* Better mobile buttons */
@media (max-width: 768px) {
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .btn-cart {
        padding: 12px 16px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-buttons {
        gap: 12px;
    }

    /* Better product cards on mobile */
    .product-card {
        flex-direction: column;
    }

    .product-image {
        aspect-ratio: 1/1;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.85rem;
    }

    .price-row {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .price {
        font-size: 1.2rem;
    }

    /* Better hero on mobile */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-image {
        height: 280px;
        padding: 0 20px;
    }

    .card-1 {
        width: 160px;
        height: 160px;
    }

    .card-2, .card-3 {
        width: 110px;
        height: 110px;
    }

    .hero-emoji-bg > span.emoji-icon {
        font-size: 40px;
    }

    .hero-emoji-bg.card-2 > span.emoji-icon,
    .hero-emoji-bg.card-3 > span.emoji-icon {
        font-size: 30px;
    }

    /* Better contact cards on mobile */
    .contact-card {
        padding: 24px 20px;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .btn-telegram {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    /* Better about section */
    .about-emoji-bg > span.emoji-icon {
        font-size: 80px;
    }

    .feature {
        padding: 12px;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    /* Better nav on mobile */
    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .lang-switch {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .mobile-menu-btn {
        padding: 8px 12px;
        font-size: 1.3rem;
    }

    .mobile-menu {
        padding: 20px;
    }

    .mobile-menu a {
        padding: 16px 0;
        font-size: 1.1rem;
    }

    /* Better footer */
    .footer {
        padding: 30px 0;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    /* Better section spacing */
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 360px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .product-emoji-bg > span.emoji-icon {
        font-size: 60px;
    }

    .card-1 {
        width: 130px;
        height: 130px;
    }

    .card-2, .card-3 {
        width: 90px;
        height: 90px;
    }
}

/* Android-specific: hide virtual keyboard when not needed */
@supports (-webkit-touch-callout: none) {
    /* iOS specific */
    .back-to-top {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================
   IEMOJI iOS-STYLE EMOJIS
   ============================================ */
img.emoji-native {
    height: 1em;
    width: 1em;
    vertical-align: -0.15em;
    display: inline-block !important;
    object-fit: contain;
}

/* Emoji icons in product cards */
.product-emoji-bg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.product-emoji-bg > span.emoji-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 80px;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    line-height: 1;
}

/* About section emoji */
.about-emoji-bg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
}
.about-emoji-bg > span.emoji-icon {
    font-size: 120px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* Hero section emoji */
.hero-emoji-bg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hero-emoji-bg > span.emoji-icon {
    font-size: 60px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.hero-emoji-bg.card-2 > span.emoji-icon,
.hero-emoji-bg.card-3 > span.emoji-icon {
    font-size: 40px;
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-bottom-nav.visible {
    display: flex;
    justify-content: space-around;
    transform: translateY(0);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: color 0.2s ease;
    min-width: 60px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.bottom-nav-item span:first-child {
    font-size: 1.4rem;
    line-height: 1;
}

.bottom-nav-item.active {
    color: #fff;
}

.bottom-nav-item:active {
    transform: scale(0.9);
}

/* Body padding when mobile nav is active */
body.mobile-nav-active {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

/* Hide back-to-top on mobile when bottom nav is visible */
@media (max-width: 768px) {
    .back-to-top {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .particle {
        display: none;
    }
}