:root {
    --primary: #dc2626;
    /* Red-600 */
    --bg-color: #000000;
    /* Pure black background */
    --card-bg: rgba(15, 15, 15, 0.9);
    /* Dark card */
    --text-main: #ffffff;
    /* White text */
    --text-sec: #9ca3af;
    /* Grey text */
    --border: #dc2626;
    /* Red border */
    --shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
    --radius: 20px;
    --safe-area-bottom: env(safe-area-inset-bottom);
    --accent: #f87171;
    /* Light red accent */
    --dark-red: #991b1b;
    /* Dark red */
    --gradient: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    /* Red gradient */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Parallax Background */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;
}

.parallax-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    /* Dark overlay */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 2px solid var(--border);
    padding: 1rem 0;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    animation: breathe-bg 4s ease-in-out infinite;
}

@keyframes breathe-bg {

    0%,
    100% {
        background-color: rgba(10, 10, 10, 0.8);
    }

    50% {
        background-color: rgba(220, 38, 38, 0.2);
    }
}

.logo {
    height: 100px;
    border-radius: 12px;
    object-fit: contain;
    animation: breathe 6s ease-in-out infinite;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.6));
    will-change: transform, filter;
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.6));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.9));
    }
}



/* Category Select */
.category-wrapper {
    padding: 1rem;
    position: relative;
    z-index: 10;
}

.custom-select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 12px;
    transition: all 0.2s;
}

.custom-select:focus {
    outline: none;
    transform: scale(1.01);
    border-color: var(--border);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px 100px;
    /* Bottom padding for footer */
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 20px 100px;
    }
}

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

/* Product Card */
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Golden Shine Effect */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(167, 139, 250, 0.3),
            transparent);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 1;
    /* Animation automatique avec variables aléatoires */
    animation: shine var(--shine-duration, 5s) infinite;
    animation-delay: var(--shine-delay, 0s);
}

/* Supprimé : .product-card:hover::before */

@keyframes shine {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    /* Le reflet passe rapidement (dans les premiers 20% du temps) */
    100% {
        left: 150%;
    }

    /* Pause pour le reste du temps */
}

.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
    /* Lighter red on hover */
    background: linear-gradient(135deg, rgba(30, 0, 0, 0.95) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(220, 38, 38, 0.5);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: rgba(220, 38, 38, 0.1);
}

/* Restored Product Media Styles */
.product-media {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

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

.product-card:hover .product-media img {
    transform: scale(1.05);
}

.multi-media-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    /* Center all text */
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-align: center;
    line-height: 1.2;

    /* Effet Doré Aléatoire */
    background: linear-gradient(to right, #ffffff 20%, #f87171 50%, #ffffff 80%);
    background-size: 200% auto;
    color: #ffffff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 8s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: -200% center;
    }

    15% {
        background-position: 200% center;
    }

    /* Passage rapide du reflet */
    100% {
        background-position: 200% center;
    }

    /* Pause longue */
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-sec);
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.product-category {
    display: inline-block;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #f87171;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Category Overlay on Product Media */
.product-category-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(220, 38, 38, 0.9);
    color: #f87171;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    z-index: 5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.6),
        0 0 20px rgba(220, 38, 38, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.price-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--border);
    background: rgba(220, 38, 38, 0.2);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.btn-view {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    color: white;
    border: 2px solid rgba(220, 38, 38, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s;
}

.btn-view:hover::before {
    left: 100%;
}

.btn-view:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    border-color: rgba(248, 113, 113, 1);
}

/* Floating Button Bar - Transparent Container */
.floating-nav-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 60px;
    padding: 0;
    display: flex;
    gap: 1rem;
    z-index: 1100;
    box-shadow: none;
    transition: all 0.3s ease;
}

.floating-nav-bar:hover {
    box-shadow: none;
    border-color: transparent;
}

/* Regular nav buttons - Opaque */
.nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #000000;
    border: 1px solid rgba(220, 38, 38, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.nav-btn i {
    color: white;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.6));
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.8);
    filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.9));
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.8);
    transform: scale(1.1);
}

.nav-btn:hover i,
.nav-btn.active i {
    filter: drop-shadow(0 0 12px rgba(220, 38, 38, 1));
    transform: scale(1.1);
}

/* FAB button - larger */
.nav-btn-fab {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    border: 3px solid rgba(0, 0, 0, 0.9);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.7),
        0 0 60px rgba(220, 38, 38, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    animation: fabPulseRed 2s ease-in-out infinite;
}

.nav-btn-fab i {
    font-size: 2rem;
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.7));
}

.nav-btn-fab:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #f87171 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 48px rgba(220, 38, 38, 1),
        0 0 100px rgba(220, 38, 38, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.nav-btn-fab:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 1));
}

@keyframes fabPulseRed {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(220, 38, 38, 0.7),
            0 0 60px rgba(220, 38, 38, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.25);
    }

    50% {
        box-shadow: 0 12px 48px rgba(220, 38, 38, 1),
            0 0 100px rgba(220, 38, 38, 0.8),
            inset 0 2px 0 rgba(255, 255, 255, 0.35);
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    /* Bottom sheet on mobile */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
        justify-content: center;
    }
}

