/* Celebrity Guest Tape - Custom Styles */
/* This file contains custom styles for the CGT streaming platform */
/* NO OLD STYLES - Fresh start with Tailwind + Geist fonts only */

/* CSS Variables matching Next.js setup */
:root {
  --background: #030712;
  --foreground: #f9fafb;
  --font-geist-sans: Geist, Arial, Helvetica, sans-serif;
  --font-geist-mono: "Geist Mono", Consolas, Monaco, monospace;
}

/* Base body and html styles */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-geist-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #6b7280;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animated gradient for Guest Tape text */
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient-flow {
  animation: gradient-flow 6s ease-in-out infinite;
}

/* Age verification backdrop */
.age-verification-backdrop {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Video thumbnail hover effects */
.video-thumbnail {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom gradient backgrounds */
.gradient-bg-1 {
  background: linear-gradient(135deg, #dc2626 0%, #000000 100%);
}

.gradient-bg-2 {
  background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
}

/* Hero section background pattern */
.hero-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc2626' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Card hover glow effect */
.card-glow {
  position: relative;
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0) 0%, rgba(220, 38, 38, 0.05) 50%, rgba(251, 191, 36, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card-glow:hover::after {
  opacity: 1;
}

/* Slide animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Loading skeleton pulse */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* WebGL canvas container */
.webgl-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.webgl-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile menu transitions */
.mobile-menu-enter {
  transform: translateX(100%);
}

.mobile-menu-enter-active {
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

.mobile-menu-exit {
  transform: translateX(0);
}

.mobile-menu-exit-active {
  transform: translateX(100%);
  transition: transform 0.3s ease-in;
}

/* Mobile Menu Show/Hide - CRITICAL for mobile menu functionality */
.navbar.show {
  transform: translateX(0) !important;
}

.menu-btn.hide {
  opacity: 0;
  pointer-events: none;
}

/* Backdrop blur support */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Aspect ratio utilities (for older browsers) */
.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Age verification floating emojis */
.age-float {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: float-emoji 8s ease-in-out infinite;
}

@keyframes float-emoji {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0) rotate(360deg);
    opacity: 0.1;
  }
}

/* Hover scale effect */
.hover\:scale-102:hover {
  transform: scale(1.02);
}

/* Prevent text selection on interactive elements */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Focus visible styles for accessibility */
*:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

/* Disabled state for body when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Video card styles */
.video-card {
  position: relative;
  background: #111827;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.video-card .thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card:hover .thumbnail-overlay {
  opacity: 1;
}

/* Input and Form Styles */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  font-family: var(--font-geist-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Button Styles */
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--font-geist-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Alert/Notification Styles for Login/Auth Pages */
.alert {
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}

/* Error/Danger Alerts */
.alert.alert-danger,
.alert.alert-error {
  background: rgba(127, 29, 29, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: rgb(254, 202, 202);
}

.alert.alert-danger::before,
.alert.alert-error::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgb(248, 113, 113)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' x2='12' y1='8' y2='12'%3E%3C/line%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* Success Alerts */
.alert.alert-success {
  background: rgba(21, 128, 61, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: rgb(187, 247, 208);
}

.alert.alert-success::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgb(134, 239, 172)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='m9 12 2 2 4-4'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* Info/Warning Alerts */
.alert.alert-info,
.alert.alert-warning {
  background: rgba(133, 77, 14, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: rgb(254, 240, 138);
}

.alert.alert-info::before,
.alert.alert-warning::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgb(253, 224, 71)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' x2='12' y1='8' y2='12'%3E%3C/line%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
}

.alert ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.alert li {
  font-size: 14px;
  line-height: 1.5;
}

.alert.alert-danger li,
.alert.alert-error li {
  color: rgb(254, 202, 202);
}

.alert.alert-success li {
  color: rgb(187, 247, 208);
}

.alert.alert-info li,
.alert.alert-warning li {
  color: rgb(254, 240, 138);
}

.alert script {
  display: none !important;
}

/* Login Form Specific Styles */
.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100% !important;
  padding: 12px 16px 12px 48px !important;
  background: rgb(31 41 55) !important;
  border: 1px solid rgb(75 85 99) !important;
  border-radius: 8px !important;
  color: white !important;
  font-size: 14px !important;
  transition: all 0.3s !important;
  font-family: var(--font-geist-sans) !important;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
  outline: none !important;
  border-color: rgb(239 68 68) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="email"]::placeholder,
.login-form input[type="password"]::placeholder {
  color: rgb(156 163 175) !important;
}

.login-form label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgb(209 213 219) !important;
  margin-bottom: 8px !important;
}

.login-form button[type="submit"],
.login-form input[type="submit"] {
  width: 100% !important;
  background: linear-gradient(to right, rgb(220 38 38), rgb(185 28 28)) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 24px !important;
  font-family: var(--font-geist-sans) !important;
}

.login-form button[type="submit"]:hover,
.login-form input[type="submit"]:hover {
  background: linear-gradient(to right, rgb(185 28 28), rgb(153 27 27)) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.login-form .field-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.login-form .field-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: rgb(156 163 175);
  pointer-events: none;
  z-index: 10;
}

/* Navbar sticky behavior */
.navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a0000 0%, #000000 50%, #1a0000 100%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Login Page Background Slideshow */
.slideshow-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow-image.active {
  opacity: 1;
}

/* Hero carousel indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4b5563;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background: linear-gradient(135deg, #dc2626, #fbbf24);
  transform: scale(1.2);
}

.carousel-indicators button:hover:not(.active) {
  background: #6b7280;
}

/* ===============================================
   Profile/Account Page Styles (Database-generated HTML)
   =============================================== */

/* Main Grid Container */
#__abk_l5fcwuxzooi {
  max-width: 64rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: calc(100vh - 80px);
}

/* Tab Control Container */
.tab-control.vtabs {
  background: transparent !important;
  border: none !important;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Vertical Tabs Nav */
.tab-control.vtabs .nav-tabs.tabs-vertical {
  background: rgba(17, 24, 39, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgb(55, 65, 81) !important;
  border-radius: 1rem !important;
  padding: 0.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  height: fit-content;
}

/* Tab Nav Items */
.tab-control.vtabs .nav-tabs.tabs-vertical .nav-item {
  margin: 0 !important;
  border: none !important;
}

/* Tab Links */
.tab-control.vtabs .nav-tabs.tabs-vertical .nav-link {
  display: flex !important;
  align-items: center !important;
  padding: 0.75rem 1rem !important;
  color: rgb(156, 163, 175) !important;
  border: none !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.tab-control.vtabs .nav-tabs.tabs-vertical .nav-link:hover {
  background: rgba(55, 65, 81, 0.5) !important;
  color: rgb(229, 231, 235) !important;
}

.tab-control.vtabs .nav-tabs.tabs-vertical .nav-link.active {
  background: linear-gradient(to right, rgb(220, 38, 38), rgb(185, 28, 28)) !important;
  color: white !important;
}

.tab-control.vtabs .nav-tabs.tabs-vertical .nav-link i {
  margin-right: 0.5rem !important;
  font-size: 18px !important;
}

/* Tab Content */
.tab-control.vtabs .tab-content {
  background: rgba(17, 24, 39, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgb(55, 65, 81) !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  min-height: 400px;
}

.tab-control.vtabs .tab-content .tab-pane {
  padding: 0 !important;
}

/* Form Groups - Make them look like Next.js rows */
.tab-control.vtabs .form-group.row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.75rem 0 !important;
  border-bottom: 1px solid rgb(55, 65, 81) !important;
  margin: 0 !important;
}

.tab-control.vtabs .form-group.row:last-child {
  border-bottom: none !important;
}

/* Labels */
.tab-control.vtabs .form-group.row label {
  color: rgb(156, 163, 175) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

/* Input Containers */
.tab-control.vtabs .form-group.row .col-md-8 {
  width: auto !important;
  flex: 1 !important;
  max-width: none !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.75rem !important;
}

/* Inputs */
.tab-control.vtabs .form-group.row input.form-control {
  background: rgb(31, 41, 55) !important;
  border: 1px solid rgb(75, 85, 99) !important;
  border-radius: 0.5rem !important;
  color: white !important;
  padding: 0.5rem 0.75rem !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  max-width: 300px !important;
  transition: all 0.2s ease !important;
}

.tab-control.vtabs .form-group.row input.form-control:focus {
  outline: none !important;
  border-color: rgb(220, 38, 38) !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2) !important;
}

.tab-control.vtabs .form-group.row input.form-control.disabled,
.tab-control.vtabs .form-group.row input.form-control:disabled {
  background: rgb(17, 24, 39) !important;
  color: rgb(107, 114, 128) !important;
  cursor: not-allowed !important;
}

/* Submit Button */
.tab-control.vtabs .btn.btn-success {
  background: linear-gradient(to right, rgb(220, 38, 38), rgb(185, 28, 28)) !important;
  border: none !important;
  color: white !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.tab-control.vtabs .btn.btn-success:hover {
  background: linear-gradient(to right, rgb(185, 28, 28), rgb(153, 27, 27)) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

/* Membership Tab Styles */
.tab-control.vtabs #__abk_mlxnnorslw {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tab-control.vtabs .box-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.tab-control.vtabs .box-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
}

.tab-control.vtabs .box-title.text-success {
  background: rgba(21, 128, 61, 0.2) !important;
  border: 1px solid rgba(34, 197, 94, 0.5) !important;
  color: rgb(187, 247, 208) !important;
}

.tab-control.vtabs .box-title.text-success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgb(134, 239, 172)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='m9 12 2 2 4-4'%3E%3C/path%3E%3C/svg%3E");
}

.tab-control.vtabs .box-title.text-danger {
  background: rgba(127, 29, 29, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: rgb(254, 202, 202) !important;
}

.tab-control.vtabs .box-title.text-danger::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgb(248, 113, 113)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='15' x2='9' y1='9' y2='15'%3E%3C/line%3E%3Cline x1='9' x2='15' y1='9' y2='15'%3E%3C/line%3E%3C/svg%3E");
}

.tab-control.vtabs hr {
  display: none !important;
}

/* Theme Switcher - Fix z-index layering and stacking context */
#theme-panel {
  z-index: 100 !important;
  isolation: isolate;
}

#theme-switcher > button:first-child {
  position: relative;
  z-index: 200 !important;
}

/* Ensure all panel contents stay within stacking context */
#theme-panel * {
  position: relative;
  z-index: auto;
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
  .tab-control.vtabs {
    grid-template-columns: 1fr !important;
  }

  .tab-control.vtabs .nav-tabs.tabs-vertical {
    flex-direction: row !important;
    overflow-x: auto !important;
  }

  .tab-control.vtabs .nav-tabs.tabs-vertical .nav-item {
    flex-shrink: 0 !important;
  }

  .tab-control.vtabs .form-group.row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .tab-control.vtabs .form-group.row label {
    width: 100% !important;
  }

  .tab-control.vtabs .form-group.row .col-md-8 {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .tab-control.vtabs .form-group.row input.form-control {
    max-width: 100% !important;
    width: 100% !important;
  }
}

