/* Reset et variables CSS */
:root {
    --primary-yellow: #FFCB05;
    --primary-blue: #2A75BB;
    --primary-red: #CC0000;
    --pokemon-blue: #3B82F6;
    --pokemon-dark-blue: #1E40AF;
    --pokemon-yellow: #FFD700;
    --pokemon-orange: #FF6B35;
    --type-fire: #F08030;
    --type-water: #6890F0;
    --type-grass: #78C850;
    --type-electric: #F8D030;
    --dark-bg: #0f172a;
    --darker-bg: #0a0f1e;
    --light-bg: #fef3c7;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f1f5f9;
    --gradient-pokemon: linear-gradient(135deg, #FFCB05 0%, #2A75BB 50%, #CC0000 100%);
    --gradient-yellow: linear-gradient(135deg, #FFCB05 0%, #FFD700 100%);
    --gradient-blue: linear-gradient(135deg, #2A75BB 0%, #3B82F6 100%);
    --gradient-hero: linear-gradient(135deg, #2A75BB 0%, #1E40AF 50%, #0f172a 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.25);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.3);
    --shadow-pokemon: 0 8px 20px rgba(255, 203, 5, 0.3);
    --border-radius: 20px;
    --transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 203, 5, 0.1) 100%);
    box-shadow: 0 4px 20px rgba(42, 117, 187, 0.2);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 3px solid var(--primary-yellow);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(42, 117, 187, 0.3);
    border-bottom: 3px solid var(--primary-blue);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.pokeball-icon {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    overflow: visible;
}

.pokeball-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 45px 45px 0 0;
    border: 2px solid #1a1a1a;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.pokeball-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 
        0 0 0 2px #1a1a1a,
        0 0 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.pokeball-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pokeball-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #ffffff;
    border-radius: 0 0 45px 45px;
    border: 2px solid #1a1a1a;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer .logo-icon {
    width: 38px;
    height: 38px;
}

.footer .pokeball-center {
    width: 15px;
    height: 15px;
}

.footer .pokeball-center::before {
    width: 6px;
    height: 6px;
}

.logo span {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: normal;
    letter-spacing: 1.5px;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    text-shadow: 
        1px 1px 0px #CC0000,
        2px 2px 0px #2A75BB;
    image-rendering: pixelated;
    line-height: 1.6;
}

.logo:hover .logo-icon {
    transform: scale(1.15) rotate(15deg);
    filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.4));
}

.logo:hover .pokeball-top {
    background: #CC0000;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.3), 0 0 10px rgba(239, 68, 68, 0.3);
}

.logo:hover span {
    background: #2A75BB;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-weight: normal;
    font-size: 1.5rem;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    image-rendering: pixelated;
}

.nav-link:hover {
    color: #1a1a1a;
    opacity: 0.8;
}

.nav-link.active {
    color: #1a1a1a;
    font-weight: normal;
}

/* Menu déroulant */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

/* Flèche du menu : rotation uniquement au clic */
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    background: #1a1a1a;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nav-dropdown .nav-link {
    cursor: pointer;
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: #ffffff;
    border: 4px solid #1a1a1a;
    border-radius: 0;
    list-style: none;
    padding: 4px 0;
    margin: 0;
    min-width: 250px;
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.9),
        0 0 0 4px rgba(0, 0, 0, 0.1),
        8px 8px 0px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
    pointer-events: none;
    image-rendering: pixelated;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #1a1a1a 10%, 
        #000000 50%, 
        #1a1a1a 90%, 
        transparent 100%);
    z-index: 1;
    image-rendering: pixelated;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    image-rendering: pixelated;
}

/* Menu déroulant : uniquement au clic (pas de hover) */
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: menuSlideDown 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes menuSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    60% {
        transform: translateY(2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.dropdown-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 20%, 
        rgba(0, 0, 0, 0.15) 50%, 
        rgba(0, 0, 0, 0.1) 80%, 
        transparent 100%);
    image-rendering: pixelated;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'VT323', monospace;
    font-weight: normal;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, padding 0.2s ease;
    position: relative;
    border-left: 4px solid transparent;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    image-rendering: pixelated;
    line-height: 1.5;
    background: transparent;
}

