/* Estilos generales */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Footer Pokémon */
.pokemon-footer {
    background: linear-gradient(to right, #3c5aa6, #2a3f77, #3c5aa6);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.pokemon-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pokemon-pattern.svg');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 0;
}

.footer-section {
    position: relative;
    z-index: 1;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-title {
    color: #ffcb05;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pokeball-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #ff1c1c 50%, #f8f8f8 50%);
    position: relative;
    border: 2px solid #333;
}

.pokeball-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%);
}

.pokeball-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: #f8f8f8;
    border-radius: 50%;
    border: 1px solid #333;
    transform: translate(-50%, -50%);
}

.pokemon-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pokemon-links li {
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.pokemon-links li:hover {
    transform: translateX(5px);
}

.pokemon-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    position: relative;
}

.pokemon-links a::before {
    content: '⚡';
    margin-right: 8px;
    color: #ffcb05;
    font-size: 0.8em;
}

.pokemon-links a:hover {
    color: #ffcb05;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a3f77;
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid #ffcb05;
}

.social-icon:hover {
    background-color: #ffcb05;
    color: #3c5aa6;
    transform: rotate(360deg);
}

.footer-divider {
    height: 3px;
    background: linear-gradient(to right, transparent, #ffcb05, transparent);
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

/* Header Pokémon */
.pokemon-header {
    background: linear-gradient(to right, #ff1c1c, #f8f8f8, #ff1c1c);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.pokemon-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pokemon-pattern.svg');
    background-repeat: repeat;
    opacity: 0.7;
    z-index: 0;
}

.pokemon-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3c5aa6; /* Azul Pokémon */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
    position: relative;
    z-index: 1;
}

.pokeball-decoration {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #ff1c1c 50%, #f8f8f8 50%);
    position: relative;
    border: 2px solid #333;
    z-index: 1;
    cursor: pointer;
}

.pokeball-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    transform: translateY(-50%);
}

.pokeball-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #f8f8f8;
    border-radius: 50%;
    border: 2px solid #333;
    transform: translate(-50%, -50%);
}

.navbar-pokemon {
    background-color: #3c5aa6; /* Azul Pokémon */
    padding: 10px 0;
}

.navbar-pokemon .navbar-brand {
    color: #ffcb05; /* Amarillo Pokémon */
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pokemon-logo {
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.navbar-pokemon .nav-link {
    color: #f8f8f8;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    margin: 0 5px;
}

.navbar-pokemon .nav-link:hover {
    color: #ffcb05; /* Amarillo Pokémon */
    transform: scale(1.05);
}

.navbar-pokemon .nav-link.active {
    color: #ffcb05; /* Amarillo Pokémon */
    font-weight: bold;
}

.navbar-pokemon .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: #ffcb05;
    transform: translateX(-50%);
}

.navbar-pokemon .dropdown-menu {
    background-color: #3c5aa6;
    border: 1px solid #ffcb05;
}

.navbar-pokemon .dropdown-item {
    color: #f8f8f8;
}

.navbar-pokemon .dropdown-item:hover {
    background-color: #2a3f77;
    color: #ffcb05;
}

.navbar-pokemon .navbar-toggler {
    border-color: #ffcb05;
}

.navbar-pokemon .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 203, 5, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/pokemon-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px 0;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 10px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 250px;
    object-fit: contain;
}

.card-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card-rareza {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.rareza-comun {
    background-color: #e9ecef;
    color: #495057;
}

.rareza-rara {
    background-color: #cfe2ff;
    color: #0d6efd;
}

.rareza-holografica {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef, #dee2e6, #ced4da);
    color: #212529;
}

.rareza-ultra {
    background: linear-gradient(45deg, #ffc107, #fd7e14, #dc3545, #6f42c1);
    color: white;
}

.card-ps {
    font-weight: bold;
    color: #dc3545;
}

.card-tipo {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.tipo-fuego {
    background-color: #ffcccb;
    color: #dc3545;
}

.tipo-agua {
    background-color: #cfe2ff;
    color: #0d6efd;
}

.tipo-planta {
    background-color: #d1e7dd;
    color: #198754;
}

.tipo-electrico {
    background-color: #fff3cd;
    color: #ffc107;
}

.tipo-normal {
    background-color: #e9ecef;
    color: #6c757d;
}

.tipo-psiquico {
    background-color: #f5d0fe;
    color: #9333ea;
}

.tipo-fantasma {
    background-color: #e9d5ff;
    color: #7e22ce;
}

.tipo-dragon {
    background-color: #ddd6fe;
    color: #6d28d9;
}

.card-precio {
    font-size: 1.25rem;
    font-weight: bold;
    color: #198754;
}

/* Detalles de carta */
.card-detail-img {
    max-height: 500px;
    object-fit: contain;
}

.card-detail-info {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ataque-item, .habilidad-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.ataque-nombre, .habilidad-nombre {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.ataque-poder {
    font-weight: bold;
    color: #dc3545;
}

.ataque-energia {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    background-color: #e9ecef;
    color: #495057;
}

/* Contacto */
.contact-info {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-info i {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* Sobre nosotros */
.about-section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #343a40;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Estilos para el carrito */
.cart-item {
    transition: background-color 0.3s;
}

.cart-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.quantity-form {
    max-width: 120px;
}

.quantity-input {
    text-align: center;
}

/* Estilos para los métodos de pago */
.payment-methods {
    margin-top: 10px;
}

.payment-icon {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

/* Estilos para la página de checkout */
.payment-form {
    transition: all 0.3s ease;
}

/* Estilos para la página de confirmación */
.card-detail-img {
    max-height: 500px;
    object-fit: contain;
}

/* Animación para el badge del carrito */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.badge {
    animation: pulse 1s infinite;
    animation-iteration-count: 1;
}