/* CSS Reset & Variables */
:root {
  --b: 42, 46, 56;
  --header: 29, 32, 40;
  --headerv2: 23, 25, 33;
  --t: 255, 255, 255;
  --primary: 212, 175, 55;         /* Neon green #d4af37 */
  --primary-sc: 0, 0, 0;
  --secondary: 74, 80, 94;
  --card: 36, 38, 47;            /* Card bg */
  --card-border: 52, 57, 68;     /* Card border */
  --danger: 244, 67, 54;         /* Red for liked state */
  --container-max-width: 1310px;
  
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-md: 13px;
  --fs-base: 14px;
  --fs-lg: 16px;
  --fs-xl: 17px;
  --fs-2xl: 19px;
  --fs-3xl: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Saira', sans-serif;
  background-color: rgba(var(--b), 1);
  color: rgba(var(--t), 1);
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.5;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

/* Header Styles */
.sp-standalone__header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: rgba(var(--header), 1);
  border-bottom: 1px solid rgba(var(--primary), 0.12);
  box-shadow: 0 1px rgba(var(--primary), 0.06), 0 4px 24px rgba(0, 0, 0, 0.28);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-text {
  font-size: clamp(18px, 6vw, 24px);
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo-letter {
  display: inline-block;
  transform: translateY(-40px);
  opacity: 0;
  filter: blur(4px);
  animation: letter-drop-in 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo-letter.logo-highlight {
  color: rgba(var(--primary), 1);
}

@keyframes letter-drop-in {
  0% {
    transform: translateY(-40px) scale(0.6);
    opacity: 0;
    filter: blur(4px);
    text-shadow: none;
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 4px rgba(255,255,255,0.25), 0 0 12px rgba(var(--primary), 0.65), 0 0 25px rgba(var(--primary), 0.3);
  }
}

/* Main Content Wrapper */
.sp-standalone__main {
  padding: 24px 0 40px;
  position: relative;
}

/* Marquee Section (Kayan Logolar) */
.fix-marquee {
  background: rgba(var(--card), 1);
  border: 1px solid rgba(var(--card-border), 1);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.marquee-container {
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  flex-shrink: 0;
}

.marquee-item img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(20%) brightness(0.95);
  transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.marquee-item img:hover {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 10px rgba(var(--primary), 0.7));
  transform: scale(1.08);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Search Bar Styles */
.sp-search {
  margin-bottom: 20px;
  position: relative;
}

.sp-search__bar {
  position: relative;
  display: flex;
  align-items: center;
}

.sp-search__icon {
  position: absolute;
  left: 16px;
  font-size: 16px;
  color: rgba(var(--t), 0.35);
  pointer-events: none;
  transition: color 0.2s ease;
}

.sp-search__input {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 46px;
  background: rgba(var(--card), 1);
  border: 1px solid rgba(var(--card-border), 1);
  border-radius: 12px;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 500;
  color: rgba(var(--t), 0.9);
  transition: all 0.25s ease;
}

.sp-search__input::placeholder {
  color: rgba(var(--t), 0.3);
}

.sp-search__input:focus {
  outline: none;
  border-color: rgba(var(--primary), 0.4);
  box-shadow: 0 0 10px rgba(var(--primary), 0.1);
  background: rgba(var(--card), 0.95);
}

.sp-search__input:focus + .sp-search__icon {
  color: rgba(var(--primary), 1);
}

.sp-search__clear {
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--t), 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--t), 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.sp-search__clear:hover {
  background: rgba(var(--t), 0.15);
  color: rgba(var(--t), 0.9);
}

/* Search Results Grid */
.sp-search__results {
  margin-top: 10px;
  background: rgba(var(--card), 1);
  border: 1px solid rgba(var(--card-border), 1);
  border-radius: 12px;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}

.sp-search__results-head {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(var(--t), 0.05);
  background: rgba(var(--headerv2), 0.5);
}

.sp-search__results-head span {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(var(--t), 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sp-search__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.sp-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(var(--t), 0.03);
  border-right: 1px solid rgba(var(--t), 0.03);
  color: inherit;
}

.sp-search__item:nth-child(2n) {
  border-right: none;
}

.sp-search__item:hover {
  background: rgba(var(--t), 0.03);
}

.sp-search__item-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  background: rgba(var(--t), 0.03);
  border: 1px solid rgba(var(--t), 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.sp-search__item-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sp-search__item-name {
  flex: 1;
  font-size: var(--fs-base);
  font-weight: 600;
  color: rgba(var(--t), 0.85);
  text-transform: capitalize;
}

.sp-search__item-btn {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #000;
  background: rgba(var(--primary), 1);
  padding: 6px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.sp-search__item:hover .sp-search__item-btn {
  opacity: 0.9;
}

.sp-search__empty {
  margin-top: 10px;
  padding: 20px;
  text-align: center;
  font-size: var(--fs-base);
  color: rgba(var(--t), 0.35);
  font-weight: 600;
  background: rgba(var(--card), 1);
  border: 1px solid rgba(var(--card-border), 1);
  border-radius: 12px;
}

/* Category Filter Bar */
.sp-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  margin-bottom: 20px;
}

.sp-categories::-webkit-scrollbar {
  display: none;
}

.sp-categories__btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(var(--t), 0.45);
  background: rgba(var(--t), 0.04);
  border: 1px solid rgba(var(--t), 0.06);
  cursor: pointer;
  transition: all 0.2s;
  white-space:nowrap;
  text-transform: uppercase;
}

.sp-categories__btn:hover {
  color: rgba(var(--t), 0.8);
  background: rgba(var(--t), 0.08);
}

.sp-categories__btn.active {
  color: #000;
  background: rgba(var(--primary), 1);
  border-color: rgba(var(--primary), 1);
}

/* Sponsors Sections */
.sponsors-section {
  margin-bottom: 30px;
}

.section-title {
  text-align: center;
  margin: 15px 0 20px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: rgba(var(--primary), 1);
  border-radius: 2px;
  position: absolute;
  bottom: -6px;
}

.section-title i {
  color: rgba(var(--primary), 1);
  font-size: 18px;
}

/* Rows & Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: -8px;
}

.col {
  padding: 8px;
  width: 100%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Card Styling (.partner.card) - Premium Glassmorphism with Dynamic Radial Glow */
.partner.card {
  background: transparent !important;
  border: none !important;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0) scale(1);
  transition: transform 0.1s ease, box-shadow 0.25s ease;
  animation: card-fade-in 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.partner.card:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px) scale(1.025);
  box-shadow: 0 0 20px var(--site-color, rgba(212, 175, 55, 0.6)), 0 5px 15px rgba(0, 0, 0, 0.55);
}

@keyframes card-fade-in {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(12px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0) scale(1);
  }
}

@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Rotating Neon Border Light Overlay */
.card-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from var(--border-angle),
    transparent 20%,
    var(--site-color, #d4af37) 50%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Animate border rotation only when card is hovered for 60FPS fluid performance */
.partner.card:hover .card-border-glow {
  animation: rotate-border-angle 2s linear infinite;
}

@keyframes rotate-border-angle {
  0% {
    --border-angle: 0deg;
  }
  100% {
    --border-angle: 360deg;
  }
}

/* Card Background Image with Subtle Panning/Scaling Ken Burns Animation */
.card-bg {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 14px;
  background-color: #11131a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  animation: bg-infinite-anim 24s ease-in-out infinite;
  transition: transform 0.12s ease-out, filter 0.5s;
  filter: brightness(0.8);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.partner.card:hover .card-bg {
  filter: brightness(1.0);
}

/* Accent glow inside card matching the brand color */
.card-overlay {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 14px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--site-color-glow, rgba(212, 175, 55, 0.04)) 0%, rgba(20, 22, 31, 0.55) 90%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.3s;
}

.partner.card:hover .card-overlay {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--site-color-glow, rgba(212, 175, 55, 0.07)) 0%, rgba(20, 22, 31, 0.4) 90%);
}

