/* ==========================================================================
   TICKET2EVENT - MAIN STYLESHEET
   ========================================================================== 
   
   Table of Contents:
   1. CSS Custom Properties & Design Tokens
   2. Theme Variations - Dark Mode
   3. Manual Theme Classes
   4. Font Face Declarations
   5. Base Styles & Reset
   6. Typography
   7. Buttons & Interactive Elements
   8. Cards & Components
   9. Forms & Input Fields
   10. Utility Classes
   11. Accessibility
   12. Custom Link Styles
   13. Header & Navigation
   14. Main Content Sections
   15. Movie Cards & Grids
   16. Events & Filters
   17. Call to Action Sections
   18. Footer
   19. Events & Specialized Components
   20. Authentication Pages
   21. Responsive Design
   
   Performance Notes:
   - CSS custom properties enable consistent theming
   - Logical organization reduces specificity conflicts
   - Utility classes promote reusability
   - Dark mode support via prefers-color-scheme
   
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES & DESIGN TOKENS
   ========================================================================== */

:root {
  /* =====================
     PRIMITIVE COLOR TOKENS
     ===================== */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB values for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* =========================
     BACKGROUND COLOR PALETTE
     ========================= */
  --color-bg-1: rgba(59, 130, 246, 0.08);   /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08);   /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08);    /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08);    /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08);   /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08);   /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08);   /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08);    /* Light cyan */

  /* =========================
     SEMANTIC COLOR TOKENS
     ========================= */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.15);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* ================
     TYPOGRAPHY TOKENS
     ================ */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* =============
     SPACING TOKENS
     ============= */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* ===================
     BORDER RADIUS TOKENS
     =================== */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* ==============
     SHADOW TOKENS
     ============== */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* ================
     ANIMATION TOKENS
     ================ */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* ==============
     LAYOUT TOKENS
     ============== */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1380px;

  /* ==================
     COMMON STYLE PATTERNS
     ================== */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ==========================================================================
   THEME VARIATIONS - DARK MODE
   ========================================================================== */

/* Automatic dark mode based on system preference */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15);    /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15);     /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15);    /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15);    /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15);   /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15);    /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15);    /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15);    /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);
    
    /* Updated patterns for dark mode */
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Manual dark mode via data attribute */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Background color tokens (Dark Mode) */
  --color-bg-1: rgba(29, 78, 216, 0.15);    /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15);     /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15);    /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15);    /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15);   /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15);    /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15);    /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15);    /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);
  
  /* Updated patterns for dark mode */
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

