body {
  margin: 0;
  background: radial-gradient(
    circle at top,
    #1a1a1a 0%,
    #0b0b0b 40%,
    #000 100%
  );
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue",
               sans-serif;
}


/* NAVBAR */
.navbar {
    width: 100%;
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    margin: 0;
    font-size: 22px;
}

#search {
    padding: 10px 15px;
    width: 300px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* CATEGORY BAR */
.categories, .orientation {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.category-menu {
  display: none;
}


.categories button, .orientation button {
    padding: 8px 16px;
    background: #eee;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.categories button.active, .orientation button.active {
    background: black;
    color: white;
}

/* GALLERY GRID */
.gallery {
    column-count: 3;
    column-gap: 15px;
    margin-top: 16px;
    padding: 0 18px;
    
}

.filters-section {
  position: relative;
  z-index: 50;
  overflow: visible;   /* 🔑 IMPORTANT */
}


/*.ai-label {*/
/*  font-size: 11px;*/
/*  color: #aaa;*/
/*  text-align: center;*/
/*  margin-top: 5px;*/
/*}*/




/* ===== HEADER PREMIUM ANIMATION ===== */

/* ===== SMART AUTO-HIDE HEADER ===== */




@keyframes headerSlide {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FILTER INTERACTION */
.filters-bar select,
.filters-bar button {
  transition: background 0.3s ease,
              transform 0.2s ease,
              box-shadow 0.2s ease;
}

.filters-bar select:hover,
.filters-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.top-bar h1,
.top-bar .logo,
.top-bar .logo-text {
  transition: letter-spacing 0.3s ease, opacity 0.3s ease;
}

.top-bar h1:hover,
.top-bar .logo:hover,
.top-bar .logo-text:hover {
  letter-spacing: 1px;
  opacity: 0.9;
}

body {
  animation: pageFade 0.5s ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .gallery {
    column-count: 1;          /* ONE IMAGE PER ROW */
    column-gap: 0;
    padding: 12px;
  }

  .wallpaper {
    margin-bottom: 16px;
  }

  .wallpaper img {
    border-radius: 18px;      /* Freepik-like rounded cards */
  }
}

@media (max-width: 768px) {
  .wallpaper:hover img {
    transform: none;
    filter: none;
  }
}

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




.wallpaper {
  position: relative;
  display: inline-block;     /* 🔑 VERY IMPORTANT */
  width: 100%;
  margin-bottom: 18px;       /* 🔑 SPACE BETWEEN CARDS */
  break-inside: avoid;       /* 🔑 PREVENT OVERLAP */
  border-radius: 16px;
  /* overflow: hidden; */
  background: #111;
}



.wallpaper img {
  width: 100%;
  height: auto;
  display: block;     /* 🔑 IMPORTANT */
  border-radius: 16px;
}



/* DOWNLOAD BUTTON */
.download-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    display: none;
}

.wallpaper:hover .download-btn {
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    #search {
        width: 180px;
    }
    
    .gallery {
        column-count: 1;
    }
}

/* CATEGORY DROPDOWN */
.category-dropdown {
    position: relative;
    display: inline-block;
    margin: 20px;
}

.category-btn {
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s ease;
}

.category-btn:hover {
    background: #f0f0f0;
}

.category-menu {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px 0;
    width: 200px;
    z-index: 100;
}

.category-menu .cat-option {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
}

.category-menu .cat-option:hover {
    background: #f5f5f5;
}

.category-menu hr {
    margin: 5px 0;
    border: 0;
    height: 1px;
    background: #ddd;
}

.filter-bar {
  display: flex;
  gap: 15px;
  padding: 15px;
  justify-content: center;
}

.filter {
  position: relative;
}

.filter-btn {
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.filter-menu {
  position: absolute;
  top: 45px;
  left: 0;
  background: #fff;
  border-radius: 10px;
  display: none;
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 100;
}

.filter-menu button {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
}

.filter-menu button:hover {
  background: #eee;
}

/* WALLPAPER CARD */
.wallpaper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

/* IMAGE */
.wallpaper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* DOWNLOAD BUTTON */
.download-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* DESKTOP HOVER EFFECT */
@media (hover: hover) {
  .wallpaper:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
  }

  .wallpaper:hover .download-btn {
    opacity: 1;
  }
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .download-btn {
    opacity: 0;
  }

  .wallpaper.active .download-btn {
    opacity: 1;
  }
}

/* PREVIEW MODAL OVERLAY */
.preview-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999999;
}





.preview-content {
  width: 90vw;
  height: 90vh;

  max-width: none;
  max-height: none;

  overflow-y: auto;
}


.preview-content img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 14px;
  margin: auto;
}


.suggest-gallery img:hover {
  transform: scale(1.05);
  transition: 0.3s;
}


