/* Velocidad Menta Theme - Yellow & Black */

:root {
    --primary-yellow: #FFD700;
    --primary-black: #1a1a1a;
    --secondary-yellow: #FFF700;
    --light-yellow: #FFEB3B;
    --dark-black: #000000;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --success: #4CAF50;
    --error: #f44336;
    --warning: #ff9800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
}

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


/* Header Styles */

.header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-black) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    font-weight: bold;
    position: absolute;
    top: 33%;
    left: 17%;
}

.theme-name {
    color: var(--light-yellow);
    font-size: 0.8rem;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.login-btn {
    background: var(--primary-yellow);
    color: var(--primary-black) !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

.login-btn:hover {
    background: var(--secondary-yellow);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 3px 0;
    transition: 0.3s;
}


/* Page Management */

.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
}


/* Hero Carousel */

.hero-carousel {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.carousel-btn {
    background: rgba(255, 215, 0, 0.8);
    color: var(--primary-black);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-yellow);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}


/* Features Section */

.features {
    padding: 5rem 0;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}


/* Operators Section */

.operators {
    padding: 5rem 0;
    background: var(--white);
}

.operators h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.operator-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.operator-card img {
    max-width: 150px;
    height: auto;
}


/* Top-up Form */

.topup-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.topup-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.operator-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.operator-option:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-3px);
}

.operator-option.selected {
    border-color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.operator-option img {
    max-width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}

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

.amount-btn {
    padding: 1rem;
    border: 2px solid #ddd;
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.selected {
    border-color: var(--primary-yellow);
    background: var(--primary-yellow);
    color: var(--primary-black);
}


/* Form Styles */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.submit-btn {
    width: 100%;
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.subir {
    width: 100%;
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subir:hover {
    background: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}


/* Auth Pages */

.auth-section {
    padding: 3rem 0;
    background: var(--light-gray);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-black);
}

.auth-links {
    text-align: center;
    margin-top: 1rem;
}

.auth-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.auth-links a:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}


/* Dashboard */

.dashboard-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.tag-item,
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.tag-operator,
.history-tag {
    font-weight: bold;
    color: var(--primary-black);
}

.tag-balance,
.history-amount {
    color: var(--success);
    font-weight: bold;
}

.recharge-btn {
    background: var(--primary-yellow);
    color: var(--primary-black);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.add-tag-btn {
    width: 100%;
    background: var(--primary-black);
    color: var(--primary-yellow);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
}

.history-status.success {
    color: var(--success);
    font-weight: bold;
}


/* Checkout */

.checkout-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.order-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-black);
    border-top: 2px solid var(--primary-yellow);
    padding-top: 1rem;
    margin-top: 1rem;
}

.payment-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.payment-section {
    display: none;
}

.payment-section.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.transfer-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}


/* Confirmation */

.confirmation-section {
    padding: 3rem 0;
    background: var(--light-gray);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.confirmation-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.confirmation-details {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--primary-yellow);
}


/* Contact */

.contact-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Legal Pages */

.legal-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-content h3 {
    color: var(--primary-black);
    margin: 2rem 0 1rem 0;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}


/* Footer */

.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

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

.footer-operators img {
    max-width: 60px;
    height: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
}


/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

.close:hover {
    color: var(--primary-black);
}


/* Notification */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    display: none;
    align-items: center;
    gap: 1rem;
}

.notification.show {
    display: flex;
    animation: slideIn 0.3s ease;
}

.notification button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-black);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Responsive Design */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .carousel-content h1 {
        font-size: 2rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
    .checkout-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    .features-grid,
    .operators-grid {
        grid-template-columns: 1fr;
    }
    .confirmation-actions {
        flex-direction: column;
    }
    .payment-methods {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
    .operators-selection {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .carousel-content {
        padding: 1rem;
    }
    .carousel-content h1 {
        font-size: 1.5rem;
    }
    .topup-form-container,
    .auth-container,
    .confirmation-container {
        padding: 2rem 1rem;
    }
    .amount-options,
    .operators-selection {
        grid-template-columns: 1fr;
    }
}


/* Loading Animation */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    border-top-color: var(--primary-yellow);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Smooth Transitions */

* {
    transition: all 0.3s ease;
}


/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-yellow);
}


/* negation */

.negation-section {
    padding: 3rem 0;
    background: var(--light-gray);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.negation-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.negation-details {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.negation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--primary-yellow);
}

.logo {
    position: absolute;
    /* Posiciona el logo absolutamente dentro del contenedor */
    top: .05px;
    /* Ajusta la posición vertical del logo */
    left: .5px;
    /* Ajusta la posición horizontal del logo */
    width: 120px;
    /* Ajusta el ancho del logo */
    height: 110px;
    /* Mantiene la proporción original del logo */
}