/* =========================================================
   WATCHSAVE — PREMIUM STYLE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #070707;
  color: #f7f7f7;
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================================================
   BACKGROUND
   ========================================================= */

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(255, 102, 0, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 40%,
      rgba(255, 150, 0, 0.08),
      transparent 30%
    );
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.a {
  background: #ff6500;
  top: -180px;
  left: -120px;
  animation: orbFloatA 9s ease-in-out infinite;
}

.b {
  background: #ff9d00;
  right: -180px;
  bottom: -160px;
  animation: orbFloatB 11s ease-in-out infinite;
}

@keyframes orbFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(45px, 35px);
  }
}

@keyframes orbFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-40px, -30px);
  }
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
  height: 78px;
  border-bottom: 1px solid #282828;
  background: rgba(7, 7, 7, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  padding: 0 5.5%;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 20;
  animation: topbarEnter 0.7s ease both;
}

@keyframes topbarEnter {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

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

.logo {
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -1px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.35));
}

.logo span,
.eyebrow,
.reward {
  color: #ff6b00;
}

.topbar nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.topbar nav a {
  color: #aaa;
  position: relative;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.topbar nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #ff6b00;
  transition: width 0.25s ease;
}

.topbar nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.topbar nav a:hover:after {
  width: 100%;
}

.top-user {
  display: flex;
  align-items: center;
  gap: 13px;
}

.top-user strong {
  color: #ff8b1a;
  animation: balanceGlow 2.5s ease-in-out infinite;
}