/* CLOSE BUTTON */
.close-preview {
  position: absolute;
  top: 12px;
  right: 14px;

  font-size: 26px;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;

  z-index: 1000;          /* 🔥 ABOVE download button */
  pointer-events: auto;  /* 🔥 ENSURE CLICK */
}


.close-preview:hover {
  opacity: 1;
}


/* ACTIONS */
.preview-actions {
  margin: 15px 0;
  text-align: right;
}

/* SUGGESTIONS */
.suggest-title {
  color: #fff;
  margin: 20px 0 10px;
}

/* SIMILAR WALLPAPERS – LARGE VIEW */
.suggest-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

  /* gap: 20px; */
  /* margin-top: 15px; */
}

/* Similar wallpaper card */
.suggest-gallery img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect like main gallery */
@media (hover: hover) {
  .suggest-gallery img:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
  }
}


/* POPUP DOWNLOAD BUTTON (LIKE HOME PAGE STYLE) */
.preview-download-btn {
  position: absolute;
  top: 15px;
  right: 60px; /* space from close button */
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
  transition: background 0.3s ease, transform 0.2s ease;
}

.preview-download-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

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

.filters-bar {
  display: flex;
  gap: 12px;
  padding: 15px;
  justify-content: center;
}

.filters-bar select {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 14px;
}

@keyframes popupIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.suggest-title {
  margin: 18px 0 10px;
  font-size: 15px;
  opacity: 0.85;
}

/* SIMILAR WALLPAPERS – SAME AS HOME */
.suggest-gallery {
  column-count: 3;
  column-gap: 15px;
  margin-top: 15px;
}

.suggest-gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 14px;
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect same as home */
@media (hover: hover) {
  .suggest-gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .suggest-gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .suggest-gallery {
    column-count: 1;
  }
}


.suggest-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
}


.suggest-gallery img:hover {
  transform: scale(1.04);
}

.close-preview {
  pointer-events: all !important;
}



@media (max-width: 768px) {
  .preview-content {
    max-width: 96vw;
    max-height: 90vh;
    padding: 12px;
    pointer-events: auto;
  }

  .preview-content img {
    max-height: 55vh;
  }
}