.partner.card > *:not(.card-bg):not(.card-overlay):not(.card-border-glow) {
  position: relative;
  z-index: 3;
}

@keyframes bg-infinite-anim {
  0% {
    transform: scale(1.0) translate(0, 0);
  }
  50% {
    transform: scale(1.06) translate(-1%, 2%);
  }
  100% {
    transform: scale(1.0) translate(0, 0);
  }
}

/* Top Section of Card */
.partner.card .top {
  padding: 26px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.partner.card .top img {
  object-fit: contain;
  max-height: 44px;
  max-width: 160px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Bottom Section of Card */
.partner.card .bottom {
  padding: 10px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: space-between;
}

.partner.card .bottom h1 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin: 10px 0 14px;
  color: rgba(var(--t), 0.95);
  line-height: 1.45;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.partner.card .bottom h1 b {
  color: rgba(var(--primary), 1);
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.partner.card .bottom .tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.partner.card .bottom .tags .tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(var(--t), 0.04);
  border: 1px solid rgba(var(--t), 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  min-width: 90px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}

.partner.card .bottom .tags .tag b {
  font-size: var(--fs-xs);
  color: rgba(var(--primary), 1);
  font-weight: 800;
}

.partner.card .bottom .tags .tag span {
  font-size: 10px;
  color: rgba(var(--t), 0.45);
  font-weight: 500;
}

.button.primary {
  width: 100%;
  max-width: 220px;
  height: 42px;
  border-radius: 10px;
  background: rgba(var(--primary), 1);
  color: #000;
  border: none;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

/* Shimmer Sweep Effect */
.button.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.partner.card:hover .button.primary::before {
  animation: shimmer-sweep 1.4s ease-in-out infinite;
}

@keyframes shimmer-sweep {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
  background: rgba(var(--primary), 1);
}

/* GIF-VIP Layout */
.gif-vip .col {
  padding: 8px;
}

.gif-vip a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--card-border), 1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gif-vip a img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.gif-vip a:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary), 0.5);
  box-shadow: 0 8px 24px rgba(var(--primary), 0.15);
}

