@font-face {
  font-family: "Outfit";
  src: url("../fonts/PoppinsLatin-BoldItalic.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/PoppinsLatin-Thin.ttf") format("truetype");
  font-weight: 700;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Inter', sans-serif;
  background: #050505;
  overflow-x: hidden;
  color: white;
  background: radial-gradient(circle at top, var(--bg-radial) 0%, #090909 45%), #000;
  animation: bgMove 8s ease infinite;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* BACKGROUND GLOW */
.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
}

.glow1 {
  background: var(--primary);
  top: -100px; 
  left: -100px; 
  opacity: .15; 
  filter: blur(120px); 
}

.glow2 {
  background: var(--secondary);
  bottom: -120px;
  right: -120px;
  opacity: .18;
  filter: blur(120px); 
}

/* NAVBAR */
.navbar {
  width: 100%;
  padding: 25px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(15,15,15,.25);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 1000;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(to right, #ffffff, var(--tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #ddd;
  font-size: 15px;
  transition: .3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

/* MAIN */
.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 60px;
}

.video-grid {
  width: 90%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* CARD */
.card {
  position: relative;
  height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  transition: .45s ease;
  cursor: pointer;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s ease;
}

/* Some cards wrap their video in a `.media` div instead of putting the
   <video> directly inside `.card`. That div had no width/height rule, so
   the video inside it couldn't fill the card properly and its hover/scale
   animation looked broken compared to the other cards. Making `.media`
   fill the card exactly (same box as `.card` itself) fixes that. */
.card .media {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, #14081f 30%, #1f0f30 50%, #14081f 70%);
  background-size: 300% 100%;
  animation: gp-media-shimmer 1.6s ease-in-out infinite;
}

/* Once the video actually has a frame ready, kill the shimmer so it isn't
   fighting the video underneath. gpLazyPlayCardVideosMobile() adds this
   class in script.v2.js as soon as a video's data has loaded. */
.card .media.gp-media-loaded {
  animation: none;
  background: #0a0510;
}

@keyframes gp-media-shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: -300% 0; }
}

.card .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s ease;
  position: relative;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent 45%);
  opacity: .8;
}

/* HOVER EFFECTS & MOBILE HOVER SUPPORT */
.video-grid:hover .card {
  opacity: .4;
  transform: scale(.97);
}

.video-grid .card:hover,
.video-grid .card.mobile-hover {
  opacity: 1;
  transform: scale(1.03);
  filter: none;
  z-index: 10;
  box-shadow: 0 0 40px rgba(168,85,247,.25), 0 0 80px rgba(168,85,247,.12);
}

.card:hover video,
.card.mobile-hover video {
  transform: scale(1.08);
}

/* CREATOR BAR */
.creator-bar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: rgba(15,15,15,.45);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.08);
  transform: translateY(30px);
  opacity: 0;
  transition: .45s ease;
  z-index: 10;
}

.creator-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(168,85,247,.5);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-bar h2 {
  font-size: 16px;
  margin-bottom: 3px;
}

.creator-bar p {
  font-size: 13px;
  color: #cfcfcf;
}

/* LIVE DOT */
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary), 0 0 30px var(--secondary);
  animation: pulse 2s infinite;
}

/* HOVER SHOW CREATOR BAR */
.card:hover .creator-bar,
.card.mobile-hover .creator-bar {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .7; }
  100% { transform: scale(1); opacity: 1; }
}

/* CONTROLS (VOLUME & DOWNLOAD) */
.right-controls {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.volume-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.download {
  width: 42px;
  height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(168,85,247,0.3);
  color: white;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 20;
  transition: 0.3s ease;
}

.download:hover {
  transform: scale(1.08);
  background: rgba(147,51,234,0.3);
  box-shadow: 0 0 25px rgba(168,85,247,0.5);
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  background: #030005;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(162, 0, 255, 0.18), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(255, 0, 100, 0.08), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(120, 0, 255, 0.1), transparent 30%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.loader-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(162, 0, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 0, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(62deg);
  animation: loaderGridDrift 8s linear infinite;
  opacity: 0.35;
  pointer-events: none;
}

.loader-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  animation: loaderScan 6s linear infinite;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.loader-badge {
  font-size: 11px;
  letter-spacing: 4px;
  color: #ff4d8d;
  border: 1px solid rgba(255, 77, 141, 0.45);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 0, 80, 0.08);
  box-shadow: 0 0 24px rgba(255, 0, 100, 0.25);
  animation: loaderBadgePulse 2s ease-in-out infinite;
}

.loader-title {
  position: relative;
  margin: 8px 0 0;
  line-height: 1;
}

.loader-title-main,
.loader-title-glitch {
  display: block;
  font-size: clamp(56px, 14vw, 110px);
  font-weight: 900;
  letter-spacing: 12px;
  color: #fff;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(162, 0, 255, 0.9),
    0 0 60px rgba(162, 0, 255, 0.55);
}