.site-footer {
  background: #0b0b0b;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 25px 15px;
  text-align: center;
  margin-top: 50px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer p {
  font-size: 13px;
  color: #777;
}

/* ===== PREMIUM FOOTER (FREEPIK STYLE) ===== */

.premium-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 60px 20px 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h2 {
  color: #fff;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

.footer-col a {
  display: block;
  color: #aaa;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #fff;
}

.socials a {
  display: inline-block;
  margin-right: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

/* MOBILE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials a {
    margin-right: 10px;
  }
}

/* ===== MODERN HEADER ===== */

/* NORMAL HEADER (NOT STICKY) */
.top-bar {
  position: relative;          /* NOT fixed */
  width: 100%;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;             /* clean height */
  margin: 0;                   /* IMPORTANT */
}



.header-container {
  max-width: 1300px;
  margin: auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* LOGO */
.logo {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* SEARCH */
/* ===== BIG SEARCH BAR ===== */

.search-box {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  background: #1a1a1a;          /* SAME color */
  border-radius: 12px;          /* ⬅ more square (was too round) */
  padding: 12px 16px;           /* balanced height */
}


.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  padding: 8px 6px;
}


.search-box button {
  background: #030605;          
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;          /* matches bar shape */
  font-size: 14px;
  cursor: pointer;
}


/* FILTERS */
.filters {
  display: flex;
  gap: 10px;
}

.filters select {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}

/* AUTH */
.auth {
  display: flex;
  gap: 14px;
  align-items: center;
}

.auth .login {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.auth .signup {
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}

.top-bar {
  position: relative;      /* NORMAL HEADER */
  width: 100%;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  margin: 0;
}

.gallery {
  column-count: 3;
  column-gap: 15px;
  margin-top: 16px;
  padding: 0 18px;
}

/* MOBILE */
@media (max-width: 900px) {
  .filters {
    display: none;
  }

  .auth {
    display: none;
  }
}

/* ===== SUB NAV BELOW SEARCH ===== */

.sub-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;
}

.sub-nav a {
  color: #bdbdbd;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 4px;
  position: relative;
  transition: color 0.25s ease;
}

.sub-nav a:hover {
  color: #fff;
}

/* Active page underline */
.sub-nav a.active {
  color: #fff;
}

.sub-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .sub-nav {
    gap: 18px;
  }

  .sub-nav a {
    font-size: 13px;
  }
}

/* ===== SEARCH AREA STACK ===== */

.search-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;   /* keeps search centered */
}


/* already added earlier, keeping clean spacing */
.sub-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 10px;         /* space BELOW search */
}

/* ===== TOP NAV (HOME / ABOUT / CONTACT) ===== */

.top-nav {
  display: flex;
  align-items: center;   /* 🔑 aligns with search bar */
  gap: 10px;
}

.top-nav a {
  color: #ccc;
  font-size: 15px;      /* ⬅ small increase */
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FILTER BAR (FREEPIK STYLE) ===== */

.filter-bar {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  overflow-x: auto;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

/* CHIP STYLE */
.filter-chip {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ddd;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* HOVER */
.filter-chip:hover {
  background: #222;
  border-color: rgba(255,255,255,0.2);
}

/* ACTIVE (LIKE FREEPIK "All Images") */
.filter-chip.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}




.top-nav a:hover {
  color: #fff;
}

.top-nav a.active {
  color: #fff;
}



.top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #000000, #000000);
  border-radius: 10px;
}

/* ===== FILTERS BELOW SEARCH ===== */

.sub-filters {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.sub-filters select {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 10px 16px;     /* ⬆ slightly bigger */
  border-radius: 12px;   /* ⬆ smoother */
  font-size: 14px;       /* ⬆ small increase */
  cursor: pointer;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* FILTER BAR */
/* ===== FILTER BAR (STRONGER, FULL-WIDTH FEEL) ===== */

.filter-bar {
  display: flex;
  gap: 12px;                 /* slightly more gap */
  padding: 16px 0 10px;      /* taller row */
  overflow-x: auto;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

/* CHIP SIZE INCREASE */
.filter-chip {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.14);
  color: #ddd;

  padding: 10px 18px;        /* ⬅ KEY CHANGE (bigger block) */
  border-radius: 999px;

  font-size: 15px;           /* ⬅ slightly bigger text */
  font-weight: 500;

  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;

  white-space: nowrap;
}

/* HOVER */
.filter-chip:hover {
  background: #222;
}

/* ARROW */
.filter-chip .arrow {
  font-size: 13px;
  opacity: 0.7;
}


/* DROPDOWN */
.filter-dropdown {
  position: relative;
}

.dropdown-menu {
  position: fixed;          /* 🔥 KEY CHANGE */
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;

  z-index: 999999;          /* above gallery, header, modal */
  display: none;
}


.dropdown-menu div {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #ddd;
  cursor: pointer;
}

.dropdown-menu div:hover {
  background: #222;
}

/* FILTER SECTION BELOW HEADER */
.filters-section {
  background: transparent;
  padding: 0 24px;
}

/* Ensure dropdowns can overflow */
.filter-bar {
  position: relative;
  z-index: 20;
}

/* DROPDOWN MUST FLOAT ABOVE GALLERY */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;

  z-index: 99999;   /* 🔥 VERY IMPORTANT */
}


/* ===== ABOUT PAGE STORY SECTION ===== */

.story-section {
  display: flex;
  gap: 80px;
  padding: 120px 80px;
  max-width: 1400px;
  margin: auto;
}

/* Sticky Image */
.story-image {
  flex: 1;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.story-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Text Side */
.story-text {
  flex: 1;
}

/* Each Scroll Block */
.story-block {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.25;
  transition: opacity 0.4s ease;
}

.story-block h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.story-block p {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
}

/* Active Text */
.story-block.active {
  opacity: 1;
}

/* Mobile */
@media (max-width: 900px) {
  .story-section {
    flex-direction: column;
    padding: 80px 20px;
  }

  .story-image {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
}

/* ===== ABOUT PAGE WHITE BACKGROUND ===== */
.about-white {
  background: #ffffff;
  color: #111;
}
/* ===== ABOUT HERO LAYOUT ===== */
.about-hero {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1300px;
  margin: auto;
  padding: 120px 60px;
}

/* LEFT TEXT */
.about-left {
  flex: 1;
}

/* TEXT BLOCK */
.about-block {
  min-height: 100vh; /* REQUIRED for scroll animation */
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.25;
  transition: opacity 0.4s ease;
}

.about-block.active {
  opacity: 1;
}

.about-block h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.about-block p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

/* RIGHT LOGO */
.about-right {
  flex: 1;
  position: sticky;
  top: 120px;
}

.about-right img {
  max-width: 360px;
  width: 100%;
}

/* MOBILE */
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    padding: 80px 20px;
  }

  .about-right {
    position: relative;
    top: 0;
    margin-top: 40px;
  }
}

/* ===== ABOUT PAGE HEADER ===== */

.about-header {
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 80px 60px;
  max-width: 1400px;
  margin: auto;
}

.about-header-left h1 {
  font-size: 46px;
  color: #111;
  margin-bottom: 20px;
}

/* NAV OPTIONS */
.about-nav {
  display: flex;
  gap: 24px;
}

.about-nav-item {
  font-size: 18px;
  color: #666;
  cursor: pointer;
  position: relative;
}

.about-nav-item.active {
  color: #111;
  font-weight: 600;
}

.about-nav-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

/* RIGHT LOGO */
.about-header-right img {
  width: 220px;
  height: auto;
}

/* MOBILE */
@media (max-width: 900px) {
  .about-header {
    flex-direction: column;
    gap: 40px;
    padding: 80px 20px;
    text-align: center;
  }

  .about-nav {
    justify-content: center;
  }
}

/* ===== ABOUT PAGE HEADER ===== */

.about-header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 80px 40px;
  max-width: 1400px;
  margin: auto;
}

/* LEFT LINKS */
.about-header-left {
  display: flex;
  gap: 32px;
}
.about-link:hover {
  color: #c1f4ed;
}

.about-link {
  font-size: 18px;              /* smaller */
  font-weight: 500;
  color: #6b7280;               /* cool gray */
  text-decoration: none;
  position: relative;
  padding: 8px 4px;
  transition: color 0.25s ease;
}

.about-link.active {
  color: #111;
  font-weight: 600;
}

.about-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.about-link:hover::after {
  width: 100%;
}
.about-link.active {
  color: #111;
}

.about-link.active::after {
  width: 100%;
}

/* RIGHT BRAND NAME */
.about-header-right {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.5px;
}

/* MOBILE */
@media (max-width: 900px) {
  .about-header {
    flex-direction: column;
    gap: 24px;
    padding: 60px 20px 30px;
  }
}

/* ===== ABOUT PAGE BASE ===== */
.about-page {
  background: #ffffff;
  color: #111;
}

/* ===== STICKY IMAGE + TEXT LAYOUT ===== */
.sticky-layout {
  display: flex;
  gap: 80px;
  max-width: 1400px;
  margin: auto;
  padding: 120px 80px;
}

/* LEFT IMAGE */
.sticky-image {
  flex: 1;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sticky-image img,
.sticky-image video {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}


/* RIGHT TEXT AREA */
.sticky-text {
  flex: 1;
  position: relative;
}

/* TEXT BLOCKS */
.text-block {
  min-height: 100vh; /* VERY IMPORTANT */
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.15;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-block.active {
  opacity: 1;
}

.text-block h1 {
  font-size: 34px;
  margin-bottom: 16px;
}

.text-block p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

/* MOBILE */
@media (max-width: 900px) {
  .sticky-layout {
    flex-direction: column;
    padding: 80px 20px;
  }

  .sticky-image {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
}

/* ===== ABOUT TOP SECTION (FREEPIK STYLE) ===== */

.about-top {
  background: #f4f6ff; /* light soft background like screenshot */
  padding: 120px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* LEFT TEXT */
.about-top-text {
  flex: 1;
  max-width: 600px;
}

.about-tag {
  font-size: 14px;
  font-weight: 600;
  color: #4f6df5;
  letter-spacing: 1px;
}

.about-top-text h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 16px 0 20px;
  color: #111;
}

.about-top-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

/* RIGHT IMAGE */
.about-top-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-top-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 0 0 200px 200px; /* similar rounded style */
}

/* MOBILE */
@media (max-width: 900px) {
  .about-top {
    flex-direction: column;
    padding: 80px 20px;
    text-align: center;
  }

  .about-top-image img {
    border-radius: 20px;
  }
}

/* ACTIVE TEXT COLOR FIX */
.text-block.active h1 {
  color: #111;
}

.text-block.active p {
  color: #444;
}
.text-block:not(.active) h1,
.text-block:not(.active) p {
  color: #000000;
}

.text-block.active {
  transform: translateY(0);
}

.text-block {
  transform: translateY(10px);
}

/* ===== OUR MISSION SECTION ===== */

.mission-section {
  padding: 120px 80px;
  background: #000000;
  max-width: 1400px;
  margin: auto;
}

.mission-title {
  font-size: 40px;
  margin-bottom: 60px;
  color: #ffffff;
}

/* GRID */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
/* ===== OUR MISSION CARDS (PREMIUM STYLE) ===== */

.mission-card {
  position: relative;
  padding: 42px;
  border-radius: 18px;
  background: #111214; /* soft dark, not pure black */
  color: #eaeaea;
  overflow: hidden;
  transition: transform 0.3s ease;
  filter: brightness(1.4);

}

.mission-card:hover {
  transform: translateY(-4px);
}

/* TEXT */
.mission-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #ffffff;
}

.mission-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #b5b5b5;
}

/* ===== BORDER LIGHT (REAL PREMIUM EFFECT) ===== */
.mission-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;

  background: linear-gradient(
  120deg,
  transparent 40%,
  #38bdf8,
  #ffffff,
  #38bdf8,
  transparent 60%
);


  background-size: 300% 300%;
  opacity: 0;
  pointer-events: none;
}

/* INNER MASK (IMPORTANT FOR BORDER ONLY) */
.mission-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 16px;
  background: #111214;
  z-index: 0;
}