.modal-content {
    background: var(--card-bg);
    border: 2px solid var(--border);
    width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.modal-content::-webkit-scrollbar {
    width: 0;
}

.modal-content:focus {
    outline: none;
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

/* Reflection effect for modals */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
    transform: skewX(-25deg);
    animation: modalReflection 10s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes modalReflection {
    0% {
        left: -100%;
    }

    8% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 500px;
        border-radius: 24px;
        max-height: 85vh;
        transform: scale(0.95);
        opacity: 0;
    }

    .modal-overlay.active .modal-content {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    background: rgba(220, 38, 38, 0.9);
    border: 2px solid rgba(220, 38, 38, 1);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.6),
        0 0 30px rgba(220, 38, 38, 0.4);
    -webkit-tap-highlight-color: transparent;
}

.btn-view:hover i {
    background: rgba(220, 38, 38, 0.2);
    transform: scale(1.1);
}

.modal-close:hover,
.modal-close:active {
    background: rgba(248, 113, 113, 1);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.8),
        0 0 50px rgba(220, 38, 38, 0.6);
}

/* Modal Logo */
.modal-logo {
    height: 70px;
    border-radius: 12px;
    object-fit: contain;
    position: relative;
    display: inline-block;
}

/* Modal Product Specifics */
.modal-slider-container {
    height: 40vh;
    background: rgba(17, 22, 15, 0.95);
    position: relative;
}

.modal-slider {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.modal-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.modal-dot.active {
    background: white;
    transform: scale(1.2);
}

.modal-body {
    padding: 2rem;
    color: var(--text-color);
    text-align: center;
    /* Center everything in body by default */
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fca5a5;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    text-align: center;
}

.modal-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-sec);
    margin-bottom: 1.5rem;
    white-space: pre-line;
    text-align: center;
}

/* Info boxes with red borders */
.info-box {
    padding: 1rem;
    background: rgba(220, 38, 38, 0.05);
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 12px;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    text-align: center;
}

.tariff-box {
    background: rgba(220, 38, 38, 0.05);
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.modal-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.modal-price-row:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: var(--primary);
    transform: translateX(5px);
}

.modal-price-label {
    font-weight: 500;
    color: var(--text-main);
}

.modal-price-value {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

/* Shine effect for Price Row */
.modal-price-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
    animation-delay: 2s;
    pointer-events: none;
}

.price-row .price {
    color: var(--border);
    font-weight: 800;
}

/* Links Modal */
/* Link items with red borders */
.link-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid rgba(220, 38, 38, 0.5);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    background: rgba(220, 38, 38, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shine effect for Link Item */
.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shine 7s infinite;
    animation-delay: 1s;
    pointer-events: none;
}

.link-item:hover {
    border-color: rgba(220, 38, 38, 0.8);
    background: rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

.link-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    border: 1px solid rgba(220, 38, 38, 0.8);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.link-content {
    flex-grow: 1;
}

.link-content strong {
    display: block;
    font-size: 1rem;
}

/* Order Button - Red theme like FAB */
.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1.5rem;
    border: 3px solid rgba(0, 0, 0, 0.9);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.7),
        0 0 60px rgba(220, 38, 38, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    animation: fabPulseRed 2s ease-in-out infinite;
}

.order-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #f87171 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 48px rgba(220, 38, 38, 1),
        0 0 100px rgba(220, 38, 38, 0.8);
}

.order-btn i {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6));
}

/* Sparkle Effect */
.sparkle {
    position: fixed;
    /* Important: fixed positioning relative to viewport */
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle-burst 0.8s cubic-bezier(0, .9, .57, 1) forwards;
    z-index: 9999;
    background: rgba(220, 38, 38, 1);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.8);
    /* Red Glow */
}

@keyframes sparkle-burst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Order Buttons in Modal */
.order-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Reflection effect for order buttons */
.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s;
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.order-btn:active {
    transform: scale(0.98);
}

.threema-btn {
    background: linear-gradient(135deg, #05A63F 0%, #038030 100%);
    /* Threema Green */
    box-shadow: 0 4px 15px rgba(5, 166, 63, 0.3);
}

.signal-btn {
    background: linear-gradient(135deg, #3A76F0 0%, #2C5AD1 100%);
    /* Signal Blue */
    box-shadow: 0 4px 15px rgba(58, 118, 240, 0.3);
}

.telegram-btn {
    background: linear-gradient(135deg, #229ED9 0%, #1E88BD 100%);
    /* Telegram Blue */
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}

/* Utilities */
.loading-spinner {
    border: 3px solid rgba(220, 38, 38, 0.2);
    border-top: 3px solid var(--border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Mobile Optimizations */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    /* Resize Header Logo - Animation breathe active */
    .logo {
        height: 80px !important;
        width: auto !important;
        max-width: 180px !important;
        /* Forcer l'animation sur mobile */
        animation: breathe-mobile 4s ease-in-out infinite !important;
    }

    @keyframes breathe-mobile {

        0%,
        100% {
            transform: scale(1);
            filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.8)) drop-shadow(0 0 30px rgba(220, 38, 38, 0.6));
        }

        50% {
            transform: scale(1.1);
            filter: drop-shadow(0 0 25px rgba(220, 38, 38, 1)) drop-shadow(0 0 50px rgba(220, 38, 38, 0.8));
        }
    }

    @keyframes pulseGlowRed {

        0%,
        100% {
            filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.8));
        }

        50% {
            filter: drop-shadow(0 0 25px rgba(220, 38, 38, 1)) drop-shadow(0 0 50px rgba(220, 38, 38, 0.8));
        }
    }

    .logo-marquee {
        height: 60px !important;
    }

    .marquee-logo {
        height: 40px !important;
    }
}

/* Telegram Mini App Specifics */
body.telegram-app {
    width: 100vw;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    /* Prevent font scaling */
}