.loader-title-glitch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0.75;
  clip-path: inset(0 0 0 0);
  animation: loaderGlitchA 2.4s infinite linear alternate-reverse;
}

.loader-title-glitch-2 {
  color: #d000ff;
  animation: loaderGlitchB 1.8s infinite linear alternate-reverse;
}

.loader-progress {
  position: relative;
  width: min(360px, 78vw);
  margin-top: 8px;
}

.loader-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.loader-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a200ff, #ff0096, #ffd700);
  box-shadow: 0 0 18px rgba(162, 0, 255, 0.8);
  animation: loaderProgress 2.2s ease-in-out forwards;
}

.loader-progress-glow {
  position: absolute;
  inset: -8px 0 auto;
  height: 20px;
  background: radial-gradient(circle, rgba(162, 0, 255, 0.35), transparent 70%);
  filter: blur(8px);
}

.loader-subtitle {
  margin: 0;
  color: #d9b3ff;
  letter-spacing: 8px;
  font-size: clamp(11px, 2.5vw, 14px);
  text-transform: uppercase;
  animation: loaderSubtitleGlow 2s ease-in-out infinite;
}

.loader-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #888;
  text-transform: uppercase;
}

.loader-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a200ff;
  box-shadow: 0 0 12px #a200ff;
  animation: loaderPulse 1s ease-in-out infinite;
}

.coin-unlock-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

.coin-unlock-icon {
  font-size: 28px;
}

.coin-unlock-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.coin-unlock-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.coin-unlock-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

@keyframes loaderGridDrift {
  from { transform: perspective(500px) rotateX(62deg) translateY(0); }
  to { transform: perspective(500px) rotateX(62deg) translateY(48px); }
}

@keyframes loaderScan {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}

@keyframes loaderBadgePulse {
  0%, 100% { box-shadow: 0 0 24px rgba(255, 0, 100, 0.25); }
  50% { box-shadow: 0 0 36px rgba(255, 0, 100, 0.45); }
}

@keyframes loaderGlitchA {
  0% { clip-path: inset(10% 0 85% 0); transform: translate(-52%, 0); }
  20% { clip-path: inset(55% 0 20% 0); transform: translate(-48%, 0); }
  40% { clip-path: inset(30% 0 45% 0); transform: translate(-51%, 0); }
  60% { clip-path: inset(70% 0 10% 0); transform: translate(-49%, 0); }
  80% { clip-path: inset(5% 0 70% 0); transform: translate(-50%, 0); }
  100% { clip-path: inset(40% 0 35% 0); transform: translate(-50%, 0); }
}

@keyframes loaderGlitchB {
  0% { clip-path: inset(65% 0 15% 0); transform: translate(-49%, 0); }
  25% { clip-path: inset(15% 0 75% 0); transform: translate(-51%, 0); }
  50% { clip-path: inset(45% 0 35% 0); transform: translate(-48%, 0); }
  75% { clip-path: inset(25% 0 55% 0); transform: translate(-52%, 0); }
  100% { clip-path: inset(80% 0 5% 0); transform: translate(-50%, 0); }
}

@keyframes loaderProgress {
  0% { width: 0%; }
  35% { width: 42%; }
  70% { width: 78%; }
  100% { width: 100%; }
}

@keyframes loaderSubtitleGlow {
  0%, 100% { opacity: 0.75; text-shadow: 0 0 8px rgba(162, 0, 255, 0.2); }
  50% { opacity: 1; text-shadow: 0 0 16px rgba(162, 0, 255, 0.55); }
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

@keyframes glitch {
  0% { transform: translate(0) }
  20% { transform: translate(-2px,2px) }
  40% { transform: translate(2px,-2px) }
  60% { transform: translate(-1px,1px) }
  80% { transform: translate(1px,-1px) }
  100% { transform: translate(0) }
}

/* LOGIN GATE (PASSWORD GATE) */
.password-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #050505; 
  z-index: 9999999; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.password-box {
  background: #111;
  border: 2px solid #ff0000;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
}

.password-box h2 {
  color: #ff0000;
  margin-top: 0;
  margin-bottom: 5px;
  font-family: monospace; 
  letter-spacing: 2px;
}

.password-box p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.password-box input {
  width: 100%;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  outline: none;
  margin-bottom: 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.password-box input:focus {
  border-color: #ff0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.password-box button {
  width: 100%;
  padding: 12px;
  background: #ff0000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.password-box button:hover {
  background: #cc0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.pass-error {
  color: #ff0000 !important;
  margin-top: 15px !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  display: none;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* EXPIRATION TIMER BAR */
#expireTimerBar {
    position: fixed; 
    top: -10px;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid rgba(123, 47, 247, 0.4);
    color: #a1a1aa; 
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-family: 'Poppins', sans-serif; 
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 999999; 
    display: none; 
}

#expireTimerBar .timer-label {
    margin-right: 8px;
}

#expireTimerBar span:not(.timer-label) {
    color: var(--tertiary); 
    font-weight: 700;
    font-family: monospace; 
    font-size: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(216, 180, 254, 0.4); 
}

