* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    background: #0f0f0f;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 600;
    position: relative;
}

.gradient-text {
    background: linear-gradient(45deg, #e74c3c, #3498db, #2ecc71, #e74c3c);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 4s ease infinite;
}

nav.nav-menu ul {
    list-style: none;
    display: flex;
    gap: clamp(15px, 3vw, 30px);
}

nav.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: color 0.3s;
}

nav.nav-menu ul li a:hover,
nav.nav-menu ul li a:focus {
    color: #e74c3c;
    outline: none;
}

/* Estilos do Botão Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5);
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease-in;
}

.btn {
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    display: inline-block;
}

.btn:hover,
.btn:focus {
    background: #c0392b;
    transform: translateY(-3px);
    outline: none;
}

/* Eventos Section */
.eventos {
    padding: clamp(40px, 10vw, 80px) 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.2), rgba(26, 26, 26, 0.8));
    position: relative;
}

.eventos h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: clamp(30px, 5vw, 50px);
    background: linear-gradient(45deg, #e74c3c, #3498db, #2ecc71, #e74c3c);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 4s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 300px), 1fr));
    gap: clamp(20px, 3vw, 30px);
}

.evento-card {
    background: #2c2c2c;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
}

.evento-card:hover,
.evento-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.evento-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e74c3c" stroke-width="2"><path d="M11 2L5 12h6l-6 10 16-12h-6l6-10z"/></svg>') no-repeat center;
    background-size: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.evento-card:hover::after {
    opacity: 1;
}

.evento-card img {
    width: 100%;
    height: clamp(150px, 25vw, 200px);
    object-fit: cover;
    display: block;
}

.evento-info {
    padding: clamp(15px, 2vw, 20px);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.evento-info h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 15px;
}

.evento-info p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 0;
}

.evento-info p span {
    color: #e74c3c;
    font-weight: 600;
}

.btn-comprar,
.btn-saiba-mais {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-saiba-mais {
    background: #e74c3c;
    margin-top: 10px;
}

.btn-comprar::before,
.btn-saiba-mais::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-comprar:hover::before,
.btn-saiba-mais:hover::before {
    width: 200%;
    height: 200%;
}

.btn-comprar:hover,
.btn-comprar:focus,
.btn-saiba-mais:hover,
.btn-saiba-mais:focus {
    background: #2980b9;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    outline: none;
}

.btn-saiba-mais:hover,
.btn-saiba-mais:focus {
    background: #c0392b;
}

/* Modal de Detalhes */
.detalhes-content {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    padding: clamp(20px, 3vw, 30px);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    animation: zoomIn 0.5s ease forwards;
    border: 2px solid #e74c3c;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.detalhes-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e74c3c;
}

.detalhes-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin: 0;
    background: linear-gradient(45deg, #e74c3c, #3498db, #2ecc71, #e74c3c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.detalhes-imagem {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.7s ease forwards;
    transition: transform 0.3s ease;
}

.detalhes-imagem:hover {
    transform: scale(1.05);
}

.detalhes-info {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.info-item:nth-child(1) { --order: 1; }
.info-item:nth-child(2) { --order: 2; }
.info-item:nth-child(3) { --order: 3; }
.info-item:nth-child(4) { --order: 4; }
.info-item:nth-child(5) { --order: 5; }
.info-item:nth-child(6) { --order: 6; }

.info-item:hover {
    transform: translateX(10px);
    background: rgba(231, 76, 60, 0.1);
}

.info-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #e74c3c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #fff;
    font-weight: 400;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.detalhes-btn {
    background: linear-gradient(45deg, #e74c3c, #3498db);
    padding: 12px 30px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.detalhes-btn:hover,
.detalhes-btn:focus {
    background: linear-gradient(45deg, #c0392b, #2980b9);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.6);
    outline: none;
}

.detalhes-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
}

.detalhes-btn:hover::before {
    width: 200%;
    height: 200%;
}

/* Animações */
@keyframes zoomIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-20px); }
}

/* Modal Geral */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #2c2c2c;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.5s ease;
}

.modal-content-with-image {
    display: flex;
    background: #2c2c2c;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    overflow: hidden;
    border: 2px solid #e74c3c;
}

.modal-image {
    width: clamp(150px, 20vw, 200px);
    background: #1a1a1a;
    flex-shrink: 0;
}

.ticket-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-form-content {
    padding: clamp(20px, 3vw, 30px);
    flex: 1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s, transform 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #e74c3c;
    transform: rotate(90deg);
    outline: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 5px;
    color: #e74c3c;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #3a3a3a;
    color: #fff;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: background 0.3s;
}

