@charset "UTF-8";

:root {
  --bg-color: #1f1f1f;
  --bg-color-alt: #000000;
  --bg-color-etsy: #e55c14;
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --btn-primary-bg: #2997ff;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: rgba(255, 255, 255, 0.1);
  --btn-secondary-text: #f5f5f7;
  --btn-obsidian-bg: #7a36cb;
  --btn-obsidian-text: #ffffff;
  --btn-etsy-bg: #1d1d1f;
  --btn-etsy-text: #ffffff;
  --nav-bg: rgba(31, 31, 31, 0.7);
  --nav-bg-alt: rgba(0, 0, 0, 0.7);
  --border-color: rgba(255, 255, 255, 0.1);
  --icon-filter: invert(1);

  font-family:
    "YAZGA",
    "NotoYazar",
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.yazar-flag-en {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNiAzNiI+PHBhdGggZmlsbD0iI0IyMjMzNCIgZD0iTTM1LjQ0NSA3QzM0Ljc1MiA1LjgwOSAzMy40NzcgNSAzMiA1SDE4djJoMTcuNDQ1ek0wIDI1aDM2djJIMHptMTgtOGgxOHYySDE4em0wLTRoMTh2MkgxOHpNMCAyMWgzNnYySDB6bTQgMTBoMjhjMS40NzcgMCAyLjc1Mi0uODA5IDMuNDQ1LTJILjU1NWMuNjkzIDEuMTkxIDEuOTY4IDIgMy40NDUgMnpNMTggOWgxOHYySDE4eiIvPjxwYXRoIGZpbGw9IiNFRUUiIGQ9Ik0uMDY4IDI3LjY3OWMuMDE3LjA5My4wMzYuMTg2LjA1OS4yNzcuMDI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jY4NS02LTYgMC0zLjMxNCAyLjY4Ni02IDYtNiAxLjMxIDAgMi41Mi40MjUgMy41MDcgMS4xMzgtMS4zNDgtMS41MjQtMy4zMTItMi40OTEtNS41MDctMi40OTEtNC4wNjEgMC03LjM1MyAzLjI5Mi03LjM1MyA3LjM1MyAwIDQuMDYyIDMuMjkyIDcuMzU0IDcuMzUzIDcuMzU0IDIuMTk1IDAgNC4xNi0uOTY3IDUuNTA3LTIuNDkyQzE4LjUyMSAyMy41NzUgMTcuMzEyIDI0IDE2IDI0em0zLjkxMy01Ljc3bDIuNDQuNTYyLjIyIDIuNDkzIDEuMjg4LTIuMTQ2IDIuNDQuNTYxLTEuNjQ0LTEuODg4IDEuMjg3LTIuMTQ3LTIuMzAzLjk4LTEuNjQ0LTEuODg5LjIyIDIuNDk0eiIvPjwvc3ZnPg==");
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-color: #fbfbfb;
    --bg-color-alt: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --btn-primary-bg: #0071e3;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: rgba(0, 0, 0, 0.1);
    --btn-secondary-text: #1d1d1f;
    --nav-bg: rgba(255, 255, 255, 0.7);
    --nav-bg-alt: rgba(245, 245, 245, 0.7);
    --border-color: rgba(0, 0, 0, 0.1);
    --icon-filter: none;
  }
}

:root[data-theme="light"] {
  --bg-color: #fbfbfb;
  --bg-color-alt: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --btn-primary-bg: #0071e3;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: rgba(0, 0, 0, 0.1);
  --btn-secondary-text: #1d1d1f;
  --nav-bg: rgba(255, 255, 255, 0.7);
  --nav-bg-alt: rgba(245, 245, 245, 0.7);
  --border-color: rgba(0, 0, 0, 0.1);
  --icon-filter: none;
}

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

html {
  background-color: var(--bg-color);
  overflow: hidden;
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow: hidden;
  overscroll-behavior: none;
}

/* Visibility Utilities */
.hidden {
  display: none !important;
}

/* Application Views */
#main-container {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
}

.view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.5s;
  overflow: hidden;
  z-index: 10;
}

.view.active-view {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 20;
}

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
  transition: opacity 1s ease;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.top-bar-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 101;
}

.top-bar.hidden,
.bottom-bar.hidden {
  opacity: 0;
  pointer-events: none;
}

.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 20px;
  z-index: 100;
  transition: opacity 1s ease;
  background-color: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  /* border-top: 1px solid var(--border-color); */
}