/* Visitor Counter */
.visitor-counter {
  margin-top: 15px;
  font-size: 13px;
  color: rgba(var(--t), 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--t), 0.03);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(var(--t), 0.05);
}

.visitor-counter i {
  color: rgba(var(--primary), 1);
}

.visitor-counter span {
  font-weight: 700;
  color: rgba(var(--t), 0.8);
}

/* Floating Admin Gear Button */
.admin-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--card), 0.85);
  border: 1px solid rgba(var(--card-border), 1);
  color: rgba(var(--t), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: all 0.3s;
  z-index: 999;
  backdrop-filter: blur(5px);
}

.admin-toggle-btn:hover {
  transform: rotate(45deg) scale(1.08);
  color: rgba(var(--primary), 1);
  border-color: rgba(var(--primary), 0.5);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

/* Admin Modal Overlay & Content styling */
.admin-modal-overlay {
  z-index: 1001;
}

.admin-modal-content {
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
}

.admin-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.admin-title i {
  color: rgba(var(--primary), 1);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  border-bottom: 1px solid rgba(var(--card-border), 1);
  margin-bottom: 20px;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 10px 16px;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(var(--t), 0.4);
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  transition: color 0.2s;
}

.admin-tab-btn:hover {
  color: rgba(var(--t), 0.8);
}

.admin-tab-btn.active {
  color: rgba(var(--primary), 1);
}

.admin-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(var(--primary), 1);
}

/* Tab contents wrapper */
.admin-tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-tab-content.active {
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar for Admin Content */
.admin-tab-content::-webkit-scrollbar {
  width: 5px;
}

.admin-tab-content::-webkit-scrollbar-track {
  background: transparent;
}

.admin-tab-content::-webkit-scrollbar-thumb {
  background: rgba(var(--card-border), 0.8);
  border-radius: 4px;
}

/* Admin Forms */
.admin-form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-form-group label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(var(--t), 0.5);
  text-transform: uppercase;
}

.admin-input {
  width: 100%;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--card-border), 1);
  border-radius: 8px;
  padding: 0 12px;
  font-family: inherit;
  color: #fff;
  font-size: var(--fs-sm);
  transition: all 0.2s;
}

.admin-input:focus {
  outline: none;
  border-color: rgba(var(--primary), 0.5);
  background: rgba(0, 0, 0, 0.3);
}

select.admin-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 30px;
}

.admin-submit-btn {
  margin-top: 10px;
  height: 40px;
  font-weight: 700;
  max-width: none;
}

/* Manage Sponsors Tab Styles */
.admin-sponsors-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-action-btn {
  height: 36px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: 8px;
  padding: 0 14px;
}

