/* ===== CSS base de .NET Core (mantener) ===== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ===== TU CSS PERSONALIZADO (agregar) ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: white;
    scroll-behavior: smooth;
    margin-bottom: 60px; /* Mantener el margen inferior de .NET Core */
}

/* Encabezado temático */
header {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
    z-index: 3;
}

    header h1 {
        font-size: 3em;
        color: #00ffe7;
        margin-bottom: 10px;
        text-shadow: 2px 2px 10px #00ffe7;
    }

    header p {
        font-size: 1.2em;
        color: #ffffffd0;
        margin-bottom: 15px;
    }

.x-link {
    font-weight: bold;
    color: #00ffe7;
    text-decoration: none;
    border-bottom: 2px solid #00ffe7;
    padding-bottom: 3px;
}

    .x-link:hover {
        color: #00d6c3;
        border-color: #00d6c3;
    }

/* Hero section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../img/231236fe-0082-4a04-8220-df81f61a9685.png') center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    z-index: 2;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.hero-text {
    max-width: 600px;
    text-align: center;
}

    .hero-text h2 {
        font-size: 2.5em;
        color: #FFD700;
        margin-bottom: 15px;
        text-shadow: 0 0 10px #FFD700;
    }

    .hero-text p {
        font-size: 1.2em;
        color: #ddd;
        margin-bottom: 20px;
    }

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #00ffe7;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 12px #00ffe7;
    transition: all 0.3s ease;
}

    .btn:hover {
        background: #00d6c3;
        box-shadow: 0 0 16px #00d6c3;
    }

    /* Mantener los estilos de focus de .NET Core para los botones */
    .btn:focus, .btn:active:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

.hero-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px #00ffe7);
    border-radius: 20px;
}

/* Main content */
main {
    padding: 60px 10%;
    background-color: #111;
}

    main section {
        margin-bottom: 50px;
    }

    main h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: #00ffe7;
        text-shadow: 1px 1px 5px #00ffe7;
    }

    main p {
        font-size: 1.1em;
        line-height: 1.6;
        color: #ccc;
    }

/* Footer */
footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 1px solid #222;
}

/* Responsive */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .hero-text h2 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .hero-content {
        flex-direction: column;
        padding: 20px;
    }

    .hero-image img {
        max-width: 280px;
    }

    main {
        padding: 40px 20px;
    }

    footer {
        font-size: 0.8em;
        padding: 15px;
    }
}

.link-themed {
    color: #00ffe7;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .link-themed:hover {
        color: #00d6c3;
        text-decoration: underline;
    }

.contract-address {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

/* Estilo protegido para el selector de idiomas */
.tepito-language-select {
    padding: 8px 12px !important;
    border-radius: 5px !important;
    font-size: 0.9em !important;
    background-color: #333 !important;
    color: #00ffe7 !important;
    border: 1px solid #00ffe7 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300ffe7'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 16px !important;
    padding-right: 30px !important;
}

    .tepito-language-select:focus {
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(0, 255, 231, 0.3) !important;
    }

    .tepito-language-select option {
        background: #222 !important;
        color: white !important;
    }

/* ===== NAVBAR TEPITO STYLE ===== */
.tepite-navbar {
    background-color: #111 !important;
    border-bottom: 1px solid #00ffe7 !important;
}

.tepite-brand {
    color: #00ffe7 !important;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 5px #00ffe7;
    transition: all 0.3s ease;
}

    .tepite-brand:hover {
        color: #00d6c3 !important;
        text-shadow: 0 0 8px #00d6c3;
    }

.tepite-link {
    color: #ccc !important;
    margin: 0 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease !important;
}

    .tepite-link:hover {
        color: #00ffe7 !important;
        text-shadow: 0 0 3px #00ffe7;
    }

/* Botón móvil */
.navbar-toggler {
    border-color: #00ffe7 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%2300ffe7' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== ESTILOS POLÍTICA DE PRIVACIDAD ===== */
.privacy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.privacy-title {
    color: #00ffe7;
    text-shadow: 0 0 10px #00ffe7;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
}

.privacy-content {
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid #00ffe7;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 231, 0.2);
}

.section-title {
    color: #ccc; /* Gris claro (para títulos) */
    margin: 25px 0 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #333; /* Gris oscuro */
    padding-bottom: 8px;
}

.privacy-list {
    padding-left: 20px;
    color: #ccc;
    line-height: 1.8;
}

    .privacy-list li {
        margin-bottom: 8px;
    }

    .privacy-list.warning li {
        color: #888; /* Gris medio para advertencias */
    }

.highlight {
    background-color: rgba(34, 34, 34, 0.8); /* #222 con transparencia */
    padding: 12px;
    border-left: 3px solid #00ffe7; /* Mantenemos el cyan como acento */
    color: #ddd; /* Gris más claro para texto */
    margin: 20px 0;
}

.last-update {
    text-align: right;
    color: #888;
    font-size: 0.9em;
    margin-top: 40px;
}