/* CONTENT ABOVE BORDER */
.mission-card * {
  position: relative;
  z-index: 1;
}

/* HOVER ANIMATION */
.mission-card:hover::before {
  opacity: 1;
  animation: borderGlow 4s linear infinite;
}

/* SMOOTH RUNNING LIGHT */
@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.wave-wrapper {
  background: #ffffff;
  margin-top: 120px;
}

.wave-wrapper svg {
  width: 100%;
  height: 200px;
}

/* OFFSET FIX FOR SMOOTH SCROLL */
#what-we-do,
#who-we-are,
#our-mission {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}

/* ===== CONTACT PAGE ===== */

/* HERO */
.contact-hero {
  height: 60vh;
  background: url("image/contact-hero.jpg") center/cover no-repeat;
  position: relative;
}


.hero-overlay {
  height: 100%;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 56px;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 20px;
  opacity: 0.9;
}

/* WRAPPER */
.contact-wrapper {
  padding: 80px 20px;
  background: #f3f4ff;
}

/* CARD */
.contact-card {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* LEFT */
.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.contact-email {
  margin-top: 20px;
}

.contact-email a {
  color: #6c5ce7;
  text-decoration: none;
  font-weight: 500;
}

/* FORM */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-bottom: 2px solid #ddd;
  margin-bottom: 24px;
  font-size: 15px;
  outline: none;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* BUTTON */
.animated-btn {
  background: #6c5ce7;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.animated-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108,92,231,0.4);
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .hero-overlay h1 {
    font-size: 40px;
  }
}

/* ===== MOBILE VIEW (FREEPIK STYLE) ===== */
@media (max-width: 768px) {

  /* Disable masonry */
  .gallery {
    column-count: 1 !important;
    column-gap: 0 !important;
    padding: 12px;
  }

  /* Full-width cards */
  .wallpaper {
    width: 100%;
    margin-bottom: 16px;
    break-inside: avoid;
  }

  .wallpaper img {
    width: 100%;
    border-radius: 18px;
  }

  /* Remove hover zoom on mobile */
  .wallpaper:hover img {
    transform: none;
    filter: none;
  }
}

/* ============================= */
/* ABOUT PAGE – MOBILE FIX ONLY */
/* ============================= */

@media (max-width: 768px) {

  /* REMOVE DESKTOP STICKY BEHAVIOR */
  .sticky-image {
    position: relative !important;
    top: auto !important;
    margin-bottom: 24px;
  }

  /* REMOVE 100vh BLOCKS */
  .text-block {
    min-height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 32px;
  }

  /* STACK LAYOUT CLEANLY */
  .sticky-layout {
    flex-direction: column;
    padding: 40px 16px;
    gap: 24px;
  }

  /* FIX ABOUT TOP SECTION */
  .about-top {
    flex-direction: column;
    padding: 40px 16px;
    gap: 24px;
    text-align: left;
  }

  .about-top-text h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .about-top-text p {
    font-size: 15px;
  }

  .about-top-image img {
    max-width: 100%;
    border-radius: 16px;
  }

  /* FIX HEADER NAV (TOP LINKS) */
  .about-header {
    padding: 20px 16px;
    flex-direction: column;
    gap: 12px;
  }

  .about-header-left {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-link {
    font-size: 14px;
  }

  /* FIX MISSION SECTION */
  .mission-section {
    padding: 40px 16px;
  }

  .mission-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* VIDEO FIX */
  .sticky-image video {
    width: 100%;
    max-height: 240px;
    border-radius: 16px;
    object-fit: cover;
  }
}

/* ================================= */
/* HIDE NAV LINKS ON MOBILE ONLY */
/* ================================= */

@media (max-width: 768px) {

  /* Hide top navigation links */
  .top-bar nav,
  .top-bar .nav-links,
  .top-bar a[href*="home"],
  .top-bar a[href*="about"],
  .top-bar a[href*="contact"] {
    display: none !important;
  }

}

/* ========================================= */
/* WALLPAPER HOVER – RUNNING LIGHT (VISIBLE) */
/* ========================================= */

.wallpaper {
  position: relative;
}

/* outer glow border */
.wallpaper::before {
  content: "";
  position: absolute;
  inset: -2px; /* IMPORTANT: outside the box */
  border-radius: 18px;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 35%,
    #38bdf8,
    #ffffff,
    #38bdf8,
    transparent 65%
  );

  background-size: 300% 300%;
  opacity: 0;
}

/* show on hover */
@media (hover: hover) {
  .wallpaper:hover::before {
    opacity: 1;
    animation: borderGlow 4s linear infinite;
  }
}

/* ========================================= */
/* WALLPAPER HOVER – RUNNING LIGHT (SAFE WAY) */
/* ========================================= */

.wallpaper {
  position: relative;
  outline: 2px solid transparent;
  outline-offset: 0;
}

/* animated light */
@media (hover: hover) {
  .wallpaper:hover {
    outline-offset: 2px;
    outline-color: transparent;
    animation: wallpaperOutlineGlow 2.5s linear infinite;
  }
}

@keyframes wallpaperOutlineGlow {
  0% {
    outline-color: rgba(50, 186, 245, 0.772);
  }
  25% {
    outline-color: rgba(255, 255, 255, 0.9);
  }
  50% {
    outline-color: rgba(56, 191, 248, 0.948);
  }
  75% {
    outline-color: rgba(255, 255, 255, 0.9);
  }
  100% {
    outline-color: rgba(56, 191, 248, 0.89);
  }
}

/* ========================================= */
/* 🚫 DISABLE ALL WALLPAPER HOVER ON MOBILE */
/* ========================================= */
@media (max-width: 768px) {

  /* Stop image zoom / brightness */
  .wallpaper img {
    transform: none !important;
    filter: none !important;
  }

  /* Kill border glow & running light */
  .wallpaper::before,
  .wallpaper::after {
    opacity: 0 !important;
    animation: none !important;
    display: none !important;
  }

  /* Disable hover-triggered states */
  .wallpaper:hover {
    animation: none !important;
    outline: none !important;
  }

  /* Hide download button completely */
  .download-btn {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Prevent accidental hover simulation */
  .wallpaper {
    pointer-events: auto;
  }
}

/* ===============================
   POLICY PAGES (TERMS & PRIVACY)
   =============================== */

.policy-page {
  background: radial-gradient(circle at top, #0f172a, #000);
  color: #e5e7eb;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
}

.policy-container {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
}

.policy-container h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #38bdf8, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.policy-container h2 {
  margin-top: 30px;
  color: #38bdf8;
}

.policy-container p,
.policy-container li {
  line-height: 1.7;
  color: #d1d5db;
}

.policy-container ul {
  padding-left: 20px;
}

.policy-container a {
  color: #38bdf8;
  text-decoration: underline;
}

.updated {
  margin-top: 40px;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* simple animation */
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile friendly */
@media (max-width: 768px) {
  .policy-container {
    padding: 40px 16px;
  }

  .policy-container h1 {
    font-size: 1.9rem;
  }
}

/* ===============================
   ABOUT PAGE – MOBILE OVERRIDES
   =============================== */
@media (max-width: 768px) {

  .about-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .about-header-right {
    font-size: 16px;
    font-weight: 600;
  }

  .about-header-left {
    display: flex;
    gap: 14px;
  }
}
/* =====================================
   ABOUT PAGE HEADER – MOBILE FINAL FIX
   ===================================== */
@media (max-width: 768px) {

  /* Header layout */
  .about-header {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
  }

  /* Site name – first line, left aligned, small */
  .about-header-right {
    order: 1;
    font-size: 15px;        /* small like home */
    font-weight: 600;
    text-align: left;
    margin-bottom: 8px;
  }

  /* Buttons – second line, CENTER aligned */
  .about-header-left {
    order: 2;
    display: flex;
    justify-content: center;   /* CENTER */
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .about-header-left a {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    text-decoration: none;
  }
}


/* ==============================
   HIDE STICKY SECTION ON MOBILE
   ============================== */
@media (max-width: 768px) {
  .sticky-layout {
    display: none !important;
  }
}

/* ==============================
   MOBILE ABOUT – CLEAN VERSION
   ============================== */
.about-mobile-features {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {

  .about-mobile-features {
    display: grid;
    gap: 18px;
    padding: 28px 16px 40px;
    background: #ffffff;
  }

  .mobile-feature-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  .mobile-feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #0f172a;
  }

  .mobile-feature-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
  }
}

/* ============================= */
/* PREMIUM BADGE (MOBILE FIRST) */
/* ============================= */

.wallpaper {
  position: relative;
  overflow: hidden;
}

/* premium badge container */
.premium-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;

  background: rgba(0, 0, 0, 0.75);
  color: #ffd700;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  border-radius: 50%;

  font-size: 18px;
  font-weight: bold;

  pointer-events: none; /* IMPORTANT */
}

/* bigger & cleaner on desktop */
@media (min-width: 768px) {
  .premium-badge {
    width: 38px;
    height: 38px;
    font-size: 20px;
    top: 12px;
    left: 12px;
  }
}

.premium-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.75);
  color: gold;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-modal {
  position: fixed;
}

.preview-modal .premium-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
}

