/* ====================================
   Global Styles & Variables
   ==================================== */

:root {
  --primary-purple: #3a1972;
  --dark-purple: #441b86;
  --accent-purple: rgba(124, 59, 237, 0.1);
  --orange-red: #bf360c;
  --text-white: #f9fafb;
  --text-dark: #16181d;
  --text-gray: #6c7584;
  --border-gray: #dde2e9;
}

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

body {
  font-family: "Segoe UI", "Almarai", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(90deg, #f9fafb 0%, #f9fafb 100%);
  overflow-x: hidden;
}

/* ====================================
   Home Container
   ==================================== */

.home-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background {
  background-color: #f9fafb;
  display: flex;
  flex-direction: column;
  min-height: 900px;
  width: 100%;
}

/* ====================================
   Header Styles
   ==================================== */

.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: var(--primary-purple);
  backdrop-filter: blur(2px);
  border-bottom: 0.8px solid var(--border-gray);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
  padding-bottom: 0.8px;
}

/* Nav Actions (Login + Menu Button) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.nav-link-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8.8px 16.8px;
  border-radius: 6px;
  border: 1px solid var(--border-gray);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-link-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link-login p {
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-white);
  margin: 0;
}

.button-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-menu:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.icon-svg {
  width: 16px;
  height: 16px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 11.098px;
  padding: 5.549px;
  border-radius: 8.324px;
  z-index: 2;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.549px 22.196px;
  border-radius: 8.324px;
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 19.422px;
  line-height: 27.745px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link-active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.549px 22.196px;
  border-radius: 8.324px;
  background-color: var(--text-white);
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 19.422px;
  line-height: 27.745px;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-link-active:hover {
  background-color: #e8e9ec;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 1;
}

.logo-text {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 27.406px;
  line-height: 41.109px;
  color: white;
  text-align: right;
}

.logo-icon {
  width: 52.801px;
  height: 52.801px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

/* ====================================
   Main Content
   ==================================== */

.main-content {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

.main-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 34px 24px;
  gap: 81px;
  overflow: auto;
}

/* ====================================
   Hero Section
   ==================================== */

.hero-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 550px;
}

.hero-background {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background: linear-gradient(to bottom, rgba(68, 27, 134, 0.7), rgba(68, 27, 134, 0.9)); */
  backdrop-filter: blur(2px);
}

/* Player Images - Adjust positions and sizes to match design */
.player-img {
  position: absolute;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.player-1 {
  height: 150.944px;
  left: 0px;
  bottom: 0px;
}

.player-2 {
  height: 150.944px;
  left: 149.29px;
  bottom: 0px;
}

.player-3 {
  height: 150.944px;
  left: 396px;
  bottom: 0px;
}

.player-4 {
  height: 150.944px;
  right: 323px;
  bottom: 0px;
}

.player-5 {
  height: 150.944px;
  right: 149.29px;
  bottom: 0px;
}

.player-6 {
  height: 150.944px;
  right: 0px;
  bottom: 0px;
}

/* ====================================
   Hero Text Section
   ==================================== */

.hero-text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: white;
  z-index: 10;
  position: relative;
}

.hero-title-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 1090.178px;
  height: 216px;
}

.hero-title {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 53.528px;
  line-height: 84.188px;
  margin: 0;
  text-align: center;
}

.hero-subtitle-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 1048px;
  height: 53px;
}

.hero-subtitle {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 18.333px;
  line-height: 26.444px;
  margin: 0;
  text-align: center;
}

/* ====================================
   CTA Button
   ==================================== */

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 10;
  position: relative;
}

.cta-button {
  background-color: var(--orange-red);
  color: white;
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 18.333px;
  line-height: 26.444px;
  padding: 13px 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(191, 54, 12, 0.3);
}

.cta-button:hover {
  background-color: #d43e0f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 54, 12, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

/* ====================================
   Features Section
   ==================================== */

.features-section {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  width: 1336px;
  z-index: 10;
  position: relative;
}

.feature-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24.8px;
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  width: 316px;
  height: 205.6px;

  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
}

.feature-icon {
  background-color: var(--accent-purple);
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 9999px;
  width: 64px;
  height: 64px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-family: "Almarai", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.feature-description {
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-gray);
  text-align: center;
}

/* ====================================
   Future Section
   ==================================== */

.future-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 1400px;
  width: 1400px;
  padding: 45px 32px 0;
  z-index: 10;
  position: relative;
}

.section-heading {
  font-family: "Almarai", sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  color: var(--text-dark);
  text-align: center;
  width: 100%;
  margin: 0;
}

.section-description-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 768px;
  width: 768px;
}

.section-description {
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-gray);
  text-align: center;
  margin: 0;
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 1440px) {
  .hero-section {
    width: 100%;
  }

  .hero-title-container {
    width: 90%;
  }

  .hero-subtitle-container {
    width: 90%;
  }

  .features-section {
    width: 100%;
    flex-wrap: wrap;
  }

  .future-section {
    width: 100%;
  }

  .section-description-container {
    width: 90%;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 36px;
    line-height: 50px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .features-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 40px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .features-section {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 400px;
  }

  .future-section {
    padding: 30px 16px 0;
  }

  .section-heading {
    font-size: 24px;
    line-height: 32px;
  }

  .section-description {
    font-size: 14px;
    line-height: 20px;
  }
}

/* ====================================
   Registration Page Styles
   ==================================== */

.register-container {
  width: 100%;
  min-height: 100vh;
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.register-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  gap: 16px;
}

.register-logo-icon {
  width: 60px;
  height: 60px;
}

.register-logo-icon svg {
  width: 100%;
  height: 100%;
}

.register-page-title {
  font-family: "Almarai", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary-purple);
  text-align: center;
  margin: 0;
}

.register-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 48px;
  width: 100%;
  max-width: 480px;
}

.register-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.register-card-title {
  font-family: "Almarai", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}

.register-card-subtitle {
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-gray);
  margin: 0;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: "Almarai", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
  text-align: right;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: #f9f9f9;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  text-align: right;
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  background-color: white;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(75, 34, 136, 0.1);
}

.form-input:hover {
  border-color: #d1d5db;
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background-color: #4b2288;
  color: white;
  font-family: "Almarai", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-primary:hover {
  background-color: #3a1972;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(75, 34, 136, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
}

.auth-footer-text {
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-gray);
  margin: 0;
}

.auth-footer-link {
  color: var(--primary-purple);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-footer-link:hover {
  color: var(--dark-purple);
  text-decoration: underline;
}

/* Responsive - Registration Page */
@media (max-width: 640px) {
  .register-card {
    padding: 32px 24px;
  }

  .register-card-title {
    font-size: 26px;
  }

  .register-page-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .nav-link-login p {
    font-size: 12px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 34px;
  }

  .cta-button {
    font-size: 16px;
    padding: 12px 20px;
  }
}