/* Pas de style actif par défaut - uniquement au survol */

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.12) 0%, 
        rgba(0, 0, 0, 0.08) 50%, 
        rgba(0, 0, 0, 0.12) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: pixelated;
    z-index: 0;
}

.dropdown-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: pixelated;
    z-index: 2;
}

.dropdown-menu li a span {
    position: relative;
    z-index: 1;
}

.dropdown-menu li a:hover {
    color: #000000;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.15) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.15) 100%);
    border-left-color: #000000;
    padding-left: 24px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15), 
                 1px 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.dropdown-menu li a:hover::before {
    width: 100%;
}

.dropdown-menu li a:hover::after {
    width: 8px;
}

.dropdown-menu li:first-child a {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.dropdown-menu li:last-child a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Badge du panier dans la nav */
.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    animation: cartBadgePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.4);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section Moderne */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fef3c7;
    z-index: 0;
}

.hero-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text-section {
    animation: fadeInLeft 1s ease-out;
}

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

.hero-title-modern {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 2rem;
    line-height: 1.6;
    letter-spacing: 2px;
    image-rendering: pixelated;
}

.gradient-text-modern {
    color: #f59e0b;
    display: inline-block;
}

.gradient-text-modern-2 {
    color: #2A75BB;
    display: inline-block;
}

.gradient-text-modern-3 {
    color: #CC0000;
    display: inline-block;
}

.hero-subtitle-modern {
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    color: #475569;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: normal;
    letter-spacing: 1.5px;
    image-rendering: pixelated;
}

.hero-buttons-modern {
    display: flex;
    gap: 1.5rem;
}

.btn-modern {
    padding: 18px 36px;
    border: 4px solid #1a1a1a;
    border-radius: 0;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    font-weight: normal;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.15s ease;
    position: relative;
    overflow: visible;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    text-transform: uppercase;
    letter-spacing: 2px;
    image-rendering: pixelated;
    line-height: 1.4;
}

.btn-contact-modern {
    background: #2A75BB;
    color: white;
    position: relative;
    z-index: 1;
    animation: buttonFloat 3s ease-in-out infinite;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

.btn-contact-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: 2;
}

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

.btn-contact-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn-contact-modern:hover::after {
    width: 300px;
    height: 300px;
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    z-index: 3;
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.btn-text {
    z-index: 3;
    position: relative;
    letter-spacing: 0.5px;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 2;
}

.btn-contact-modern:hover .btn-shine {
    transform: rotate(45deg) translateX(100%);
    animation: shineButton 1s ease-in-out;
}

@keyframes shineButton {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.btn-contact-modern:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.4);
    animation: none;
}

.btn-contact-modern:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.btn-contact-modern:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
    animation: none;
}

.btn-contact-modern:active {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.4),
        0 0 20px rgba(139, 92, 246, 0.2);
}