.download-btn.locked {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.download-btn.locked:hover {
  transform: none;
  box-shadow: none;
}


/* ===================================
   FREEPIK-STYLE GALLERY INTRO
   =================================== */

.gallery-intro {
  max-width: 1400px;
  margin: 14px auto 8px;
  padding: 0 18px;
}

.gallery-intro h1 {
  font-size: 20px;              /* Small & confident */
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.gallery-intro p {
  font-size: 13.5px;
  color: #9ca3af;               /* Soft gray like Freepik */
  line-height: 1.6;
  max-width: 760px;
}

/* Keep text visually light */
.gallery-intro h1,
.gallery-intro p {
  text-rendering: optimizeLegibility;
}

.gallery-intro {
  opacity: 0;
  transform: translateY(6px);
  animation: introFade 0.6s ease forwards;
}

@keyframes introFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   FREEPIK-STYLE FOOTER
   =================================== */

.site-footer {
  background: radial-gradient(
    circle at top,
    #111827,
    #000000 70%
  );
  margin-top: 60px;
  padding: 40px 20px 20px;
  color: #9ca3af;
}

.footer-inner {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
}

/* BRAND */
.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-brand h2 {
  margin-bottom: 6px;
  line-height: 1.2;
}

.footer-brand p {
  margin-top: 0;
  line-height: 1.6;
}


/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h4 {
  font-size: 13px;
  color: #f3f4f6;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

/* ===============================
   SEO TEXT SECTION (FREEPIK STYLE)
================================ */

.seo-text {
  max-width: 900px;
  margin: 80px auto 60px;
  padding: 40px 32px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(30px);
  animation: seoFadeUp 1s ease forwards;
}

/* Headings */
.seo-text h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

/* Paragraphs */
.seo-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #cfcfcf;
  margin-bottom: 14px;
}

/* Animation */
@keyframes seoFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .seo-text {
    margin: 50px 16px 40px;
    padding: 28px 20px;
  }

  .seo-text h2 {
    font-size: 18px;
  }

  .seo-text p {
    font-size: 13.5px;
  }
}

.gallery {
  margin-bottom: 80px;
}

/* ===============================
   SEO SECTION RUNNING BORDER
================================ */

.seo-text {
  position: relative;
  overflow: hidden;
}

/* animated border */
.seo-text::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(56, 189, 248, 0.8),
    rgba(255, 255, 255, 0.9),
    rgba(56, 189, 248, 0.8),
    transparent 70%
  );

  background-size: 300% 300%;
  animation: seoBorderRun 6s linear infinite;
  opacity: 0.6;
}