.admin-action-btn.reset-btn {
  background: rgba(var(--t), 0.05);
  border: 1px solid rgba(var(--t), 0.08);
  color: rgba(var(--t), 0.7);
  box-shadow: none;
}

.admin-action-btn.reset-btn:hover {
  background: rgba(var(--t), 0.1);
  color: #fff;
}

.admin-sponsors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-sponsor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--t), 0.02);
  border: 1px solid rgba(var(--card-border), 0.5);
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.admin-sponsor-row:hover {
  background: rgba(var(--t), 0.04);
}

.admin-sponsor-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sponsor-logo-preview {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(var(--t), 0.03);
  border: 1px solid rgba(var(--t), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
}

.admin-sponsor-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-sponsor-details {
  display: flex;
  flex-direction: column;
}

.admin-sponsor-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
}

.admin-sponsor-category {
  font-size: 10px;
  color: rgba(var(--primary), 1);
  font-weight: 600;
  text-transform: uppercase;
}

.admin-row-actions {
  display: flex;
  gap: 6px;
}

.admin-row-btn {
  background: rgba(var(--t), 0.04);
  border: 1px solid rgba(var(--t), 0.08);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--t), 0.6);
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}

.admin-row-btn:hover {
  background: rgba(var(--primary), 0.15);
  border-color: rgba(var(--primary), 0.4);
  color: rgba(var(--primary), 1);
}

.admin-row-btn.delete-row-btn:hover {
  background: rgba(var(--danger), 0.15);
  border-color: rgba(var(--danger), 0.4);
  color: rgb(244, 67, 54);
}

/* Sponsor Form Box Card */
.sponsor-form-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(var(--card-border), 1);
  border-radius: 10px;
  padding: 18px;
  margin-top: 10px;
  animation: slideDown 0.25s ease-out;
}

.form-sub-title {
  font-size: var(--fs-sm);
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(var(--card-border), 0.5);
  padding-bottom: 6px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media(max-width: 500px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-features-section {
  margin-top: 14px;
  border-top: 1px solid rgba(var(--card-border), 0.5);
  padding-top: 14px;
}

.form-features-section label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(var(--t), 0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.feature-field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-field-row .admin-input {
  height: 34px;
}

.admin-small-btn {
  background: rgba(var(--t), 0.04);
  border: 1px solid rgba(var(--t), 0.08);
  border-radius: 6px;
  color: rgba(var(--t), 0.6);
  padding: 6px 12px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}

.admin-small-btn:hover {
  background: rgba(var(--primary), 0.15);
  border-color: rgba(var(--primary), 0.4);
  color: rgba(var(--primary), 1);
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid rgba(var(--card-border), 0.5);
  padding-top: 14px;
}

.admin-cancel-btn {
  background: rgba(var(--t), 0.04);
  border: 1px solid rgba(var(--t), 0.08);
  color: rgba(var(--t), 0.6);
  border-radius: 10px;
  height: 40px;
  padding: 0 20px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-cancel-btn:hover {
  background: rgba(var(--t), 0.08);
  color: #fff;
}

/* Theme Effects Switches List */
.theme-effects-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-effect-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--t), 0.02);
  border: 1px solid rgba(var(--card-border), 0.5);
  padding: 16px 20px;
  border-radius: 10px;
}

.effect-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.effect-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
}

.effect-title i {
  color: rgba(var(--primary), 1);
  margin-right: 4px;
}

.effect-desc {
  font-size: var(--fs-xs);
  color: rgba(var(--t), 0.4);
}

/* Standard Sliding Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(var(--card-border), 1);
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}

input:checked + .slider {
  background-color: rgba(var(--primary), 1);
}

input:focus + .slider {
  box-shadow: 0 0 1px rgba(var(--primary), 1);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Weather Overlays */
.weather-overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 95;
}

.weather-overlay-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lightning-flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  pointer-events: none;
  opacity: 0;
  z-index: 96;
}

/* Details Modal & General Overlay animations */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 20, 24, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.25s ease-out;
  padding: 20px;
}