.bottom-bar-left,
.bottom-bar-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.bottom-bar-right {
  justify-content: flex-end;
  gap: 16px;
}

.bottom-bar-middle {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  width: 100%;
  overflow: visible;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.ripple {
  display: inline-block;
  position: relative;
  width: 120px;
  height: 120px;
}
.ripple::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--text-primary);
  opacity: 0;
  animation: rippleanim 0.9s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes rippleanim {
  0% {
    transform: scale(0.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.reveal.active {
  opacity: 1;
}

/* Inner elements stagger animation */
.reveal-item {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition:
    opacity 1.2s cubic-bezier(0.15, 0, 0.15, 1),
    transform 1.2s cubic-bezier(0.15, 0, 0.15, 1);
  will-change: opacity, transform;
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Specific reveal types */
.reveal-text.active {
  animation: textReveal 1.2s cubic-bezier(0.15, 0, 0.15, 1) forwards;
}

.reveal-image {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition:
    transform 1.6s cubic-bezier(0.15, 0, 0.15, 1),
    opacity 1.6s cubic-bezier(0.15, 0, 0.15, 1);
  will-change: transform, opacity;
}

.reveal-image.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.navbar {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.right-icon-link {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.right-icon-link:hover {
  opacity: 1;
}

.right-icon-link .icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
}

.hamburger .line {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s;
  transform-origin: center;
}

.hamburger.open .line1 {
  transform: translateY(3.75px) rotate(45deg);
}

.hamburger.open .line2 {
  transform: translateY(-3.75px) rotate(-45deg);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  transition: color 0.3s ease;
  opacity: 0.5;
}

.lang-btn:hover {
  color: var(--text-primary);
  opacity: 1;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.theme-btn:hover {
  opacity: 1;
}

.theme-icon {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
}

.lang-btn .icon {
  width: 16px;
  height: 16px;
  filter: var(--icon-filter);
}

.lang-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background-color: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-dropdown.show {
  display: flex;
}

.lang-option {
  overflow-x: hidden !important;
  white-space: nowrap;
  background: none;
  border: none;
  color: var(--text-primary);
  text-align: left;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-option:hover {
  background-color: var(--btn-secondary-bg);
}

.logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity;
}

.logo:hover {
  opacity: 1;
}

/* Sections */
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 100vh;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px 60px;
}

.bg-alt {
  background-color: var(--bg-color-alt);
}

.bg-etsy {
  background-color: var(--bg-color-etsy);
}

.hero-section {
  justify-content: center;
}

.content {
  text-align: center;
  z-index: 10;
  max-width: 920px;
  padding: 60px 20px;
  width: 100%;
}

h1,
h2 {
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
}

.title-hero {
  font-size: 56px;
  line-height: 1.07;
}

h2 {
  font-size: 48px;
  line-height: 1.08;
}

.subtitle {
  font-size: 24px;
  line-height: 1.16;
  font-weight: 400;
  margin-top: 12px;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

/* Buttons */
.ctas {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary:hover {
  background-color: var(--btn-primary-text);
  color: var(--btn-primary-bg);
}

.btn-obsidian {
  background-color: var(--btn-obsidian-bg);
  color: var(--btn-obsidian-text);
}

.btn-obsidian:hover {
  background-color: var(--btn-obsidian-text);
  color: var(--btn-obsidian-bg);
}

#global-btn-skip {
  width: auto !important;
}

.etsy-text {
  color: var(--btn-etsy-text);
}

.btn-etsy {
  background-color: var(--btn-etsy-bg);
  color: var(--btn-etsy-text);
}

.btn-etsy:hover {
  background-color: var(--btn-etsy-text);
  color: var(--btn-etsy-bg);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

/* Image Wrappers */
.image-wrapper {
  margin-top: 30px;
  width: 100%;
  max-width: 920px;
  display: flex;
  justify-content: center;
}

.hero-image {
  flex-grow: 1;
  align-items: flex-end;
  margin-top: 30px;
  padding: 0 20px;
}

.yazar-image,
.other-image {
  margin-top: 30px;
  padding: 0 20px 40px;
}

.image-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-wrapper a:hover {
  transform: scale(1.02);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-image img {
  max-height: 60vh;
  object-position: bottom center;
}

.yazar-image img,
.other-image img {
  max-height: 60vh;
  border-radius: 20px;
}

/* Socials Section */
.socials-section {
  padding: 80px 20px 20px;
  background-color: var(--bg-color);
  justify-content: flex-start; /* Override global center to allow spacing */
}

.social-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
  justify-items: center;
  max-width: 400px;
  margin: 0 auto 50px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--text-primary);
}

.social-icon {
  width: 96px;
  height: 96px;
  border-radius: 22.5%;
  overflow: hidden;
  background-color: var(--btn-secondary-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease;
  padding: 20px;
}

.social-link:hover .social-icon {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .social-link:hover .social-icon {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10%;
}

/* Contact Info */
.contact-info {
  margin-top: 0;
  text-align: center;
}
.contact-info a {
  font-size: 3.3em;
}

.email-link {
  display: inline-block;
  font-size: 28px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: -0.01em;
}

.email-link:hover {
  transform: translateY(-8px) scale(1.15);
  opacity: 1;
}

/* Footer */
footer {
  width: 100%;
  padding: 40px 20px 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
}

.footer-content {
  width: 100%;
  max-width: 980px;
  display: flex;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

.footer-logo {
  height: 16px;
  opacity: 0.6;
  transition: opacity;
}

.footer-brand:hover,
.footer-brand:hover .footer-logo {
  color: var(--text-primary);
  opacity: 1;
}

/* Responsive constraints */
.resize-animation-stopper *,
.touch-device .reveal,
.touch-device .reveal-item,
.touch-device .reveal-image {
  animation: none !important;
  transition: none !important;
}

.touch-device .reveal,
.touch-device .reveal-item.active,
.touch-device .reveal-image.active {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 820px) {
  .top-bar {
    padding: 0 16px;
  }

  .lang-selector {
    position: static;
  }

  .right-icon-link {
    position: static;
  }

  h2 {
    /* font-size: 32px; */
  }
  .subtitle {
    /* font-size: 20px; */
  }

  .ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 28px auto 0;
    gap: 12px;
  }
  .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }

  #btn-skip {
    width: auto !important;
  }
}

/* 3-Part Structural Layout */
.view-middle {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 50;
}

.view-bottom {
  min-height: 80px;
  padding-bottom: 20px;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.view-bottom .bottom-controls {
  margin-top: 20px;
}

/* View Specific Styles */
.yazga-font {
  /* font-family: "YAZGA", "NotoYazar"; */
}

/* View 1 */
#view-1 .view-middle {
  text-align: center;
  gap: 20px;
}
#view-1 .view-bottom {
  padding-bottom: 80px;
  max-width: 320px;
  width: 100%;
}
#view-1 .subtitle {
  margin-top: 0;
}
#view-1 .pre-title {
  margin-top: 20px;
}
.pre-title {
  font-size: 16px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  width: 100%;
}

/* View 2 */
#view-2 {
  background-color: #000;
}
.bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}
.bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.title-top {
  display: none;
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.btn-icon:hover {
  opacity: 1;
  transform: scale(1.05);
}
.btn-icon img {
  width: 32px;
  height: 32px;
  filter: var(--icon-filter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 50;
  opacity: 0.6;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
}
.nav-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}
.nav-btn img {
  width: 32px;
  height: 32px;
  filter: var(--icon-filter);
}
/* Desktop hides side chevrons by default on Main view */
#view-3 .nav-btn {
  display: none;
}

.gallery-container {
  width: 100%;
  height: 100%;
  max-width: 900px;
  max-height: 900px;
  /* Grid fallback applied in JS or media-query logic below */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  padding: 0;
  margin-left: 55px;
  margin-right: 55px;
}
.gallery-container::-webkit-scrollbar {
  display: none;
}
/* View 3: Main Gallery */
.gallery-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 22px;
  position: relative;
  padding: 0;
  margin-left: 55px;
  margin-right: 55px;
}
.tamga-group {
  width: 9vw;
  /* min-width: 100px; */
  height: 9vw;
  flex: 0 0 auto;
  gap: 3px;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
  opacity: 0.3;
  filter: grayscale(100%);
  transform: scale(0.85);
}
.tamga-group.active-item {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.5);
}
.tamga-glyph {
  font-family: "YAZGA", "NotoYazar", sans-serif;
  font-size: 100px;
  line-height: 1;
  color: var(--text-primary);
  /* The glow oscillation is applied in JS via CSS variable or a steady animation */
  animation: magicalGlow 4s ease-in-out infinite alternate;
}
@keyframes magicalGlow {
  0% {
    text-shadow: 0 0 4px currentColor;
    filter: brightness(0.9);
  }
  100% {
    text-shadow: 0 0 24px currentColor;
    filter: brightness(1.2);
  }
}
.gallery-info {
  text-align: center;
  height: auto;
  margin-bottom: 2px;
}
.gallery-title {
  font-size: 24px;
  margin: 0;
  transition: opacity 0.15s ease;
}
.gallery-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  transition: opacity 0.15s ease;
}
.gallery-controls {
  display: none;
}