.form-group input:focus {
    background: #4a4a4a;
    outline: 2px solid #e74c3c;
}

.form-group p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: right;
}

/* Footer */
footer {
    background: #0f0f0f;
    padding: clamp(15px, 2vw, 20px) 0;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Custom Alert */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.custom-alert.hidden {
    display: none;
}

.custom-alert-content {
    background: #1a1a1a;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    border: 2px solid #e74c3c;
    position: relative;
    animation: slideIn 0.5s ease forwards;
}

.alert-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.alert-icon {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #e74c3c;
    margin-right: 15px;
    animation: pulse 1.5s infinite;
}

.alert-header h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #e74c3c;
}

.alert-body {
    position: relative;
}

.alert-body p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #fff;
    line-height: 1.5;
}

.alert-body p span {
    color: #e74c3c;
    font-weight: 600;
}

.alert-body::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: url('/img/instagram-icon.png') no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation: sendMessage 2s ease infinite;
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #e74c3c;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s, transform 0.3s;
}

.alert-close:hover,
.alert-close:focus {
    color: #fff;
    transform: rotate(90deg);
    outline: none;
}

/* Modal de Carregamento */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    backdrop-filter: blur(2px);
}

.loading-modal.hidden {
    display: none;
}

.loading-content {
    display: flex;
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    height: 400px;
    overflow: hidden;
    border: 1px solid rgba(231, 76, 60, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(231, 76, 60, 0.1);
    animation: fadeInScale 0.4s ease forwards;
}

.loading-main {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    background: linear-gradient(135deg, #1a1a1a, #252525);
}

.loading-animation {
    width: 160px;
    height: 80px;
    position: relative;
}

.loading-animation .envelope {
    width: 50px;
    height: 35px;
    background: #e74c3c;
    position: absolute;
    top: 22px;
    left: 0;
    clip-path: polygon(0 30%, 50% 0, 100% 30%, 100% 100%, 0 100%);
    animation: sendLetterToInstagram 2s ease infinite;
    transform-origin: center;
}

.loading-animation .trail {
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c 20%, transparent);
    position: absolute;
    top: 40px;
    left: 0;
    animation: trailFade 2s ease infinite;
}

.loading-animation .instagram-icon {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 18px;
    right: 0;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    animation: receiveLetter 2s ease infinite;
}

.loading-text {
    text-align: center;
}

.loading-text p {
    font-size: 1.5rem;
    color: #e74c3c;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-shadow: 0 1px 5px rgba(231, 76, 60, 0.3);
}

.loading-text span {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    display: block;
    max-width: 300px;
}

.loading-image {
    width: 160px;
    height: 100%;
    background: url('/img/balada-enviando.avif') no-repeat center;
    background-size: cover;
    flex-shrink: 0;
    border-left: 1px solid rgba(231, 76, 60, 0.5);
    position: relative;
    overflow: hidden;
}

.loading-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1));
    animation: shimmer 3s infinite;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes sendMessage {
    0% { transform: translateY(-50%) translateX(0); opacity: 1; }
    50% { transform: translateY(-50%) translateX(30px); opacity: 0.5; }
    100% { transform: translateY(-50%) translateX(60px); opacity: 0; }
}

@keyframes fadeInScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes sendLetterToInstagram {
    0% { transform: translateX(0) rotate(0deg); opacity: 1; }
    70% { transform: translateX(105px) rotate(2deg); opacity: 0.9; }
    85% { transform: translateX(115px) rotate(0deg); opacity: 0.5; }
    100% { transform: translateX(115px) rotate(0deg); opacity: 0; }
}

@keyframes trailFade {
    0% { opacity: 0; width: 0; }
    50% { opacity: 0.8; width: 110px; }
    100% { opacity: 0; width: 115px; }
}

