:root {
    --primary-color: #fc5160;
    --secondary-color: #f1faee;
    --light-color: #ffffff;
    --accent-color: #9ed1fe;
    --dark-accent: #9bc4ff;
    --text-color: #333333;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Structure pour le header avec le logo */
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px;
    width: 100%;
}

/* Le titre est dans la colonne centrale */
.header-container h1 {
    grid-column: 2;
    font-size: 3rem;
    margin: 0;
    text-align: center;
}

/* Le logo est placé dans la dernière colonne et justifié à droite */
.header-container .logo {
    grid-column: 3;
    height: 120px;
    justify-self: end;
    margin-right: 5%;
}

/* Pour les écrans moyens */
@media (max-width: 1200px) {
    .header-container h1 {
        font-size: 2.5rem;
    }
    
    .header-container .logo {
        height: 100px;
    }
}

/* Pour les petits écrans, passage en layout vertical */
@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 20px;
    }
    
    .header-container h1 {
        grid-column: 1;
        grid-row: 1;
        font-size: 2.2rem;
    }
    
    .header-container .logo {
        grid-column: 1;
        grid-row: 2;
        height: 100px;
        justify-self: center;
        margin-right: 0;
    }
}

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

header {
    background: radial-gradient(ellipse 60% 120% at center, var(--primary-color) 0%, var(--primary-color) 25%, var(--dark-accent) 89%, var(--dark-accent) 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: radial-gradient(ellipse 60% 120% at center, var(--primary-color) 0%,     var(--primary-color) 25%,     var(--dark-accent) 89%,     var(--dark-accent) 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

.price-banner {
    background-color: #f8f9fa;
    color: var(--primary-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid #dee2e6;
}

.collection-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.package-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 2px solid #f1faee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.package-header {
    background:  var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    z-index: 500;
}

.package-price {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    padding: 15px;
    color: var(--primary-color);
}
.package-price {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    padding: 15px;
    color: var(--primary-color);
}
.percentage-reduction {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 15px;
    color: rgb(255, 94, 0);
    
    /* Pour donner un effet "exposant" */
    vertical-align: super;
    font-size: 1.2rem;

    /* Rotation du texte */
    display: inline-block; /* nécessaire pour rotate */
    transform: rotate(20deg);
}

.package-price .original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin-right: 10px;
}

.package-content {
    padding: 0 20px 20px;
}

.package-description {
    margin-bottom: 20px;
    text-align: center;
}

.buy-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: radial-gradient(ellipse 60% 120% at center, var(--primary-color) 0%,     var(--primary-color)40%,     var(--dark-accent) 89%,     var(--dark-accent) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.buy-button:hover {
    background: radial-gradient(ellipse 60% 120% at center, #ff485a 0%, #ff485a 25%,  #75acff 89%, #75acff 100%);
}

.gen-button {
    width: auto; /* ou 30%, 150px, selon ton design */
    display: inline-block; /* pour qu'ils soient côte à côte si nécessaire */
    margin-right: 10px; /* espacement entre les boutons */
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1faee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}




.product-image {
    width: 100%;
    height: 320px; /* Hauteur augmentée pour format portrait */
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.product-description {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

.ultimate-card {
    grid-column: 1 / -1;
    background: linear-gradient(to right, rgba(230, 57, 70, 0.05), rgba(255, 255, 255, 1));
    border: 3px solid var(--primary-color);
}

.ultimate-header {
    background: var(--primary-color);
    font-size: 1.8rem;
    padding: 20px;
}


    /* Black Friday promo modal (clean Apple-style) */
    .bf-modal-overlay {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.36);
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 280ms ease, visibility 280ms ease;
        -webkit-font-smoothing: antialiased;
    }
    .bf-modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    .bf-modal {
        background: #ffffff;
        color: #111114;
        width: min(520px, 92%);
        padding: 24px 22px;
        border-radius: 14px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
        border: 1px solid rgba(0,0,0,0.06);
        text-align: center;
        transform: translateY(-6px);
        transition: transform 280ms ease;
        position: relative;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    .bf-modal-overlay.show .bf-modal { transform: translateY(0); }
    .bf-close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        border: none;
        background: transparent;
        font-size: 18px;
        cursor: pointer;
        color: #333;
        padding: 6px;
    }
    .bf-modal h3 {
        margin: 2px 0 6px;
        font-size: 1.2rem;
        font-weight: 600;
    }
    .bf-desc { margin: 6px 0 12px; color: #444; font-size: 1rem; }
    .bf-actions { display:flex; gap:12px; justify-content:center; align-items:center; margin-top:8px; }
    .bf-copy-btn {
        background: #0b0b0b;
        color: #fff;
        border: none;
        padding: 10px 14px;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }
    .bf-copy-btn:active { transform: translateY(1px); }
    .bf-shop-link { background: transparent; color: #111; border: 1px solid rgba(0,0,0,0.08); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }

    @media (max-width: 480px) {
        .bf-modal { padding: 18px; border-radius: 12px; }
        .bf-copy-btn, .bf-shop-link { padding: 9px 12px; }
    }

    /* Progress bar styled as a rounded rim (fills the modal's top rounded edge) */
    .bf-progress {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 12px; /* space for the rounded track */
        pointer-events: none;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
    }
    .bf-progress::before{
        /* track that follows the modal's rounded corners */
        content: '';
        position: absolute;
        left: 8px;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        height: 6px;
        background: rgba(0,0,0,0.06);
        border-radius: 999px;
    }
    .bf-progress-bar{
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        height: 6px;
        width: 0%;
        background: #000;
        border-radius: 999px; /* rounded ends while filling */
        will-change: width;
    }

    @media (max-width: 480px) {
        .bf-progress{ height: 10px; border-top-left-radius: 12px; border-top-right-radius: 12px; }
        .bf-progress::before, .bf-progress-bar{ left: 6px; right: 6px; height: 4px; }
    }

    /* Countdown inside modal */
    .bf-countdown {
        margin-top: 10px;
        display: inline-block;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }

    .bf-count-inner{
        display:flex;
        align-items:center;
        gap:10px;
        background: #f5f5f7;
        padding: 8px 12px;
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        border: 1px solid rgba(0,0,0,0.04);
    }

    .bf-count-seg{ display:flex; flex-direction:column; align-items:center; min-width:44px; }
    .bf-count-num{ font-size:1.05rem; font-weight:700; color:#111; line-height:1; }
    .bf-count-label{ font-size:0.65rem; font-weight:600; color:#666; margin-top:3px; text-transform:uppercase; letter-spacing:0.6px }
    .bf-count-colon{ font-weight:700; color:#333; font-size:1.05rem; }

    @media (max-width: 480px) {
        .bf-count-seg{ min-width:36px; }
        .bf-count-num{ font-size:1rem }
        .bf-count-label{ font-size:0.6rem }
    }
    }

    @media (max-width: 480px) {
        .bf-countdown { font-size: 0.9rem; padding: 5px 8px; }
    }
.step-by-step {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 40px 0;
    border: 1px solid #f1faee;

}

.step-by-step h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.steps {
    counter-reset: step-counter;
}

.step {
    display: flex;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
}

.step:last-child {
    margin-bottom: 0;
}

.step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background:  var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: #666;
}

.highlight {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    background: radial-gradient(ellipse 60% 120% at center, var(--primary-color) 0%,     var(--primary-color) 60%,     var(--dark-accent) 89%,     var(--dark-accent) 100%);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-title-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px auto;
}

@media (max-width: 768px) {
    .collection-overview {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .step {
        padding-left: 60px;
    }
    
    .product-image {
        height: 280px;
    }
}



.enhancement-container {
    overflow-x: auto;
    padding: 20px 0;
}

.enhancement-scroller {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

.enhancement-item {
    flex: 0 0 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    max-width: 300px; /* Limite la taille */
    height: auto;
}


.enhancement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.enhancement-preview img {
    width: 100%;
    height: auto;
}

.enhancement-details {
    padding: 15px;
}

.new{
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 15px;
    color: rgb(255, 89, 0);
    
    /* Pour donner un effet "exposant" */
    vertical-align: super;
    font-size: 2rem;

    /* Rotation du texte */
    display: inline-block; /* nécessaire pour rotate */
    transform: rotate(-10deg);
     /* Bordure noire */
     text-shadow: 
     -1px -1px 0 #000,  
      1px -1px 0 #000,
     -1px  1px 0 #000,
      1px  1px 0 #000;
}

.announcement-banner {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #ff5e00, #ffb347, #ff5e00);
    background-size: 200% 200%;
    animation: shimmer 4s linear infinite;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    position: fixed; /* toujours visible */
    top: 0;
    left: 0;
  }
  
  @keyframes shimmer {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

.bandeau {
    overflow: hidden;
    width: 100%;
    height: 130px;
    background: white;
    position: relative;
}

.bandeau-content {
    display: flex;
    align-items: center;
    height: 100%;
    will-change: transform;
}

.bandeau-content img {
    height: 120px;
    width: auto;
    margin-right: 20px;
    object-fit: contain;
    flex-shrink: 0;
}


/* CSS pour les logos dans les cartes de collection */

/* Style de base pour tous les logos de collection */
/* CSS pour les logos dans les cartes de collection */

/* Style de base pour tous les logos de collection */
.package-card .collection-logo {
    position: relative;
    top: 66px;
    right: -20px;
    height: 45px;
    width: auto;
    z-index: 1;
}



/* Premier logo dans la pile (arrière) */
.package-card.full-collection .collection-logo:nth-of-type(1) {
    transform: rotate(-5deg) translateX(10px);
    z-index: 1;
    opacity: 0.8;
    top: 40px;
}

/* Deuxième logo dans la pile (milieu) */
.package-card.full-collection .collection-logo:nth-of-type(2) {
    transform: rotate(0deg) translateX(5px);
    z-index: 2;
    opacity: 0.9;
   top: 40px;
    left: -15px;
}

/* Troisième logo dans la pile (devant) */
.package-card.full-collection .collection-logo:nth-of-type(3) {
    transform: rotate(5deg) translateX(0);
    z-index: 3;
    opacity: 1;
    top: 40px;
    left: -50px;
}



/* Pour l'ultimate collection, logo unique mais plus grand */
.package-card.ultimate-card .collection-logo {
    height: 70px;
    top: 40px;
}

/* Ajustement pour assurer que les package-cards sont en position relative */
.package-card {
    position: relative;
}















 
/* Barre de navigation sticky */
.sticky-nav {
    position: fixed;
    top: -80px; /* Cachée au début */
    left: 0;
    right: 0;
    height: 60px;
    background: whitesmoke;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 5000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.sticky-nav.visible {
    top: 0;
    opacity: 1;
    transform: translateY(0);
}

.sticky-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sticky-nav-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sticky-nav-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    
    margin-right: 12px;
}

.sticky-nav-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 ease;
}

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

.sticky-nav-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff5252 0%, #e53935 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.sticky-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(61, 90, 241, 0.3);
}

/* Style spécial pour le bouton Overview */
.sticky-nav-btn.overview {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    margin-right: 12px;
}

.sticky-nav-btn.overview:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e53935 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Séparateur visuel */
.nav-separator {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #e53835a7, transparent);
    margin: 0 12px;
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 90, 241, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(61, 90, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 90, 241, 0); }
}

.sticky-nav-btn.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-nav-buttons {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sticky-nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .sticky-nav {
        height: auto;
        min-height: 60px;
        padding: 8px 0;
    }
}
  







/* Styles pour la section AllOnePokemon avec défilement horizontal */
.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    margin: 30px 0;
    /* Style de la scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #e53935;
}

.scroll-wrapper {
    display: flex;
    gap: 25px;
    padding-bottom: 10px;
    /* Largeur minimale pour permettre le scroll */
    width: min-content;
}

/* Adaptation de la product-card pour le scroll horizontal */
.scroll-wrapper .product-card {
    flex: 0 0 240px; /* Largeur fixe pour chaque carte */
    min-width: 240px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1faee;
}

.scroll-wrapper .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Responsive pour le défilement */
@media (max-width: 1200px) {
    .scroll-wrapper .product-card {
        flex: 0 0 220px;
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .scroll-wrapper .product-card {
        flex: 0 0 200px;
        min-width: 200px;
    }
    
    .scroll-wrapper {
        gap: 15px;
    }
}



















/* Styles pour la barre de recherche */
.search-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    position: relative; /* Ajoutez cette ligne */
    overflow: visible; 
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #f1faee;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: visible;
    max-width: 600px;
    width: 100%;
    transition: border-color 0.3s ease;
    position: relative
}

.search-bar:focus-within {
    border-color: var(--primary-color);
}

.search-input-container {
    flex: 1;
    position: relative;
    z-index: 1001;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

/* Suggestions de recherche */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1002;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-highlight {
    font-weight: bold;
    color: var(--primary-color);
}

/* Séparateur */
.separator {
    width: 1px;
    height: 40px;
    background: #ddd;
    margin: 0 10px;
}

/* Menu FullList */
.fulllist-container {
    position: relative;
}

.fulllist-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.fulllist-btn:hover {
    color: #e53935;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.fulllist-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown du FullList */
.fulllist-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 300px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.fulllist-dropdown.active {
    display: block;
}

.fulllist-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.generation-section {
    margin-bottom: 15px;
}

.generation-title {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin: 0;

}

.pokemon-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pokemon-item {
    padding: 8px 25px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.pokemon-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.pokemon-item:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .separator {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    
    .fulllist-dropdown {
        right: -50px;
        min-width: 250px;
    }
    
    .search-input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .fulllist-btn {
        padding: 12px 15px;
        justify-content: center;
    }
}


/* Ajoutez ces styles à votre CSS existant */

/* Style pour les suggestions avec curseur pointer */
.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-generation {
    font-size: 0.85em;
    color: #666;
    font-weight: normal;
}

/* Style pour les éléments Pokemon dans la FullList */
.pokemon-item {
    cursor: pointer;
    padding: 5px 10px;
    margin: 2px 0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.pokemon-item:hover {
    background-color: #f0f0f0;
}

/* Style pour le bouton en surbrillance (doré) */
.buy-button.highlighted {
  background: radial-gradient(circle at center, #ffd700 0%, #ff8c00 100%);
    
    !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid #ffd200;
    animation: goldGlow 2s ease-in-out;
}



/* Effet de hover pour le bouton en surbrillance */
.buy-button.highlighted:hover {
    background: radial-gradient(circle at center, #fbab0e 0%, #f67d00 100%);
 
     !important;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Transition fluide pour tous les boutons */
.buy-button {
    transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Style amélioré pour la génération dans les suggestions */
.suggestion-name {
    flex: 1;
}

.suggestion-generation {
    background: #e8f4f8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    color: #2c5aa0;
    font-weight: 500;
}


/* Coming Soon Dropdown */
.coming-soon {
  position: relative;
  display: inline-block;
  margin-top: 15px;
}

.coming-btn {
  background: linear-gradient(135deg, #ffcc00, #ff8800);
  color: #222;
  font-weight: bold;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.coming-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 12px;
  z-index: 10;
  animation: fadeIn 0.3s ease-in-out;
}

.coming-content p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #444;
}

.coming-content p::before {
  content: "• ";
  color: #febc70b5;
}

.coming-soon:hover .coming-content {
  display: block;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}



.polls-btn {    
  margin-left: 50px;
  background: linear-gradient(135deg, #96d7ff, #bc74ff);
  color: #222;
  font-weight: bold;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
     text-decoration: none;
}

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

/* Scanner Beta Button */
.scanner-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: linear-gradient(135deg, #ff7070, #ffd5d5);
  color: white;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

/* Petit tag Beta */
.beta-tag {
  background: #fe6d6d;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}


#votes {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 40px 0;
    border: 1px solid #f1faee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: bold;
    background: var(--pokemon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-title {
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: bold;
    background: var(--pokemon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.card-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.card-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.card-option.selected {
    border-color: var(--primary-yellow);
    background: #fff8e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 203, 5, 0.3);
}

.card-content {
    text-align: center;
    position: relative;
}

/* Styles pour le carrousel d'images */
.card-image-carousel {
    position: relative;
    margin-bottom: 12px;
}

.carousel-container {
    width: 100%;
    height: 140px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 4px;
}

.carousel-image.active {
    opacity: 1;
}

/* Contrôles du carrousel */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-option:hover .carousel-controls {
    opacity: 1;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
    pointer-events: auto;
    margin: 0 8px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.carousel-btn.prev {
    margin-left: 8px;
}

.carousel-btn.next {
    margin-right: 8px;
}

/* Indicateurs du carrousel */
.carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-option:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.indicator.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Compteur d'images */
.image-counter {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-option:hover .image-counter {
    opacity: 1;
}

.card-name {
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 8px;
    color: #2c3e50;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-set {
    color: #666;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.set-logo {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid #dee2e6;
    overflow: hidden;
}

.set-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.comment-section {
    margin: 20px 0;
}

.comment-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9em;
}

.comment-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9em;
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(61, 125, 202, 0.1);
}

.vote-button {
    background: var(--pokemon-gradient);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.vote-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.vote-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.message {
    padding: 12px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    font-size: 0.9em;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.results-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f8f9fa;
}

.result-item {
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-name {
    font-weight: 600;
    font-size: 1em;
    color: #2c3e50;
}

.result-rank {
    font-size: 1.2em;
    font-weight: bold;
}

.rank-1 { color: #ffd700; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

.result-bar {
    background: #e9ecef;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.result-progress {
    background: var(--pokemon-gradient);
    height: 100%;
    transition: width 1.5s ease;
    border-radius: 10px;
}

.result-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #6c757d;
    font-weight: 500;
}

.total-votes {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
    color: var(--primary-blue);
    font-weight: 600;
}

.refresh-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.refresh-button:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

.loading {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 25px;
    font-size: 1em;
}

/* Styles pour les cartes à image unique */
.card-option .carousel-container:not(:has(.carousel-btn)) .carousel-controls,
.card-option .carousel-container:not(:has(.indicator)) .carousel-indicators {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #votes {
        padding: 20px;
        margin: 20px 0;
    }
    
    .vote-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .carousel-container {
        height: 120px;
    }
    
    .card-name {
        font-size: 0.8em;
        min-height: 2.4em;
    }
    
    .card-set {
        font-size: 0.75em;
    }
    
    .set-logo {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .vote-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .carousel-container {
        height: 100px;
    }
    
    .card-name {
        font-size: 0.75em;
        min-height: 2.2em;
    }
    
    .card-set {
        font-size: 0.7em;
    }
    
    .carousel-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin: 0 4px;
    }
    
    .indicator {
        width: 6px;
        height: 6px;
    }
}


.percentage-reduction2 {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 0px;
    color: rgb(255, 255, 255);
    
    /* Pour donner un effet "exposant" */
    vertical-align: super;
    font-size: 1.2rem;

    /* Rotation du texte */
    display: inline-block; /* nécessaire pour rotate */
    transform: rotate(20deg);
}



/* Scanner Beta Button - Version Responsive Améliorée */
.scanner-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: linear-gradient(135deg, #ff7070, #ffd5d5);
  color: white;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.scanner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  color: white;
}

/* Petit tag Beta */
.beta-tag {
  background: #fe6d6d;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 8px;
  vertical-align: middle;
  display: inline-block;
}

/* Media Queries pour la responsivité */

/* Écrans moyens et petits (tablettes) */
@media (max-width: 1200px) {
  .scanner-btn {
    top: 12px;
    right: 15px;
    padding: 7px 12px;
    font-size: 0.9rem;
  }
  
  .beta-tag {
    font-size: 0.65rem;
    padding: 2px 5px;
  }
}

/* Tablettes en mode portrait */
@media (max-width: 992px) {
  .scanner-btn {
    top: 10px;
    right: 15px;
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 18px;
  }
  
  .beta-tag {
    font-size: 0.6rem;
    padding: 1px 4px;
  }
}

/* Smartphones et petits écrans */
@media (max-width: 768px) {
  .scanner-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  
  .beta-tag {
    font-size: 0.55rem;
    padding: 1px 3px;
    border-radius: 6px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .scanner-btn {
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 0.75rem;
    border-radius: 14px;
  }
  

  .beta-tag {
    font-size: 0.5rem;
    padding: 1px 2px;
  }
}

/* Version alternative pour très petits écrans - bouton compact */
@media (max-width: 320px) {
  .scanner-btn {
    top: 5px;
    right: 5px;
    padding: 4px 6px;
    font-size: 0.7rem;
    border-radius: 12px;
    min-width: 40px;
    text-align: center;
  }

    /* Option : cacher le texte et ne garder qu'une icône sur très petits écrans */
  .scanner-btn .scanner-text {
    display: none;
  }
  
  /* Ajout d'une icône si vous voulez remplacer le texte */
  .scanner-btn::before {
    content: "🔍";
    font-size: 1rem;
  }
  
}

/* Gestion du header container pour éviter les conflits */
@media (max-width: 768px) {
  .header-container {
    position: relative;
    padding-top: 50px; /* Espace pour le bouton scanner en position fixed */
  }
}

/* Animation d'attention pour mobile */
@media (max-width: 768px) {
  .scanner-btn {
    animation: pulseAttention 3s infinite ease-in-out;
  }
  
  @keyframes pulseAttention {
    0%, 100% { 
      transform: scale(1);
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    50% { 
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(255, 112, 112, 0.4);
    }
  }
  
  .scanner-btn:hover {
    animation: none; /* Arrête l'animation au hover */
  }
}




.personalized-dex-banner {
    margin: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b9d 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.personalized-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.personalized-visual {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-stack {
    position: relative;
    width: 150px;
    height: 120px;
}

.stack-card {
    position: absolute;
    width: 100px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    border: 2px solid rgba(255,255,255,0.9);
}

.card-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 1;
}

.card-2 {
    top: 10px;
    left: 8px;
    transform: rotate(-3deg);
    z-index: 2;
}

.card-3 {
    top: 20px;
    left: 16px;
    transform: rotate(3deg);
    z-index: 3;
}

.card-4 {
    top: 30px;
    left: 24px;
    transform: rotate(8deg);
    z-index: 4;
}

.personalized-dex-banner:hover .card-1 { 
    transform: rotate(-20deg) translateX(-30px) translateY(-15px);
}
.personalized-dex-banner:hover .card-2 { 
    transform: rotate(-10deg) translateX(-15px) translateY(-12px);
}
.personalized-dex-banner:hover .card-3 { 
    transform: rotate(10deg) translateX(15px) translateY(-12px);
}
.personalized-dex-banner:hover .card-4 { 
    transform: rotate(20deg) translateX(30px) translateY(-15px);
}

.personalized-info {
    color: white;
}

.personalized-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.personalized-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.95;
}

.personalized-pricing {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-container {
    text-align: left;
}

.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.personalized-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #ff6b9d, #ff8a80);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(255,107,157,0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.personalized-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,157,0.4);
    background: linear-gradient(45deg, #ff5a8a, #ff7070);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .personalized-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 20px;
        text-align: center;
    }
    
    .personalized-visual {
        height: 120px;
        order: -1;
        margin-bottom: 15px;
    }
    
    .card-stack {
        width: 120px;
        height: 100px;
    }
    
    .stack-card {
        width: 80px;
    }
    
    .personalized-dex-banner:hover .card-1 { 
        transform: rotate(-15deg) translateX(-20px) translateY(-10px);
    }
    .personalized-dex-banner:hover .card-2 { 
        transform: rotate(-8deg) translateX(-10px) translateY(-8px);
    }
    .personalized-dex-banner:hover .card-3 { 
        transform: rotate(8deg) translateX(10px) translateY(-8px);
    }
    .personalized-dex-banner:hover .card-4 { 
        transform: rotate(15deg) translateX(20px) translateY(-10px);
    }
    
    .personalized-title {
        font-size: 1.8rem;
    }
    
    .personalized-description {
        font-size: 0.95rem;
    }
    
    .personalized-pricing {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .personalized-content {
        padding: 20px 15px;
    }
    
    .personalized-visual {
        margin-bottom: 20px;
    }
    
    .personalized-title {
        font-size: 1.6rem;
    }
    
    .card-stack {
        width: 100px;
        height: 80px;
    }
    
    .stack-card {
        width: 70px;
    }
    
    .personalized-dex-banner:hover .card-1 { 
        transform: rotate(-12deg) translateX(-15px) translateY(-8px);
    }
    .personalized-dex-banner:hover .card-2 { 
        transform: rotate(-6deg) translateX(-8px) translateY(-6px);
    }
    .personalized-dex-banner:hover .card-3 { 
        transform: rotate(6deg) translateX(8px) translateY(-6px);
    }
    .personalized-dex-banner:hover .card-4 { 
        transform: rotate(12deg) translateX(15px) translateY(-8px);
    }
}
