/* Variables de Colores para GamingKings (Estilo Moderno y Vibrante) */
:root {
    /* Paleta Principal: Dorado, Marrón, Gris */
    --primary-gold: #d68f24;
    --secondary-brown: #867355;
    --accent-grey: #6A6A6A; /* Gris medio para acentos/texto secundario */
    --dark-grey-bg: #1C1C1E; /* Fondo principal muy oscuro (casi negro) */
    --card-bg: #2C2C2E; /* Fondo para tarjetas y elementos (un poco más claro que el fondo principal) */
    --text-color: #E0E0E0; /* Texto claro */
    --secondary-text: #A0A0A0; /* Texto secundario gris */
    --border-color: #404044; /* Borde sutil oscuro */
    --input-bg: #232325; /* Fondo más oscuro para inputs */

    /* Gradientes y Sombras con la nueva paleta */
    --hover-gold: #d68f24;
    --button-gradient: linear-gradient(to right, #d68f24, #867355);
    --button-hover-gradient: linear-gradient(to right, #867355, #d68f24);
    --shadow-dark: rgba(0, 0, 0, 0.6); /* Sombra oscura más pronunciada */
    --shadow-light: rgba(214, 143, 36, 0.3); /* Sombra de brillo dorado */

    /* Colores para elementos seleccionados/interactivos */
    --item-border-hover: var(--primary-gold);
    --item-shadow-hover: 0 4px 15px rgba(214, 143, 36, 0.4);
    --item-selected-bg: var(--primary-gold);
    --item-selected-text: #ffffff;
    --item-selected-border: var(--primary-gold);
    --item-selected-shadow: 0 0 20px rgba(214, 143, 36, 0.6);

    /* Otros colores */
    --success-green: #28a745; /* Verde para WhatsApp/éxito */
    --white: #ffffff;
}

/* Estilos Generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

h1, h2, h3 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 1px 1px 3px var(--shadow-dark);
}

p {
    text-align: center;
    margin-bottom: 15px;
}

.small-text {
    font-size: 0.85em;
    color: var(--secondary-text);
    text-align: center;
}

/* Header */
header {
    background: linear-gradient(to right, #d68f24, #867355);
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.header-left .logo-img {
    height: auto;
    max-height: 85px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 15px 10px 40px;
    color: var(--text-color);
    outline: none;
    width: 200px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.search-bar input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px var(--shadow-light);
}

.search-bar .fas.fa-search {
    position: absolute;
    left: 15px;
    color: var(--secondary-text);
    font-size: 1em;
}

/* Selector de Moneda */
.custom-currency-selector {
    position: relative;
    cursor: pointer;
    user-select: none;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: space-between;
    box-sizing: border-box;
}

.custom-currency-selector:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px var(--shadow-light);
}

.selected-currency {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.selected-currency img {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.selected-currency span {
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.selected-currency i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
    color: var(--secondary-text);
    margin-left: auto;
}

.custom-currency-selector.show .selected-currency i {
    transform: rotate(180deg);
}

.currency-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow-dark);
    z-index: 10;
    display: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-currency-selector.show .currency-options {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.currency-options .option {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.currency-options .option:hover {
    background-color: var(--dark-grey-bg);
    color: var(--primary-gold);
}

.currency-options .option img {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* Botones */
.btn-primary {
    background: #0000ff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow-dark);
    display: block;
    margin: 20px auto;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #0000cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.btn-primary:disabled {
    background: #0000cc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.btn-secondary {
    background-color: var(--accent-grey);
    color: #ffffff;
    padding: 9px 18px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px var(--shadow-dark);
}

.btn-secondary:hover {
    background-color: #5A5A5A;
    transform: translateY(-1px);
}

/* Secciones principales */
main > section {
    background-color: transparent;
    padding: 35px 20px;
    margin-bottom: 25px;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    border: none;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-brown) 100%);
    padding: 60px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(214, 143, 36, 0.6);
    border: none;
}

.hero h1 {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Tarjetas de Juegos - DISEÑO COMPLETAMENTE NUEVO (Home Page) */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
    margin-top: 25px;
}

.game-card {
    background: linear-gradient(to right, #d68f24, #867355);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9);
}

.game-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.game-card h2 {
    font-size: 1.6em;
    margin: 20px 0 10px;
    color: var(--text-color);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    min-height: 60px;
    line-height: 1.3;
}

.game-card .game-description {
    font-size: 0.95em;
    color: var(--secondary-text);
    margin: 0 15px 15px;
    text-align: center;
    line-height: 1.4;
}

/* Input de Jugador */
.input-group {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1em;
}

.input-group input[type="text"],
.input-group input[type="number"],
.input-group select {
    width: 100%;
    max-width: 350px;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.input-group input[type="text"]:focus,
.input-group input[type="number"]:focus,
.input-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px var(--shadow-light);
}

.form-group input::placeholder {
    color: var(--secondary-text);
}

.player-name-display {
    font-weight: 600;
    color: var(--primary-gold);
    margin-top: 10px;
    min-height: 1.2em;
    font-size: 1.1em;
}

/* Opciones de Paquetes */
.package-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.package-item {
    background-color: #A8A9AD; /* Gris Metálico */
    border: 2px solid #868B8E; /* Gris oscuro para el borde */
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    min-height: 100px;
    visibility: visible !important;
    opacity: 1 !important;
    box-sizing: border-box;
}

.package-item:hover {
    border-color: #A8A9AD;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(168, 169, 173, 0.6); /* Sombra de brillo metálico */
}

.package-item.selected {
    background: #A8A9AD; /* Fondo sólido gris metálico */
    color: var(--dark-grey-bg);
    border-color: #868B8E;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(168, 169, 173, 0.8);
}

.package-item.selected .price {
    color: var(--white); /* Precio en blanco para contraste */
}

.package-item.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--white);
    background-color: var(--success-green);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    border: 1px solid var(--white);
}

.package-item span:first-child {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 5px;
}

.package-item .price {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.25em;
}

/* Métodos de Pago - NUEVO DISEÑO */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.payment-method-option {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px var(--shadow-dark);
    position: relative;
    box-sizing: border-box;
}

.payment-method-option:hover {
    border-color: var(--item-border-hover);
    transform: translateY(-5px);
    box-shadow: var(--item-shadow-hover);
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option input[type="radio"]:checked + label {
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-brown));
    color: var(--item-selected-text);
    border-color: var(--item-selected-border);
    transform: scale(1.02);
    box-shadow: var(--item-selected-shadow);
}

.payment-method-option input[type="radio"]:checked + label::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    color: #ffffff;
    background-color: var(--success-green);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    border: 1px solid #ffffff;
}

.payment-method-option label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-weight: 600;
}

.payment-method-option label img {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.payment-method-option input[type="radio"]:checked + label img {
    filter: grayscale(0);
}

/* Footer */
footer {
    background: linear-gradient(to right, #d68f24, #867355);
    color: var(--secondary-text);
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 8px var(--shadow-dark);
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    box-sizing: border-box;
}

footer p {
    margin-bottom: 0;
    font-size: 0.9em;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--success-green);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-link:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

.whatsapp-link .fab.fa-whatsapp {
    font-size: 1.2em;
}

/* General Form & Card Styles */
.form-container, .info-card, .payment-details-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 35px;
    max-width: 650px;
    margin: 40px auto;
    box-shadow: 0 5px 15px var(--shadow-dark);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.form-container h2, .info-card h2, .payment-details-card h2 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px var(--shadow-light);
}

.form-group input::placeholder {
    color: var(--secondary-text);
}

/* Payment Details Page */
.payment-details-main {
    padding: 40px 20px;
    text-align: center;
}

.payment-details-card h2 {
    color: var(--primary-gold);
    margin-bottom: 25px;
    font-size: 2em;
}

.payment-details-card p {
    font-size: 1em;
    margin-bottom: 15px;
    text-align: left;
}

.payment-details-card strong {
    color: var(--primary-gold);
}

.payment-instructions {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.payment-instructions p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.payment-instructions code {
    background-color: rgba(214, 143, 36, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-block;
    word-break: break-all;
}

/* Specific styles for game recharge pages */
.game-main {
    width: 100%;
    margin-top: 0;
    padding: 0;
}

.game-main .game-hero {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-grey-bg);
    border-radius: 0;
    box-shadow: 0 10px 25px var(--shadow-dark);
}

.game-main .game-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-main .game-hero .game-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.game-main .game-hero h1 {
    color: var(--white);
    font-size: 3em;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Contenedor principal del contenido del juego (formulario y detalles) */
.game-content-wrapper {
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Tarjeta de información del juego */
.game-info-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.game-info-card h2 {
    color: var(--primary-gold);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-align: center;
}

.game-info-card p {
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: center;
}

.game-info-card span {
    font-weight: bold;
    color: var(--primary-gold);
}

/* Formulario específico de recarga */
#bloodstrike-recharge-form,
#freefire-recharge-form {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-color);
}

.form-group input[type="text"] {
    width: calc(100% - 30px);
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px var(--shadow-light);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

#confirm-recharge-btn {
    background: var(--button-gradient) !important;
    color: #0000FF !important;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    display: block;
    margin: 20px auto;
    letter-spacing: 0.5px;
}

#confirm-recharge-btn:hover:not(:disabled) {
    background: #0000CC
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

#confirm-recharge-btn:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Styles for Payment Selection page */
.transaction-summary {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.transaction-summary p {
    margin-bottom: 10px;
    font-size: 1.05em;
    text-align: left;
}

.transaction-summary strong {
    color: var(--primary-gold);
}

/* Styles for Info Pages (Privacy, Terms) */
.content-page {
    padding: 40px 20px;
    max-width: 900px;
    margin: 40px auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-dark);
    border: 1px solid var(--border-color);
}

.content-page h1 {
    color: var(--primary-gold);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
}

.content-page h2 {
    color: var(--primary-gold);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-align: left;
}

.content-page h3 {
    color: var(--primary-gold);
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.5em;
    text-align: left;
}

.content-page p {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: var(--text-color);
    text-align: left;
}

.content-page ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: left;
}

.content-page li {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.content-page a {
    color: var(--primary-gold);
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

/* Añadido para el asterisco de requerido */
.required-star {
    color: var(--primary-gold);
    margin-left: 3px;
    font-size: 0.85em;
}

/* Estilos específicos para la página de Pago (payment.html) */

/* Contenedor del botón de copiar y texto */
.copy-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.copy-container .wallet-address {
    display: none;
}

.address-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95em;
    white-space: nowrap;
}

.copy-button {
    background: var(--button-gradient);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.copy-button:hover {
    background: var(--button-hover-gradient);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-dark);
}

.copy-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 5px var(--shadow-dark);
}

.copy-feedback {
    display: none;
    margin-left: 10px;
    color: var(--primary-gold);
    font-size: 0.9em;
    font-weight: bold;
    white-space: nowrap;
}

.payment-details-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-details-card ul li {
    margin-bottom: 8px;
}

.payment-fields-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.payment-fields-container p {
    text-align: left;
    margin-bottom: 15px;
}

/* Estilos para el Carrusel */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 350px;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.8);
    border: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .header-right {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        gap: 12px;
    }

    .search-bar, .custom-currency-selector {
        width: 100%;
        max-width: none;
    }

    .search-bar input {
        width: 100%;
        padding: 10px 15px 10px 40px;
        box-sizing: border-box;
    }

    .custom-currency-selector {
        min-width: unset;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }

    .home-main h1 {
        font-size: 1.8em;
    }

    main > section {
        padding: 20px 15px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .game-card img {
        height: 140px;
    }

    .game-card h2 {
        font-size: 1.3em;
        margin: 15px 0 8px;
    }

    .game-card .game-description {
        font-size: 0.9em;
        margin: 0 10px 10px;
    }

    .form-container, .content-page, .payment-details-card, .recharge-section, .game-info-card, #bloodstrike-recharge-form, #freefire-recharge-form {
        margin: 30px 15px;
        padding: 25px;
    }

    .form-container h2, .content-page h2, .payment-details-card h2, .recharge-section h2, .game-info-card h2 {
        font-size: 1.8em;
    }

    .package-list, .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .package-item, .payment-method-option, .option-card {
        padding: 15px;
        font-size: 1em;
    }

    .payment-method-option label img {
        height: 35px;
        width: auto;
    }

    .footer-content {
        padding: 0 20px;
    }

    .footer-links {
        gap: 15px;
        max-width: 400px;
    }

    .game-main .game-hero {
        height: 200px;
        margin-bottom: 30px;
    }

    .game-main .game-hero h1 {
        font-size: 2em;
    }
    
    .carousel-container {
        height: 280px;
    }

    .carousel-prev, .carousel-next {
        padding: 10px 8px;
        font-size: 1.2rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    .logo-img {
        max-height: 60px;
    }

    .hero h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.95em;
    }

    .home-main h1 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 15px;
    }

    .footer-content {
        padding: 0 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
        max-width: 250px;
    }

    .btn-primary {
        width: 90%;
        padding: 10px 18px;
        font-size: 1em;
    }

    .form-container, .content-page, .payment-details-card, .recharge-section, .game-info-card, #bloodstrike-recharge-form, #freefire-recharge-form {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .form-container h2, .content-page h2, .payment-details-card h2, .recharge-section h2, .game-info-card h2 {
        font-size: 1.6em;
    }

    .package-item, .payment-method-option, .option-card {
        font-size: 0.95em;
        padding: 12px;
        min-height: unset;
    }

    .game-main .game-hero {
        height: 150px;
        margin-bottom: 25px;
    }

    .game-main .game-hero h1 {
        font-size: 1.8em;
    }
    
    .carousel-container {
        height: 200px;
    }
}

/* Responsive adjustments for payment.html specific elements */
@media (max-width: 480px) {
    .copy-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .copy-button {
        width: auto;
        padding: 8px 12px;
        font-size: 0.85em;
    }
    .address-label, .copy-feedback {
        font-size: 0.85em;
    }
}

/* Eliminación del aspecto de "recuadro" solo para los formularios de recarga */
#bloodstrike-recharge-form,
#freefire-recharge-form {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Ajusta los h2 dentro de los formularios para que se vean bien sin el recuadro */
#bloodstrike-recharge-form h2,
#freefire-recharge-form h2 {
    color: var(--text-color);
    text-shadow: none;
}