/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0a0a0a;
    color: white;
    overflow-x: hidden;
    position: relative;
    font-weight: bold;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

body::before {
    width: 340px;
    height: 340px;
    top: -120px;
    left: -90px;
    background: #0a0a0a;
    animation: driftOne 16s ease-in-out infinite;
}

body::after {
    width: 300px;
    height: 300px;
    right: -110px;
    bottom: -80px;
    background: #0a0a0a;
    animation: driftTwo 18s ease-in-out infinite;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #111111;
    border-bottom: 1px solid #1a1a1a;
    opacity: 0;
    animation: fadeInDown 0.6s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.site-logo {
    height: 38px;
    width: auto;
    display: block;
    transform: scale(3);
    transform-origin: left center;
}

.navbar nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    transition: 0.3s;
    position: relative;
}

.navbar nav a:hover {
    color: white;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.24s ease;
}

.navbar nav a:hover::after,
.navbar nav a.active-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar nav a.active-link {
    color: #f2f2ff;
}

.nav-buttons button {
    margin-left: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #1a1a1a;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-discord {
    background: #1e3a8a;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    transition: 0.25s ease;
}

.btn-outline:hover,
.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 58, 138, 0.24);
}

/* HERO */
.hero {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, #111111, #0a0a0a);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    padding: 60px 8%;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content-left {
    flex: 1;
    text-align: left;
}

.hero-content-left h1 {
    font-size: 56px;
    margin-bottom: 15px;
    color: white;
    text-align: left;
    display: inline-block;
}

.hero-content-left p {
    color: #666666;
    margin-bottom: 30px;
    font-size: 18px;
}

.hero-image-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character {
    max-width: 100%;
    height: auto;
    max-height: 950px;
    transform: translateY(50px) scale(1.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    color: #666666;
    margin-bottom: 20px;
}

.btn-main {
    background: #1e3a8a;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    transition: 0.3s;
}

.hero-link {
    display: inline-block;
    text-decoration: none;
}

.btn-main:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.35);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tiktok-btn {
    background: #111111;
    color: #666666;
}

.tiktok-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.4);
}

.youtube-btn {
    background: #111111;
    color: #666666;
}

.youtube-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.4);
}

.hero-stars {
    position: relative;
    overflow: hidden;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.star-item {
    position: absolute;
    border-radius: 999px;
    background: #fff;
    opacity: 0.3;
    animation: twinkle var(--d, 3s) infinite;
}

.star-item:nth-child(1) {
    width: 2px;
    height: 2px;
    top: 11%;
    left: 12%;
    --d: 2.4s;
}

.star-item:nth-child(2) {
    width: 2px;
    height: 2px;
    top: 19%;
    left: 61%;
    --d: 3.5s;
}

.star-item:nth-child(3) {
    width: 1px;
    height: 1px;
    top: 28%;
    left: 76%;
    --d: 2.7s;
}

.star-item:nth-child(4) {
    width: 2px;
    height: 2px;
    top: 56%;
    left: 25%;
    --d: 3.1s;
}

.star-item:nth-child(5) {
    width: 1px;
    height: 1px;
    top: 66%;
    left: 81%;
    --d: 2.2s;
}

.star-item:nth-child(6) {
    width: 2px;
    height: 2px;
    top: 78%;
    left: 42%;
    --d: 3.3s;
}

.star-item:nth-child(7) {
    width: 1px;
    height: 1px;
    top: 36%;
    left: 7%;
    --d: 2.9s;
}

.star-item:nth-child(8) {
    width: 2px;
    height: 2px;
    top: 44%;
    left: 91%;
    --d: 3.7s;
}

.store-intro {
    width: min(860px, 92%);
    margin: 48px auto;
    text-align: center;
}

.store-intro h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.store-intro p {
    color: #666666;
    line-height: 1.8;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 80px 10%;
    background: #0a0a0a;
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 58, 138, 0.3);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(29, 78, 216, 0.1));
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 12px;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(29, 78, 216, 0.2));
    border-color: rgba(30, 58, 138, 0.4);
    color: #60a5fa;
    transform: scale(1.1);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.25s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.35s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.45s;
}

/* PRODUCTS */
.products {
    padding: 60px 10%;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.products h2 {
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 320px);
    gap: 30px;
    justify-content: start;
}

.product-card {
    background: #111111;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #222222;
    transition: 0.3s;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    display: flex;
    flex-direction: column;
    height: 320px;
    overflow: hidden;
}

