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

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #1a0f08;
  background-image: linear-gradient(rgba(90, 40, 20, 0.45), rgba(20, 12, 8, 0.7)), url('../../../assets/img/MainBG.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f8f8f8;
  line-height: 1.6;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: rgba(28, 18, 32, 0.92);
  padding: 20px;
  text-align: right;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  border-bottom: 3px solid #5a2a5c;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #d9a5e0;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-content {
  flex: 1;
  padding: 40px 20px;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #4a1f6e;
  padding: 15px 30px;
  display: inline-block;
  border: 2px solid #7a4a9c;
  border-radius: 15px;
  background: rgba(228, 214, 240, 0.85);
  box-shadow: 0 0 0 4px rgba(74, 31, 110, 0.4), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.profiles-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-card {
  width: 320px;
  background: #e8e0ee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 3px #4a1f6e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 0 3px #7a4a9c;
}

.card-header {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.kai-header {
  background: linear-gradient(rgba(160, 60, 30, 0.55), rgba(80, 25, 10, 0.65)), url('../../../assets/img/floating.png') no-repeat center center / cover;
  background-color: #a03c1e;
}

.aki-header {
  background: linear-gradient(rgba(90, 40, 130, 0.55), rgba(40, 15, 60, 0.7)), url('../../../assets/img/Akina.jpeg') no-repeat center center / cover;
  background-color: #5a2882;
}

.val-header {
  background: linear-gradient(rgba(30, 70, 100, 0.55), rgba(15, 35, 55, 0.7)), url('../../../assets/img/Seasoned.png') no-repeat center center / cover;
  background-color: #1e4664;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e8e0ee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  bottom: -30px;
  background: #e8e0ee;
}

.card-content {
  padding: 50px 25px 25px 25px;
  text-align: center;
}

.kai-content {
  background: linear-gradient(135deg, #e8d9c8 70%, #c9a880 100%);
}

.aki-content {
  background: linear-gradient(135deg, #ddd0e8 70%, #a888c4 100%);
}

.val-content {
  background: linear-gradient(135deg, #c8d8e0 70%, #7a9cb0 100%);
}

.profile-name {
  font-size: 1.5rem;
  color: #3a1a4a;
  margin-bottom: 8px;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
}

.profile-desc {
  color: #3a2a4a;
  font-size: 1rem;
  margin-bottom: 20px;
}

.profile-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.kai-btn {
  background-color: #c9a880;
  color: #2b1408;
}

.kai-btn:hover {
  background-color: #8c5a30;
  color: #fff;
  box-shadow: 0 4px 12px rgba(140, 90, 48, 0.5);
}

.aki-btn {
  background-color: #a888c4;
  color: #2b1408;
}

.aki-btn:hover {
  background-color: #5a2882;
  color: #fff;
  box-shadow: 0 4px 12px rgba(90, 40, 130, 0.5);
}

.val-btn {
  background-color: #7a9cb0;
  color: #fff;
}

.val-btn:hover {
  background-color: #2a4a60;
  box-shadow: 0 4px 12px rgba(42, 74, 96, 0.5);
}

.footer {
  background: rgba(28, 18, 32, 0.92);
  border-top: 3px solid #5a2a5c;
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.5);
}

.footer-text {
  color: #d9a5e0;
  font-size: 1rem;
}

.footer {
  text-align: center;
  margin-top: auto;
  font-size: 1rem;
}

.footer-top {
  margin-bottom: 15px;
}

.footer-top .privacy-text a {
  color: #d9a5e0;
  text-decoration: none;
  font-weight: 500;
  margin-right: 10px;
}

.footer-top .privacy-text a:hover {
  color: #b888c4;
}

.footer-top .copyright {
  font-size: 0.95rem;
  color: #c8b8d0;
  margin-left: 10px;
}

@media (max-width: 1100px) {
  .profiles-section {
    gap: 25px;
  }
}

@media (max-width: 1100px) {
  .profile-card {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .profiles-section {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .profile-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.8rem;
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .card-content {
    padding: 45px 20px 20px 20px;
  }
}

@media (max-width: 600px) {
  .profile-name {
    font-size: 1.3rem;
  }
}