/* keep content above border */
.seo-text > * {
  position: relative;
  z-index: 1;
}

/* animation */
@keyframes seoBorderRun {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* softer on mobile */
@media (max-width: 768px) {
  .seo-text::before {
    opacity: 0.45;
  }
}

/* =====================================
   THIN RUNNING BORDER (PREMIUM STYLE)
===================================== */

.seo-text {
  position: relative;
  border-radius: 18px;
}

/* thin animated border */
.seo-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  border: 1.2px solid transparent;
  background:
    linear-gradient(#0b0f19, #0b0f19) padding-box,
    linear-gradient(
      90deg,
      rgba(255,255,255,0.15),
      rgba(56,189,248,0.9),
      rgba(255,255,255,0.15)
    ) border-box;

  animation: thinBorderRun 6s linear infinite;
}

/* animation */
@keyframes thinBorderRun {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* keep content above border */
.seo-text > * {
  position: relative;
  z-index: 1;
}

/* mobile – even more subtle */
@media (max-width: 768px) {
  .seo-text::before {
    border-width: 1px;
    opacity: 0.7;
  }
}

/* =====================================
   THIN LOOP RUNNING BORDER (CIRCULAR)
===================================== */

.seo-text {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

/* base border */
.seo-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
  z-index: 1;
}

/* moving light */
.seo-text::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;

  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(255,255,255,0.9) 8deg,
      transparent 16deg
    );

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  mask-composite: exclude;
  -webkit-mask-composite: xor;

  padding: 1px;

  animation: borderLoop 3.5s linear infinite;
}

