/* CSS Variables */
:root {
    --primary-color: #0079ca;
    --secondary-color: #0079ca;
    --danger-color: #DC3545;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --info-color: #17A2B8;
    --light-color: #F8F9FA;
    --dark-color: #343A40;
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --border-color: #DEE2E6;
    --disabled-color: #E9ECEF;
    --background-light: #F6F7FE;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;

}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

.language-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.language-btn.active {
    background: var(--background-light);
    color: var(--text-primary);
}

.currency-selector {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.user-actions {
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: var(--background-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    margin-top: 20px
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    text-align: center;
    color: white;
    padding: 20px;
    align-items: center;
    justify-content: flex-start;
    width: 700px;
}

.hero-content-inner {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-cta {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.hero-cta:hover {
    background: #005795;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Urgency Banner */
.urgency-banner {
    background: var(--danger-color);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Event Details */
.event-details h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.meta-item i {
    color: var(--primary-color);
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffc107;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.description-section {
    margin-bottom: 40px;
}

.description-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.highlight-box {
    background: var(--background-light);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 20px;
}

.versions-grid {
    display: grid;
    gap: 20px;
}

.version-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.version-card h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.version-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.version-description {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.version-schedule {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

/* Ticket Selector */
.ticket-selector {
    position: relative;
    top: -510px;
    height: fit-content;
}

.ticket-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ticket-header {
    background: var(--background-light);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.ticket-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.ticket-price-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.ticket-body {
    padding: 20px;
}

.date-selector {
    margin-bottom: 20px;
}

.date-selector h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.calendar-day:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.calendar-day.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.time-slot {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.time-slot.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.ticket-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.add-to-cart {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background: #005795;
}

.add-to-cart:disabled {
    background: var(--disabled-color);
    cursor: not-allowed;
}

/* TICKET BASE - Fever Style */
.ticket {
  position: relative;
  display: flex;
  justify-content: space-between;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all .2s ease;
}

.ticket.active .separator{
  border-color: #0089e3;
}

.ticket.active .separator:before,
.ticket.active .separator:after{
  border-color: #0089e3;
}

.ticket.active .left {
  border-top: 1px solid #0089e3;
  border-bottom: 1px solid #0089e3;
  border-left: 1px solid #0089e3;
}

.ticket.active .right {
  background-color: #e6f4ff;
  border-top: 1px solid #0089e3;
  border-bottom: 1px solid #0089e3;
  border-right: 1px solid #0089e3;
}

.ticket.active .btn.minus {
  background-color: #e6f4ff;
}

/* LADO ESQUERDO */
.left {
  padding: 16px;
  width: 62%;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  border-radius: 14px;
}

.title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.link {
  color: #0089e3;
  font-size: 12px;
  margin: 6px 0;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.link:hover {
  color: #0089e3;
}

.ticket.disabled .link{
  color: var(--text-secondary);
}

.description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.description.show {
  max-height: 200px;
}

.description ul {
  margin-left: 16px;
  margin-top: 4px;
}

.description li {
  margin-bottom: 2px;
}

/* Fever Badge Style */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge.gray {
  background: var(--disabled-color);
  color: var(--text-secondary);
}

.badge i {
  font-size: 10px;
}

.price-section {
  margin-top: 8px;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.price-new {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
  margin-left: 6px;
}

/* LADO DIREITO */
.right {
  width: 38%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-radius: 14px;
}

/* CONTADOR - Fever Style */
.counter {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 3px 3px;
}

.btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  font-size: 30px;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.minus {
  background: var(--disabled-color);
  color: #343a40;
}

.ticket.active .btn.minus {
  background: #e6f4ff;
  color:#0089e3
}

.btn.plus {
  background: #e6f4ff;
  color: #0089e3;
}

.btn:hover:not(:disabled) {
  transform: scale(1.1);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.qty {
  font-weight: 600;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
  color: var(--text-primary);
}

/* DESABILITADO */
.ticket.disabled {
  opacity: 0.6;
  pointer-events: none;
  background: var(--light-color);
}

.ticket.disabled .right {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

/* ALERTA - Fever Style */
.alert {
  background: #e6f4ff;
  border: 1px solid #0089e3;
  color: #0089e3;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  margin: 12px 0;
  font-size: 14px;
  font-weight: 500;
}

/* BOTÃO FINAL - Fever Style */
.buy {
  width: 100%;
  background: #0089e3;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}

.buy:hover:not(:disabled) {
  background: #0089e3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0089e3;
}

.buy:disabled {
  background: #0089e3;
  color: #fff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* GROUP VALIDATION WARNING */
.group-warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: var(--warning-color);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
}

.separator {
    position: relative;
    grid-area: 1 / 2 / 1 / 3;
    border-right: 1px dashed var(--border-color);
}

.separator:before {
    top: 0;
    border-top-width: 0px!important;
    border-top-style: none!important;
    border-top-color: currentcolor!important;
    border-end-start-radius: 6.25rem;
    border-end-end-radius: 6.25rem;
}

.separator:after {
    bottom: 0;
    border-bottom-width: 0px!important;
    border-bottom-style: none!important;
    border-bottom-color: currentcolor!important;
    border-top-left-radius: 6.25rem;
    border-top-right-radius: 6.25rem;
}

.separator:before, .separator:after {
    position: absolute;
    content: " ";
    box-sizing: border-box;
    left: -.5rem;
    width: 1rem;
    height: .5rem;
    border: .0625rem solid var(--border-color);
    background-color: #fff;
}

/* Gallery */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews */
.reviews-section {
    margin-bottom: 60px;
}

.reviews-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

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

.review-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Venue Info */
.venue-section {
    background: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 60px;
}

.venue-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.venue-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .venue-details {
        grid-template-columns: 1fr;
    }
}

.venue-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.venue-address {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.venue-map {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    background: var(--disabled-color);
}

/* Similar Events */
.similar-section {
    margin-bottom: 60px;
}

.similar-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.similar-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

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

.similar-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.similar-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.similar-content {
    padding: 16px;
}

.similar-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.similar-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.similar-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.similar-rating .stars {
    color: #ffc107;
}

.similar-dates {
    font-size: 12px;
    color: var(--text-secondary);
}

.similar-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .time-slots {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .reviews-grid,
    .similar-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ticket {
    animation: fadeIn 0.3s ease forwards;
}

.ticket:nth-child(1) { animation-delay: 0.1s; }
.ticket:nth-child(2) { animation-delay: 0.2s; }
.ticket:nth-child(3) { animation-delay: 0.3s; }
.ticket:nth-child(4) { animation-delay: 0.4s; }
