*, *::before, *::after {
  box-sizing: border-box;
}

.rundtalt {
  display: flex;
  justify-content: center;
  padding: 2rem;
 
}

.kort-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}

.kort {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  font-family: 'Titillium Web Black', sans-serif;	
  overflow: hidden;
  background: radial-gradient(circle at center, #0d47a1, #001f3f);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}

.kort:hover .player-image {
  transform: scale(1.08);
  
}

.player-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;		
  z-index: 1;
  pointer-events: none; 	
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 2;
}

.text-overlay {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  z-index: 10;
  color: #ffd700;
  font-family: 'Titillium Web', sans-serif;
 
}

.text-overlay .number {
  font-size: 4.5rem;
  font-weight: 900;
  color: #214096;
  -webkit-text-stroke: 2px #edc531;
}

.text-overlay .firstname {
  font-size: 1.5rem;
  font-weight: 900;	
  letter-spacing: 2px;
}

.text-overlay .lastname {
  font-size: 2.2rem;
  font-weight: 900;
}

.text-overlay .posisjon {
  font-size: 0.8rem;
  font-weight: 100;
}

.overlay-color {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 140, 0, 0.05); /* svak oransje */
  z-index: 3;
  pointer-events: none;
}

.overlay-noise {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/img/1_lund/stoy.png'); /* legg til din egen støy-fil her */
  opacity: 0.05;
  z-index: 4;
  pointer-events: none;
}

.tekstmodalkort {
  bottom: absolute;
  top: 2rem;
  width: 100%;
  text-align: left;
  z-index: 10;
  color: #ffd700;
  font-family: 'Titillium Web', sans-serif;
}

.tekstmodalkort .draktnummer {
  font-size: 6.5rem;
  font-weight: 900;
  color: #214096;
  -webkit-text-stroke: 2px #edc531;
}

.tekstmodalkort .name {
  font-size: 2.2rem;
  line-height: 1.1;	
  font-weight: 900;	
  letter-spacing: 2px;
}


/* spillerprofil-side */
.bilde-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.overlay-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 21, 51, 0.45); /* svak blå, kan justeres */
  z-index: 1;
  pointer-events: none;
}

.gradient-bunn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%; /* juster etter behov */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.99), rgba(11, 21, 51, 0.0));
  z-index: 2;
  pointer-events: none;
}



.spiller-bilde {
  position: relative;
  display: block;
  height: 100%;
  margin: 0 auto;
  z-index: 0; /* bak overlay */
}

.spiller-tekst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffd700;
  z-index: 3; /* over overlay og bilde */
}

.snummer {
  font-size: 8rem;
  font-weight: 900;
   color: #214096;
  -webkit-text-stroke: 3px #edc531;	
}

.snavn {
  font-size: 2rem;
  font-weight: 700;
  color: #edc531;	
}

.setternavn {
  font-size: 3.8rem;
  font-weight: 900;
  color: #edc531;	
  	
}

.snummermob {
  font-size: 4rem;
  font-weight: 900;
   color: #214096;
  -webkit-text-stroke: 2px #edc531;	
}

.snavnmob {
  font-size: 1.5rem;
  font-weight: 700;
  color: #edc531;	
}

.setternavnmob {
  font-size: 2.5rem;
  font-weight: 900;
  color: #edc531;	
  	
}