.product-item {
    animation: fadeInDiagonal 0.6s ease forwards;
    height: 280px; /* Reducir altura para mejor proporción */
}

.product-item .product-image {
    height: 200px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.product-item .product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-hover-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-item .product-content {
    padding: 16px 16px 20px 16px; /* Más padding abajo para el botón */
    gap: 8px;
    flex-shrink: 0;
    justify-content: space-between;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-item h4 {
    font-size: 20px; /* Reducir un poco el tamaño */
    font-weight: 700;
    margin-bottom: 8px; /* Más espacio debajo del título */
    line-height: 1.2;
    flex-grow: 1; /* Permitir que el título ocupe el espacio disponible */
}

.product-item:hover .product-image::before {
    opacity: 1;
}

.product-item:hover .btn-hover-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.product-item .purchase-note {
    display: none; /* Ocultar el texto rojo */
}

.product-card:nth-child(1) { animation-delay: 0.15s; }
.product-card:nth-child(2) { animation-delay: 0.18s; }
.product-card:nth-child(3) { animation-delay: 0.21s; }
.product-card:nth-child(4) { animation-delay: 0.24s; }
.product-card:nth-child(5) { animation-delay: 0.27s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.33s; }
.product-card:nth-child(8) { animation-delay: 0.36s; }
.product-card:nth-child(9) { animation-delay: 0.39s; }
.product-card:nth-child(10) { animation-delay: 0.42s; }
.product-card:nth-child(11) { animation-delay: 0.45s; }
.product-card:nth-child(12) { animation-delay: 0.48s; }
.product-card:nth-child(13) { animation-delay: 0.51s; }
.product-card:nth-child(14) { animation-delay: 0.54s; }
.product-card:nth-child(15) { animation-delay: 0.57s; }
.product-card:nth-child(16) { animation-delay: 0.6s; }
.product-card:nth-child(17) { animation-delay: 0.63s; }
.product-card:nth-child(18) { animation-delay: 0.66s; }
.product-card:nth-child(19) { animation-delay: 0.69s; }
.product-card:nth-child(20) { animation-delay: 0.72s; }

.product-card:hover {
    transform: translateY(-5px);
    border-color: #1e3a8a;
}

.category-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: #1e3a8a;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.product-image {
    height: 160px;
    background: #0a0a0a;
    border-radius: 0;
    margin-bottom: 0;
    flex: 1;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.category-card .product-image {
    height: 250px;
    margin-bottom: 0;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
}

.category-card .product-image h4 {
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    z-index: 2;
}

.category-card {
    padding: 0;
}

.category-card .product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    border-radius: 12px;
    z-index: 1;
}

.product-card h4 {
    margin-bottom: 10px;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-note {
    margin-bottom: 12px;
    color: #ff4444;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.category-description {
    margin-bottom: 12px;
    color: #666666;
    font-size: 13px;
    line-height: 1.5;
}

.btn-back {
    background: #111111;
    border: 1px solid #222222;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 24px;
    font-size: 14px;
}

.btn-back:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateX(-3px);
}

.btn-card {
    display: none; /* Ocultar el botón debajo del título */
}

.btn-card:hover {
    background: #1d4ed8;
}

.product-detail-shell {
    width: min(1200px, 94%);
    margin: 36px auto 56px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.back-products {
    display: inline-block;
    margin-bottom: 22px;
    color: #3b82f6;
    text-decoration: none;
}

.back-products:hover {
    color: #60a5fa;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 36px;
    align-items: start;
}

.detail-image-wrap {
    width: 500px;
    height: 500px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #222222;
    background: #111111;
}

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-content {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 14px;
    padding: 24px;
}

.detail-category {
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 10px;
}

.detail-content h1 {
    margin-bottom: 14px;
    font-size: 34px;
}

.detail-description {
    color: #666666;
    line-height: 1.75;
    margin-bottom: 22px;
    white-space: pre-line;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

.detail-price {
    font-size: 18px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 12px;
    white-space: pre-line;
    line-height: 1.6;
}

.detail-note {
    color: #666666;
    margin-bottom: 20px;
}

.detail-buy {
    display: inline-block;
    width: auto;
    padding-inline: 28px;
}

/* FOOTER */
.footer {
    padding: 20px;
    text-align: center;
    background: #111111;
    border-top: 1px solid #222222;
    color: #666666;
    font-size: 13px;
}

.footer a {
    color: #3b82f6;
    text-decoration: none;
}

.footer a:hover {
    color: #60a5fa;
}

/* SHOP LAYOUT */
.shop-layout {
    display: flex;
    padding: 60px 8%;
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background: #111111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222222;
}

.sidebar h3 {
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #666666;
    transition: 0.3s;
    font-size: 14px;
}

.category-list li .category-link {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.category-list li:hover {
    background: #1a1a1a;
    color: white;
}

.category-list .active {
    background: #1e3a8a;
    color: white;
}

/* SHOP CONTENT */
.shop-content {
    flex: 1;
}

/* HEADER */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.shop-header select {
    background: #111111;
    border: 1px solid #222222;
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
}

.catalog-shell,
.info-layout {
    width: min(1150px, 94%);
    margin: 0 auto 56px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.catalog-header,
.info-header {
    margin: 42px 0 12px;
}

.catalog-header h1,
.info-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.catalog-header p,
.info-header p {
    color: #666666;
}

.status-grid,
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.status-card,
.support-card {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 22px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.status-card:nth-child(1),
.support-card:nth-child(1) { animation-delay: 0.15s; }
.status-card:nth-child(2),
.support-card:nth-child(2) { animation-delay: 0.18s; }
.status-card:nth-child(3),
.support-card:nth-child(3) { animation-delay: 0.21s; }
.status-card:nth-child(4),
.support-card:nth-child(4) { animation-delay: 0.24s; }

.status-card h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-card h3 {
    margin-bottom: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    position: relative;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #2ecc71;
    opacity: 0.6;
    animation: ripple 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.status-card span,
.support-card p {
    color: #666666;
    line-height: 1.65;
}

.status-card.online {
    border-color: #2f965e;
}

.status-card.warning {
    border-color: #ba9241;
}

.support-link {
    margin-top: 16px;
    text-decoration: none;
    display: inline-block;
    width: auto;
    padding: 10px 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .shop-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content-left {
        text-align: center;
    }

    .hero-content-left h1 {
        font-size: 40px;
    }

    .hero-character {
        max-height: 350px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 50px 5%;
    }

    .store-intro h2 {
        font-size: 28px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-image-wrap {
        width: min(500px, 100%);
        height: auto;
        aspect-ratio: 1 / 1;
    }

}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-layout {
    width: min(980px, 92%);
    margin: 48px auto 64px;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 14px;
    padding: 36px;
    backdrop-filter: blur(3px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.legal-layout h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.legal-layout .subtitle {
    color: #666666;
    margin-bottom: 28px;
}

.legal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.legal-badge {
    border: 1px solid #222222;
    background: #1a1a1a;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: white;
}

.legal-section {
    margin-bottom: 22px;
}

.legal-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
    color: #666666;
    line-height: 1.7;
    font-size: 15px;
}

.legal-section ul {
    padding-left: 18px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid #222222;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.1s forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.15s; }
.faq-item:nth-child(2) { animation-delay: 0.18s; }
.faq-item:nth-child(3) { animation-delay: 0.21s; }
.faq-item:nth-child(4) { animation-delay: 0.24s; }
.faq-item:nth-child(5) { animation-delay: 0.27s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.33s; }
.faq-item:nth-child(8) { animation-delay: 0.36s; }

.faq-item:hover {
    border-color: #666666;
    transform: translateY(-2px);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 600;
    position: relative;
    padding-right: 44px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #3b82f6;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    border-top: 1px solid #222222;
    padding: 14px 18px 18px;
    color: #666666;
}

.faq-item[open] p {
    animation: fadeInUp 0.24s ease;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .navbar nav {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .legal-layout {
        padding: 24px;
    }

    .catalog-header h1,
    .info-header h1 {
        font-size: 32px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDiagonal {
    from {
        opacity: 0;
        transform: translate(-20px, -20px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes driftOne {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(35px, 28px) scale(1.08);
    }
}

@keyframes driftTwo {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-28px, -34px) scale(1.1);
    }
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 0.22;
    }
    50% {
        opacity: 0.8;
    }
}

/* LOADING SPINNER */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(30, 58, 138, 0.2);
    border-top: 4px solid #1e3a8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* EFECTO DE ESCRITURA */
.typewriter {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    letter-spacing: 0.05em;
    color: white;
    animation: 
        typing 1s steps(20, end) forwards,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { 
        width: 0;
    }
    to { 
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to { 
        border-color: transparent;
    }
    50% { 
        border-color: white;
    }
}