.accueil-top{
    width: 100%;
    text-align: center;
}

.content-container{
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #c3c3ff;
opacity: 0.8;
background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #c3c3ff 60px ), repeating-linear-gradient( #01077055, #010770 );
}

.accueil-top > * {
    font-weight: 400;
}

.accueil-top h1 {
    display: inline-block;
  background: rgba(1, 7, 112, 0.8); /* matches theme */
  padding: 0.3em 0.6em;
  border-radius: 12px;
}

.accueil-title {
    margin: 30vh auto 0 auto; /* reduce vertical offset for smaller screens */
    font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 5vw, 4.5rem); /* scales smoothly */
    line-height: 1.2;
    color: #fff;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.7),   /* strong outer glow */
    0 0 20px rgba(74, 74, 255, 0.5); /* soft neon accent */
    padding: 0 5vw;
}

.accueil-title {
  animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.accueil-pays{
    padding: 2%;
    padding-bottom: 0;
    width: 96%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.country-card{
    width: 12vw;
    height: 9vw;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 0 10px -0, rgba(0, 0, 0, 0.3) 0px 10px 20px -10px;
    transition: all 0.15s ease-in-out;
    background-color: white;
    position: relative;
}

.country-card:hover{
    cursor: pointer;
    transform: scale(107%);
}

.country-card > img{
    width: 100%;
    z-index: -1;
}

.country-info{
    position: absolute;
    height: 4.5vw;
    width: 12vw;
    background-image: linear-gradient(transparent, white 25% 100% );
    z-index: 1;
    bottom: 0;
}

.country-content{
    margin-top: 15%;
    vertical-align: center;
    text-align: center;
}

@media screen and (max-width: 1310px){
    .country-card{
        width: 120px;
        height: 90px;
    }

    .country-info{
        height: 45px;
        width: 120px;
        font-size: 10px;
    }

    .accueil-image{
        width: 70vw;
    }

}

.next-edition {
    margin-top: 3vh;
    text-align: center;
}

.next-edition a {
  display: inline-block;
  background: linear-gradient(135deg, #010770, #4a4aff);
  background-size: 200% 200%; /* needed for animation */
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.4rem);
  padding: 0.6em 1.4em;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-position 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.next-edition a:hover {
  background-position: 100% 0; /* slides the gradient */
  transform: scale(1.08);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
}