/* TOAST NOTIFICATIONS */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-left: 5px solid transparent;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast.error {
    background: rgba(20, 0, 0, 0.9);
    border-left-color: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

.custom-toast.success {
    background: rgba(0, 20, 0, 0.9);
    border-left-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.custom-toast.info {
    background: rgba(0, 0, 20, 0.9);
    border-left-color: var(--primary);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

/* RESPONSIVE & MOBILE STYLES */
@media(max-width: 1300px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media(max-width: 950px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
  body, html {
    background: radial-gradient(circle at top, var(--bg-radial) 0%, #090909 45%), #000 !important;
  }
  
  .glow1, .glow2, .bg-glow {
    display: none !important;
  }

  /* Fixed Video Dimensions for Mobile */
  .card video {
    height: auto !important; 
    object-fit: contain !important; 
    width: 100% !important;
  }
}

@media(max-width: 600px) {
  .navbar {
    padding: 20px;
    top: 0;
  }

  .nav-links { display: none; }
  
  .video-grid { grid-template-columns: 1fr; }
  
  .card { height: 600px; }
}
/* ==========================================
   Chat Button Styling
   ========================================== */
.chat-btn {
    background: linear-gradient(45deg, var(--primary), #ff00ff);
    margin: 15px auto 0 auto !important;
    display: block;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    font-weight: bold;
    letter-spacing: 1px;
}

.chat-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
    background: linear-gradient(45deg, #ff00ff, var(--primary));
}

/* ==========================================
   Chat Modal Styling
   ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none !important;
    opacity: 0;
}

.modal-content {
    background: #0d0d0d;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    font-family: sans-serif;
}

.modal-content h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-content h2 span {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff00ff;
}

.action-btn {
    background: linear-gradient(90deg, var(--primary), #ff00ff);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.action-btn:hover {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}
/* استایل‌های تایمر شناور ما */
#sexyTimerContainer {
    position: absolute;
top: 90px;
right: 20px;
    background: rgba(15, 5, 25, 0.85); /* یه رنگ تیره و جذاب */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(138, 43, 226, 0.4); /* حاشیه بنفش ملایم */
    border-radius: 16px;
    padding: 15px 25px;
    z-index: 10000; /* همیشه روی همه چی باشه */
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
    text-align: center;
    color: #fff;
    display: none; /* اولش مخفیه تا جاوااسکریپت بیدارش کنه */
    transition: all 0.3s ease;
}

#sexyTimerText {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--tertiary);
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
}

#sexyTimerCountdown {
    font-size: 26px;
    font-weight: 900;
    font-family: monospace;
    text-shadow: 0 0 15px rgba(201, 140, 255, 0.8);
    letter-spacing: 1px;
}

/* وقتی زمان داره تموم میشه این کلاسا فعال میشن */
.panic-mode {
    border-color: #ff004c !important;
    box-shadow: 0 0 40px rgba(255, 0, 76, 0.6) !important;
    animation: heartbeat 1s infinite !important;
}

.panic-text {
    color: #ff004c !important;
    text-shadow: 0 0 20px #ff004c !important;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    100% { transform: scale(1); }
}
/* تنظیمات مخصوص گوشی‌های موبایل */
@media (max-width: 768px) {
    #sexyTimerContainer {
        position: fixed !important;
        top: auto !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 85%;
        padding: 18px 20px;  /* ← این عوض شد */
        box-shadow: 0 -8px 32px rgba(138, 43, 226, 0.4);
    }

    #sexyTimerCountdown {
        font-size: 26px;  /* ← این عوض شد */
    }
    
    #sexyTimerText {
        font-size: 12px;  /* ← این عوض شد */
    }
}

/* NAVBAR PROFILE */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 14px;
  padding: 6px 14px 6px 8px;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.profile-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.profile-coins {
  font-size: 12px;
  color: #ffd700;
  font-weight: 600;
}

.password-box input[type="text"] {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 10px;
  color: #fff;
  outline: none;
}

#logoutModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999999;
}

.logout-box {
  background: #111;
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  min-width: 280px;
}

.logout-box h3 { margin-bottom: 10px; color: #fff; }
.logout-box p { color: #aaa; font-size: 14px; margin-bottom: 20px; }
.logout-box button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
#confirmLogout { background: var(--secondary); color: #fff; }
#cancelLogout { background: #333; color: #fff; }
#sexyTimerContainer { cursor: pointer; }

@media (max-width: 768px) {
  .user-profile { display: none; }
}
 /* Smooth, unified hover animation for the cards */
.card,
.card .media,
.card video,
.card .media video {
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity .6s ease,
              filter .6s ease,
              box-shadow .6s ease !important;
}