/* ==== OURITEK Harmonized Palette (Coolors) ==== */
:root {
    --bg-start: #0f2027;
    --bg-end:   #2c5364;
    --primary-start: #667eea;
    --primary-end:   #764ba2;
    --accent: #ffd166;
    --danger: #ef476f;
    --text-light: #f1f1f1;
    --glass-bg: rgba(255,255,255,0.05);
    --success-start: #06d6a0;
--success-end:   #118ab2;
--warning:       #f9c74f;
}

/* Reset et base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
            min-height: 100vh;
            line-height: 1.6;
            color: #f1f1f1;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Glass Card Effect */
        .glass-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
        
    color: #f1f1f1;
}

        /* Header */
        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 1rem 0;
            margin-bottom: 2rem;
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary-start), var(--primary-end)); border-radius: 8px; display:flex; align-items:center; justify-content:center; color:white;}

        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-primary { background: linear-gradient(135deg, var(--primary-start), var(--primary-end)); color: var(--text-light); }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-link {
            background: transparent;
            color: white;
            text-decoration: none;
        }

        .cart-button {
            position: relative;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            border-radius: 12px;
            padding: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cart-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--danger);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            margin-bottom: 4rem;
            padding: 2rem 2rem;
        }

        .hero-content {
            padding: 3rem;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-gradient-text {
            background: linear-gradient(135deg, var(--success-start), var(--success-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Featured Events */
        .featured-events {
            
            margin-top: 1rem;
    margin-bottom: 4.5rem;
}

        .featured-title {
            color: white;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

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

        .featured-card {
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .featured-card:hover {
            transform: translateY(-5px);
        }

        .featured-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .featured-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }

        .featured-info {
            position: absolute;
            bottom: 1rem;
            left: 1rem;
            right: 1rem;
            color: white;
        }

        .featured-event-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .featured-event-details {
            opacity: 0.9;
        }

        /* Search Section */
        .search-section {
            margin-bottom: 2rem;
            padding: 2rem;
        }

        .search-form {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .search-input-group {
            position: relative;
            flex: 1;
            min-width: 300px;
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            color: rgba(255, 255, 255, 0.7);
        }

        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1rem;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .search-select {
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1rem;
            cursor: pointer;
        }

        .search-select option {
            background: #333;
            color: white;
        }

        /* Events Grid */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .event-card {
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .event-card:hover {
            transform: translateY(-5px);
        }

        .event-image {
            position: relative;
            height: 250px;
            overflow: hidden;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .event-image-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        }

        .event-featured-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--accent);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .event-image-info {
            position: absolute;
            bottom: 1rem;
            left: 1rem;
            right: 1rem;
            color: white;
        }

        .event-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .event-venue {
            opacity: 0.9;
        }

        .event-content {
            padding: 1.5rem;
        }

        .event-description {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 1.5rem;
        }

        .event-details {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .event-datetime {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .event-datetime-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.875rem;
        }

        .event-datetime-item svg {
            width: 16px;
            height: 16px;
        }

        .event-pricing {
            text-align: right;
        }

        .event-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 0.25rem;
        }

        .event-availability {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
        }

        .event-actions {
            display: flex;
            gap: 1rem;
        }

        .event-actions .btn {
            flex: 1;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 3rem;
            color: white;
        }

        .empty-state svg {
            width: 64px;
            height: 64px;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 1rem;
        }

        .modal-container {
            width: 100%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-content {
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            color: white;
            cursor: pointer;
            z-index: 10;
        }

        .modal-image {
            position: relative;
            height: 300px;
            overflow: hidden;
            border-radius: 16px 16px 0 0;
        }

        .modal-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-image-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }

        .modal-image-info {
            position: absolute;
            bottom: 2rem;
            left: 2rem;
            right: 2rem;
            color: white;
        }

        .modal-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .modal-venue {
            font-size: 1.125rem;
            opacity: 0.9;
        }

        .modal-body {
            padding: 2rem;
        }

        .modal-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .modal-info-section h3 {
            color: white;
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }

        .modal-info-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .modal-info-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .modal-info-item svg {
            width: 20px;
            height: 20px;
        }

        .modal-availability {
            color: rgba(255, 255, 255, 0.9);
        }

        .modal-price-row, .modal-seats-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .modal-price {
            color: var(--accent);
            font-weight: 700;
        }

        .modal-progress {
            background: rgba(255, 255, 255, 0.2);
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            margin-top: 1rem;
        }

        .modal-progress-bar {
            height: 100%;
            background: linear-gradient(135deg, var(--success-start), var(--success-end));
            transition: width 0.3s ease;
        }

        .modal-description {
            margin-bottom: 2rem;
        }

        .modal-description h3 {
            color: white;
            margin-bottom: 1rem;
        }

        .modal-description p {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
        }

        .modal-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0.5rem;
        }

        .quantity-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 8px;
            width: 32px;
            height: 32px;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .quantity-value {
            color: white;
            font-weight: 600;
            padding: 0 1rem;
        }

        /* Cart Sidebar */
        .cart-sidebar {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: none;
        }

        .cart-sidebar.open {
            display: block;
        }

        .cart-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
        }

        .cart-panel {
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            max-width: 500px;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(10px);
            border-left: 1px solid rgba(255, 255, 255, 0.18);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .cart-title {
            color: white;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cart-title svg {
            width: 24px;
            height: 24px;
        }

        .cart-close {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
        }

        .cart-body {
            flex: 1;
            padding: 1.5rem;
        }

        .cart-empty {
            text-align: center;
            color: white;
            padding: 2rem;
        }

        .cart-empty svg {
            width: 48px;
            height: 48px;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .cart-items {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .cart-item {
            padding: 1rem;
        }

        .cart-item-content {
            display: flex;
            gap: 1rem;
        }

        .cart-item-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
        }

        .cart-item-details {
            flex: 1;
        }

        .cart-item-title {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .cart-item-venue, .cart-item-date {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
        }

        .cart-item-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.75rem;
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cart-quantity-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 4px;
            width: 24px;
            height: 24px;
            color: white;
            cursor: pointer;
            font-size: 0.875rem;
        }

        .cart-quantity-value {
            color: white;
            font-weight: 600;
            min-width: 20px;
            text-align: center;
        }

        .cart-item-price-section {
            text-align: right;
        }

        .cart-item-price {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .cart-item-remove {
            background: none;
            border: none;
            color: var(--danger);
            cursor: pointer;
            font-size: 0.75rem;
        }

        .cart-footer {
            padding: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            color: white;
        }

        .cart-total-label {
            font-size: 1.25rem;
        }

        .cart-total-amount {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
        }

        .cart-actions {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .cart-clear {
            background: none;
            border: none;
            color: var(--danger);
            cursor: pointer;
            padding: 0.5rem;
        }

        /* Footer */
        .footer {
            margin-top: 4rem;
            padding: 3rem 2rem 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            color: white;
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: background 0.3s ease;
        }

        .footer-social a:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.8);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .search-form {
                flex-direction: column;
            }
            
            .search-input-group {
                min-width: auto;
            }
            
            .events-grid {
                grid-template-columns: 1fr;
            }
            
            .cart-panel {
                max-width: 100%;
            }
            
            .modal-actions {
                flex-direction: column;
                align-items: stretch;
            }
        }

        /* Utilitaires */
        .hidden {
            display: none !important;
        }

/* ===== Auth (Login / Signup) ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.auth-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}
.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Override gradient text to plain white for hero */
.hero-gradient-text {
    background: none !important;
    -webkit-text-fill-color: var(--text-color, #f1f1f1) !important;
}
/* Larger hero title */
.hero-title {
    font-size: 4.5rem;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

/* ===== Partners Section ===== */
.partners-section {
    margin: 4rem 0;
    text-align: center;
}
.partners-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}
.partnerSwiper {
    padding: 1rem 0 3rem;
}
.partnerSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.partnerSwiper img {
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.partnerSwiper img:hover {
    opacity: 1;
    filter: none;
}
.partner-nav {
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
}
.partner-pagination .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.4;
}
.partner-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* ===== Burger Button ===== */
.burger-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}
/* Language select */
.lang-select {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}
/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
}
.mobile-menu .mobile-link {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}
/* Responsive: show burger on small screens, hide header-actions */
@media (max-width: 768px) {
    .burger-btn {
        display: inline-flex;
    }
    .hidden-desktop {
        display: inline-flex;
    }
    .header-actions {
        display: none;
    }
}

.event-price,
.modal-price,
.cart-total-amount {
    color: var(--accent) !important;
}
.event-featured-badge,
.cart-badge {
    background: var(--accent) !important;
    color: #000;
}