/* -----------------------------------------------------------
   1. RESET & DESIGN TOKENS
----------------------------------------------------------- */
:root {
    --bg-pure: #000000;
    --bg-soft: #050505;
    --bg-card: rgba(15, 15, 15, 0.6);
    --accent: #ffffff;
    --accent-dim: #a1a1a1;
    --border: rgba(255, 255, 255, 0.06);
    --border-bright: rgba(255, 255, 255, 0.2);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smart: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 28px;
    --radius-md: 16px;
    --radius-pill: 500px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background-color: var(--bg-pure); }

body {
    font-family: var(--font-main);
    background-color: var(--bg-pure);
    color: var(--accent);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* -----------------------------------------------------------
   2. REUSABLE COMPONENTS
----------------------------------------------------------- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header { margin-bottom: 4rem; }

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--accent-dim);
    font-size: 1.1rem;
    max-width: 500px;
    margin-top: 1rem;
}

/* -----------------------------------------------------------
   3. HERO SPLIT (Refined)
----------------------------------------------------------- */
.hero-split {
    display: flex;
    height: 100vh;
    min-height: 700px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.split-side {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smart);
    padding: 3rem;
    will-change: flex;
}

.split-side:hover { flex: 1.4; }

.forge-side { background: radial-gradient(circle at 0% 0%, #111 0%, var(--bg-pure) 80%); }
.bedrock-side { 
    background: radial-gradient(circle at 100% 100%, #111 0%, var(--bg-pure) 80%);
    border-left: 1px solid var(--border);
}

.side-content {
    text-align: center;
    z-index: 10;
    transition: var(--transition-smart);
}

.side-title {
    font-size: clamp(3rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 1.5rem;
    letter-spacing: -4px;
}

.side-desc {
    color: var(--accent-dim);
    max-width: 300px;
    margin: 0 auto 2.5rem;
    font-size: 0.95rem;
}

.path-btn {
    padding: 1rem 2.5rem;
    border: 1px solid var(--border-bright);
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: 0.3s ease;
}

.path-btn:hover {
    background: var(--accent);
    color: var(--bg-pure);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

/* -----------------------------------------------------------
   4. BENTO SHOWCASE (Glassmorphism)
----------------------------------------------------------- */
.bento-section { padding: 10rem 0; background-color: var(--bg-soft); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 1.5rem;
    grid-auto-flow: dense; 
}

.bento-item {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition-smart);
    backdrop-filter: blur(12px);
}

.item-large { grid-column: span 2; grid-row: span 2; }
.item-medium { grid-column: span 2; }

.bento-item:hover {
    transform: translateY(-10px);
    border-color: var(--border-bright);
}

.item-overlay {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%);
    z-index: 5;
}

.tag-platform {
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--accent);
    color: var(--bg-pure);
    padding: 4px 12px;
    width: fit-content;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.item-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.4) brightness(0.8);
    transition: var(--transition-smart);
}

.bento-item:hover .item-bg {
    filter: grayscale(0.4) brightness(0.5);
    transform: scale(1.05);
}

/* -----------------------------------------------------------

/* -----------------------------------------------------------
   5. CATALOG SECTION (Full Dynamic Grid)
----------------------------------------------------------- */
.catalog-section {
    padding: 5rem 0 10rem;
    background-color: var(--bg-pure);
}

.catalog-grid {
    display: grid;
    /* Cuadrícula responsiva: mínimo 320px por tarjeta, máximo lo que dé el espacio */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.mod-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    overflow: hidden;
    
    /* EFECTO INICIAL: Blanco y negro + Atenuado */
    filter: grayscale(0.4) brightness(1);
    transition: var(--transition-smart);
    
    /* Asegura que la imagen no sangre por los bordes */
    background-clip: padding-box;
}

/* EFECTO HOVER: Recuperación de color y luz */
.mod-card:hover {
    filter: grayscale(0.4) brightness(1);
    transform: translateY(-12px);
    border-color: var(--border-bright);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* Gradiente de legibilidad para el texto */
.mod-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.3) 50%, 
        transparent 100%);
    z-index: 1;
    transition: opacity 0.6s ease;
}

.mod-card:hover::before {
    /* Mantenemos un poco de sombra abajo para que el texto siga siendo legible */
    opacity: 0.8;
}