.btn-primary-modern {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary-modern:active {
    transform: translateY(-1px);
}

.hero-cards-preview {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card {
    position: absolute;
    width: 320px;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 40px rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: cardEntrance 0.6s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(45deg) translateX(-100%) translateY(-100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.preview-card:hover::before {
    opacity: 0;
    animation: none;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-150%) translateY(-150%);
    }
    50% {
        transform: rotate(45deg) translateX(0%) translateY(0%);
    }
    100% {
        transform: rotate(45deg) translateX(150%) translateY(150%);
    }
}

.preview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.preview-card:hover::after {
    opacity: 0;
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.preview-card:hover img {
    transform: scale(1);
}

.preview-card-1 {
    top: 20px;
    left: 0;
    z-index: 3;
    transform: rotate(-12deg) translateY(0);
    animation: 
        cardEntrance 0.6s ease-out 0.1s forwards,
        floatCard1 6s ease-in-out 1s infinite;
    will-change: transform;
}

.preview-card-2 {
    top: 60px;
    left: 160px;
    z-index: 2;
    transform: rotate(6deg) translateY(0);
    animation: 
        cardEntrance 0.6s ease-out 0.2s forwards,
        floatCard2 7s ease-in-out 1.2s infinite;
    will-change: transform;
}

.preview-card-3 {
    top: 100px;
    left: 320px;
    z-index: 1;
    transform: rotate(-6deg) translateY(0);
    animation: 
        cardEntrance 0.6s ease-out 0.3s forwards,
        floatCard3 8s ease-in-out 1.4s infinite;
    will-change: transform;
}

@keyframes floatCard1 {
    0%, 100% {
        transform: rotate(-12deg) translateY(0) translateX(0);
    }
    25% {
        transform: rotate(-11deg) translateY(-12px) translateX(3px);
    }
    50% {
        transform: rotate(-10deg) translateY(-18px) translateX(0);
    }
    75% {
        transform: rotate(-11deg) translateY(-12px) translateX(-3px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: rotate(6deg) translateY(0) translateX(0);
    }
    25% {
        transform: rotate(7deg) translateY(-15px) translateX(-2px);
    }
    50% {
        transform: rotate(8deg) translateY(-22px) translateX(0);
    }
    75% {
        transform: rotate(7deg) translateY(-15px) translateX(2px);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: rotate(-6deg) translateY(0) translateX(0);
    }
    25% {
        transform: rotate(-5deg) translateY(-14px) translateX(2px);
    }
    50% {
        transform: rotate(-4deg) translateY(-20px) translateX(0);
    }
    75% {
        transform: rotate(-5deg) translateY(-14px) translateX(-2px);
    }
}

.preview-card.hovered {
    animation-play-state: running;
}


/* Section Catégories */
.section-categories {
    padding: 100px 0;
    background: white;
    position: relative;
}

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

.section-title-modern {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: 2px;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
}

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

.category-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.category-card p {
    font-size: 1rem;
    color: #64748b;
    position: relative;
    z-index: 1;
}

/* Hero Section (ancien - gardé pour compatibilité) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pokeball-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #fff 12%, #000 12%, #000 14%, #CC0000 14%, #CC0000 50%, #000 50%, #CC0000 50%);
    top: -250px;
    right: -250px;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    filter: blur(2px);
}

.pokeball-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #ccc 50%, #000 100%);
    border: 8px solid #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.pokeball-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.pokeball-2 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.pokeball-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 10%;
    animation: float 18s ease-in-out infinite;
}


@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-30px, 30px) rotate(90deg); }
    50% { transform: translate(-60px, 60px) rotate(180deg); }
    75% { transform: translate(-30px, 30px) rotate(270deg); }
}

.hero-background::before,
.hero-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-background::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FFCB05 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-background::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #CC0000 0%, transparent 70%);
    bottom: 20%;
    right: 15%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFD700 50%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(255, 203, 5, 0.5));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: drop-shadow(0 4px 8px rgba(255, 203, 5, 0.5)); }
    50% { filter: drop-shadow(0 4px 16px rgba(255, 215, 0, 0.8)); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: 4px solid #1a1a1a;
    border-radius: 0;
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    font-weight: normal;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.15s ease;
    position: relative;
    overflow: visible;
    transform-style: preserve-3d;
    text-transform: uppercase;
    letter-spacing: 2px;
    image-rendering: pixelated;
    width: 100%;
    text-align: center;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #FFCB05;
    color: #1a1a1a;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
    font-weight: normal;
    border: 4px solid #1a1a1a;
    position: relative;
    overflow: visible;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.4);
    background: #fbbf24;
}

.btn-primary:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transition: left 0.6s;
}

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

.btn-primary:hover {
    transform: translateY(-8px) scale(1.08) rotate(1deg);
    box-shadow: 0 15px 40px rgba(255, 203, 5, 0.7), 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Garder l'animation sur hover pour les boutons hero */
.btn-primary.hero-btn-animated:hover {
    animation: badgeBounce 2s ease-in-out infinite, badgeShimmer 3s ease-in-out infinite;
}

.btn-primary:active {
    transform: translateY(-4px) scale(1.02);
    animation: buttonBounce 0.3s ease;
}

@keyframes buttonBounce {
    0%, 100% { transform: translateY(-4px) scale(1.02); }
    50% { transform: translateY(-8px) scale(1.05); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Animation pulse seulement si pas hero-btn-animated */
.btn-secondary:not(.hero-btn-animated) {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(255, 255, 255, 0.4); }
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    animation: buttonShake 0.5s ease;
}

@keyframes buttonShake {
    0%, 100% { transform: translateY(-5px) scale(1.05) rotate(0deg); }
    25% { transform: translateY(-5px) scale(1.05) rotate(-2deg); }
    75% { transform: translateY(-5px) scale(1.05) rotate(2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 3px solid white;
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 0;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-alt {
    background: #fef3c7;
    position: relative;
}

.section-alt::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFCB05' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-pokemon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: var(--gradient-pokemon);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.5);
}

.section-subtitle {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1.5rem auto 0;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Filtres */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.875rem 2rem;
    border: 3px solid var(--primary-blue);
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(42, 117, 187, 0.2);
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-blue);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.filter-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
    z-index: 1;
}

.filter-btn:hover::after {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-5px) scale(1.08) rotate(1deg);
    box-shadow: 0 10px 30px rgba(42, 117, 187, 0.5);
    animation: filterButtonPop 0.4s ease;
}

@keyframes filterButtonPop {
    0% { transform: translateY(-5px) scale(1.08) rotate(1deg); }
    50% { transform: translateY(-8px) scale(1.12) rotate(-1deg); }
    100% { transform: translateY(-5px) scale(1.08) rotate(1deg); }
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 400px;
    height: 400px;
}

.filter-btn:active {
    transform: translateY(-2px) scale(1.05);
    animation: filterButtonClick 0.2s ease;
}

@keyframes filterButtonClick {
    0%, 100% { transform: translateY(-2px) scale(1.05); }
    50% { transform: translateY(-4px) scale(1.08); }
}

/* Grille de cartes */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(255, 203, 5, 0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1;
    transform: scale(1) translateY(0);
    position: relative;
    border: 3px solid transparent;
    animation: cardEntrance 0.4s ease-out backwards;
    will-change: transform, opacity;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.card-item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-pokemon);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    animation: cardBorderGlow 2s ease-in-out infinite;
}

@keyframes cardBorderGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.1; }
}

.card-item::after {
    content: '✨';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.card-item.hidden {
    display: none;
}

.card-item:hover {
    transform: translateY(-20px) scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(255, 203, 5, 0.6);
    border-color: var(--primary-yellow);
    animation: cardHoverBounce 0.6s ease infinite;
}

@keyframes cardHoverBounce {
    0%, 100% { transform: translateY(-20px) scale(1.05) rotate(2deg); }
    50% { transform: translateY(-25px) scale(1.07) rotate(-2deg); }
}

.card-item:hover::before {
    opacity: 0.4;
    animation: cardBorderPulse 1s ease-in-out infinite;
}

@keyframes cardBorderPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

.card-item:hover::after {
    opacity: 1;
    transform: scale(1) rotate(360deg);
}

.card-item:active {
    transform: translateY(-15px) scale(1.02) rotate(0deg);
    animation: none;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    aspect-ratio: 63/88;
    border-bottom: 4px solid var(--primary-yellow);
}

.card-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.card-item:hover .card-image img {
    transform: scale(1.05);
}

.card-rarity {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-yellow);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.8);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 203, 5, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.8); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 203, 5, 0.7), 0 0 0 3px rgba(255, 255, 255, 1); }
}