/* Rotating Neon Border Light for Entrance Popup Modal */
.popup-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from var(--border-angle),
    transparent 20%,
    rgba(var(--primary), 0.7) 50%,
    transparent 80%
  );
  animation: rotate-border-angle 3.5s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.modal-content {
  background: rgba(var(--modal), 1);
  border: 1px solid rgba(var(--card-border), 1.2);
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  animation: scaleUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close-btn {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--t), 0.05);
  border: 1px solid rgba(var(--t), 0.08);
  color: rgba(var(--t), 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(var(--danger), 0.1);
  border-color: rgba(var(--danger), 0.3);
  color: rgb(244, 67, 54);
}

.pm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 0 0;
}

.pm__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  background: rgba(var(--t), 0.02);
  border-radius: 12px;
  border: 1px solid rgba(var(--t), 0.05);
  min-height: 80px;
}

.pm__logo img {
  max-height: 48px;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.pm__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  text-transform: capitalize;
  color: #fff;
}

.pm__bonus {
  font-size: var(--fs-base);
  font-weight: 500;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  color: rgba(var(--t), 0.85);
}

.pm__bonus b {
  color: rgba(var(--primary), 1);
  font-weight: 800;
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.pm__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 10px 0;
  background: rgba(0, 0, 0, 0.15);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--card-border), 0.5);
}

.pm__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: rgba(var(--t), 0.8);
  line-height: 1.4;
}

.pm__feature i {
  color: rgba(var(--primary), 1);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pm__feature b {
  color: rgba(var(--primary), 1);
}

.pm__btn {
  margin-top: 10px;
  font-weight: 800;
  font-size: var(--fs-base);
  height: 46px;
  max-width: none;
}

/* Footer Styles */
.sp-standalone__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 20px 40px;
  background: rgba(var(--header), 1);
  border-top: 1px solid rgba(var(--primary), 0.12);
  margin-top: 40px;
}

.sp-standalone__social-label {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(var(--t), 0.4);
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(var(--t), 0.04);
  border: 1px solid rgba(var(--t), 0.08);
  color: rgba(var(--t), 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: rgba(var(--primary), 0.15);
  border-color: rgba(var(--primary), 0.5);
  color: rgba(var(--primary), 1);
  transform: translateY(-2px);
}

.footer-copy {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: rgba(var(--t), 0.35);
  font-weight: 500;
}

/* Keyframes Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsiveness Settings */
@media (max-width: 1200px) {
  .col-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 900px) {
  .col-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .sp-search__grid {
    grid-template-columns: 1fr;
  }
  .sp-search__item:nth-child(2n) {
    border-right: 1px solid rgba(var(--t), 0.03);
  }
  .sp-search__item {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .sp-standalone__header {
    height: 60px;
  }
  .sp-standalone__main {
    padding: 16px 0 24px;
  }
  .section-title {
    font-size: 18px;
  }
  .col-3, .col-4, .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .partner.card {
    min-height: auto;
  }
  .partner.card .top {
    padding: 20px 20px 6px;
    min-height: 60px;
  }
  .partner.card .top img {
    max-height: 32px;
  }
  .partner.card .bottom {
    padding: 8px 16px 16px;
  }
  .partner.card .bottom h1 {
    font-size: var(--fs-xs);
    margin: 6px 0 10px;
  }
  .partner.card .bottom .tags {
    gap: 4px;
    margin-bottom: 10px;
  }
  .partner.card .bottom .tags .tag {
    padding: 4px 8px;
    border-radius: 6px;
    min-width: auto;
  }
  .partner.card .bottom .button.primary {
    max-width: none;
    height: 36px;
    font-size: var(--fs-xs);
  }
}

/* Floating neon glow orbs inside card background */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

.orb-1 {
  width: 140px;
  height: 140px;
  background: var(--site-color, rgba(212, 175, 55, 1));
  top: -20px;
  left: -20px;
  animation: float-orb-1 8s ease-in-out infinite;
}

.orb-2 {
  width: 120px;
  height: 120px;
  background: #ffb300; /* Gold neon color */
  bottom: -30px;
  right: -30px;
  animation: float-orb-2 10s ease-in-out infinite;
}

@keyframes float-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, 30px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -25px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Floating cyber dust particles inside card background */
.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.bg-particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px #fff, 0 0 10px var(--site-color, #d4af37);
  opacity: 0;
  bottom: -10px;
  animation: rise-particle 6s linear infinite;
}

/* Randomize particle delay & positions */
.bg-particles .particle:nth-child(1) { left: 25%; animation-delay: 0s; animation-duration: 5s; }
.bg-particles .particle:nth-child(2) { left: 55%; animation-delay: 1.8s; animation-duration: 7.5s; }
.bg-particles .particle:nth-child(3) { left: 85%; animation-delay: 3.8s; animation-duration: 6.2s; }

@keyframes rise-particle {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  20% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    bottom: 110%;
    opacity: 0;
    transform: translateX(15px) scale(1.1);
  }
}