@keyframes balanceGlow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(255, 107, 0, 0);
  }

  50% {
    text-shadow: 0 0 18px rgba(255, 107, 0, 0.4);
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.ghost,
.primary,
.watchbtn,
.mini {
  border-radius: 13px;
  padding: 12px 18px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease,
    border-color 0.3s ease;
}

.ghost {
  background: #171717;
  color: #fff;
  border: 1px solid #333;
}

.ghost:hover {
  transform: translateY(-2px);
  border-color: #555;
  background: #1d1d1d;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.primary {
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(135deg, #ff5a00, #ff9100);
  color: #111;
  box-shadow: 0 10px 35px rgba(255, 90, 0, 0.22);
}

.primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.primary:hover:before {
  left: 140%;
}

.primary:hover,
.watchbtn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.primary:active,
.watchbtn:active {
  transform: scale(0.97);
}

/* =========================================================
   MAIN
   ========================================================= */

main {
  width: min(1180px, 89%);
  margin: auto;
  animation: pageEnter 0.8s ease-out both;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero > div:first-child {
  animation: heroText 0.9s ease both;
}

@keyframes heroText {
  from {
    opacity: 0;
    transform: translateX(-25px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.eyebrow {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2.5px;
  margin-bottom: 13px;
}

.hero h1 {
  font-size: clamp(45px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -4px;
  margin: 0 0 22px;
}

.hero h1 span {
  color: #ff6b00;
}

.hero p {
  font-size: 18px;
  color: #aaa;
  max-width: 650px;
  line-height: 1.7;
}

.hero-card {
  background: linear-gradient(145deg, #191919, #0d0d0d);
  border: 1px solid #333;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 30px 70px #000;
  transform: rotate(1.5deg);
  animation: heroCardEnter 1s ease 0.15s both;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

@keyframes heroCardEnter {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(4deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(1.5deg) scale(1);
  }
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-6px);
  border-color: #ff6b00;
  box-shadow:
    0 35px 80px #000,
    0 0 35px rgba(255, 107, 0, 0.08);
}

.hero-card > b {
  display: block;
  color: #ff6b00;
  font-size: 52px;
  margin: 55px 0 28px;
  animation: balanceGlow 2.5s ease-in-out infinite;
}

.hero-card > span {
  color: #777;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 65px 0;
}

.section-head,
.rowhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}

.section h2,
.admin-card h2 {
  margin: 0;
  font-size: 30px;
}

/* =========================================================
   VIDEO GRID
   ========================================================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 22px;
  overflow: hidden;
  animation: cardAppear 0.7s ease both;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.card:nth-child(1) {
  animation-delay: 0.05s;
}

.card:nth-child(2) {
  animation-delay: 0.12s;
}

.card:nth-child(3) {
  animation-delay: 0.19s;
}

.card:nth-child(4) {
  animation-delay: 0.26s;
}

.card:nth-child(5) {
  animation-delay: 0.33s;
}

.card:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

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

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: #ff6b00;
  box-shadow:
    0 20px 50px rgba(255, 95, 0, 0.13),
    0 0 25px rgba(255, 107, 0, 0.05);
}

.thumb {
  height: 210px;
  background: #171717;
  position: relative;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.78)
  );
  transition: background 0.35s ease;
}

.card:hover .shade {
  background: linear-gradient(
    180deg,
    rgba(255, 107, 0, 0.05),
    rgba(0, 0, 0, 0.78)
  );
}

.play {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: #ff6b00;
  color: #111;
  font-size: 23px;
  padding-left: 5px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
  animation: playPulse 2.4s ease-in-out infinite;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.play:hover {
  transform: scale(1.1);
  box-shadow:
    0 12px 35px rgba(255, 107, 0, 0.55),
    0 0 30px rgba(255, 107, 0, 0.15);
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow:
      0 10px 30px rgba(255, 107, 0, 0.35),
      0 0 0 0 rgba(255, 107, 0, 0.18);
  }

  50% {
    box-shadow:
      0 10px 35px rgba(255, 107, 0, 0.5),
      0 0 0 12px rgba(255, 107, 0, 0);
  }
}

.plat,
.reward {
  position: absolute;
  bottom: 12px;
  z-index: 3;
  font-size: 12px;
  font-weight: 900;
}

.plat {
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 7px 10px;
  border-radius: 8px;
}

.reward {
  right: 12px;
}

.body {
  padding: 17px;
}

.body h3 {
  margin: 0 0 8px;
}

.body p {
  color: #888;
  min-height: 40px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.meta {
  color: #777;
  font-size: 12px;
  margin-bottom: 15px;
}

.watchbtn {
  width: 100%;
  border: 0;
  background: #ff6b00;
  color: #111;
}

.watchbtn span {
  float: right;
}

/* =========================================================
   WALLET
   ========================================================= */

.wallet {
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b0f07, #101010);
  border: 1px solid #3d210d;
  border-radius: 25px;
  padding: 35px;
  animation: walletEnter 0.9s ease both;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.wallet:hover {
  transform: translateY(-4px);
  border-color: #ff6b00;
  box-shadow:
    0 20px 60px rgba(255, 107, 0, 0.12),
    0 0 35px rgba(255, 107, 0, 0.06);
}

.wallet:before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 107, 0, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  animation: walletShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes walletEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes walletShine {
  0% {
    left: -120%;
  }

  45%,
  100% {
    left: 140%;
  }
}

.wallet > * {
  position: relative;
  z-index: 1;
}

.wallet p {
  color: #888;
}

.wallet form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.wallet input,
.wallet select,
.auth-card input,
.admin-card input,
.admin-card textarea {
  width: 100%;
  min-height: 55px;
  background: #090909;
  color: #fff;
  border: 1px solid #333;
  border-radius: 11px;
  padding: 15px;
  outline: 0;
  box-sizing: border-box;
}

.wallet input::placeholder,
.auth-card input::placeholder,
.admin-card input::placeholder,
.admin-card textarea::placeholder,
.chat-form input::placeholder {
  color: #555;
}

.wallet button {
  grid-column: 1 / -1;
}

/* =========================================================
   WITHDRAW FORM
   ========================================================= */

.withdraw-form label {
  display: block;
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
  transition: color 0.25s ease;
}

.withdraw-form label:focus-within {
  color: #ff8b1a;
}

.withdraw-form label input,
.withdraw-form label select {
  display: block;
  margin-top: 7px;
  width: 100%;
  min-height: 55px;
  background: #090909;
  border: 1px solid #333;
  color: #fff;
  border-radius: 11px;
  padding: 13px;
  outline: none;
  box-sizing: border-box;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease,
    background 0.3s ease;
}

.withdraw-form label input:hover,
.withdraw-form label select:hover {
  border-color: #66401f;
  background: #0d0d0d;
  transform: translateX(2px);
}

.withdraw-form label input:focus,
.withdraw-form label select:focus {
  border-color: #ff6b00;
  box-shadow:
    0 0 0 3px rgba(255, 107, 0, 0.08),
    0 0 25px rgba(255, 107, 0, 0.12);
  transform: translateX(4px);
}

.withdraw-form button.primary {
  grid-column: 1 / -1;
}

.warning-span {
  display: block;
  margin-top: 8px;
  color: #ffad6b;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
}

/* =========================================================
   UNLOCK / VERIFY / PROGRESS
   ========================================================= */

.unlock {
  margin-top: 22px;
  background: #0d0d0d;
  border: 1px solid #2e2e2e;
  border-radius: 15px;
  padding: 15px;
}

.unlock span {
  color: #888;
  font-size: 12px;
}

.unlock b {
  float: right;
  color: #ff8b1a;
  font-size: 12px;
}

.progress {
  height: 8px;
  background: #252525;
  border-radius: 99px;
  margin-top: 12px;
  overflow: hidden;
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff5a00, #ffad00);
  transition: width 0.4s;
}

.verify-line {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #0b0b0b;
  border: 1px solid #2d2d2d;
  border-radius: 13px;
  padding: 13px;
}

.verify-line > div {
  flex: 1;
}

.verify-line span {
  display: block;
  color: #777;
  font-size: 11px;
}

.verify-line strong {
  display: block;
  margin-top: 5px;
  color: #ddd;
}

.verify-line strong.verified {
  color: #5cff9d;
}

.form-hint {
  grid-column: 1 / -1;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   HISTORY
   ========================================================= */

.history-list {
  border: 1px solid #292929;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0d0d;
}

.history {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid #242424;
  transition:
    background 0.3s ease,
    padding-left 0.3s ease;
}

.history:hover {
  background: #151515;
  padding-left: 23px;
}

.history:last-child {
  border: 0;
}

.history small,
.table small,
.user small {
  display: block;
  color: #666;
  margin-top: 5px;
}

.history strong {
  color: #5cff9d;
}

.empty {
  padding: 35px;
  text-align: center;
  color: #777;
  border: 1px dashed #333;
  border-radius: 16px;
}

/* =========================================================
   WATCH MODAL
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.hidden {
  display: none !important;
}

.watch {
  width: min(1050px, 97vw);
  max-height: 96vh;
  overflow: auto;
  background: #151515;
  border: 1px solid #3b3b3b;
  border-radius: 25px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 100px #000;
}

.modal:not(.hidden) .watch {
  animation: modalEnter 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: 0;
  color: #aaa;
  font-size: 32px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.close:hover {
  color: #ff6b00;
  transform: rotate(90deg);
}

.player {
  min-height: 440px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.player iframe,
.player video {
  width: 100%;
  height: 62vh;
  min-height: 400px;
  border: 0;
  background: #000;
  object-fit: contain;
}

.external {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
}

.external > div {
  font-size: 50px;
  color: #ff6b00;
}

.external p,
.external small {
  color: #888;
  display: block;
}

.link {
  display: inline-block;
  margin: 15px 0;
}

.task {
  background: #241207;
  border: 1px solid #63320d;
  border-radius: 14px;
  padding: 14px 17px;
  margin-top: 14px;
  animation: taskAppear 0.4s ease both;
}

@keyframes taskAppear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.task > b {
  font-size: 10px;
  letter-spacing: 2px;
  color: #ff8b1a;
}

.task p {
  margin: 7px 0;
  font-weight: 750;
}

.watchbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
}

.watchbar strong {
  font-size: 25px;
  color: #ff6b00;
}

.watchbar small {
  display: block;
  color: #777;
}

.note {
  font-size: 13px;
  color: #aaa;
  margin-top: 10px;
}

/* =========================================================
   TOAST
   ========================================================= */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 13px;
  padding: 14px 18px;
  transform: translateY(120px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.toast.show {
  animation: toastPop 0.35s ease-out;
  transform: none;
  opacity: 1;
}

@keyframes toastPop {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast.good {
  border-color: #28583d;
}

.toast.bad {
  border-color: #6b2a20;
}

/* =========================================================
   AUTH
   ========================================================= */

.auth {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.auth-card {
  width: min(440px, 92vw);
  background: #111;
  border: 1px solid #333;
  border-radius: 25px;
  padding: 34px;
  box-shadow: 0 30px 80px #000;
  animation: authEnter 0.7s ease both;
}

@keyframes authEnter {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-card .logo {
  display: block;
  margin-bottom: 45px;
}

.auth-card h1 {
  font-size: 38px;
  margin: 0 0 10px;
}

.auth-card p {
  color: #888;
}

.auth-card form {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}

.auth-card label {
  font-size: 12px;
  color: #aaa;
  font-weight: 800;
}

.auth-card label input {
  display: block;
  margin-top: 7px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.auth-card label input:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.1);
  transform: translateY(-2px);
}

.switch {
  text-align: center;
  color: #888;
  margin-top: 20px;
}

.switch a {
  color: #ff7a16;
}

.error {
  color: #ff8068;
  text-align: center;
  margin-top: 13px;
}

/* =========================================================
   ADMIN
   ========================================================= */

.admin {
  width: min(1240px, 92%);
  margin: 45px auto;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-head h1 {
  font-size: 45px;
  margin: 0;
}

.admin-head p,
.admin-card p {
  color: #888;
}

.online {
  border: 1px solid #294936;
  background: #0b160f;
  border-radius: 999px;
  padding: 12px 17px;
  color: #9feeb8;
}

.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #292929;
  margin-top: 40px;
}

.tab {
  background: none;
  border: 0;
  color: #777;
  padding: 15px 20px;
  font-weight: 900;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.tab:hover {
  color: #fff;
  transform: translateY(-2px);
}

.tab.active {
  color: #ff7a16;
  border-bottom: 2px solid #ff6b00;
}

.pane {
  display: none;
  padding: 30px 0;
}

.pane.active {
  display: block;
  animation: paneEnter 0.4s ease both;
}

@keyframes paneEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats > div {
  background: #111;
  border: 1px solid #292929;
  border-radius: 20px;
  padding: 23px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.stats > div:hover {
  transform: translateY(-5px);
  border-color: #ff6b00;
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.08);
}

.stats small {
  color: #777;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.stats b {
  display: block;
  font-size: 38px;
  margin-top: 12px;
}

.notice {
  margin-top: 18px;
  border: 1px solid #49300f;
  background: #171107;
  border-radius: 15px;
  padding: 16px;
  color: #aaa;
}

.forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-card {
  background: #111;
  border: 1px solid #292929;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 18px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.admin-card:hover {
  border-color: #3d3d3d;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.admin-card form {
  display: grid;
  gap: 12px;
}

.admin-card textarea {
  min-height: 70px;
  resize: vertical;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-card label {
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
}

.admin-card label input {
  margin-top: 7px;
}

.admin-card input:focus,
.admin-card textarea:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.08);
}

/* =========================================================
   TABLES
   ========================================================= */

.table {
  display: grid;
  grid-template-columns: 1.6fr 0.55fr 0.6fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #242424;
  transition: background 0.25s ease;
}

.table:hover {
  background: #151515;
}

.table:last-child {
  border: 0;
}

.edit {
  max-width: 105px !important;
}

.mini {
  padding: 9px 11px;
  background: #222;
  color: #fff;
  border: 1px solid #3a3a3a;
}

.mini:hover {
  transform: translateY(-2px);
  border-color: #ff6b00;
}

.mini.danger {
  color: #ff8b78;
}

.user {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 13px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #242424;
  transition: background 0.25s ease;
}

.user:hover {
  background: #151515;
}

.user:last-child {
  border: 0;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ff6b00;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.status {
  font-size: 12px;
  color: #777;
}

.status.on {
  color: #6ff0a0;
}

.status.off {
  color: #777;
}

.withdrawal-row {
  grid-template-columns: 1.6fr 0.5fr 0.5fr auto auto;
}

.withdrawal-row .user-info {
  min-width: 0;
}

/* =========================================================
   SUPPORT CHAT
   ========================================================= */

.support-chat {
  background: #111;
  border: 1px solid #2d2d2d;
  border-radius: 22px;
  padding: 25px;
  animation: chatEnter 0.7s ease both;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.support-chat:hover {
  border-color: #3d3d3d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

@keyframes chatEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.chat-live {
  border: 1px solid #31553d;
  background: #0c1710;
  color: #83efaa;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  animation: livePulse 2.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(95, 255, 150, 0);
  }

  50% {
    box-shadow: 0 0 18px rgba(95, 255, 150, 0.08);
  }
}

.chat-messages {
  height: 330px;
  overflow: auto;
  background: #090909;
  border: 1px solid #262626;
  border-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 14px;
  background: #181818;
  border: 1px solid #2b2b2b;
  animation: messageAppear 0.3s ease both;
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

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

.chat-msg.mine {
  align-self: flex-end;
  background: #241307;
  border-color: #60300b;
}

.chat-msg.theirs {
  align-self: flex-start;
}

.chat-msg.system-msg {
  align-self: center;
  background: #101010;
  color: #888;
  max-width: 90%;
  text-align: center;
}

.chat-msg span {
  font-size: 10px;
  color: #ff8b29;
  font-weight: 900;
}

.chat-msg p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat-msg small {
  font-size: 9px;
  color: #666;
}

.chat-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.chat-form input {
  flex: 1;
  background: #090909;
  border: 1px solid #333;
  color: #fff;
  border-radius: 11px;
  padding: 13px;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.chat-form input:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.08);
}

.chat-form button {
  white-space: nowrap;
}

.chat-list {
  display: grid;
  gap: 15px;
}

.chat-card {
  border: 1px solid #292929;
  border-radius: 17px;
  background: #0d0d0d;
  padding: 15px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.chat-card:hover {
  transform: translateY(-3px);
  border-color: #444;
}

.chat-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.chat-card-head small {
  display: block;
  color: #666;
  margin-top: 4px;
}

.chat-card-head > span {
  color: #666;
  font-size: 10px;
}

.admin-messages {
  height: 260px;
}

.chat-card .chat-form {
  margin-top: 10px;
}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 40px;
  }

  .wallet,
  .forms {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar nav {
    display: none;
  }

  .table {
    grid-template-columns: 1fr 1fr;
  }

  .user {
    grid-template-columns: auto 1fr auto;
  }

  .player {
    min-height: 300px;
  }

  .player iframe,
  .player video {
    min-height: 280px;
    height: 45vh;
  }

  .hero-card {
    transform: none;
  }

  .hero-card:hover {
    transform: translateY(-5px);
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 560px) {
  main {
    width: 92%;
  }

  .topbar {
    padding: 0 4%;
    gap: 12px;
  }

  .top-user {
    margin-left: auto;
  }

  .top-user strong {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 30px;
  }

  .hero h1 {
    letter-spacing: -2px;
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-card > b {
    font-size: 42px;
    margin: 40px 0 22px;
  }

  .section {
    padding: 45px 0;
  }

  .section-head {
    align-items: flex-start;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .wallet {
    padding: 22px;
  }

  .wallet form {
    grid-template-columns: 1fr;
  }

  .wallet button,
  .withdraw-form button.primary {
    grid-column: auto;
  }

  .withdraw-form label input,
  .withdraw-form label select {
    width: 100%;
  }

  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-head h1 {
    font-size: 36px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .watch {
    padding: 20px;
    border-radius: 20px;
  }

  .player {
    min-height: 230px;
  }

  .player iframe,
  .player video {
    min-height: 220px;
    height: 35vh;
  }

  .watchbar {
    gap: 15px;
    align-items: stretch;
  }

  .watchbar button {
    flex: 1;
  }

  .chat-form {
    flex-direction: column;
  }

  .chat-msg {
    max-width: 92%;
  }

  .support-chat {
    padding: 18px;
  }

  .chat-messages {
    height: 280px;
  }

  .table {
    grid-template-columns: 1fr;
  }

  .user {
    grid-template-columns: auto 1fr;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}