/* View 4: Info */
.info-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 22px;
  position: relative;
  padding: 0;
  margin-left: 55px;
  margin-right: 55px;
}

.info-content-container {
  width: 100%;
  height: 100%;
  max-width: 640px;
  max-height: 640px;
  /* Grid fallback applied in JS or media-query logic below */
  display: grid;
  gap: 11px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  padding: 0;
}
.info-content-container::-webkit-scrollbar {
  display: none;
}
.info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  width: 100%;
  height: 100%;
}
.info-grid.grid-compact {
  gap: 11px;
}
.info-grid.grid-compact .info-item {
  width: 18vmin;
  padding: 1.5vmin;
}
.info-grid.grid-compact .info-tamga {
  font-size: 8vmin;
  margin-bottom: 1vmin;
}
.info-grid.grid-compact .info-eq {
  font-size: clamp(12px, 2vmin, 16px);
}
.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  padding: 2.5vmin;
  border-radius: 2vmin;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 25vmin;
}
.info-item:hover {
  border-color: var(--text-secondary);
  background-color: var(--btn-secondary-bg);
}
.info-item.pulse-anim {
  animation: itemPulse 0.4s ease-out;
}
@keyframes itemPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
    border-color: var(--text-primary);
  }
  100% {
    transform: scale(1);
  }
}
.info-tamga {
  font-family: "YAZGA", "NotoYazar", sans-serif;
  font-size: 12vmin;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 1.5vmin;
  transition:
    text-shadow 0.3s ease,
    color 0.3s ease;
}
.info-item:hover .info-tamga {
  text-shadow: 0 0 15px currentColor;
}
.info-item.playing .info-tamga {
  text-shadow: 0 0 25px currentColor;
  color: #fff;
}
.info-eq {
  font-size: clamp(14px, 3vmin, 22px);
  font-weight: 500;
  color: var(--text-secondary);
}
.info-item:hover .info-eq {
  color: var(--text-primary);
}
.info-controls {
  display: none;
}
.info-description {
  font-size: 20px;
  line-height: 1.8;
  max-width: 800px;
  text-align: center;
  color: var(--text-primary);
  opacity: 1;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  max-height: 100%;
  padding-right: 15px;
}
.info-description::-webkit-scrollbar {
  width: 8px;
}
.info-description::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 4px;
}
.info-description.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}
.btn-back {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 50%;
  background-color: var(--nav-bg);
  border: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  display: flex;
}
.btn-back img {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
}
.btn-back:hover {
  transform: scale(1.1);
  opacity: 1;
}
.btn-back.hidden {
  display: none !important;
}
.sticky-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 40px);
  max-width: 600px;
  background-color: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 24px;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.8s cubic-bezier(0.15, 0, 0.15, 1),
    opacity 0.8s ease;
  opacity: 0;
  visibility: hidden;
}

.cookie-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  outline: none !important;
  border: none !important;
}

@media (min-width: 821px) {
  /* On desktop, keep 3x3 grid without slider */
  .gallery-container {
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .title-top {
    font-size: 40px;
  }

  #view-3 .nav-btn {
    display: flex;
    position: absolute;
    height: 100%;
    align-items: center;
  }
  #view-3 #btn-prev {
    left: 0;
  }
  #view-3 #btn-next {
    right: 0;
  }
  #view-4 #btn-info-prev {
    left: 0;
  }
  #view-4 #btn-info-next {
    right: 0;
  }

  .gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 4vw;
    padding: 0 calc(50vw - 11vw);
    width: 100vw;
    min-height: 200px; /* Ensure space for items */
    justify-content: flex-start;
    align-items: center;
  }
  .tamga-group {
    margin-inline: 22px;
  }
  .info-tamga {
    font-size: 10vmin;
  }
  .info-item {
    width: 20vmin;
    padding: 2vmin;
  }
  .lang-selector {
    gap: 8px;
  }
  .view-bottom {
    min-height: 120px;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