@keyframes borderLoop {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* mobile: slower + softer */
@media (max-width: 768px) {
  .seo-text::after {
    opacity: 1;
    animation-duration: 5s;
  }
}

/* shared styles */
.seo-text .edge {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    to right,
    transparent,
    #08dcfc,
    transparent
  );
}

/* TOP */
.seo-text .edge.top {
  top: 0;
  left: -30%;
  height: 2px;
  width: 50%;
  animation: edgeTop 4s linear infinite;
}

/* RIGHT */
.seo-text .edge.right {
  right: 0;
  top: -30%;
  width: 2px;
  height: 30%;
  background: linear-gradient(
    to bottom,
    transparent,
    #ff0202,
    transparent
  );
  animation: edgeRight 4s linear infinite;
}

/* BOTTOM */
.seo-text .edge.bottom {
  bottom: 0;
  right: -30%;
  height: 2px;
  width: 30%;
  background: linear-gradient(
    to left,
    transparent,
    #ff04f7,
    transparent
  );
  animation: edgeBottom 4s linear infinite;
}

/* LEFT */
.seo-text .edge.left {
  left: 0;
  bottom: -30%;
  width: 2px;
  height: 30%;
  background: linear-gradient(
    to top,
    transparent,
    #25fd3a,
    transparent
  );
  animation: edgeLeft 4s linear infinite;
}