/* Video background styling inside cards */
.card-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  border-radius: 15px;
  /* Maximize visual sharpness, contrast and color richness */
  filter: contrast(1.15) brightness(1.1) saturate(1.1);
  -webkit-transform: translate3d(0, 0, 0) scale(1.08);
  transform: translate3d(0, 0, 0) scale(1.08);
  backface-visibility: hidden;
}

/* Side Banners (Skyscraper) - Sticky wrappers positioning */
.side-banner-wrapper {
  position: absolute;
  top: 24px;
  bottom: 40px; /* aligns exactly with the footer separator line */
  width: 160px;
  pointer-events: none;
  display: none !important; /* hidden by default */
}

@media (min-width: 1680px) {
  .side-banner-wrapper {
    display: block !important;
  }
}

.side-banner-wrapper-left {
  left: calc(50% - 655px - 175px); /* aligned perfectly to the left of the 1310px container, with 15px gap */
}

.side-banner-wrapper-right {
  right: calc(50% - 655px - 175px); /* aligned perfectly to the right of the 1310px container, with 15px gap */
}

.side-banner {
  position: fixed;
  top: 80px; /* Sticks 80px from viewport top, close to the 72px header */
  width: 160px;
  height: 600px;
  max-height: calc(100vh - 120px); /* fits viewport height */
  z-index: 100;
  pointer-events: auto; /* restore mouse events for links */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--card-border), 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: rgba(20, 22, 31, 0.45);
  backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}

.side-banner-left {
  left: calc(50% - 655px - 175px); /* aligned perfectly to the left of the 1310px container, with 15px gap */
}

.side-banner-right {
  right: calc(50% - 655px - 175px); /* aligned perfectly to the right of the 1310px container, with 15px gap */
}

.side-banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.08), 0 5px 15px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.side-banner a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.side-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glassmorphic CSS Placeholder for Banners - Neutral and Premium */
.side-banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.03) 0%, rgba(20, 22, 31, 0.95) 100%);
  color: rgba(255, 255, 255, 0.45);
  font-family: inherit;
}

.side-banner-placeholder .sb-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.side-banner-placeholder .sb-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.side-banner-placeholder i {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.15);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
    color: rgba(var(--primary), 0.7);
  }
}

}

/* Site Entrance Preloader & Splash Screen Styles */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0c0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999; /* higher than settings gear and all else */
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.preloader-overlay.fade-away {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.preloader-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  /* Maximize preloader video visual quality and sharpness */
  filter: contrast(1.12) brightness(1.05) saturate(1.15);
  -webkit-transform: translate3d(0, 0, 0) scale(1.08);
  transform: translate3d(0, 0, 0) scale(1.08);
  backface-visibility: hidden;
}

.preloader-overlay-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, #0c0e14 92%);
  z-index: 2;
}

.preloader-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.preloader-logo {
  font-size: 56px !important;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 0 35px rgba(212, 175, 55, 0.35);
  animation: preloader-logo-pulse 2.5s infinite ease-in-out;
}

.preloader-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.preloader-loader {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: rgba(var(--primary), 1);
  box-shadow: 0 0 10px rgba(var(--primary), 1);
  border-radius: 2px;
}

.preloader-btn {
  width: 220px;
  height: 48px;
  font-size: var(--fs-md) !important;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3) !important;
  animation: preloader-btn-pulse 1.8s infinite ease-in-out;
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-btn.show-btn {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

@keyframes preloader-logo-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.03); filter: brightness(1.12); }
}

@keyframes preloader-btn-pulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3); }
  50% { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.455); }
}
}

/* App Visibility during Preloader intro */
#app {
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}

#app.hidden-preloader {
  display: none !important;
  opacity: 0 !important;
}