.card-rarity.ultra {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.card-rarity.rare {
    background: linear-gradient(135deg, #FFCB05 0%, #FFD700 100%);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.card-item:hover .card-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.75rem 2rem;
    background: var(--gradient-yellow);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 203, 5, 0.4);
    animation: viewButtonGlow 2s ease-in-out infinite;
}

@keyframes viewButtonGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 203, 5, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(255, 203, 5, 0.7); }
}

.btn-view::before {
    content: '👁️';
    position: absolute;
    left: -30px;
    transition: left 0.3s ease;
    opacity: 0;
}

.btn-view:hover::before {
    left: 15px;
    opacity: 1;
}

.btn-view:hover {
    transform: scale(1.15) rotate(2deg);
    box-shadow: 0 8px 30px rgba(255, 203, 5, 0.8);
    padding-left: 3rem;
    animation: viewButtonBounce 0.5s ease infinite;
}

@keyframes viewButtonBounce {
    0%, 100% { transform: scale(1.15) rotate(2deg) translateY(0); }
    50% { transform: scale(1.2) rotate(2deg) translateY(-3px); }
}

.btn-view:active {
    transform: scale(1.1) rotate(-2deg);
    animation: none;
}

.card-info {
    padding: 1.5rem;
    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
}

.card-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-pokemon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.card-set {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-condition {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(42, 117, 187, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: transparent;
    border-radius: var(--border-radius);
    max-width: 95vw;
    width: 100%;
    max-height: 95vh;
    overflow: visible;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.modal-body {
    padding: 3rem;
}

.modal-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.modal-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.modal-rarity {
    margin-bottom: 1rem;
}

.modal-rarity span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFCB05 0%, #FFA500 100%);
    color: #333;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 20px;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-set {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-info {
    margin-bottom: 2rem;
}

.modal-condition {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.modal-buy-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.modal-shipping {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

/* Styles pour les modals de collection et galerie */
.collection-modal-content,
.gallery-modal-content {
    padding: 2rem;
}

.collection-modal-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.collection-modal-image {
    width: 200px;
    height: 280px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.collection-modal-count {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
}

.collection-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.collection-modal-card {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    border: 2px solid transparent;
}

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

.collection-modal-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.5rem;
}

.collection-modal-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-pokemon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collection-modal-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.card-price-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem !important;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Modal simplifié - seulement l'image */
.gallery-modal-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.gallery-modal-image-simple {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
}

.gallery-modal-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.gallery-modal-image-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 15px;
}

.gallery-modal-info {
    text-align: left;
}

.gallery-modal-description {
    color: var(--text-secondary);
    margin: 1rem 0 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Sections de détails de la carte */
.card-details-section {
    background: rgba(30, 30, 62, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.detail-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.price-value {
    color: #FFCB05;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(255, 203, 5, 0.3);
}

/* Badges de qualité */
.quality-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quality-parfait {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.quality-excellent {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.quality-très-bon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.quality-bon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.quality-correct {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Badges d'état */
.condition-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.condition-mint {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.condition-near-mint {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.condition-excellent {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.condition-very-good {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.condition-good {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.description-section {
    background: rgba(30, 30, 62, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #3b82f6;
}

.description-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 150px;
}

@media (max-width: 768px) {
    .collection-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .collection-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

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

    .gallery-modal-image {
        max-height: 50vh;
    }

    .gallery-modal-image-simple {
        max-width: 95%;
        max-height: 80vh;
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 20px;
    }

    .gallery-modal-image-simple {
        max-width: 95%;
        max-height: 80vh;
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 20px;
    }
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.collection-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    animation: collectionCardEntrance 0.6s ease-out backwards;
}

@keyframes collectionCardEntrance {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px) rotateX(90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
    }
}

.collection-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-pokemon);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.collection-card::after {
    content: '🎴';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.4s ease;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.collection-card:hover {
    transform: translateY(-15px) scale(1.05) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(255, 203, 5, 0.5);
    border-color: var(--primary-yellow);
    animation: collectionCardHover 0.6s ease infinite;
}

@keyframes collectionCardHover {
    0%, 100% { transform: translateY(-15px) scale(1.05) rotate(-1deg); }
    50% { transform: translateY(-18px) scale(1.07) rotate(1deg); }
}

.collection-card:hover::before {
    opacity: 0.4;
    animation: collectionBorderGlow 1s ease-in-out infinite;
}

@keyframes collectionBorderGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

.collection-card:hover::after {
    opacity: 1;
    transform: scale(1.2) rotate(360deg);
}

.collection-card:active {
    transform: translateY(-10px) scale(1.02);
    animation: collectionCardClick 0.2s ease;
}

@keyframes collectionCardClick {
    0%, 100% { transform: translateY(-10px) scale(1.02); }
    50% { transform: translateY(-12px) scale(1.05); }
}

.collection-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(42, 117, 187, 0.8) 50%, transparent 100%);
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .collection-overlay {
    transform: translateY(0);
    opacity: 1;
}

.collection-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--primary-yellow);
}

.collection-info {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collection-count {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Galerie - Style fixe avec informations visibles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
    padding: 0 1rem;
}

.gallery-item {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 2px #1a1a1a,
        0 0 0 4px #ffffff,
        6px 6px 0px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 3px solid #1a1a1a;
    width: 100%;
    max-width: 240px;
    image-rendering: pixelated;
}

.gallery-item:hover {
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.2),
        0 0 0 2px #1a1a1a,
        0 0 0 4px #ffffff,
        8px 8px 0px rgba(0, 0, 0, 0.3);
    transform: translate(-3px, -3px);
    border-color: #1a1a1a;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #f8f9fa;
    padding: 1.2rem;
    transition: transform 0.2s ease;
    border-bottom: 2px solid #1a1a1a;
    image-rendering: pixelated;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-card-info {
    padding: 1.2rem 1rem;
    background: #ffffff;
    border-top: 2px solid #1a1a1a;
    text-align: center;
    image-rendering: pixelated;
}

.gallery-title {
    font-family: 'Press Start 2P', cursive;
    color: #1a1a1a;
    font-size: 0.75rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
    letter-spacing: 0.8px;
    image-rendering: pixelated;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0;
}

.gallery-price {
    font-family: 'Press Start 2P', cursive;
    color: #2A75BB;
    font-size: 0.95rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 1.2rem;
    letter-spacing: 1.8px;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.2);
    image-rendering: pixelated;
    line-height: 1.5;
    padding: 0.5rem 0.4rem;
    background: rgba(42, 117, 187, 0.05);
    border: 2px solid rgba(42, 117, 187, 0.2);
    border-radius: 0;
}

.gallery-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    align-items: center;
}

.gallery-detail-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-family: 'VT323', monospace;
    width: 100%;
}

.gallery-detail-label {
    color: #64748b;
    font-weight: normal;
    font-size: 1.1rem;
    font-family: 'VT323', monospace;
    letter-spacing: 1px;
}

.gallery-detail-value {
    color: #1a1a1a;
    font-weight: normal;
    font-family: 'VT323', monospace;
}

.gallery-qualite-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    font-size: 0.95rem;
    font-family: 'VT323', monospace;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: 2px solid #1a1a1a;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    image-rendering: pixelated;
    min-width: 60px;
    text-align: center;
}

.gallery-qualite-excellent {
    background: #3b82f6;
    color: white;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.gallery-qualite-très-bon {
    background: #8b5cf6;
    color: white;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.gallery-qualite-bon {
    background: #f59e0b;
    color: white;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.gallery-qualite-correct {
    background: #ef4444;
    color: white;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.gallery-qualite-parfait {
    background: #10b981;
    color: white;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.gallery-quantite-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    font-size: 0.95rem;
    font-family: 'VT323', monospace;
    font-weight: normal;
    background: #2A75BB;
    color: white;
    border: 2px solid #1a1a1a;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 1.2px;
    image-rendering: pixelated;
    min-width: 60px;
    text-align: center;
    text-transform: uppercase;
}

.gallery-etat-score {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    font-size: 0.95rem;
    font-family: 'VT323', monospace;
    font-weight: normal;
    color: white;
    border: 2px solid #1a1a1a;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    min-width: 60px;
    text-align: center;
    letter-spacing: 1.2px;
    image-rendering: pixelated;
    text-transform: uppercase;
}

/* Couleurs pour les scores d'état */
.gallery-etat-score[data-score="10"],
.gallery-etat-score[data-score="9"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gallery-etat-score[data-score="8"],
.gallery-etat-score[data-score="7"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.gallery-etat-score[data-score="6"],
.gallery-etat-score[data-score="5"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gallery-etat-score[data-score="4"],
.gallery-etat-score[data-score="3"] {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.gallery-etat-score[data-score="2"],
.gallery-etat-score[data-score="1"],
.gallery-etat-score[data-score="0"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.gallery-etat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-etat-near-mint,
.gallery-etat-mint {
    background: #10b981;
    color: white;
}

.gallery-etat-excellent {
    background: #3b82f6;
    color: white;
}

.gallery-etat-very-good {
    background: #f59e0b;
    color: white;
}

.gallery-etat-good {
    background: #ef4444;
    color: white;
}

/* Contact */
.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 0;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
    border: 4px solid #1a1a1a;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFCB05;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: 'VT323', monospace;
    font-weight: normal;
    font-size: 1.3rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 3px solid #1a1a1a;
    border-radius: 0;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    background: white;
    position: relative;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    image-rendering: pixelated;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A75BB;
    box-shadow: 4px 4px 0px rgba(42, 117, 187, 0.3);
    transform: translate(-2px, -2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #2A75BB;
    box-shadow: 3px 3px 0px rgba(42, 117, 187, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f172a 50%, #1a1a2e 100%);
    color: #f1f5f9;
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 4px solid #FFCB05;
    image-rendering: pixelated;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 203, 5, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(42, 117, 187, 0.05) 0%, transparent 50%);
    pointer-events: none;
    image-rendering: pixelated;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-section {
    position: relative;
}

.footer-section .logo {
    margin-bottom: 1.5rem;
}

.footer-section .logo span {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: #CC0000;
    font-weight: normal;
    letter-spacing: 1.5px;
    text-shadow: 
        2px 2px 0px #1a1a1a,
        3px 3px 0px #2A75BB;
    image-rendering: pixelated;
    line-height: 1.6;
}

.footer-section p {
    color: #f1f5f9;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    image-rendering: pixelated;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #FFCB05;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
    image-rendering: pixelated;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #f1f5f9;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    transition: transform 0.2s ease, color 0.2s ease, padding 0.2s ease;
    opacity: 0.85;
    display: inline-block;
    image-rendering: pixelated;
    letter-spacing: 1px;
}

.footer-section a:hover {
    opacity: 1;
    color: #FFCB05;
    transform: translateX(4px);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 203, 5, 0.2);
    border-radius: 0;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    image-rendering: pixelated;
    position: relative;
}

.social-link:hover {
    background: rgba(255, 203, 5, 0.1);
    border-color: #FFCB05;
    transform: translateX(6px);
    box-shadow: 4px 4px 0px rgba(255, 203, 5, 0.3);
}

.social-icon {
    font-size: 1.5rem;
    display: inline-block;
    transition: transform 0.2s ease;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.3));
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
}

.social-link span:last-child {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    color: #f1f5f9;
    letter-spacing: 1.5px;
    image-rendering: pixelated;
}

.social-link:hover span:last-child {
    color: #FFCB05;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.footer-social {
    grid-column: span 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 203, 5, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #f1f5f9;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    opacity: 0.8;
    image-rendering: pixelated;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 203, 5, 0.1) 100%);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        border-bottom: 3px solid var(--primary-yellow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--primary-blue);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--primary-blue);
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content-modern {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-title-modern {
        font-size: 3rem;
    }

    .hero-subtitle-modern {
        font-size: 1.1rem;
    }

    .hero-cards-preview {
        height: 450px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .preview-card {
        width: 240px;
        height: 330px;
    }

    .preview-card-1 {
        left: 50%;
        transform: translateX(-50%) rotate(-10deg);
        top: 10px;
    }

    .preview-card-2 {
        left: 50%;
        transform: translateX(-50%) rotate(5deg);
        top: 50px;
        opacity: 0.85;
    }

    .preview-card-3 {
        left: 50%;
        transform: translateX(-50%) rotate(-5deg);
        top: 90px;
        opacity: 0.7;
    }


    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        padding: 0 20px;
    }

    .category-card {
        padding: 30px 20px;
    }

    .section-title-modern {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .pokeball-decoration {
        width: 300px;
        height: 300px;
    }

    .pokeball-2,
    .pokeball-3 {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 10px 0;
        width: 100%;
        background: rgba(15, 15, 25, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.05);
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-arrow {
        margin-left: auto;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .hero-subtitle-modern {
        font-size: 1rem;
    }

    .hero-cards-preview {
        height: 400px;
    }

    .preview-card {
        width: 200px;
        height: 280px;
    }

    .preview-card-1 {
        top: 5px;
    }

    .preview-card-2 {
        top: 40px;
        opacity: 0.8;
    }

    .preview-card-3 {
        top: 75px;
        opacity: 0.6;
    }

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

    .section-title-modern {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item {
        max-width: 200px;
    }

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

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

    .modal-body {
        padding: 2rem 1.5rem;
    }

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

    .modal-price {
        font-size: 1.5rem;
    }

}

/* Animations d'apparition au scroll */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling amélioré */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-pokemon);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-yellow);
}

.feature-card:hover::before {
    opacity: 0.2;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: featureIconFloat 3s ease-in-out infinite;
}

@keyframes featureIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.feature-card:hover .feature-icon {
    animation: featureIconBounce 0.5s ease;
}

@keyframes featureIconBounce {
    0%, 100% { transform: translateY(-10px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-pokemon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.feature-link:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Animations supplémentaires */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation sur les icônes SVG */
.contact-item svg {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.contact-item:hover svg {
    transform: translateY(-5px) rotate(15deg) scale(1.2);
    animation: iconBounce 0.5s ease;
    filter: drop-shadow(0 4px 8px rgba(42, 117, 187, 0.4));
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(-5px) rotate(15deg) scale(1.2); }
    50% { transform: translateY(-8px) rotate(20deg) scale(1.3); }
}

/* Animation sur les images */
.card-item:hover .card-image img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) saturate(1.2);
}

.collection-card:hover .collection-image img {
    transform: scale(1.15) rotate(-2deg);
    filter: brightness(1.15);
}

/* Animation sur les boutons hero */
.hero-btn-animated {
    animation: badgeBounce 2s ease-in-out infinite, badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes badgeShimmer {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(255, 203, 5, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6), 0 6px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Animation shimmer spéciale pour btn-secondary */
.hero-btn-animated.btn-secondary {
    animation: badgeBounce 2s ease-in-out infinite, badgeShimmerSecondary 3s ease-in-out infinite;
}

@keyframes badgeShimmerSecondary {
    0%, 100% { 
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }
    50% { 
        background: rgba(255, 255, 255, 0.35);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    }
}

/* Animation sur les prix */
.card-item:hover .card-price {
    transform: scale(1.2) rotate(5deg);
    animation: pricePulse 0.5s ease infinite;
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1.2) rotate(5deg); }
    50% { transform: scale(1.3) rotate(-5deg); }
}