/* Manual light mode via data attribute */
[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* ==========================================================================
   FONT FACE DECLARATIONS
   ========================================================================== */

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */

html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code, pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* ==========================================================================
   FORM ELEMENTS & CONTROLS
   ========================================================================== */

.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

.form-select {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
  border-radius: var(--radius-base);
}

.form-group {
  margin-bottom: var(--space-16);
}

.form-switch .form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

/* Dark mode select caret handling */
@media (prefers-color-scheme: dark) {
  .form-select {
    background-image: var(--select-caret-dark);
  }
}

[data-color-scheme="dark"] .form-select {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] .form-select {
  background-image: var(--select-caret-light);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */

.book-now-btn {
  background-color: #f84464;
  border-color: #f84464;
  color: white;
  padding: 0.75rem 2rem;

  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-standard);
}

.book-now-btn:hover {
  background-color: #e63757;
  border-color: #e63757;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248, 68, 100, 0.3);
}

.btn-grad {
  border: none;
  color: white;
  background: linear-gradient(90deg, #df2183, #aa35dc);
}

.btn-grad.active,
.btn-grad:hover,
.btn-grad:focus {
  color: white;
  background: linear-gradient(90deg, #aa35dc, #df2183);
}

.load-more-btn {
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
}

.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  background: #6c757d;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn.facebook { background: #3b5998; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.telegram { background: #0088cc; }
.social-btn.reddit { background: #ff4500; }
.social-btn.email { background: #6c757d; }
.social-btn.pinterest { background: #e60023; }

/* ==========================================================================
   CARDS & COMPONENTS
   ========================================================================== */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-card {
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  border: 1px solid #e9ecef;
  background-color: #e9ecef;
  transition: all var(--duration-normal) var(--ease-standard);
  height: 100%;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.preference-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.preference-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.preference-card.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

/* ==========================================================================
   STATUS INDICATORS & BADGES
   ========================================================================== */

.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(var(--color-success-rgb, 33, 128, 141), var(--status-bg-opacity));
  color: var(--color-success);
  border: 1px solid rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(var(--color-error-rgb, 192, 21, 47), var(--status-bg-opacity));
  color: var(--color-error);
  border: 1px solid rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-bg-opacity));
  color: var(--color-warning);
  border: 1px solid rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(var(--color-info-rgb, 98, 108, 113), var(--status-bg-opacity));
  color: var(--color-info);
  border: 1px solid rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

.promoted-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #28a745;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container { max-width: var(--container-sm); }
}

@media (min-width: 768px) {
  .container { max-width: var(--container-md); }
}

@media (min-width: 1024px) {
  .container { max-width: var(--container-lg); }
}

@media (min-width: 1280px) {
  .container { max-width: var(--container-xl); }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Display utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.block { display: block; }
.hidden { display: none; }

/* Alignment utilities */
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap utilities */
.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }
.gap-16 { gap: var(--space-16); }

/* Margin utilities */
.m-0 { margin: 0; }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }
.mx-8 { margin-left: var(--space-8); margin-right: var(--space-8); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }

/* Padding utilities */
.p-0 { padding: 0; }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.px-16 { padding-left: var(--space-16); padding-right: var(--space-16); }

/* Size utilities */
.w-0 { width: 0% !important; }
.logo-size { width: 32px; height: 32px; }
.step-circle { width: 40px; height: 40px; }

/* Opacity utilities */
.opacity-75 {
    opacity: 0.75;
}

/* Border utilities */
.border-dashed-custom {
  border-style: dashed !important;
  border-color: #dee2e6 !important;
  min-height: 120px;
}

.border-end {
    border-right: 1px solid #dee2e6;
}

/* Min height utilities */
.min-vh-25 { min-height: 120px !important; }

/* Progress utilities */
.progress-custom { height: 4px; }

.progress {
    height: 8px;
}

/* Background gradient utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

/* Card utilities */
.card-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Navigation utilities */
.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Table utilities */
.table-responsive {
    border-radius: 0.375rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.table-warning {
    --bs-table-bg: #fff3cd;
}

/* List group utilities */
.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* ==========================================================================
   CUSTOM LINK STYLES
   ========================================================================== */

.link {
  color: #dc3545;
}

.link:hover {
  color: #c82333;
  text-decoration: underline;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Top Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, #dc3545, #e91e63);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 400;
}

/* City Selection Modal */
.city-item-group {
  cursor: pointer;
}

.city-links-dropdown a {
  display: block;
  text-align: left;
}

.city-item-group:hover .city-links-dropdown {
  display: block !important;
}

#toggleCitiesBtn .show-text {
  display: none;
}

#toggleCitiesBtn:not(.collapsed) .hide-text {
  display: inline;
}

#toggleCitiesBtn:not(.collapsed) .show-text {
  display: none;
}

#toggleCitiesBtn.collapsed .hide-text {
  display: none;
}

#toggleCitiesBtn.collapsed .show-text {
  display: inline;
}

.promo-text {
  font-size: 13px;
  line-height: 1.4;
}

.promo-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-standard);
}

.promo-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-1px);
}