@keyframes receiveLetter {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1); opacity: 0.8; }
    85% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    header {
        padding: 10px 0; /* Reduz o padding vertical */
    }

    header .container {
        flex-direction: row;
        align-items: center;
        padding: 0 10px; /* Reduz o padding horizontal */
        max-width: 100%; /* Garante que o container ocupe a largura total */
    }

    .hamburger {
        display: flex;
    }

    nav.nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #0f0f0f;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    nav.nav-menu.active {
        display: block;
    }

    nav.nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    nav.nav-menu ul li {
        width: 100%;
    }

    nav.nav-menu ul li a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
        text-align: center;
    }

    .hero {
        height: 80vh;
    }

    .eventos-grid {
        grid-template-columns: 1fr;
    }

    .evento-card::after {
        width: 50px;
        background-size: 40px;
    }

    .modal-content-with-image {
        flex-direction: column;
        max-width: 90%;
    }

    .modal-image {
        width: 100%;
        height: 150px;
    }

    .custom-alert-content,
    .loading-content {
        width: 90%;
        max-width: 400px;
        height: 350px;
    }

    .loading-image {
        width: 120px;
    }

    .loading-animation {
        width: 130px;
        height: 60px;
    }

    .loading-text p {
        font-size: 1.3rem;
    }

    .loading-text span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 0; /* Ainda mais estreito para telas muito pequenas */
    }

    header .container {
        padding: 0 8px; /* Reduz ainda mais o padding horizontal */
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
    }

    .evento-info {
        padding: 15px;
    }

    .evento-card::after {
        width: 60px;
        background-size: 50px;
    }

    .modal-content,
    .detalhes-content {
        padding: 20px;
    }

    .form-group input {
        padding: 8px;
    }

    .close-btn {
        top: 5px;
        right: 10px;
    }

    .loading-content {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .loading-main {
        padding: 20px;
    }

    .loading-image {
        width: 100%;
        height: 150px;
        border-left: none;
        border-top: 1px solid rgba(231, 76, 60, 0.5);
    }

    .loading-animation {
        width: 110px;
        height: 50px;
    }

    .loading-text p {
        font-size: 1.2rem;
    }

    .loading-text span {
        font-size: 0.75rem;
    }

    nav.nav-menu ul li a {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .hero-content h2,
    .hero-content p,
    .evento-card,
    .btn,
    .modal-content,
    .detalhes-content,
    .custom-alert-content,
    .btn-comprar,
    .btn-saiba-mais,
    .gradient-text,
    .alert-icon,
    .alert-body::after,
    .loading-content,
    .loading-animation .envelope,
    .loading-animation .trail,
    .loading-animation .instagram-icon,
    .loading-image::after,
    .hamburger span {
        animation: none;
        transition: none;
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Logout Button */
.btn-logout {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-logout:hover {
    background-color: #c0392b;
}

.user-profile {
    display: flex;
    align-items: center;
}

.profile-photo-content {
    max-width: 500px;
    padding: 20px;
    text-align: center;
}

.photo-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.photo-option {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.photo-option:hover,
.photo-option.selected {
    border: 2px solid #e74c3c;
}

/* Modal de Ingresso */
.ticket-modal-content {
    display: flex;
    background: #2c2c2c;
   osy: hidden;
    border: 2px solid #e74c3c;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2);
    animation: slideIn 0.5s ease;
}

.ticket-preview {
    width: 50%;
    background: linear-gradient(135deg, #1a1a1a, #252525);
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px dashed #e74c3c;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.ticket-logo {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(45deg, #e74c3c, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ticket-event {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: 600;
}

.ticket-body {
    flex-grow: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticket-details p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #fff;
}

.ticket-details p span:first-child {
    color: #e74c3c;
    font-weight: 600;
}

.ticket-qr {
    text-align: center;
}

.qr-code {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.ticket-code {
    margin-top: 10px;
    font-size: 1rem;
    color: #e74c3c;
    font-weight: 600;
}

.ticket-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e74c3c;
    font-size: 0.9rem;
    color: #ccc;
}

.ticket-form {
    width: 50%;
    padding: 30px;
    background: #2c2c2c;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ticket-form h2 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 1px 5px rgba(231, 76, 60, 0.3);
}

.ticket-form .form-group input {
    background: #3a3a3a;
    border: 1px solid #e74c3c;
    transition: all 0.3s ease;
}

.ticket-form .form-group input:focus {
    background: #4a4a4a;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.ticket-form .btn {
    background: linear-gradient(45deg, #e74c3c, #3498db);
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ticket-form .btn:hover,
.ticket-form .btn:focus {
    background: linear-gradient(45deg, #c0392b, #2980b9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.5);
}

/* Responsividade */
@media (max-width: 768px) {
    .ticket-modal-content {
        flex-direction: column;
        max-width: 90%;
    }

    .ticket-preview,
    .ticket-form {
        width: 100%;
    }

    .ticket-preview {
        border-right: none;
        border-bottom: 1px dashed #e74c3c;
    }

    .ticket-form {
        padding: 20px;
    }

    .detalhes-content {
        max-width: 90%;
    }

    .detalhes-imagem {
        max-height: 150px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .info-label {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .detalhes-header h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .detalhes-imagem {
        max-height: 120px;
    }

    .detalhes-btn {
        padding: 10px 20px;
    }
}