@font-face {
  font-family: 'Arabic';
  src: url('./Arabic.otf') format('opentype');
}

body {
  background-color: #000;
  font-family: "Shadows Into Light", cursive;
  color: #fff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.background-gradient {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        45deg,
        rgba(16,0,10,0.1) 0%,      /* dark purple-black */
        rgba(42,0,31,0.1) 15%,     /* deep purple */
        rgba(58,10,46,0.1) 30%,    /* dark purple-pink */
        rgba(255,26,102,0.1) 45%,  /* pink-magenta highlight */
        rgba(107,10,95,0.1) 55%,   /* rich purple */
        rgba(26,0,26,0.1) 70%,     /* dark purple again */
        rgba(11,0,11,0.1) 85%,     /* almost black with faint pink */
        rgba(0,0,0,0.1) 100%       /* black */
    );
    background-size: 400% 400%;
    animation: diagonalGradient 35s ease infinite;
}

@keyframes diagonalGradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Title & Subtitle */
h1 {
  font-family: 'Arabic', sans-serif;
  font-size: 70px;
  color: #ff3366;
  text-shadow: 2px 2px 12px #000;
  margin-bottom: 0.5rem;
  text-align: center;
}

@keyframes beat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(-5deg); }
  50% { transform: scale(1.2) rotate(5deg); }
  75% { transform: scale(1.1) rotate(-3deg); }
}

h1 svg {
  animation: beat 2s infinite ease-in-out;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 8px #000;
  text-align: center;
}

/* Instagram Button */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem auto;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 20px rgba(255,51,102,0.5);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0%);
}

.instagram-btn:hover {
  transform: translate(-50%, 0%) scale(1.05);
  box-shadow: 0 0 30px rgba(255,102,153,0.7);
}

/* Columns Container */
.columns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Image & Text Block Styling */
.column-item {
  width: 300px; /* fixed width for both image and text */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Images */
.column-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  transition: filter 0.5s ease;
}

/* Glow + pulsing effect */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 30px rgba(255,105,180,0.6); }
  50% { box-shadow: 0 0 50px rgba(255,105,180,0.8); }
  100% { box-shadow: 0 0 30px rgba(255,105,180,0.6); }
}

.column-item img:hover {
  animation: pulseGlow 1.5s infinite;
  filter: brightness(1.05) saturate(1.1);
}

/* Text Blocks */
.text-block {
  background: rgba(255,105,180,0.05);
  padding: 1rem;
  border-radius: 15px;
  padding: 1.8em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.5;
}

.text-block[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

/* Language Heading */
.lang-heading {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #ff6699;
  font-size: 2rem;
  opacity: 0.5;
  font-family: 'Arabic', sans-serif;
}

/* Subtle trans hint */
.trans-hint {
    left: 50%;
    position: relative;
    transform: translate(-50%, 0%);
  font-size: 1rem;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  display: inline-block;           /* makes gradient span text width */
  background: linear-gradient(
    90deg,
    #55CDFC,   /* light blue */
    #F7A8B8,   /* pink */
    #fff,      /* white */
    #F7A8B8,   /* pink */
    #55CDFC    /* light blue */
  );
  background-size: 100% 100%;      /* gradient matches the width of text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  filter: saturate(0.4);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #ff99cc;
  opacity: 0.7;
  margin-top: 3rem;
}