/* Reset CSS básico y moderno */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}



:root {
    --primary-color: #be1e2d;
    --secondary-color: #edbb29;
    --dark-color: #1a1c1a;
    --font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
    font-family: var(--font-family);
    background-color: #f8f9fa;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
}
header {
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.logo {
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: relative;
    top: 15px;
    z-index: 1;
}
.logo img {
    height: 80px;
}
.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu ul li {
    margin: 0 10px;
}
.nav-menu ul li a {
    text-decoration: none;
    color: #fff;
    font-family: var(--font-family);
    font-size: 16px;
    padding: 8px 12px;
}
.nav-menu ul li a:hover {
    background-color: var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.toggle-btn {
    display: none;
    font-size: 24px;
    background: 0 0;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 10px;
}
.prizes-section {
    padding: 2rem 0;
    background-color: #fff;
    margin-top: 80px;
}
.prizes-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.payment-section {
    margin-top: 1rem;
    padding: 1.5rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}
.payment-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.payment-section p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.payment-card {
    background-color: #fff;
    padding: 12px;
    width: 100%;
    max-width: 220px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.payment-card img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}
.payment-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}
.payment-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 1.2rem 0;
    text-align: center;
}
footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.social-buttons {
    margin-top: 0.8rem;
}
.social-buttons a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}
.social-buttons a:hover {
    color: var(--secondary-color);
}
@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu ul li {
        margin: 8px 0;
    }
    .toggle-btn {
        display: block;
    }
    .payment-section h2,
    .prizes-section h2 {
        font-size: 1.6rem;
    }
}
@media (max-width: 428px) {
    .logo img {
        height: 60px;
    }
    .prizes-section {
        padding: 1.5rem 0;
    }
    .payment-card {
        max-width: 90%;
        padding: 10px;
    }
    .payment-card img {
        width: 45px;
    }
    .payment-card h3 {
        font-size: 1rem;
    }
    .payment-card p {
        font-size: 0.8rem;
    }
    .contenedor2 {
        padding: 10px;
        gap: 15px;
    }
    .logo2 {
        min-width: 250px;
        padding: 2px;
    }
}
.contenedor2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.logo2 {
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    flex: 1;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    padding: 3px;
    width: 100%;
}
.logo2 img {
    width: 100%;
    height: auto;
    object-fit: 90%;
    display: block;
    box-shadow: 0 0 10px #00000069;
    margin: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .contenedor2 {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
}
.progress-container {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 20px 0;
}
.progress-titulo {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #fff;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}
.progress-bar {
    width: 10%;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    text-align: center;
    line-height: 20px;
    color: var(--dark-color);
}
.caja-derecha {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}
.ticket-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
}
.ticket-form > .ticket-form-body {
    padding: 15px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}
.form-control {
    width: 100%;
    padding: 0.313rem;
    border: 1px solid var(--dark-color);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--dark-color);
    background-color: #f8f9fa;
}
.form-control:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(190, 30, 45, 0.3);
}
.ticket-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.quantity-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.quantity-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}
.quantity-input {
    width: 80px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    background-color: #fff;
    border: 1px solid var(--dark-color);
}
.total-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}
.file-upload {
    border: 2px dashed var(--primary-color);
    padding: 0.5rem;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(190, 30, 45, 0.05);
}
.file-upload p {
    margin: 0;
}
.file-upload:hover {
    border-color: var(--secondary-color);
    background: rgba(237, 187, 41, 0.1);
}
.file-upload input {
    display: none;
}
.file-name {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-color);
}
.preview-container {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: none;
}
.preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
    margin-top: 0.5rem;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem 0;
}
.checkbox-group input {
    margin-top: 3px;
}
.terms-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
}
.terms-link:hover {
    color: var(--secondary-color);
}
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}
.btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.payment-info {
    background: #fff;
    padding: 0.5rem;
    border-radius: 10px;
    margin-top: 0.25rem;
    border: 1px solid var(--primary-color);
    position: relative;
}
.payment-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.payment-info p {
    color: var(--dark-color);
}
.payment-info img {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: auto;
    max-width: 100%;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    overflow-y: auto;
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
}

.modal-content-progress {
    background-color: #fff;
    margin: auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 30vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-color);
}
.modal-title {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.close-modal {
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}
.close-modal:hover {
    color: var(--secondary-color);
}
.modal-body {
    line-height: 1.6;
    color: var(--dark-color);
}
.copy-notification {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.precio-total {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 10px;
    text-align: center;
}
.form-group {
    margin: 0;
}
.ticket-form h2 {
    display: block;
    margin: 0;
    padding: 5px 10px;
    border-radius: 10px 10px 0 0;
    background-color: var(--secondary-color);
    text-align: left;
}
#ticket {
    width: 400px;
    height: 200px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
.ticket-number {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    transform: rotate(-10deg);
}
.ticket-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}
.ticket-info {
    font-size: 14px;
    margin: 5px 0;
}
.ticket-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.ticket-button:hover {
    background-color: #218838;
}
#ticket {
    background-color: #fff;
    border: 2px dashed #333;
    border-radius: 15px;
    padding: 20px;
    width: 400px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
#ticket h2 {
    text-align: center;
    margin-bottom: 10px;
}
.ticket-info {
    font-size: 16px;
    margin-bottom: 5px;
}
.ticket-info strong {
    color: #555;
}
.numbers {
    text-align: center;
    margin-top: 15px;
}
.number {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
}
.footer-ticket {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}
pre {
    display: block;
    font-size: 16px;
    font-family: var(--font-family);
    font-weight: 400;
    margin-bottom: 0;
    white-space: pre-wrap;
    line-height: 1;
}
