/* REMOTETV Website Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #fff;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Gradient Backgrounds */
.min-h-screen {
  min-height: 100vh;
}

.bg-gradient-to-br {
  background: linear-gradient(to bottom right, #581c87, #1e3a8a, #000);
}

.from-purple-900 {
  --tw-gradient-from: #581c87;
}

.via-blue-900 {
  --tw-gradient-via: #1e3a8a;
}

.to-black {
  --tw-gradient-to: #000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

/* Colors */
.text-white {
  color: #fff;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-purple-400 {
  color: #c084fc;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-400 {
  --tw-gradient-from: #60a5fa;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-purple-600 {
  --tw-gradient-to: #9333ea;
}

/* Spacing */
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mr-3 { margin-right: 0.75rem; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Layout */
.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Grid */
.md\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Buttons and Links */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button, .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.bg-purple-600 {
  background-color: #9333ea;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.bg-green-600 {
  background-color: #16a34a;
}

.hover\:bg-purple-700:hover {
  background-color: #7e22ce;
}

.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}

.hover\:bg-green-700:hover {
  background-color: #15803d;
}

.hover\:text-purple-400:hover {
  color: #c084fc;
}

.hover\:text-purple-300:hover {
  color: #d8b4fe;
}

.hover\:text-purple-900:hover {
  color: #581c87;
}

.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

.hover\:bg-white:hover {
  background-color: #fff;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Backdrop and Glassmorphism */
.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

.hover\:bg-white\/20:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hover\:bg-white\/30:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Transitions and Transforms */
.transition-all {
  transition: all 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.transform {
  transform: translateZ(0);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Max Width */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.1);
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-white {
  border-color: #fff;
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.border-white\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Filter Buttons */
.filter-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: linear-gradient(to right, #9333ea, #2563eb);
  color: #fff;
}

/* Show Cards */
.show-card {
  transition: all 0.3s ease;
}

.show-card:hover {
  transform: scale(1.05);
}

/* Day Buttons */
.day-btn {
  white-space: nowrap;
}

/* Color Utilities */
.bg-blue-500 { background-color: #3b82f6; }
.bg-green-500 { background-color: #22c55e; }
.bg-purple-500 { background-color: #a855f7; }
.bg-orange-500 { background-color: #f97316; }
.bg-red-600 { background-color: #dc2626; }
.bg-yellow-500 { background-color: #eab308; }

.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }

.bg-red-600\/50 { background-color: rgba(220, 38, 38, 0.5); }

.text-yellow-400 { color: #facc15; }
.text-black { color: #000; }
.text-purple-900 { color: #581c87; }

.from-yellow-400 { --tw-gradient-from: #facc15; }
.to-orange-500 { --tw-gradient-to: #f97316; }
.from-yellow-500 { --tw-gradient-from: #eab308; }
.to-orange-600 { --tw-gradient-to: #ea580c; }
.from-yellow-600 { --tw-gradient-from: #ca8a04; }

.from-purple-600 { --tw-gradient-from: #9333ea; }
.to-blue-600 { --tw-gradient-to: #2563eb; }
.from-purple-700 { --tw-gradient-from: #7e22ce; }
.to-blue-700 { --tw-gradient-to: #1d4ed8; }

.from-green-600 { --tw-gradient-from: #16a34a; }
.to-teal-600 { --tw-gradient-to: #0d9488; }
.from-green-700 { --tw-gradient-from: #15803d; }
.to-teal-700 { --tw-gradient-to: #0f766e; }

.from-purple-800\/30 { 
  --tw-gradient-from: rgba(107, 33, 168, 0.3);
}
.to-blue-800\/30 { 
  --tw-gradient-to: rgba(30, 64, 175, 0.3);
}

/* Gradient Images */
.from-blue-600 { --tw-gradient-from: #2563eb; }
.via-purple-600 { --tw-gradient-via: #9333ea; }
.to-pink-600 { --tw-gradient-to: #db2777; }

.h-64 { height: 16rem; }

.text-9xl { font-size: 8rem; }
.text-8xl { font-size: 6rem; }
.text-6xl { font-size: 3.75rem; }
.text-5xl { font-size: 3rem; }
.text-4xl { font-size: 2.25rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }

.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.left-4 { left: 1rem; }

/* Width */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }

.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }

/* Shadow */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Line Clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Capitalize */
.capitalize {
  text-transform: capitalize;
}

/* Whitespace */
.whitespace-nowrap {
  white-space: nowrap;
}

.break-all {
  word-break: break-all;
}

/* Group Hover */
.group:hover .group-hover\:text-purple-300 {
  color: #d8b4fe;
}

/* Col Span */
.col-span-full {
  grid-column: 1 / -1;
}

/* Inline Block */
.inline-block {
  display: inline-block;
}

/* Responsive */
@media (min-width: 768px) {
  .md\:text-8xl { font-size: 6rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(147, 51, 234, 0.5);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(147, 51, 234, 0.7);
}
