@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
  --bg-color: #0d1b2a;
  --title-color: #e0c05c;
  --section-title-color: #fff;
  --gold-light: #f9f1b8;
  --gold-mid: #e2c050;
  --gold-dark: #8c732b;
}

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

body {
  font-family: 'Roboto Condensed', sans-serif;
  background-color: var(--bg-color);
  background-image: url('../images/background/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  min-height: 100vh;
  padding-bottom: 50px;
}

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

.header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.main-title {
  font-family: 'Playfair Display', serif;
  color: var(--title-color);
  font-size: 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(226, 192, 80, 0.4);
}

.logo-container {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 150px;
}

.logo-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

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

.section-title {
  color: var(--section-title-color);
  font-size: 2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--gold-mid);
  display: inline-block;
  padding-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 30px;
}

/* FUT Card Style */
.fut-card {
  position: relative;
  width: 200px;
  height: 300px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  border-radius: 15px 15px 40px 15px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 0 2px var(--gold-dark), inset 0 0 10px var(--gold-mid);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.fut-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(125deg, transparent 20%, rgba(255,255,255,0.1) 40%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.fut-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.8), inset 0 0 0 2px var(--gold-light), inset 0 0 20px var(--gold-mid);
  z-index: 10;
}

.card-top-info {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.card-rating {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 1px 1px 2px black;
}

.card-position {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-mid);
  margin-top: 2px;
  text-shadow: 1px 1px 2px black;
}

.card-image-container {
  width: 140px;
  height: 140px;
  margin-top: 15px;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-mid);
  background-color: #222;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Uncomment below if images are transparent PNGs with no background */
  /* transform: scale(1.2); object-position: top center; */
}

.card-divider {
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-mid), transparent);
  margin: 15px 0 10px 0;
  z-index: 2;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  text-shadow: 1px 1px 2px black;
  z-index: 2;
  text-align: center;
  margin-bottom: 5px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-role {
  font-size: 0.85rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.card-stats {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-top: 10px;
  z-index: 2;
}

.stat-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
}

.stat-val {
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-container {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 30px auto;
    width: 120px;
  }
  
  .main-title {
    font-size: 2.2rem;
  }
  
  .fut-card {
    width: 160px;
    height: 250px;
  }
  
  .card-image-container {
    width: 100px;
    height: 100px;
  }
  
  .card-rating {
    font-size: 1.4rem;
  }
  
  .card-name {
    font-size: 1rem;
  }
  
  .stat-item {
    font-size: 0.65rem;
  }
}