/* SEQUENCED KEYFRAMES */
@keyframes edgeTop {
  0%   { left:-30%; opacity:1; }
  25%  { left:100%; opacity:1; }
  26%  { opacity:0; }
  100% { opacity:0; }
}

@keyframes edgeRight {
  0%   { opacity:0; }
  25%  { top:-30%; opacity:1; }
  50%  { top:100%; opacity:1; }
  51%  { opacity:0; }
  100% { opacity:0; }
}

@keyframes edgeBottom {
  0%   { opacity:0; }
  50%  { right:-30%; opacity:1; }
  75%  { right:100%; opacity:1; }
  76%  { opacity:0; }
  100% { opacity:0; }
}

@keyframes edgeLeft {
  0%   { opacity:0; }
  75%  { bottom:-30%; opacity:1; }
  100% { bottom:100%; opacity:1; }
}

/* MOBILE: slower & softer */
@media (max-width: 768px) {
  .seo-text .edge {
    opacity: 0.7;
  }
  .seo-text .edge.top,
  .seo-text .edge.right,
  .seo-text .edge.bottom,
  .seo-text .edge.left {
    animation-duration: 5.5s;
  }
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  font-weight: 400;
  color: #f2f2fa;
  letter-spacing: 1px;
  cursor: pointer;
}

body.dark .logo {
  color: #ffffff;
}

/* .logo {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: lowercase;
} */

.logo span {
  color: #31e7ff; /* accent color */
}

/* MAIN BRAND LOGO (USED EVERYWHERE) */
.logo {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ABOUT PAGE HEADER LOGO COLOR */
.about-white .about-header-right.logo {
  color: #000;
}

/* DARK MODE SUPPORT (if any) */
body.dark .about-header-right.logo {
  color: #fff;
}

.about-header-right.logo {
  opacity: 0.9;
}

/* BRAND LOGO BASE */
.logo {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* LOGO COLORS */
.logo-pixel {
  color: #000000; /* black */
}

.logo-walls {
  color: #38bdf8; /* sky blue */
}

/* DARK MODE SUPPORT */
body.dark .logo-pixel {
  color: #ffffff;
}

body.dark .logo-walls {
  color: #38bdf8;
}

/* ABOUT PAGE (WHITE BACKGROUND) */
.about-white .logo-pixel {
  color: #000000;
}

.about-white .logo-walls {
  color: #38bdf8;
}

.logo-walls {
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

/* FOOTER SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 16px;
}

.footer-social a {
  color: #9ca3af;
  font-size: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* Brand hover colors */
.footer-social a:hover .fa-instagram {
  color: #e1306c;
}

.footer-social a:hover .fa-twitter {
  color: #1da1f2;
}

.footer-social a:hover .fa-youtube {
  color: #ff0000;
}

.footer-social a {
  color: #38bdf8;
}

/* ================================
   FLOATING PURCHASED BUTTON
================================ */
#purchasedBtn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1f1f1f, #111);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;

  box-shadow:
    0 0 0 2px rgba(255, 215, 0, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.6);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#purchasedBtn:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 0 2px rgba(255, 215, 0, 0.55),
    0 15px 35px rgba(0, 0, 0, 0.8);
}

#purchasedBtn i {
  pointer-events: none;
}


/* 🔄 Payment loading state */
.loading-btn {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
}

.loading-btn::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #000;
  border-top: 2px solid transparent;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg) translateY(-50%);
  }
}

/* 🔐 PAYMENT OVERLAY */
#paymentOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.payment-box {
  background: #111;
  padding: 28px 34px;
  border-radius: 14px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.payment-box p {
  margin: 14px 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.payment-box small {
  font-size: 12px;
  color: #aaa;
}

/* spinner */
.payment-box .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #444;
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
