body {
    background-color: #121212;
    color: #f1f1f1;
    font-family: 'Roboto', sans-serif;
}

header {
    background-color: #1e1e1e;
    border-bottom: 2px solid #00ff7f;
    padding: 1rem 0;
}

.footer {
    border-bottom: none;
    border-top: 2px solid #00ff7f;
    text-align: center;
}

header .navbar-brand img {
    max-height: 70px;
}

.navbar-brand {
    background-color: #1e1e1e;
    display: inline;
}

.nav-link {
    color: #f1f1f1;
}

.nav-link:hover {
    color: #00ff7f;
}

a {
    color: #00ff7f;
}

a:hover {
    color: #00e671;
}

.btn-primary {
    background-color: #00ff7f;
    border-color: #00ff7f;
    color: #121212;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #00e671;
    border-color: #00e671;
    color: #121212;
}

.btn-danger {
    background-color: #e53935;
    border-color: #e53935;
}

.game-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

p {
    color: #f1f1f1;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 255, 127, 0.2);
}

.game-card .card-title {
    color: #00ff7f;
}

.game-card .card-img-top {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    object-position: center;
}

.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #2a2a2a;
    border-color: #444;
    color: #f1f1f1;
}

.form-control:focus {
    background-color: #2a2a2a;
    border-color: #00ff7f;
    color: #f1f1f1;
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 127, 0.25);
}

.main-content {
    margin-top: 3rem;
}

.section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.section-title,
.page-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.torneos-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .torneos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .torneos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.galeria-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.galeria-item {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #333;
}

.galeria-item img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.ranking-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: inset 0 0 0 5px #00ff7f;
    background-color: #1e1e1e;
}

.login-container {
    text-align: center;
}

.login-section {
    margin-right: auto;
    margin-left: auto;
    max-width: 300px;
}

.login-title {
    margin-bottom: 1rem;
}

.login-form__group {
    margin-bottom: 0.5rem;
}

.login-form__error {
    color: #e53935;
    display: none;
    margin-top: 10px;
}

.footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer-text {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.collaboration-container {
    display: flex;
    justify-content: center;
}
.collaboration-form-wrapper {
    flex: 0 0 auto;
    width: 100%;
}
@media (min-width: 992px) {
    .collaboration-form-wrapper {
        width: 66.66666667%;
    }
}
/* Pagina Quiero Colaborar */
.page-subtitle { text-align: center; color: rgba(255, 255, 255, .5); }

.collaboration-form,
.collaboration-details {
    margin-top: 1.5rem;
}

.form-fieldset,
.login-title,
.form-group,
.admin-header,
.abm-panel__create-button {
    margin-bottom: 1.5rem;
}

.fieldset-title { color: #0d6efd; font-size: 1.5rem; }
.collaboration-form__submit { width: 100%; margin-top: 1.5rem; }
/* Pagina Admin */
.admin-header { display: flex; justify-content: space-between; align-items: center; }
.admin-header__welcome-message { color: #198754; }
.admin-divider { border-color: rgba(25, 135, 84, 1); }
.abm-panel__item { background-color: #212529; color: #ced4da; display: flex; justify-content: space-between; align-items: center; }
.abm-panel__actions .btn { margin-left: 0.5rem; }