body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #333;
    color: white;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
}

main {
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
}

#cards, #sneakers, #collage {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.blue-1 { background-color: #0d47a1; }
.blue-2 { background-color: #1565c0; }
.blue-3 { background-color: #1976d2; }
.blue-4 { background-color: #1e88e5; }
.blue-5 { background-color: #2196f3; }
.blue-6 { background-color: #42a5f5; }
.blue-7 { background-color: #64b5f6; }

.red-1 { background-color: #b71c1c; }
.red-2 { background-color: #c62828; }
.red-3 { background-color: #d32f2f; }
.red-4 { background-color: #e53935; }
.red-5 { background-color: #f44336; }
.red-6 { background-color: #ef5350; }
.red-7 { background-color: #e57373; }

#filters {
    margin-bottom: 20px;
}

.filter-columns {
    display: flex;
    justify-content: space-between;
}

.filter-decade,
.filter-team {
    flex: 1;
}

.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.card {
    border: 1px solid #ddd;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card.selected {
    border: 2px solid #ed202b;
	background-color: #ffff00;
}

.card img {
    width: 100%;
    height: auto;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 98%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.card-name,
.card-number {
    margin: 0;
}


.card[data-orientation="vertical"] {
    grid-row-end: span 2; /* Make vertical cards take up more space */
}


#order-form {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover {
    background-color: #0056b3;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
	background-color: lightblue;
}

.section-logo {
    height: 50px;
    margin-right: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 24px;
}



#navigation {
    text-align: center;
    margin-bottom: 20px;
}

.navigate-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.navigate-btn:hover {
    background-color: #0056b3;
}

.sidebar {
    position: fixed;
    top: 60%;
    right: 0;
    width: 150px; /* Largeur de la fenêtre latérale */
    height: 250px; /* Hauteur de la fenêtre latérale (égal à la hauteur de la page) */
    background-color: #007bff; /* Couleur de fond bleue */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.7); /* Ombre sur le côté droit */
    z-index: 999; /* Pour s'assurer que la fenêtre latérale est au-dessus du contenu */
    color: #fff; /* Couleur du texte blanc */
    padding: 20px;
    border-top-left-radius: 15px; /* Arrondir les coins */
    border-bottom-left-radius: 15px; /* Arrondir les coins */
}

.tothetop {
    position: fixed;
    top: 90%;
    right: 0;
    width: 80px; /* Largeur de la fenêtre latérale */
    height: 50px; /* Hauteur de la fenêtre latérale (égal à la hauteur de la page) */
    background-color: #007bff; /* Couleur de fond bleue */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.7); /* Ombre sur le côté droit */
    z-index: 999; /* Pour s'assurer que la fenêtre latérale est au-dessus du contenu */
    color: #fff; /* Couleur du texte blanc */
    border-top-left-radius: 15px; /* Arrondir les coins */
    border-bottom-left-radius: 15px; /* Arrondir les coins */
}


.sidebar-content {
    padding-top: 50px; /* Espace pour le titre */
}

.sidebar h3 {
    margin-top: 0;
}

// CHANGEMENTS

.card {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
}

/* Image de la carte */
.card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Calque glitter */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/13471/sparkles.gif');
  background-size: cover;
  background-repeat: repeat;
  mix-blend-mode: screen;  /* Donne l'effet holographique */
  opacity: 0.15;            /* Ajuste l’intensité */
  pointer-events: none;    /* Laisse les clics passer */
  animation: glitterScroll 60s linear infinite;
  border-radius: 12px;
}

/* Animation lente du fond pour un rendu plus doux */
@keyframes glitterScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1000px 1000px;
  }
}

.preorder-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  line-height: 1.6;
}

.preorder-intro h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.preorder-steps {
  background: #f7f7f7;
  border-left: 4px solid #000;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.preorder-steps h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.preorder-steps ol {
  margin: 0;
  padding-left: 1.2rem;
}

.preorder-steps li {
  margin-bottom: 0.5rem;
}

.glitter-preview {
  text-align: center;
  margin: 1.5rem 0;
  display: inline-flex;
}

.glitter-preview .preview-text {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333;
}

.glitter-circle {
  width: 120px;              /* Taille plus petite */
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;        /* Forme ronde */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); /* Ombre douce */
  border: 3px solid rgba(255, 255, 255, 0.4); /* Bord légèrement brillant */
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 70%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glitter-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

.glitter-circle img.tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-block{
    margin: 60px 0;
}

.series-block h2{
    font-size: 28px;
    margin-bottom: 10px;
}

.series-description{
    opacity: 0.8;
    margin-bottom: 20px;
}

.effect-preview{
    margin: 20px 0;
    text-align: center;
}

.effect-preview img{
    max-width: 120px;
    border-radius: 50%;
    margin-top: 10px;
}

.cards-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.card{
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.card img{
    width: 100%;
    display: block;
}