/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

@font-face {
  font-family: "Fruitger LT Arabic";
  src: url("/bpv2/fonts/Arabic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Fruitger LT Arabic";
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-width: 320px; /* Minimum width to prevent excessive shrinking */
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  width: 100%;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.desktop-break {
  display: none;
}

.desktop-spacing {
  margin-top: 10px;
  display: inline-block;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */

.header {
  background-color: white;
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.logo {
  height: 55px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  align-items: center;
}

.language-icon {
  height: 120px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  width: 100%;
  height: 75vh;
  position: relative;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  display: block;
  font-size: 0;
}

/* ==========================================================================
   CONTENT SECTION
   ========================================================================== */

.content-section {
  background: linear-gradient(135deg, #d4a574, #c49660);
  padding-top: 5px; /* Reduced only top padding */
  padding-bottom: clamp(25px, 5vw, 35px); /* Keeping original bottom padding */
  padding-left: clamp(15px, 2vw, 25px);
  padding-right: clamp(15px, 2vw, 25px);
  min-height: min(400px, 60vh);
  position: relative;
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: normal;
}

.content-container {
  max-width: min(1000px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 50px);
  position: relative;
}

/* Content Text Styles */
.content-text {
  flex: 1;
  color: white;
  text-align: center;
  margin-left: clamp(-320px, -22vw, -260px);
  margin-top: 30px;
  z-index: 2;
  position: relative;
}

.main-title {
  font-size: clamp(42px, 9vw, 53px);
  font-weight: 600;
  margin-top: clamp(40px, 6vh, 60px);
  margin-bottom: clamp(25px, 3vh, 35px);
}

.description {
  font-size: clamp(18px, 1vw, 20px);
  font-weight: 500;
  margin-bottom: clamp(50px, 6vh, 60px);
  width: clamp(50%, 75%, 80%);
  line-height: 1.4;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  font-size: 36px !important;
  padding: 12px 30px !important;
  background: #ffffff !important;
  color: #d4a574 !important;
  border: none !important;
  border-radius: 35px !important;
  cursor: pointer;
  font-weight: 900 !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

.cta-button:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}
.requirements {
  position: absolute;
  bottom: 15px;
  left: 200px;
  color: white;
  font-size: 26px;
  font-weight: 400;
  white-space: nowrap;
  max-width: 600px;
  line-height: 1.4;
  padding-top: 20px;
  margin-top: 20px;
  text-align: left;
}

/* Card Image Styles */
.card-image {
  position: absolute;
  top: clamp(10px, 1.5vh, 20px);
  right: clamp(-20px, -6vw, -30px);
  width: clamp(80%, 90%, 100%);
  max-width: clamp(120px, 18vw, 450px);
  z-index: 1;
}

.card-image img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

/* Requirements Text */
.requirements {
  position: absolute;
  bottom: clamp(15px, 2vh, 20px);
  left: clamp(20px, 3vw, 40px);
  color: white;
  font-size: clamp(16px, 2vw, 20px);
  white-space: nowrap;
  text-align: left;
}

/* ==========================================================================
   PIRATE SECTION
   ========================================================================== */

.pirate-section {
  position: relative;
  min-height: 150vh; /* increased from 100vh */
  padding: 70px 0; /* optional: adds space above and below */
  background-color: #1a1a2e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.grid-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16/9;
  border-radius: 15px;
  border: 4px solid #00839b;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.05);
}

.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.4s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.play-icon:hover {
  opacity: 1;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.character {
  position: absolute;
  z-index: 2;
  transition: transform 0.3s ease;
}

.character:hover {
  transform: scale(1.1);
}

.character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.character-1 {
  top: 2%;
  left: 2%;
  width: 215px;
  height: 215px;
}

.character-2 {
  top: 2%;
  right: 2%;
  width: 200px;
  height: 200px;
}

.character-3 {
  top: 22%;
  left: -2%;
  width: 600px;
  height: 600px;
}

/* ==========================================================================
   OVERLAP SECTION
   ========================================================================== */

.overlap-section {
  background: linear-gradient(135deg, #d4a574, #c49660);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
}

.overlap-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 80px; /* increased horizontal padding */
  position: relative;
}

.overlap-image {
  position: absolute;
  right: -100px;
  top: -420px;
  width: 700px;
  height: 920px;
  z-index: 1;
}

.overlap-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.overlap-text {
  color: white;
  position: relative;
  z-index: 2;
  margin-left: 120px; /* Add or increase this value */
}

.overlap-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  text-align: right;
  color: white;
  padding-right: 60px; /* Moves text to the right */
}

/* ==========================================================================
   TEXT SECTION
   ========================================================================== */

.text-section {
  background: white;
  padding: 140px 40px 80px 40px;
  min-height: 300px;
}

.text-container {
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  padding-left: 40px;
}

.blue-text-container {
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  padding-left: 40px;
}

.text-content {
  max-width: 100%;
  text-align: right;
  width: 100%;
}

.text-line {
  background: linear-gradient(135deg, #d4a574, #c49660);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
  direction: rtl;
}

.blue-text-line {
  background: linear-gradient(135deg, #00809b, #00809b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 3%;
  direction: rtl;
}

/* ==========================================================================
   MULTI SECTION
   ========================================================================== */

.multi-section {
  background: linear-gradient(135deg, #d4a574, #c49660);
  padding: clamp(30px, 5vw, 50px) clamp(15px, 3vw, 30px);
  min-height: min(500px, 70vh);
  position: relative;
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: normal;
}

.multi-container {
  max-width: min(1920px, 95vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(50px, 8vw, 80px);
  position: relative;
  justify-content: space-between;
}

.multi-text {
  flex: 1.2;
  color: white;
  text-align: left;
  z-index: 2;
  position: relative;
  margin-right: clamp(10px, 10vw, 120px);
  margin-left: clamp(-120px, -8vw, -60px);
}

.multi-description {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  margin-bottom: clamp(50px, 6vh, 60px);
  width: 70%;
  line-height: 1.4;
  text-align: right;
  direction: rtl;
}

.multi-image {
  position: relative;
  width: clamp(200px, 25vw, 350px);
  max-width: 350px;
  z-index: 1;
  margin-left: clamp(15px, 6vw, 80px);
  margin-right: clamp(-190px, -12vw, -100px);
}

.multi-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
}

.games-showcase {
  width: 100%;
  margin-top: clamp(40px, 6vh, 60px);
  padding: 0 clamp(20px, 3vw, 40px);
}

.games-images {
  gap: clamp(15px, 2.5vw, 25px);
  align-items: center;
}

.games-row {
  display: flex;
  justify-content: center;
  gap: clamp(180px, 22vw, 350px);
  max-width: 1400px;
  margin: 0 auto;
}

.game-item {
  flex: 1;
  text-align: center;
  max-width: 450px;
}

.game-image {
  width: 100%;
  margin-bottom: clamp(20px, 3vh, 30px);
}

.game-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.game-image img:hover {
  transform: scale(1.05);
}

.game-logo {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  color: white;
  margin-bottom: clamp(15px, 2vh, 20px);
  text-align: center;
  direction: rtl;
  line-height: 1.3;
}

.game-description {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: white;
  line-height: 1.5;
  text-align: right;
  direction: rtl;
  margin-bottom: 0;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BLUE SECTION
   ========================================================================== */

.blue-section {
  background: #00809b;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
}

.blue-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  position: relative;
}

.blue-image {
  position: absolute;
  right: -10px;
  top: -180px;
  width: 350px;
  height: 500px;
  z-index: 1;
}

.blue-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.lady-image {
  top: -280px;
}

.blue-text {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  direction: rtl;
  white-space: nowrap;
  transform: translateX(40%);
}
.blue-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  direction: rtl;
  white-space: nowrap; /* Force single line */
}

/* ==========================================================================
   BLUE 2 SECTION
   ========================================================================== */

.blue2-section {
  background: #00809b;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  position: relative;
}

.blue2-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  position: relative;
}

.blue2-image {
  position: absolute;
  right: -10px;
  top: -280px;
  width: 400px;
  height: 500px;
  z-index: 1;
}

.blue2-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}
.blue2-text {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  direction: rtl;
  white-space: nowrap;
  transform: translateX(-2%);
}
.blue2-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  direction: rtl;
  white-space: nowrap; /* Force single line */
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */

.gallery-section {
  background: white;
  padding: clamp(160px, 2vh, 100px) clamp(20px, 4vw, 40px);
  min-height: auto;
}

.gallery-container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.gallery-item {
  text-align: center;
  max-width: 100%;
}

.gallery-image {
  width: 100%;
  margin-bottom: clamp(20px, 3vh, 30px);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: translateY(-5px);
}

.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gallery-title {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: bold;
  color: #00809b;
  margin-bottom: clamp(10px, 1.5vh, 15px);
  text-align: center;
  direction: rtl;
  line-height: 1.3;
}

.gallery-description {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  color: #00809b;
  line-height: 1.4;
  text-align: center;
  direction: rtl;
  margin-bottom: 0;
}



/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
  background: linear-gradient(135deg, #d4a574, #c49660);
  padding: clamp(10px, 5vh, 60px) clamp(20px, 4vw, 40px) !important;

  min-height: auto;
}

.features-container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 15px);
  margin-bottom: clamp(60px, 8vh, 80px);
  align-items: start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.feature-image {
  height: 200px; /* or adjust as needed */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: clamp(20px, 3vh, 40px);
}

.feature-image img {
  width: 100%;
  max-width: 220px; /* Increase from 120px/180px */
  height: auto;
  display: block;
  object-fit: contain;
}

.feature-title1,
.feature-title2,
.feature-title3,
.feature-title4 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: white !important;
  margin: 10px 0;
  text-align: center;
  direction: rtl;
  line-height: 1.4;
}

.features-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.features-button {
  font-size: 36px !important;
  padding: 12px 30px !important;
  background: #ffffff !important;
  color: #d4a574 !important;
  border: none !important;
  border-radius: 35px !important;
  cursor: pointer;
  font-weight: 900 !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

.features-button:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.bb2-image img,
.bb3-image img,
.bb4-image img {
  max-width: 280px !important;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Leave bb1 image as-is (no class applied, but for clarity you can add this) */
.feature-item:not(.bb2-image):not(.bb3-image):not(.bb4-image) img {
  max-width: 220px;
}
/* ==========================================================================
   INFO TEXT SECTION
   ========================================================================== */

.info-text-section {
  background: white;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 4vw, 40px);
  min-height: auto;
}

.info-text-container {
  max-width: min(700px, 70vw);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  padding-right: clamp(15px, 3vw, 30px);
}

.info-text-content {
  max-width: 900px;
  text-align: right;
  direction: rtl;
}

.info-text-line {
  background: linear-gradient(135deg, #d4a574, #c49660);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: clamp(8px, 1vh, 12px);
  direction: rtl;
}

.info-text-line:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
  background: linear-gradient(135deg, #d4a574, #c49660);
  padding: clamp(60px, 8vh, 100px) clamp(20px, 4vw, 40px);
  min-height: auto;
}

.footer-container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  padding-right: clamp(80px, 10vw, 120px);
}

.footer-image {
  flex: 0 0 auto;
  width: clamp(140px, 18vw, 200px);
  height: auto;
}

.footer-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-text {
  flex: 1;
  text-align: right;
  direction: rtl;
  max-width: 600px; /* adjust if needed */
  margin-right: 60px; /* move a bit to the right */
  white-space: normal; /* allow wrapping */
  overflow: visible; /* show all text, no cut */
  font-size: 1.8rem; /* keep your font size */
  line-height: 1.4;
}

.footer-line {
  color: white;
  font-size: 1.4rem !important;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: clamp(8px, 1vh, 12px);
  direction: rtl;
}

.footer-line:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN - LARGE SCREENS
   ========================================================================== */

/* Very Large Desktop */
@media screen and (min-width: 1920px) {
  .header {
    padding: 25px 50px;
  }

  .logo {
    height: 80px;
  }

  .language-icon {
    height: 150px;
  }

  /* Pirate section for very large desktop */
  .pirate-section {
    min-height: 80vh;
    padding: 80px 0;
  }

  .video-wrapper {
    max-width: 1000px;
  }

  .character-1 {
    top: 1%;
    left: 18%;
    width: 240px;
    height: 240px;
  }

  .character-2 {
    top: 1%;
    right: 20%;
    width: 225px;
    height: 225px;
  }

  .character-3 {
    top: 21%;
    left: 12%;
    width: 600px;
    height: 600px;
  }

  .play-button {
    width: 90px;
    height: 90px;
  }

  .play-icon {
    width: 90px;
    height: 90px;
  }

  /* Card positioning for very large desktop */
  .content-container {
    max-width: 1200px;
    min-height: 40vh;
  }

  .card-image {
    max-width: 480px;
    right: -110px; /* Moved more to the right */
    top: 66px;
  }

  .content-text {
    margin-left: -300px;
  }
  .cta-button {
    font-size: 36px !important;
    padding: 12px 30px !important;
    background: #ffffff !important;
    color: #d4a574 !important;
    border: none !important;
    border-radius: 35px !important;
    cursor: pointer;
    font-weight: 900 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
  }

  .cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  }
  .requirements {
    position: absolute;
    bottom: 15px;
    left: 200px;
    font-size: 26px;
    font-weight: 400;
    white-space: nowrap;
    max-width: 600px;
    line-height: 1.4;
    padding-top: 20px;
    margin-top: 20px;
    text-align: left;
  }

  /* Blue2 section for very large desktop */
  .blue2-text {
    transform: translateX(20%);
  }

  .blue2-text h1 {
    font-size: 2.8rem;
  }
}

/* Large Desktop */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
  .content-container {
    max-width: 1200px;
    min-height: 45vh;
  }

  .card-image {
    max-width: 540px;
    right: -50px; /* Moved more to the right */
    top: 65px;
  }

  .content-text {
    margin-left: -280px;
  }
  .cta-button {
    font-size: 36px !important;
    padding: 12px 30px !important;
    background: #ffffff !important;
    color: #d4a574 !important;
    border: none !important;
    border-radius: 35px !important;
    cursor: pointer;
    font-weight: 900 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
  }

  .cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  }
  .requirements {
    position: absolute;
    bottom: 15px;
    left: 200px;
    font-size: 26px;
    font-weight: 400;
    white-space: nowrap;
    max-width: 600px;
    line-height: 1.4;
    padding-top: 20px;
    margin-top: 20px;
    text-align: left;
  }

  /* Pirate section for large desktop */
  .pirate-section {
    min-height: 100vh;
    padding: 70px 0;
  }

  .video-wrapper {
    max-width: 900px;
  }

  .character-1 {
    top: 4%;
    left: 12%;
    width: 320px; /* Increased from 220px */
    height: 320px; /* Increased from 220px */
  }

  .character-2 {
    top: 4%;
    right: 17%;
    width: 300px; /* Increased from 205px */
    height: 300px; /* Increased from 205px */
  }

  .character-3 {
    top: 24%;
    left: 8%;
    width: 740px; /* Increased from 600px */
    height: 740px; /* Increased from 600px */
  }
  .play-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: translateX(25px); /* Added to move icon right */
  }

  /* Blue2 section for large desktop */
  .blue2-text {
    transform: translateX(50%);
  }

  .blue2-text h1 {
    font-size: 2.6rem;
  }
}