/* Main Header */
.main-header {
  z-index: 1021;
  background-color: white;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-book { color: #333; }
.brand-my { color: #dc3545; }
.brand-show { color: #333; }

/* Search Container */
.search-container {
  max-width: 650px;
  margin: 0 auto;
}

.search-input {
  border-radius: 4px;
  padding: 9px 15px;
  font-size: 14px;
  background-color: #f5f6f7;
  transition: all var(--duration-fast) var(--ease-standard);
  color: #333;
}

.search-input:focus {
  border-color: #dc3545;
  background-color: white;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
  color: #333;
  outline: none;
}

.search-input::placeholder {
  color: #6c757d;
  font-size: 14px;
}

.input-group-text {
  background-color: #f5f6f7;
  border: 1px solid #e0e0e0;
}

.input-group {
  border-radius: 4px;
  border: 1px solid #efefef;
}

.input-group.focused .input-group-text {
  border-color: #dc3545;
  background-color: white;
}

/* Location Dropdown */
.form-control.search-city {
  display: inline-block;
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
}

.form-control.search-city:focus {
  outline: none;
  box-shadow: none;
  border-color: rgba(94, 82, 64, 0.2);
}

.location-btn {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
}

.location-btn:hover {
  color: #dc3545;
}

.location-btn:focus {
  box-shadow: none;
}

/* Mobile Menu Button */
.btn-mobile-menu {
  color: #333;
  font-size: 18px;
  border: none;
  background: none;
}

.btn-mobile-menu:hover {
  color: #dc3545;
}

/* Secondary Navigation */
.secondary-nav {
  padding: 0;
  background-color: white;
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.nav-links-left,
.nav-links-right {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.nav-link-item {
  color: #333;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  transition: all 0.4s ease;
  border-bottom: 1px solid var(--color-card-border);
}

.nav-link-item:hover,
.nav-link-item.active {
  color: #dc3545 !important;
  background-color: #efefef;
  border-bottom-color: #dc3545;
}

.nav-link-item i {
  width: 1.4rem;
  text-align: center;
}

.sidebar-link {
  transition: all 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: #dc3545 !important;
  border-bottom-color: #dc3545;
  transform: scale(1.05);
}

.sidebar-link:hover {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white !important;
  transform: translateX(5px);
}

.sidebar-link.active {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white !important;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border: none;
  background: none;
  padding: 8px 16px;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: #e9ecef;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mobile-nav-item {
  background-color: white;
  color: #333;
  text-decoration: none;
  padding: 12px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease-standard);
}

.mobile-nav-item:hover {
  background-color: #dc3545;
  color: white;
}

.mobile-search {
  background-color: white;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

/* Offcanvas Mobile Menu */
.offcanvas {
  width: 100%;
  max-width: 350px;
}

.offcanvas-header {
  border-bottom: 1px solid #e9ecef;
}

.offcanvas-body {
  padding: 0;
}

.mobile-menu-location {
  padding: 0;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-head,
.menu-link {
  color: #333;
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  display: block;
  border-bottom: 1px solid #ddd;
  transition: color var(--duration-fast) var(--ease-standard);
}

.menu-link:hover {
  color: #dc3545;
  border-color: #dc3545;
  background-color: #efefef;
}

.menu-head {
  font-size: small;
  line-height: 14px;
  padding: 0.7rem 1.5rem;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dropdown Menus */
.dropdown-menu {
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-base);
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 14px;
  transition: all var(--duration-fast) var(--ease-standard);
}

.dropdown-item:hover {
  background-color: #dc3545;
  color: white;
}

/* ==========================================================================
   SLIDERS & CAROUSELS
   ========================================================================== */

.slick-slider img {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 5px 2.5px;
}

.artist-slider-item {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.artist-slider-item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

/* ==========================================================================
   MAIN CONTENT SECTIONS
   ========================================================================== */

.main-content {
  padding: 3rem 0;
}

.movie-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin: 0;
}

.see-all-link {
  color: #f84464;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-md);
  transition: color var(--duration-fast) var(--ease-standard);
}

.see-all-link:hover {
  color: #e63757;
  text-decoration: underline;
}

/* ==========================================================================
   MOVIE CARDS & GRIDS
   ========================================================================== */

.movie-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 0 0.5rem;
}

.movie-card {
  background-color: #EEEEEE;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-standard);
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out forwards;
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border-color: #f84464;
}

.cat.movie-poster {
  aspect-ratio: 1;
}

.ss .movie-card {
  margin: 16px 8px;
}

.movie-poster {
  width: 100%;
  aspect-ratio: 2/3;
  background-color: #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  position: relative;
  overflow: hidden;
}

.movie-poster::before {
  content: '🎬';
  font-size: 3rem;
  opacity: 0.3;
}

.movie-info {
  padding: 1rem;
}

.movie-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
  line-height: var(--line-height-tight);
}

.movie-genre {
  font-size: var(--font-size-sm);
  margin-bottom: 0.5rem;
}

.movie-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star-icon {
  color: #ffc107;
  font-size: var(--font-size-sm);
}

.rating-text {
  font-size: var(--font-size-sm);
  color: #ffc107;
  font-weight: var(--font-weight-medium);
}

/* Movie card loading animations */
.movie-card:nth-child(1) { animation-delay: 0.1s; }
.movie-card:nth-child(2) { animation-delay: 0.2s; }
.movie-card:nth-child(3) { animation-delay: 0.3s; }
.movie-card:nth-child(4) { animation-delay: 0.4s; }
.movie-card:nth-child(5) { animation-delay: 0.5s; }
.movie-card:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================================================
   EVENTS & FILTERS
   ========================================================================== */

.premium-section {
  margin-bottom: 20px;
  padding: 30px 0 20px 0;
  background-color: rgb(43, 49, 72);
}

/* ==========================================================================
   CALL TO ACTION SECTIONS
   ========================================================================== */

.cta-section {
  background-color: rgb(64, 64, 67);
  padding: 60px 0;
}

.cta-icon {
  width: 60px;
  height: 60px;
  background-color: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.cta-icon i {
  color: white;
  font-size: 24px;
}

.cta-title {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-description {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-form {
  margin-top: 20px;
}

.newsletter-form .form-control {
  border-radius: 4px 0 0 4px;
  border-right: none;
  color: #333;
  background-color: white;
}

.newsletter-form .form-control:focus {
  color: #333;
  background-color: white;
  border-color: #dc3545;
  box-shadow: none;
  outline: none;
}

.newsletter-form .form-control::placeholder {
  color: #6c757d;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background-color: #1a1a1a;
  color: white;
  margin-top: 0;
}

.footer-top {
  padding: 50px 0 30px 0;
  border-bottom: 1px solid #333;
}

.footer-logo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-standard);
}

.social-link:hover {
  background-color: #dc3545;
  color: white;
  transform: translateY(-2px);
}

.footer-content {
  padding: 40px 0;
}

.footer-heading {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--duration-fast) var(--ease-standard);
}

.footer-links a:hover {
  color: #dc3545;
}

.footer-bottom {
  background-color: #111;
  padding: 30px 0;
  border-top: 1px solid #333;
}

.copyright-text {
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.legal-text {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   EVENTS & SPECIALIZED COMPONENTS
   ========================================================================== */

.filters-sidebar {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  position: sticky;
  top: 70px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  border-bottom: 1px solid var(--color-card-border);
}

.filters-header h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin: 0;
}

.filter-section {
  padding: 0.6rem 1.0rem;
  border-bottom: 1px solid var(--color-card-border);
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

.filter-header h5 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  margin: 0;
}

.filter-header i {
  transition: transform var(--duration-fast) var(--ease-standard);
  color: var(--color-text-secondary);
}

.quick-pills,
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.category-pill {
  background-color: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.75rem;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
}

.category-pill:hover {
  background-color: var(--color-secondary-hover);
}

.category-pill.active {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  cursor: pointer;
  font-size: var(--font-size-md);
}

.filter-checkbox input {
  margin-right: 0.5rem;
}

.filter-checkbox:hover {
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.browse-venues {
  padding: 1.0rem;
}

/* Events Hero Banner */
.events-hero-banner {
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.hero-background {
  background: linear-gradient(135deg,
      rgba(220, 53, 69, 0.9) 0%,
      rgba(233, 30, 99, 0.9) 50%,
      rgba(156, 39, 176, 0.9) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(45deg, #fff, #e9ecef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  flex: 0 0 300px;
  height: 200px;
  position: relative;
  margin-left: 2rem;
}

.floating-icons {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
  animation-delay: var(--delay);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-icon:nth-child(1) { top: 10%; left: 20%; }
.floating-icon:nth-child(2) { top: 60%; left: 10%; }
.floating-icon:nth-child(3) { top: 20%; right: 20%; }
.floating-icon:nth-child(4) { bottom: 20%; right: 10%; }
.floating-icon:nth-child(5) { top: 50%; left: 50%; transform: translateX(-50%); }

.list-event {
  padding: 2rem 0;
  background: linear-gradient(135deg, #dc3545, #e91e63);
}

.page-title,
.events-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.5rem;
}

.events-count {
  font-size: var(--font-size-md);
}

.sort-dropdown select {
  min-width: 200px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  gap: 1.5rem;
}

.event-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  transition: all var(--duration-normal) var(--ease-standard);
  border: 1px solid var(--color-card-border);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
}

.event-poster {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #dc3545, #e91e63);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  position: relative;
}

.poster-placeholder {
  opacity: 0.7;
}

.event-info {
  padding: 1rem;
}

.event-date {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.event-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
  line-height: var(--line-height-tight);
}

.event-venue {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.event-category {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.event-price {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: #dc3545;
}

.event-detail i {
  width: 0.8rem;
  text-align: center;
  margin-right: 0.5rem;
}

.btn-book-container {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  padding: 1rem;
  background: #fff;
}

.img-event {
  aspect-ratio: 2/1;
}

/* ==========================================================================
   NOTIFICATIONS & INTERACTIVE ELEMENTS
   ========================================================================== */

.notification-item {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.notification-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.notification-item.unread {
  border-left: 4px solid #667eea !important;
  background: rgba(102, 126, 234, 0.05);
}

.notification-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  aspect-ratio: 1;
}

.booking-avatar { background: linear-gradient(45deg, #28a745, #20c997); }
.offer-avatar { background: linear-gradient(45deg, #ffc107, #fd7e14); }
.reminder-avatar { background: linear-gradient(45deg, #17a2b8, #6f42c1); }
.system-avatar { background: linear-gradient(45deg, #6c757d, #495057); }
.promo-avatar { background: linear-gradient(45deg, #dc3545, #e83e8c); }

.time-divider {
  position: relative;
  text-align: center;
  margin: 1rem 0;
}

.time-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dee2e6;
}

.time-divider span {
  padding: 0 1rem;
  color: #6c757d;
  font-weight: 500;
  position: relative;
  background: white;
}

/* ==========================================================================
   AUTHENTICATION PAGES
   ========================================================================== */

body.signin-bg {
  min-height: 100vh;
  background: linear-gradient(120deg, #ff416c 0%, #ff4b2b 100%), url('./assets/slider/1.jpg') center center/cover no-repeat;
  background-blend-mode: overlay;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signin-card {
  max-width: 1000px;
  overflow: hidden;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.signin-side {
  background: linear-gradient(120deg, #ff416c 0%, #ff4b2b 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.signin-form {
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  min-height: 100%;
  border-left: 1px solid rgba(255, 75, 43, 0.08);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1199.98px) {
  .movie-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 1023.98px) {
  .nav-link-item {
    padding: 10px;
  }
  
  .filters-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 991.98px) {
  .movie-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .social-media {
    gap: 15px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 767.98px) {
  .promo-banner {
    padding: 6px 0;
  }

  .promo-text {
    font-size: 12px;
  }

  .promo-btn {
    font-size: 11px;
    padding: 3px 8px;
  }

  .book-now-btn {
    padding: 0.625rem 1.5rem;
    font-size: var(--font-size-md);
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
  }

  .movie-info {
    padding: 0.75rem;
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .cta-section {
    padding: 40px 0;
  }

  .cta-card {
    padding: 30px 15px;
  }

  .cta-icon {
    width: 50px;
    height: 50px;
  }

  .cta-icon i {
    font-size: 20px;
  }

  .footer-top {
    padding: 30px 0 20px 0;
  }

  .footer-logo {
    font-size: 28px;
  }

  .footer-content {
    padding: 30px 0;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .page-title,
  .events-title {
    font-size: var(--font-size-2xl);
  }

  .events-grid {
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  }

  .event-image {
    width: 120px;
    flex-shrink: 0;
  }

  .event-poster {
    height: 100%;
    font-size: 1.5rem;
  }

  .event-info {
    padding: 0.75rem;
    flex: 1;
  }
}

@media (max-width: 575.98px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .main-content {
    padding: 2rem 0;
  }

  .movie-section {
    margin-bottom: 2rem;
  }

  .promo-banner .row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .promo-banner .col-lg-10,
  .promo-banner .col-lg-2 {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .social-media {
    gap: 12px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link i {
    font-size: 14px;
  }

  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .filters-sidebar {
    padding: 1rem;
  }

  .sort-dropdown select {
    min-width: auto;
    width: 100%;
  }
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */