/*==========================
🧱 ESTILOS FIJOS
==========================*/

/* Placeholder gris */
.placeholder_gray_customize::placeholder {
    color: #9CA3AF;
    opacity: 1;
}


/* Texto colores */
.text_white, .hover\:text_white:hover,
.group:hover .group-hover\:text_white {
    color: #ffffff;
}

.text_green { color: #66BB6A; }

.text_yellow,
.hover\:text_yellow:hover,
.group:hover .group-hover\:text_yellow {
    color: #fbbf24;
}

.text_gray,
.hover\:text_gray:hover,
.group:hover .group-hover\:text_gray {
    color: #9ca3af;
}

.text_blue,
.hover\:text_blue:hover,
.group:hover .group-hover\:text_blue {
    color: #2471f0;
}

.text_black,
.hover\:text_black:hover,
.group:hover .group-hover\:text_black {
    color: #110F2C;
}

.text_red,
.hover\:text_red:hover,
.group:hover .group-hover\:text_red {
    color: #ef4444;
}

.bg_red { background-color: #ef4444; }

.text_indigo { color: #6366f1; }
.text_pink { color: #ec4899; }

.hover\:text_pink:hover,
.group:hover .group-hover\:text_pink {
    color: #2563eb;
}

/* Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-color, #1F2937) inset;
    transition: background-color 5000s ease-in-out 0s;
}


/* Lista de juegos */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    padding-top: 24px;
}

.game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    padding: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.game-item:hover {
    transform: translateY(-4px);
}

.game-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Media Queries */
@media (max-width: 1440px) and (min-width: 1400px) {
    .w-30 { width: 9.2rem; }
    .game-list { gap: 0.6vw; grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 1200px) {
    .w-30 { width: 9rem; }
    .game-list { gap: 1vw; grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 992px) {
    .w-30 { width: 8rem; }
    .game-list { gap: 1vw; grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .logo img { height: 1.4rem; }
    .bg-white.rounded-lg.p-4.py-3.px-3 { padding: 0.5rem; }
    .search-form-lg { padding-left: 0; }
    .login-btn, .register-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    .w-30 { width: 7.2rem; }
    .game-list { gap: 2vw; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
    .w-30 { width: 8rem; }
    .game-list { gap: 3.5vw; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .w-30 { width: 8rem; }
    .game-list { gap: 3vw; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 360px) {
    .w-30 { width: 8rem; }
    .game-list { gap: 3vw; grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .logo img { height: 1.5rem; }
    .bg-white.rounded-lg.p-4.py-3.px-3 { padding: 1.5rem; }
    .search-form-lg { padding-left: 2rem; }
}


