/* ===== GALERİ SAYFASI ===== */

.gpage-hero {
  padding: 10rem 3rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.gpage-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.gpage-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, var(--violet-bright) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gpage-subtitle {
  color: rgba(245,239,255,0.6);
  font-weight: 300;
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.gpage-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gpage-jump a {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(167,123,255,0.06);
  color: rgba(245,239,255,0.75);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
}

.gpage-jump a:hover {
  color: var(--violet-bright);
  border-color: var(--violet-bright);
  background: rgba(167,123,255,0.14);
}

.gsection {
  padding: 3.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  scroll-margin-top: 6rem;
}

.gsection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.gsection-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
}

.gsection-count {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-card {
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px -18px rgba(123,63,228,0.5);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10,4,26,0.55);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.video-play span::after {
  content: '';
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card:hover .video-play span {
  transform: scale(1.1);
  background: var(--violet);
}

.video-info {
  padding: 1rem 1.1rem 1.15rem;
}

.video-ep {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 0.35rem;
}

.video-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.4;
}

.video-date {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  grid-auto-flow: dense;
}

.photo-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  position: relative;
}

.photo-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.photo-item:hover img { transform: scale(1.07); }

.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,4,26,0.55));
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-item:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .gpage-hero { padding: 7rem 1.25rem 2rem; }
  .gsection { padding: 2.5rem 1.25rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .photo-item.wide { grid-column: span 2; }
}