/* Contenido interno de la tarjeta */
.mod-header, .mod-name, .mod-info, .mod-footer {
    position: relative;
    z-index: 2;
}

.mod-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--bg-pure);
    padding: 5px 12px;
    border-radius: 4px;
    margin-right: 10px;
}

.mod-version {
    font-size: 0.8rem;
    color: var(--accent-dim);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mod-name {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 1.2rem 0 0.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.mod-info {
    font-size: 0.95rem;
    color: var(--accent-dim);
    margin-bottom: 2rem;
    line-height: 1.5;
    /* Limitamos a 2 líneas para mantener la simetría */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mod-link:hover {
    color: var(--accent-dim);
    border-color: transparent;
    transform: translateX(5px);
}

/* -----------------------------------------------------------
   6. PAGINATION UI
----------------------------------------------------------- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    gap: 2rem;
}

.page-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: 0.4s;
    border-radius: var(--radius-pill);
}

.page-btn:hover:not(:disabled) {
    background: var(--accent);
    color: var(--bg-pure);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.page-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    filter: grayscale(1);
}

#page-indicator {
    font-family: var(--font-main);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* -----------------------------------------------------------
   RESPONSIVE ADAPTATION
----------------------------------------------------------- */

@media (max-width: 992px) {
    /* El Hero Split pasa de horizontal a vertical */
    .hero-split {
        flex-direction: column;
        height: auto;
    }
    
    .split-side {
        width: 100%;
        min-height: 50vh;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    /* El Bento Grid se adapta a 2 columnas */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }
}

@media (max-width: 600px) {
    /* En móviles pequeños, todo va en una sola columna */
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .item-large, .item-medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .section-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
}

/* -----------------------------------------------------------
   7. FLOATING GLASS NAV
----------------------------------------------------------- */
.glass-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.7rem 2rem;
    transition: var(--transition-smart);
}

/* Efecto al hacer scroll: se vuelve un poco más pequeño y sólido */
.glass-nav.scrolled {
    top: 0.8rem;
    width: 85%;
    background: rgba(0, 0, 0, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--accent-dim);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--accent-dim);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

/* Indicador de Status (Le da un toque técnico) */
.nav-status {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff88; /* Color verde neón de activo */
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

/* Responsividad del Menú */
@media (max-width: 768px) {
    .nav-links, .nav-status {
        display: none; /* En la siguiente iteración haremos el menú móvil */
    }
    .glass-nav {
        justify-content: center;
        width: fit-content;
        padding: 0.7rem 3rem;
    }
}



/* -----------------------------------------------------------
   8. NEXUS PANEL FOOTER (Modern & Colorful)
----------------------------------------------------------- */
.nexus-footer {
    padding: 4rem 0 2rem;
    background-color: var(--bg-pure);
}

.footer-inner {
    background: #0a0a0a; /* Un tono ligeramente más claro que el fondo */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

/* El toque de color sutil de fondo */
.footer-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.footer-logo span { color: var(--accent-dim); font-weight: 300; }

.footer-info p {
    color: var(--accent-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav-group h4, 
.footer-social-group h4, 
.footer-contact-group h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--accent);
}

.footer-nav-group a {
    display: block;
    color: var(--accent-dim);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-nav-group a:hover { color: #fff; transform: translateX(5px); }

/* Tarjetas Sociales con iconos reales */
.social-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.4s var(--transition-smart);
}

.social-card img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.social-card span {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.mail-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Sub-footer */
.footer-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
}

.footer-tags { display: flex; gap: 15px; }
.tag {
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Responsividad */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-inner { padding: 2rem; border-radius: 0; }
    .footer-sub { flex-direction: column; gap: 2rem; text-align: center; }
}

/* Tamaño de los iconos en las tarjetas */
.social-card img, 
.social-icon-svg {
    height: 20px;
    width: auto;
    object-fit: contain;
}

/* Efecto específico para TikTok al hacer hover */
.social-card.tk:hover {
    border-color: #ff0050; /* Color oficial TikTok */
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.2);
}

.social-card.yt:hover {
    border-color: #ff0000; /* Color oficial YouTube */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Ajuste para el texto al hacer hover */
.social-card:hover span {
    color: #fff;
}







/* --- FOOTER LEGAL SECTION --- */
.footer-legal-notice {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #ff004f; /* Tu color de acento */
    border-radius: 4px;
}

.footer-legal-notice p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    text-align: justify;
}

/* --- COOKIE BANNER STYLE --- */
.cookie-box {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: #111;
    border: 1px solid rgba(255, 0, 79, 0.4);
    padding: 20px;
    z-index: 99999;
    display: none; /* Se activa por JS */
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.9);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    color: #999;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-btn {
    background: #ff004f;
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 900;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.cookie-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
}



/* -----------------------------------------------------------
   9. TODAY'S FLASH MODS (TikTok Bridge)
----------------------------------------------------------- */
:root {
    --card-width: 320px;
    --card-height: 450px;
    --accent-red: #ff004f;
    --accent-cyan: #00f2ea;
}

.mods-today-section {
    padding: 100px 0;
    background: #050505;
    overflow: hidden;
}

.slider-wrapper {
    cursor: grab;
    padding: 40px 0;
    overflow: hidden; /* El JS manejará el movimiento */
    user-select: none;
}

.slider-wrapper:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* --- LA CARD --- */
.mod-slide-card {
    min-width: var(--card-width);
    height: var(--card-height);
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.mod-slide-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Imagen de fondo en alta resolución */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.mod-slide-card:hover .card-bg {
    transform: scale(1.1);
}

/* Degradado para legibilidad */
.card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent);
    z-index: 2;
}

/* Contenido */
.card-info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-info-box h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Botones Sutiles */
.card-buttons {
    display: flex;
    gap: 10px;
}

.btn-action {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-download {
    background: #fff;
    color: #000;
}

.btn-download:hover {
    background: var(--accent-cyan);
}

.btn-tiktok-subtle {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-tiktok-subtle:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-tiktok-subtle svg {
    width: 16px;
    fill: currentColor;
}


/* --- ESTILO DEL ENCABEZADO (IGUAL AL RESTO DE LA WEB) --- */
.section-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* El tag de "RECIÉN SUBIDOS" */
.live-tag {
    color: #ff004f; /* Tu rojo de acento */
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

/* El punto que parpadea */
.pulse {
    width: 8px;
    height: 8px;
    background-color: #ff004f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ff004f;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* El título principal "Mods del Día" */
.title-primary {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4rem); /* Tamaño imponente y responsivo */
    font-weight: 950; /* Ultra negrita */
    text-transform: uppercase;
    line-height: 0.85;
    margin: 0;
    letter-spacing: -3px; /* Estilo compacto tipo gaming */
    position: relative;
    /* Sombra para que destaque sobre cualquier fondo */
    text-shadow: 0 15px 30px rgba(0,0,0,0.7);
}

/* Línea de detalle opcional bajo el título */
.title-primary::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: #ff004f;
    margin-top: 15px;
    border-radius: 2px;
}

/* --- AJUSTE DE LA PISTA DEL SLIDER --- */
/* Solo para asegurar que el contenido no se pegue al título */
.slider-wrapper {
    margin-top: 20px;
}



/* -----------------------------------------------------------
   11. TODAY'S FLASH MODS (TikTok Bridge) anime
----------------------------------------------------------- */
.anime-mods-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 3 por fila en PC */
    gap: 20px;
    margin-top: 40px;
}

.pulse-anime {
    width: 8px;
    height: 8px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffcc00;
    display: inline-block;
    margin-right: 8px;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.anime-card {
    height: 450px; /* Misma altura que el carrusel para consistencia */
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.anime-card:hover {
    transform: translateY(-8px);
    border-color: #ffcc00;
}

.anime-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transition: 0.5s ease;
}

.anime-card:hover .anime-card-bg {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.anime-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 60%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.anime-category {
    font-size: 0.65rem;
    font-weight: 900;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.anime-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin: 5px 0;
    text-transform: uppercase;
}

.anime-dl-btn {
    font-size: 0.7rem;
    font-weight: 900;
    color: white;
    background: #ffcc00;
    color: black;
    padding: 8px 15px;
    border-radius: 4px;
    width: fit-content;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.anime-card:hover .anime-dl-btn {
    opacity: 1;
    transform: translateY(0);
}