/* Base styles */
:root {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 262 83.3% 57.8%;
    --primary-foreground: 210 40% 98%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 24 75.6% 57.5%;
    --radius: 0.5rem;
  }
  
  /* Reset */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(240, 10%, 3.9%);
    color: hsl(0, 0%, 98%);
    line-height: 1.5;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  /* Utilities */
  .container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .flex {
    display: flex;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .items-center {
    align-items: center;
  }
  
  .justify-center {
    justify-content: center;
  }
  
  .justify-between {
    justify-between: space-between;
  }
  
  .gap-2 {
    gap: 0.5rem;
  }
  
  .gap-4 {
    gap: 1rem;
  }
  
  .gap-6 {
    gap: 1.5rem;
  }
  
  .text-center {
    text-align: center;
  }
  
  .font-bold {
    font-weight: 700;
  }
  
  .text-sm {
    font-size: 0.875rem;
  }
  
  .text-xl {
    font-size: 1.25rem;
  }
  
  .text-2xl {
    font-size: 1.5rem;
  }
  
  .text-3xl {
    font-size: 1.875rem;
  }
  
  .text-4xl {
    font-size: 2.25rem;
  }
  
  .text-5xl {
    font-size: 3rem;
  }
  
  .text-6xl {
    font-size: 3.75rem;
  }
  
  .text-lg {
    font-size: 1.125rem;
  }
  
  .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-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  
  .my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .mb-4 {
    margin-bottom: 1rem;
  }
  
  .mb-8 {
    margin-bottom: 2rem;
  }
  
  .mt-8 {
    margin-top: 2rem;
  }
  
  .mt-12 {
    margin-top: 3rem;
  }
  
  .mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  
  .p-0 {
    padding: 0;
  }
  
  .p-3 {
    padding: 0.75rem;
  }
  
  .p-4 {
    padding: 1rem;
  }
  
  .rounded-lg {
    border-radius: 0.5rem;
  }
  
  .rounded-full {
    border-radius: 9999px;
  }
  
  .border {
    border-width: 1px;
    border-style: solid;
  }
  
  .border-t {
    border-top-width: 1px;
    border-top-style: solid;
  }
  
  .border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
  }
  
  .border-t-2 {
    border-top-width: 2px;
    border-top-style: solid;
  }
  
  .border-gray-800 {
    border-color: rgb(31, 41, 55);
  }
  
  .border-game-orange {
    border-color: #F97316;
  }
  
  .bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .bg-black\/80 {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .bg-black\/95 {
    background-color: rgba(0, 0, 0, 0.95);
  }
  
  .bg-game-purple\/10 {
    background-color: rgba(139, 92, 246, 0.1);
  }
  
  .bg-gray-900 {
    background-color: rgb(17, 24, 39);
  }
  
  .text-white {
    color: white;
  }
  
  .text-gray-300 {
    color: rgb(209, 213, 219);
  }
  
  .text-gray-400 {
    color: rgb(156, 163, 175);
  }
  
  .text-game-orange {
    color: #F97316;
  }
  
  .text-game-purple {
    color: #8B5CF6;
  }
  
  .border-game-purple\/30 {
    border-color: rgba(139, 92, 246, 0.3);
  }
  
  .min-h-screen {
    min-height: 100vh;
  }
  
  .w-full {
    width: 100%;
  }
  
  .h-full {
    height: 100%;
  }
  
  .relative {
    position: relative;
  }
  
  .absolute {
    position: absolute;
  }
  
  .fixed {
    position: fixed;
  }
  
  .sticky {
    position: sticky;
  }
  
  .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .top-0 {
    top: 0;
  }
  
  .bottom-0 {
    bottom: 0;
  }
  
  .left-0 {
    left: 0;
  }
  
  .right-0 {
    right: 0;
  }
  
  .top-4 {
    top: 1rem;
  }
  
  .right-4 {
    right: 1rem;
  }
  
  .z-0 {
    z-index: 0;
  }
  
  .z-10 {
    z-index: 10;
  }
  
  .z-50 {
    z-index: 50;
  }
  
  .overflow-hidden {
    overflow: hidden;
  }
  
  .backdrop-blur-sm {
    backdrop-filter: blur(4px);
  }
  
  .max-w-2xl {
    max-width: 42rem;
  }
  
  .max-w-3xl {
    max-width: 48rem;
  }
  
  .transition-colors {
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .duration-300 {
    transition-duration: 300ms;
  }
  
  .translate-y-full {
    transform: translateY(100%);
  }
  
  .hidden {
    display: none;
  }
  
  .inline-flex {
    display: inline-flex;
  }
  
  .uppercase {
    text-transform: uppercase;
  }
  
  /* Custom Components */
  .bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
  }
  
  .bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
  }
  
  .from-gray-900 {
    --tw-gradient-stops: rgb(17, 24, 39), rgb(0, 0, 0);
  }
  
  .from-background {
    --tw-gradient-stops: hsl(240, 10%, 3.9%), transparent;
  }
  
  .to-black {
    --tw-gradient-stops: var(--tw-gradient-from), rgb(0, 0, 0);
  }
  
  .to-transparent {
    --tw-gradient-stops: var(--tw-gradient-from), transparent;
  }
  
  .text-gradient {
    background: linear-gradient(90deg, #8B5CF6 0%, #F97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .game-button {
    background: linear-gradient(90deg, #8B5CF6 0%, #F97316 100%);
    transition: all 0.3s ease;
  }
  
  .game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.5);
  }
  
  .game-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .hover\:text-game-purple:hover {
    color: #8B5CF6;
  }
  
  .hover\:text-gray-300:hover {
    color: rgb(209, 213, 219);
  }
  
  .animate-float {
    animation: float 3s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  /* Account card styles */
  .game-card {
    position: relative;
    overflow: hidden;
    border: 2px solid #1f2937;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
    border-color: #374151;
  }
  
  .game-card.selected {
    border-color: #F97316;
    box-shadow: 0 0 0 2px #F97316;
  }
  
  .game-card .aspect-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
  }
  
  .game-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .game-card:hover img {
    transform: scale(1.05);
  }
  
  .game-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  }
  
  .game-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
  }
  
  .game-card .badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #8B5CF6;
    color: white;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
  }
  
  .game-card .badge:hover {
    background-color: rgba(139, 92, 246, 0.8);
  }
  
  .game-card .selected-indicator {
    position: absolute;
    inset: 0;
    background-color: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 2s infinite;
  }
  
  .game-card .selected-badge {
    background-color: #F97316;
    color: black;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    font-size: 0.875rem;
  }
  
  .badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding: 0.75rem;
    background-color: rgb(17, 24, 39);
  }
  
  @keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }
  
  /* Grid */
  .grid {
    display: grid;
  }
  
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  /* Media queries */
  @media (min-width: 640px) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (min-width: 768px) {
    .md\:text-2xl {
      font-size: 1.5rem;
    }
    
    .md\:text-4xl {
      font-size: 2.25rem;
    }
    
    .md\:text-5xl {
      font-size: 3rem;
    }
    
    .md\:py-24 {
      padding-top: 6rem;
      padding-bottom: 6rem;
    }
  }
  
  @media (min-width: 1024px) {
    .lg\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:text-6xl {
      font-size: 3.75rem;
    }
  }
  
  @media (min-width: 1280px) {
    .xl\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  
  /* Modal styles */
  .modal-show {
    transform: translateY(0) !important;
  }
  
  /* Object fit */
  .object-cover {
    object-fit: cover;
  }
  
  .object-contain {
    object-fit: contain;
  }
  
  button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
  }
  
  button:focus {
    outline: none;
  }