/* Medium Large Desktop */
@media screen and (min-width: 1400px) and (max-width: 1599px) {
  .content-container {
    max-width: 1100px;
  }

  .card-image {
    max-width: 420px;
    right: -5px; /* Moved more to the right */
    top: 12px;
  }

  .content-text {
    margin-left: -260px;
  }

  /* Pirate section for medium large desktop */
  .pirate-section {
    min-height: 110vh;
    padding: 65px 0;
  }

  .video-wrapper {
    max-width: 800px;
  }

  .character-1 {
    top: 2%;
    left: 4%;
    width: 200px;
    height: 200px;
  }

  .character-2 {
    top: 2%;
    right: 5%;
    width: 190px;
    height: 190px;
  }

  .character-3 {
    top: 22%;
    left: 0%;
    width: 580px;
    height: 580px;
  }

  /* Blue2 section for medium large desktop */
  .blue2-text {
    transform: translateX(10%);
  }

  .blue2-text h1 {
    font-size: 2.5rem;
  }
}

/* Standard Large Desktop */
@media screen and (min-width: 1201px) and (max-width: 1399px) {
  .content-container {
    max-width: 1000px;
  }

  .card-image {
    max-width: 380px;
    right: -8px; /* Moved more to the right */
    top: 10px;
  }

  .content-text {
    margin-left: -240px;
  }

  /* Pirate section for standard large desktop */
  .pirate-section {
    min-height: 100vh;
    padding: 60px 0;
  }

  .video-wrapper {
    max-width: 700px;
  }

  .character-1 {
    top: 3%;
    left: 5%;
    width: 190px;
    height: 190px;
  }

  .character-2 {
    top: 3%;
    right: 6%;
    width: 180px;
    height: 180px;
  }

  .character-3 {
    top: 24%;
    left: 1%;
    width: 520px;
    height: 520px;
  }

  /* Blue2 section for standard large desktop */
  .blue2-text {
    transform: translateX(8%);
  }

  .blue2-text h1 {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN - MEDIUM SCREENS
   ========================================================================== */

/* Desktop */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .header {
    padding: 12px 15px;
  }

  .logo {
    height: 60px;
  }

  .language-icon {
    height: 90px;
  }

  .hero-section {
    height: 70vh;
  }

  .content-text {
    margin-left: clamp(-280px, -20vw, -220px);
  }

  .card-image {
    right: clamp(15px, 2.5vw, 25px);
    max-width: clamp(180px, 20vw, 290px);
    top: clamp(5px, 1vh, 12px);
  }

  /* Pirate section for desktop */
  .pirate-section {
    min-height: 90vh;
    padding: 50px 0;
  }

  .video-wrapper {
    max-width: 600px;
  }

  .character-1 {
    top: 4%;
    left: 6%;
    width: 170px;
    height: 170px;
  }

  .character-2 {
    top: 4%;
    right: 7%;
    width: 160px;
    height: 160px;
  }

  .character-3 {
    top: 26%;
    left: 2%;
    width: 500px;
    height: 500px;
  }

  .overlap-container {
    justify-content: flex-end;
  }

  .overlap-image {
    right: 20px;
    top: -290px;
    width: 500px;
    height: 620px;
  }

  .blue-image {
    right: 60px;
    top: -160px;
    width: 270px;
    height: 380px;
  }

  .blue-container {
    justify-content: flex-end;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .header {
    padding: 10px 15px;
  }

  .logo {
    height: 55px;
    align-items: center;
  }

  .language-icon {
    height: 80px;
  }

  .hero-section {
    height: 65vh;
  }

  .content-section {
    min-height: auto;
    padding: 20px 15px 15px 15px;
  }

  .description {
    width: clamp(55%, 80%, 85%);
    font-size: clamp(12px, 1.6vw, 15px);
    margin-bottom: clamp(40px, 5vh, 50px);
  }

  .content-text {
    margin-left: clamp(-200px, -15vw, -150px);
  }

  .card-image {
    right: clamp(20px, 2.5vw, 30px);
    max-width: clamp(100px, 14vw, 140px);
    top: clamp(2px, 0.8vh, 8px);
  }

  .main-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: clamp(18px, 2vh, 24px);
  }

  .requirements {
    font-size: clamp(12px, 1.3vw, 16px);
    white-space: nowrap;
    max-width: 800px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin-top: 20px; /* Reduced from 40px to 20px */
  }

  .cta-button {
    margin-bottom: 50px; /* Reduced from 80px to 50px */
  }

  .overlap-text h2 {
    font-size: 2.4rem;
  }

  .pirate-section {
    min-height: 80vh;
  }

  .video-wrapper {
    max-width: 400px;
  }

  .character-1 {
    top: 5%;
    left: 10%;
    width: 200px;
    height: 200px;
  }

  .character-2 {
    top: 10%;
    right: 15%;
    width: 200px;
    height: 200px;
  }

  .character-3 {
    top: 42%;
    left: 12%;
    width: 320px;
    height: 320px;
  }

  .play-button {
    width: 70px;
    height: 70px;
  }

  .overlap-image {
    right: 10px;
    top: -280px;
    width: 520px;
    height: 600px;
  }
}

/* Small Laptop / Large Tablet */
@media (max-width: 900px) {
  .card-image {
    right: clamp(15px, 2vw, 25px);
    max-width: clamp(60px, 12vw, 100px);
    top: clamp(1px, 0.5vh, 6px);
  }

  .content-text {
    margin-left: clamp(-150px, -12vw, -100px);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN - SMALL SCREENS
   ========================================================================== */

/* Tablet Portrait */
@media (max-width: 768px) {
  .header {
    padding: 8px 10px;
    flex-wrap: nowrap;
  }

  .logo {
    height: 50px;
    max-width: 170px;
  }

  .language-icon {
    height: 70px;
    max-width: 90px;
  }

  .hero-section {
    height: 60vh;
  }

  .content-container {
    gap: 15px;
  }

  @media (max-width: 768px) {
    .content-section {
      padding: 30px 20px;
    }

    .content-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .content-text {
      margin-left: 0;
      width: 100%;
      text-align: center;
      order: 2;
    }

    .card-image {
      position: relative !important;
      right: auto !important;
      top: auto !important;
      max-width: 180px;
      width: 100%;
      margin: 0 auto;
      order: 1;
    }

    .description {
      width: 95%;
      font-size: clamp(13px, 2.5vw, 16px);
      margin: 0 auto 25px;
      line-height: 1.5;
      text-align: center;
    }

    .main-title {
      font-size: clamp(22px, 4vw, 28px);
      margin: 15px 0;
      text-align: center;
    }

    .cta-button {
      font-size: clamp(14px, 2.2vw, 16px);
      padding: 10px 25px;
      margin: 0 auto;
    }

    .requirements {
      position: relative;
      width: 95%;
      font-size: clamp(8px, 2.2vw, 11px);
      line-height: 1.4;
      text-align: center;
      margin: 20px auto 0;
      white-space: normal;
    }
  }

  .character-1 {
    top: 5%;
    left: 4%;
    width: 130px !important;
    height: 130px !important;
  }

  .character-2 {
    top: 10%;
    right: 2%;
    width: 130px !important;
    height: 130px !important;
  }

  .character-3 {
    top: 35%;
    left: 2%;
    width: 230px !important;
    height: 230px !important;
  }

  .pirate-section {
    min-height: 70vh;
  }

  .video-wrapper {
    max-width: 350px;
  }

  .pirate-section {
    min-height: 60vh;
    padding: 20px;
  }

  .video-wrapper {
    max-width: 300px;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .overlap-image {
    right: -15px;
    top: -190px;
    width: 340px;
    height: 400px;
  }

  .overlap-text h2 {
    font-size: 1.1rem;
  }

  .text-section {
    padding: 60px 20px;
  }

  .text-line {
    font-size: 0.8rem;
  }
    .blue-text-line {
    font-size: 0.8rem;
  }

  /*6th whitespace section*/
  @media (max-width: 768px) {
    .text-section {
      padding: 5px 0;
      margin: 0;
      min-height: 0;
    }

    .text-container {
      width: 100%;
      margin: 0;
      padding: 0 10px;
    }

    .blue-text-container {
      width: 100%;
      margin: 0;
      padding: 0 10px;
    }

    .text-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      margin: 0;
    }

    .text-line {
      font-size: clamp(12px, 2.5vw, 14px);
      line-height: 1.3;
      text-align: center;
      margin: 0;
      padding: 0;
      width: 90%;
    }

      .blue-text-line {
      font-size: clamp(12px, 2.5vw, 14px);
      line-height: 1.3;
      text-align: center;
      margin: 0;
      padding: 0;
      width: 90%;
    }
  }

  /*7th section 6 images*/
  @media (max-width: 768px) {
    .multi-section {
      min-height: auto;
      padding: 30px 20px;
    }

    .multi-container {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      padding: 0 20px;
    }

    .multi-text {
      flex: 1;
      margin: 0;
      padding: 0;
      text-align: right;
    }

    .multi-description {
      width: 100%;
      font-size: clamp(14px, 2.2vw, 18px);
      line-height: 1.5;
      margin-bottom: 30px;
      text-align: right;
    }

    .multi-image {
      max-width: 200px;
      width: auto;
      margin: 0;
    }

    .game-logo {
      font-size: clamp(22px, 4vw, 28px);
      margin-bottom: 15px;
    }

    .game-description {
      font-size: clamp(14px, 2.2vw, 18px);
      line-height: 1.5;
    }
  }

  .blue-image {
    right: 60px;
    top: -110px;
    width: 240px;
    height: 300px;
  }

  .blue-text h2 {
    font-size: 1.1rem;
  }

  .text-section {
    padding: 60px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 50px);
  }

  .gallery-title {
    font-size: clamp(16px, 3vw, 20px);
  }

  .gallery-description {
    font-size: clamp(13px, 2.2vw, 15px);
  }
}
/*10th section blue lady*/

/*before footer part*/
@media (max-width: 768px) {
  .info-text-section {
    padding: 15px;
  }

  .info-text-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .info-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .info-text-line {
    font-size: clamp(14px, 2.5vw, 16px);
    text-align: center;
    direction: rtl;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.4;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN - MOBILE
   ========================================================================== */

/* Mobile Portrait */
@media (max-width: 480px) {
  .header {
    padding: 6px 8px;
  }

  .logo {
    height: 45px;
    max-width: 140px;
  }

  .language-icon {
    height: 60px;
    max-width: 80px;
  }

  .hero-section {
    height: 55vh;
  }

  @media (max-width: 480px) {
    .content-container {
      gap: 15px;
      flex-direction: column;
      align-items: center;
      max-width: 100%;
    }

    .content-text {
      margin-left: 0;
      padding-right: 0;
      text-align: center;
      width: 100%;
      order: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .card-image {
      position: relative !important;
      right: auto !important;
      top: auto !important;
      max-width: clamp(120px, 35vw, 180px);
      margin: 25px auto 0;
      width: auto;
      order: 1;
    }

    .main-title {
      font-size: clamp(20px, 6vw, 26px); /* Increased from 16px to 20px */
      margin-top: clamp(10px, 2.5vh, 18px);
      line-height: 1.4;
      margin-bottom: clamp(15px, 2.5vh, 20px);
      order: 1;
    }

    .description {
      width: 95%;
      font-size: clamp(14px, 3.5vw, 18px); /* Increased from 11px to 14px */
      line-height: 1.6;
      margin-bottom: clamp(30px, 6vh, 40px);
      order: 2;
    }

    .cta-button {
      font-size: clamp(11px, 2.8vw, 13px);
      padding: 8px 18px;
      border-radius: 20px;
      margin-bottom: 20px;
      order: 3;
    }

    .requirements {
      position: relative;
      bottom: auto;
      left: auto;
      font-size: 26px;
      font-weight: 400;
      white-space: nowrap;
      max-width: 600px;
      line-height: 1.4;
      padding-top: 20px;
      margin-top: 20px;
      text-align: left;
    }
  }

  .pirate-section {
    position: relative;
    overflow: visible;
    min-height: clamp(40vh, 55vh, 60vh);
  }

  .video-container {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    padding-top: 20px;
  }

  .video-wrapper {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  .character {
    position: absolute;
    z-index: 2;
    width: 150px !important;
    height: 150px !important;
  }

  .character-1 {
    top: 5%;
    left: 5%;
    width: 100px !important;
    height: 100px !important;
  }

  .character-2 {
    top: 10%;
    right: 5%;
    width: 100px !important;
    height: 100px !important;
  }

  .character.character-3 {
    top: 25%;
    left: -2%;
    width: 250px !important;
    height: 250px !important;
    position: absolute;
    z-index: 2;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  @media (max-width: 480px) {
    .overlap-section {
      padding: 30px 20px;
      margin-top: 0;
      background: linear-gradient(135deg, #d4a574, #c49660);
      position: relative;
    }

    .overlap-container {
      flex-direction: column; /* Changed from column-reverse to column */
      align-items: center;
      padding: 0;
    }

    @media (max-width: 480px) {
      .overlap-text {
        position: relative;
        left: auto;
        top: auto;
        width: 200%;
        max-width: 200%;
        padding: 0 25px;
        margin: 0 0 15px 0;
        text-align: center;
        order: 1;
        transform: translateX(1%); /* Added to move text right */
      }

      .overlap-text h1 {
        font-size: 2rem !important;
        text-align: center;
        line-height: 1.4;
        padding-right: 15px; /* Added extra padding on right */
      }
    }

    .overlap-image {
      position: relative !important;
      right: auto !important;
      top: auto !important;
      width: 200px !important;
      height: auto !important;
      margin: -10px auto 0; /* Added negative top margin */
      order: 2;
    }

    .overlap-image img {
      width: 100%;
      height: auto;
      display: block;
    }
  }

  .text-section {
    padding: 5px 10px; /* Reduced padding-top and bottom from 10px to 5px */
    margin: 0; /* Remove any margins */
    min-height: auto; /* Allow section to be as small as content requires */
  }

  .text-content {
    max-width: 100%;
    padding: 0; /* Remove any padding */
    margin: 0; /* Remove any margins */
  }

  /* Keep the text styles as they are */
  .text-line {
    font-size: 0.7rem;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .blue-text-line {
    font-size: 0.7rem;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  /* 5th section */
  @media (max-width: 480px) {
    .multi-container {
      gap: 10px;
      flex-direction: column;
      align-items: center;
      max-width: 100%;
    }

    .multi-text {
      padding: 5px 10px;
      margin: 0;
      width: 100%;
      order: 2;
    }

    .multi-image {
      position: relative !important;
      max-width: clamp(120px, 35vw, 180px);
      margin: 20px auto 0;
      width: auto;
      order: 1;
    }
    .game-logo {
      font-size: clamp(
        22px,
        6vw,
        28px
      ) !important; /* Increased from 16px/4vw to 22px/6vw */
      font-weight: 900;
      margin-bottom: clamp(15px, 2.5vh, 20px);
      line-height: 1.4;
      text-align: center;
      color: white;
    }
    .multi-description {
      width: 95%;
      font-size: clamp(14px, 3.5vw, 18px); /* Increased from 11px to 14px */
      line-height: 1.6;
      margin-bottom: clamp(25px, 5vh, 35px);
    }

    .games-showcase {
      margin-top: clamp(30px, 5vh, 40px);
      padding: 0 clamp(15px, 3vw, 20px);
    }

    .games-row {
      flex-direction: column;
      gap: clamp(30px, 5vw, 40px);
      align-items: center;
    }

    .game-item {
      max-width: clamp(250px, 70vw, 320px);
    }

    .game-logo {
      font-size: clamp(16px, 4vw, 20px);
      font-weight: 900;
      margin-bottom: clamp(12px, 2vh, 16px);
      line-height: 1.3;
    }

    .game-description {
      font-size: clamp(14px, 3.5vw, 18px); /* Increased from 11px to 14px */
      line-height: 1.5;
      text-align: right;
      direction: rtl;
    }
  }

  /*6th section*/
  @media (max-width: 480px) {
    .blue-section {
      padding: 30px 20px;
      position: relative;
      overflow: hidden;
    }

    .blue-container {
      flex-direction: column-reverse;
      align-items: center;
      padding: 0;
      gap: 25px; /* Added gap between elements */
    }

    .blue-text h1 {
      font-size: 2.2rem !important;
      color: white;
      margin: 0;
      line-height: 1.4;
      text-align: center;
      transform: translateX(-85px); /* Added to move text left */
      padding-left: -85px; /* Added padding for better spacing */
    }

    .blue-image {
      position: relative !important;
      right: auto !important;
      top: auto !important;
      width: 200px !important;
      height: auto !important;
      margin: 15px auto 0; /* Added top margin */
      order: 2;
    }

    .blue-image img {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }
  }

  /*7th section*/
  .gallery-section {
    padding: clamp(40px, 6vh, 60px) clamp(15px, 3vw, 20px);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: clamp(25px, 4vw, 35px);
  }

  .gallery-title {
    font-size: clamp(18px, 5vw, 22px); /* Increased from 14px to 18px */
    margin-bottom: clamp(10px, 2vh, 15px);
    font-weight: bold;
    color: #00809b;
  }

  .gallery-description {
    font-size: clamp(16px, 3.5vw, 20px); /* Increased from 13px to 16px */
    line-height: 1.5;
    color: #00809b;
  }

  .gallery-image {
    margin-bottom: clamp(15px, 2.5vh, 20px);
  }
}

/*8th section*/
@media (max-width: 480px) {
  .blue2-section {
    padding: 10px 15px;
    position: relative;
    overflow: hidden;
  }

  .blue2-container {
    flex-direction: column; /* Changed from column-reverse to column */
    align-items: center;
    padding: 0;
    gap: 5px;
  }

  .blue2-text {
    width: 100%;
    text-align: center;
    order: 2;
    padding: 5px;
    margin-top: 0;
    transform: translateX(9px); /* Added to move text right */
  }

  .blue2-text h1 {
    font-size: 2.6rem !important; /* Increased from 2.4rem to 2.6rem */
    color: white;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    font-weight: 900; /* Increased from bold to 900 for extra boldness */
    letter-spacing: -0.02em; /* Added for better readability at larger size */
  }

  .blue2-image {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 320px !important;
    height: auto !important;
    margin: 0 auto; /* Removed top margin */
    order: 1; /* Image comes first */
  }

  .blue2-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/*9th section*/
@media (max-width: 480px) {
  .features-section {
    padding-top: 0 !important;
    padding-bottom: 25px !important;
  }

  .features-section > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .features-container {
    width: 100%;
    margin: 0 auto;
  }

  .features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
  }

  .feature-item {
    width: calc(50% - 15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 160px;
    justify-content: space-between;
  }

  .feature-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    min-height: 80px;
  }

  .feature-image img {
    width: auto;
    max-width: 80px;
    height: auto;
    object-fit: contain;
  }

  .bb4-image {
    margin-bottom: 25px !important;
  }

  .bb2-image img {
    max-width: 180px !important;
  }

  .feature-title,
  .feature-title1,
  .feature-title2,
  .feature-title3,
  .feature-title4 {
    font-size: 24px !important; /* Force larger size */
    text-align: center !important;
    color: white;
    direction: rtl;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 5px 0 !important;
  }

  .features-button {
    font-size: 30px !important;
    padding: 8px 24px;
    font-weight: 700;
    border-radius: 30px;
    background-color: #fff;
    color: #d4a574;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    min-height: 60px;
    margin-bottom: 25px !important; /* Added space after button */
  }

  .features-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
}
/* on top of footer */
@media (max-width: 480px) {
  .info-text-section {
    padding: 20px;
    background: white;
  }

  .info-text-container {
    width: 100%;
    max-width: 100vw; /* Prevents horizontal overflow */
    display: flex;
    justify-content: center;
    padding: 0 5px; /* Small padding to prevent edge cutoff */
    box-sizing: border-box;
  }

  .info-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Increased from 8px */
    width: 100%;
    max-width: 100%; /* Prevents content from exceeding container */
    text-align: center;
    box-sizing: border-box;
  }

  .info-text-line {
    font-size: 22px !important; /* Increased mobile font size */
    background: linear-gradient(135deg, #d4a574, #c49660);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right; /* Right-aligned */
    direction: rtl;
    width: 100%; /* Fixed: changed from 160% to 100% */
    max-width: 100%; /* Ensures it doesn't exceed container */
    margin: 0 auto;
    padding: 0 10px; /* Reduced padding for more space */
    line-height: 1.6; /* Adjusted for better readability */
    display: block; /* Changed from flex to block */
    word-wrap: break-word; /* Allows long words to break */
    overflow-wrap: break-word; /* Modern property for word breaking */
    font-weight: 700; /* Slightly reduced from 900 for better readability */
  }
}

/*footer section */
@media (max-width: 480px) {
  .footer-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Changed from center to flex-end */
    width: 100%;
    gap: 20px;
    padding: 0;
  }

  .footer-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px auto 0; /* Added 30px top margin */
    order: 1;
  }

  .footer-text {
    width: 100%;
    text-align: right !important; /* Added !important */
    margin: 0;
    padding-right: 15px; /* Added padding-right */
    order: 2 !important;
  }

  .footer-line {
    font-size: clamp(12px, 3vw, 14px);
    color: white;
    line-height: 1.5;
    direction: rtl;
    margin: 0;
    text-align: right !important; /* Added !important */
    padding-right: 15px; /* Added padding-right */
  }
}

/* Extra Small Mobile */
@media screen and (max-width: 320px) {
  .content-section {
    padding: 15px 10px 60px 10px;
  }

  .content-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .content-text {
    order: 1;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-image {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    max-width: 100px;
    margin: 15px auto 0;
    order: 4;
  }

  .main-title {
    font-size: 18px;
    margin-bottom: 12px;
    order: 1;
  }

  .description {
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.5;
    width: 95%;
    order: 2;
  }

  .cta-button {
    font-size: 12px;
    padding: 8px 20px;
    margin-bottom: 15px;
    order: 3;
  }

  .requirements {
    position: relative;
    bottom: auto;
    left: auto;
    font-size: 26px;
    margin: 15px auto 0;
    text-align: center;
    max-width: 95%;
    white-space: normal;
    order: 2;
  }

  .pirate-section {
    min-height: 50vh;
    padding: 15px;
  }

  .video-wrapper {
    max-width: 250px;
  }

  .character-1 {
    top: 5%;
    left: 10%;
    width: 100px !important;
    height: 100px !important;
  }

  .character-2 {
    top: 10%;
    right: 18%;
    width: 100px !important;
    height: 100px !important;
  }

  .character-3 {
    top: 42%;
    left: 12%;
    width: 160px !important;
    height: 160px !important;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-icon {
    width: 20px;
    height: 20px;
  }

  .overlap-image {
    right: -10px;
    top: -180px;
    width: 60px;
    height: 70px;
  }

  .overlap-text h2 {
    font-size: 1.2rem !important;
  }

  .text-section {
    padding: 40px 10px;
  }

  .text-line {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

    .blue-text-line {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .multi-section {
    padding: 15px 10px 60px 10px;
  }

  .multi-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .multi-text {
    order: 1;
    text-align: center;
    width: 100%;
  }

  .multi-image {
    position: relative !important;
    max-width: 100px;
    margin: 15px auto 0;
    order: 2;
  }

  .multi-description {
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.5;
    width: 95%;
  }

  /* Info text protection for extra small screens */
  .info-text-section {
    padding: 15px 5px;
  }

  .info-text-container {
    padding: 0 2px;
  }

  .info-text-line {
    font-size: 22px !important; /* Increased mobile font size */
    padding: 0 5px !important;
    line-height: 1.5 !important;
    text-align: right !important; /* Right-aligned */
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN - LANDSCAPE & SPECIAL CASES
   ========================================================================== */

/* Wide but short screens (like 1280x540) */
@media screen and (min-width: 1200px) and (max-height: 600px) {
  .character-2 {
    right: 8%;
  }
}

/* Mobile Landscape */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: 85vh;
  }

  .header {
    padding: 5px 10px;
  }

  .logo {
    height: 25px;
  }

  .language-icon {
    height: 35px;
  }

  .content-section {
    min-height: auto;
    padding: 8px 12px;
  }

  .content-text {
    margin-left: clamp(-100px, -8vw, -60px);
  }

  .card-image {
    right: clamp(8px, 1vw, 15px);
    max-width: clamp(60px, 10vw, 100px);
    top: 5px;
  }

  .main-title {
    font-size: clamp(16px, 2.5vw, 22px);
    margin-top: 5px;
    margin-bottom: 2px;
  }

  .description {
    width: clamp(60%, 75%, 80%);
    font-size: clamp(9px, 1.2vw, 12px);
    margin-bottom: 10px;
  }

  .cta-button {
    font-size: clamp(9px, 1.1vw, 11px);
    padding: 4px 15px;
  }

  .requirements {
    font-size: clamp(8px, 1vw, 10px);
    bottom: 3px;
    max-width: clamp(150px, 25vw, 200px);
  }
}

/* Desktop Line Break Utility */
@media (min-width: 769px) {
  .desktop-break {
    display: block;
  }

  .desktop-spacing {
    margin-top: 0;
    display: inline;
  }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
  screen and (min-resolution: 192dpi) {
  .logo,
  .language-icon,
  .card-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Video Aspect Ratio */
@media screen and (max-aspect-ratio: 16/9) {
  .hero-video {
    object-position: center;
  }
}

.gallery-description {
  font-size: clamp(13px, 2.2vw, 15px);
}

.features-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 15px);
  margin-bottom: clamp(60px, 8vh, 80px);
}

.feature-image img {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

.feature-title {
  font-size: clamp(10px, 2.5vw, 12px);
}

.gallery-image {
  margin-bottom: clamp(15px, 2.5vh, 20px);
}

.features-section {
  padding: clamp(40px, 6vh, 60px) clamp(15px, 3vw, 20px);
}

.features-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 15px);
  margin-bottom: clamp(60px, 8vh, 80px);
}

.feature-image img {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

.feature-title {
  font-size: clamp(10px, 2.5vw, 12px);
}

.features-button {
  font-size: clamp(12px, 2.8vw, 14px);
  padding: 10px 25px;
}

.info-text-line:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
  background: linear-gradient(135deg, #d4a574, #c49660);
  padding: clamp(60px, 8vh, 100px) clamp(20px, 4vw, 40px);
  min-height: auto;
}

.footer-container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  padding-right: clamp(80px, 10vw, 120px);
}

.footer-image {
  flex: 0 0 auto;
  width: clamp(140px, 18vw, 200px);
  height: auto;
}

.footer-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-text {
  flex: 1;
  text-align: right;
  direction: rtl;
  max-width: 600px;
}

.footer-line {
  color: white;
  font-size: 1.8rem !important;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: clamp(8px, 1vh, 12px);
  direction: rtl;
}

.footer-line:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN - MOBILE
   ========================================================================== */

/* Mobile Portrait */
@media (max-width: 480px) {
  .info-text-line {
    font-size: 0.8rem;
  }

  .footer-section {
    padding: clamp(40px, 6vh, 60px) clamp(15px, 3vw, 20px);
  }

  .footer-container {
    flex-direction: column;
    gap: clamp(20px, 4vw, 30px);
    text-align: center;
    padding-right: 0;
  }

  .footer-image {
    width: clamp(100px, 25vw, 150px);
    order: 2;
  }

  .footer-text {
    order: 1;
    text-align: center;
    max-width: 100%;
  }

  .footer-line {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* iPhone XR, XS Max, 11, etc (414x896) */
@media screen and (min-width: 414px) and (max-height: 896px) {
  .pirate-section {
    position: relative;
    overflow: visible;
    min-height: clamp(35vh, 50vh, 55vh);
  }

  .video-container {
    width: 95%;
    max-width: 340px;
    margin: 0 auto;
    padding-top: 25px;
  }

  .video-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  .character {
    position: absolute;
    z-index: 2;
  }

  .character-1 {
    top: 8%;
    left: 5%;
    width: 130px !important;
    height: 130px !important;
  }

  .character-2 {
    top: 10%;
    right: 5%;
    width: 130px !important;
    height: 130px !important;
  }

  .character.character-3 {
    top: 31%;
    left: -2%;
    width: 300px !important;
    height: 300px !important;
    position: absolute;
    z-index: 2;
  }

  .play-button {
    width: 70px;
    height: 70px;
  }

  .play-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Common modern phones (iPhone 12/13/14, Pro Max, Samsung S20, etc) */
@media screen and (min-width: 360px) and (max-width: 430px) and (min-height: 740px) and (max-height: 932px) {
  .pirate-section {
    position: relative;
    overflow: visible;
    min-height: clamp(38vh, 52vh, 58vh);
  }

  .video-container {
    width: 92%;
    max-width: 320px;
    margin: 0 auto;
    padding-top: 22px;
  }

  .video-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  .character {
    position: absolute;
    z-index: 2;
  }

  .character-1 {
    top: 6%;
    left: 5%;
    width: 130px !important;
    height: 130px !important;
  }

  .character-2 {
    top: 8%;
    right: 5%;
    width: 130px !important;
    height: 130px !important;
  }

  .character.character-3 {
    top: 28%;
    left: -2%;
    width: 280px !important;
    height: 280px !important;
    position: absolute;
    z-index: 2;
  }

  .play-button {
    width: 65px;
    height: 65px;
  }

  .play-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* iPad 1024x768 specific fix */
@media screen and (width: 1024px) and (height: 768px) {
  .pirate-section {
    min-height: 100vh;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
  }

  .video-container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
  }

  .video-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .character-1 {
    top: 2% !important;
    left: 2% !important;
    width: 140px !important;
    height: 140px !important;
    z-index: 3;
  }

  .character-2 {
    top: 2% !important;
    right: 2% !important;
    width: 140px !important;
    height: 140px !important;
    z-index: 3;
  }

  .character-3 {
    bottom: 2% !important;
    left: 2% !important;
    top: auto !important;
    width: 160px !important;
    height: 160px !important;
    z-index: 3;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    width: 60px;
    height: 60px;
  }

  .requirements {
    position: absolute !important;
    bottom: 15px !important;
    left: 20px !important;
    width: 600px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: nowrap !important;
    padding: 0 15px !important;
    color: white !important;
  }
}

/* iPhone 6/7/8 Plus specific fix (414x736) */
@media screen and (width: 414px) and (height: 736px) {
  .pirate-section {
    position: relative;
    overflow: visible;
    min-height: clamp(45vh, 60vh, 65vh);
  }

  .video-container {
    width: 92%;
    max-width: 320px;
    margin: 0 auto;
    padding-top: 22px;
  }

  .video-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .character-1 {
    top: 6%;
    left: 5%;
    width: 120px !important;
    height: 120px !important;
  }

  .character-2 {
    top: 8%;
    right: 5%;
    width: 120px !important;
    height: 120px !important;
  }

  .character-3 {
    top: 25% !important;
    left: -2% !important;
    width: 260px !important;
    height: 260px !important;
    position: absolute !important;
    z-index: 2 !important;
  }

  .play-button {
    width: 65px;
    height: 65px;
  }

  .play-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .requirements {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 360px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: normal !important;
    padding: 0 10px !important;
    color: white !important;
    z-index: 3 !important;
  }
}

/* iPad Pro 1366x1024 specific fix */
@media screen and (width: 1366px) and (height: 1024px) {
  .pirate-section {
    min-height: 100vh;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
  }

  .video-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }

  .video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .character-1 {
    top: 2% !important;
    left: 2% !important;
    width: 180px !important;
    height: 180px !important;
    z-index: 3;
  }

  .character-2 {
    top: 2% !important;
    right: 2% !important;
    width: 180px !important;
    height: 180px !important;
    z-index: 3;
  }

  .character-3 {
    top: 45% !important;
    left: 2% !important;
    width: 500px !important;
    height: 500px !important;
    z-index: 1;
  }

  .play-button {
    width: 80px;
    height: 80px;
  }

  .play-icon {
    width: 80px;
    height: 80px;
  }

  .requirements {
    position: absolute !important;
    bottom: 5px !important;
    left: 20px !important;
    width: 600px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: nowrap !important;
    padding: 0 15px !important;
    color: white !important;
  }
}



/* Q and A seciton */
.faq-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  direction: rtl;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: white;
  transition: background-color 0.3s ease;
  border: none;
  width: 100%;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  text-align: right;
}

.faq-arrow {
  color: #3498db;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #f8f9fa;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px 25px;
}

.faq-answer p {
  color: #555;
  line-height: 1.6;
  margin: 0;
  text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 15px;
  }
  
  .faq-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .faq-question {
    padding: 15px 20px;
  }
  
  .faq-question-text {
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}
