/* ===== ESTILOS CHAOSCOMPANY - VERSIÓN COMPLETA MEJORADA ===== */
:root {
    --primary-color: #76b900;
    --secondary-color: #000000;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --accent-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --card-bg: #1a1a1a;
    --success-color: #76b900;
    --error-color: #ff4444;
    --warning-color: #ffaa00;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --header-height: 70px;
    
    /* Variables de estilo Xbox */
    --xbox-green: #107c10;
    --xbox-dark: #0e0e0e;
    --xbox-gray: #1f1f1f;
    --xbox-light: #333;
    --xbox-text: #ffffff;
    --xbox-accent: #00ff00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(to bottom, #000000, #1a1a1a);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    display: block;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    background: rgba(118, 185, 0, 0.15);
}

/* ===== CONTENIDO PRINCIPAL ===== */
main {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ===== PERFIL XBOX ===== */
.xbox-profile-container {
    background: var(--xbox-dark);
    color: var(--xbox-text);
    min-height: 100vh;
}

/* Header estilo Xbox */
.profile-header-xbox {
    background: linear-gradient(135deg, var(--xbox-green) 0%, #1a471a 100%);
    position: relative;
    padding: 2rem 0;
}

.profile-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.avatar-container {
    position: relative;
}

.profile-avatar-xbox {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.8);
    object-fit: cover;
    background: var(--xbox-gray);
}

.online-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--xbox-dark);
}

.online-status.online {
    background: var(--xbox-accent);
    box-shadow: 0 0 10px var(--xbox-accent);
}

.online-status.offline {
    background: #666;
}

.profile-info {
    flex: 1;
}

.gamertag {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.gamer-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--xbox-accent);
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contenido principal */
.profile-content-xbox {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Tarjetas comunes */
.info-card,
.membership-card,
.stats-card,
.achievements-card {
    background: var(--xbox-gray);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--xbox-light);
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--xbox-text);
    border-bottom: 2px solid var(--xbox-green);
    padding-bottom: 0.5rem;
}

/* Información del perfil */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: between;
    align-items: center;
}

.info-label {
    font-weight: bold;
    color: #ccc;
    min-width: 120px;
}

.info-value {
    color: var(--xbox-text);
}

/* Membresía */
.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.membership-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.membership-badge.free {
    background: #666;
    color: white;
}

.membership-badge.standard {
    background: #0078d4;
    color: white;
}

.membership-badge.ultimate {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: black;
}

.membership-status {
    text-align: center;
}

.status-active,
.status-inactive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.status-active {
    color: var(--xbox-accent);
}

.status-inactive {
    color: #ff4444;
}

.membership-details {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.days-remaining {
    color: var(--xbox-accent);
}

.upgrade-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--xbox-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.upgrade-button:hover {
    background: #0e6a0e;
    transform: translateY(-2px);
}

/* Estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--xbox-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--xbox-accent);
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Logros */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.achievement-icon.bronze {
    background: linear-gradient(45deg, #cd7f32, #b08d57);
}

.achievement-icon.silver {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.achievement-icon.gold {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
}

.achievement-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.achievement-title {
    font-weight: bold;
}

.achievement-game {
    font-size: 0.8rem;
    opacity: 0.7;
}

.achievement-date {
    font-size: 0.7rem;
    opacity: 0.5;
}

.achievement-points {
    font-weight: bold;
    color: var(--xbox-accent);
}

/* Acciones rápidas */
.quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--xbox-light);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.action-button:hover {
    background: var(--xbox-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 124, 16, 0.3);
}

.action-button.upgrade {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: black;
    font-weight: bold;
}

/* ===== SECCIÓN HERO ===== */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
    margin: 0 auto;
    max-width: 1000px;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO GAMEPASS CORREGIDO ===== */
.library-section .hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    padding: 6rem 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.library-section .hero-content {
    flex: 1;
}

.library-section .hero-content h1 {
    font-size: 1.8em;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.library-section .hero-content p {
    font-size: 1em;
    margin-bottom: 2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.library-section .hero-image {
    flex: 1;
    text-align: center;
}

.library-section .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* ===== MÁS ESPACIO PARA LA SECCIÓN DE BIBLIOTECA ===== */
.library-section {
    padding: 2rem 2rem 5rem 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.library-section h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #5a9e00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(118, 185, 0, 0.4);
}

.btn-primary { background: var(--primary-color); color: #000; }
.btn-secondary { background: #333; color: white; }
.btn-warning { background: var(--warning-color); color: #000; }
.btn-outline-primary { 
    background: transparent; 
    border: 2px solid var(--primary-color); 
    color: var(--primary-color); 
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #000;
}

/* ===== ESTILO COHERENTE CON BENEFICIOS GRID ===== */
.ventajas ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.ventajas ul li {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 2rem 1.5rem !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid #444 !important;
    transition: var(--transition) !important;
    position: relative !important;
    text-align: center !important;
}

.ventajas ul li::before {
    content: '⚡' !important;
    font-size: 2em !important;
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--primary-color) !important;
    color: #000 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ventajas ul li:hover {
    transform: translateY(-5px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 25px rgba(118, 185, 0, 0.2) !important;
}

.ventajas h2 {
    font-size: 2.4em !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 5rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.features h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    font-weight: 600;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid #333;
    flex: 1;
    min-width: 350px;
    max-width: 380px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.feature p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05em;
}

/* ===== CARRUSEL CLEAN ===== */
.animated-carousel-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.animated-carousel-section h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.animated-carousel-section p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1.2em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.animated-carousel {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    margin: 2rem auto;
    max-width: 1200px;
    z-index: 1;
    border: none;
    padding: 0;
}

.carousel-track {
    position: absolute;
    display: flex;
    align-items: center;
    animation: scroll-left linear infinite;
    white-space: nowrap;
    height: 120px;
}

.carousel-track.row1 {
    top: 0;
    animation-duration: 40s;
}

.carousel-track.row2 {
    top: 120px;
    animation-duration: 50s;
}

.carousel-track.row3 {
    display: flex;
    top: 240px;
    animation-duration: 45s;
}

.game-item {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    flex-shrink: 0;
    transition: var(--transition);
    background: transparent;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: none;
    height: 100px;
}

.game-item:hover {
    transform: scale(1.05);
    background: rgba(118, 185, 0, 0.1);
}

/* ===== CORRECCIÓN PARA LAS IMÁGENES DEL CARRUSEL ===== */
.game-item img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    border-radius: 6px;
    margin-right: 15px;
    filter: brightness(0.9);
    background: rgba(0, 0, 0, 0.3);
}

.game-item h3 {
    font-size: 1em;
    color: var(--text-light);
    white-space: nowrap;
    font-weight: 500;
}

.animated-carousel::before,
.animated-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.animated-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

.animated-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

/* ===== GAMEPASS SECTION MEJORADA ===== */
.library-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.library-section h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.library-section > p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
    line-height: 1.6;
}

.filters {
    text-align: center;
    margin-bottom: 3rem;
}

.filters label {
    color: var(--text-muted);
    margin-right: 1rem;
    font-weight: 600;
    font-size: 1.1em;
}

.filters select {
    background: #1a1a1a;
    color: var(--text-light);
    border: 1px solid #444;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    min-width: 220px;
    transition: var(--transition);
}

.filters select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.2);
}

.game-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.game-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #333;
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(118, 185, 0, 0.2);
    border-color: var(--primary-color);
}

/* ===== CORRECCIÓN PARA LAS IMÁGENES DE LAS TARJETAS ===== */
.game-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    transition: transform 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.game-info h3 {
    color: var(--text-light);
    font-size: 1.2em;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* ===== PREMIUM SECTION CENTRADA ===== */
.premium-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    margin: 4rem auto;
    max-width: 900px;
    text-align: center;
    border: 1px solid #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.premium-section h2 {
    font-size: 2.4em;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.premium-section p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.premium-section .btn {
    font-size: 1.1em;
    padding: 15px 40px;
}

/* ===== MODAL CENTRADO ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    margin: 10% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    border: 1px solid #444;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    z-index: 1;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    background: linear-gradient(90deg, var(--primary-color), #3700ff);
    color: #000;
    padding: 1.5rem;
    margin: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1em;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.modal-actions {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 120px;
}

/* ===== VENTAJAS SECTION REDISEÑADA ===== */
.ventajas {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ventajas > h1 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

.ventajas > p {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-muted);
    font-size: 1.3em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ventajas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    margin-bottom: 4rem;
}

.ventaja-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid #444;
    text-align: center;
    flex: 1;
    min-width: 350px;
    max-width: 380px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ventaja-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3700ff);
}

.ventaja-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(118, 185, 0, 0.2);
    border-color: var(--primary-color);
}

.ventaja-card h3 {
    font-size: 1.4em;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.ventaja-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05em;
}

/* ===== BENEFICIOS EXCLUSIVOS MEJORADO ===== */
.beneficios-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    margin: 3rem auto;
    max-width: 1000px;
    border: 1px solid #444;
    text-align: center;
}

.beneficios-section h2 {
    font-size: 2.4em;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.beneficios-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.beneficio-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #444;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    transition: var(--transition);
    position: relative;
}

.beneficio-item::before {
    content: '⚡';
    font-size: 2em;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(118, 185, 0, 0.2);
}

.beneficio-item p {
    color: var(--text-light);
    font-size: 1.1em;
    line-height: 1.5;
    margin-top: 1rem;
    font-weight: 500;
}

/* ===== FAQ SECTION MEJORADA ===== */
.faq {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.faq h2 {
    font-size: 2.8em;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid #444;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3em;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05em;
}

/* ===== MEMBRESÍAS SECTION ===== */
.membership-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.plans-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
}

.plan {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #444;
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3700ff);
}

.plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(118, 185, 0, 0.2);
    border-color: var(--primary-color);
}

.plan h3 {
    font-size: 1.8em;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.plan .price {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    flex: 1;
}

.plan ul li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1.05em;
}

.plan ul li::before {
    content: "✔";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.1em;
}

.current-plan {
    text-align: center;
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 3rem;
    font-weight: bold;
    background: rgba(118, 185, 0, 0.1);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FORMULARIOS ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.form-card {
    background-image: linear-gradient(163deg, var(--primary-color) 0%, #3700ff 100%);
    border-radius: 22px;
    transition: all 0.3s;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-card:hover {
    box-shadow: 0px 0px 30px 1px rgba(118, 185, 0, 0.3);
}

.form-card-inner {
    border-radius: 0;
    transition: all 0.2s;
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 0;
}

.form-card-inner:hover {
    transform: scale(0.98);
    border-radius: 20px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 0.4em;
    background-color: #171717;
    border-radius: 25px;
    transition: 0.4s ease-in-out;
}

.form-heading {
    text-align: center;
    margin: 2em;
    color: rgb(255, 255, 255);
    font-size: 1.2em;
}

.form-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.form-input-icon {
    height: 1.3em;
    width: 1.3em;
    fill: white;
}

.form-input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #d3d3d3;
    font-size: 1rem;
}

.form-input-field:focus {
    outline: none;
}

.form-buttons {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 2.5em;
    gap: 0.5rem;
}

.form-button-primary {
    padding: 0.8em 1.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: 0.4s ease-in-out;
    background-color: #252525;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9em;
}

.form-button-primary:hover {
    background-color: black;
    color: white;
}

.form-button-secondary {
    padding: 0.8em 1.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: 0.4s ease-in-out;
    background-color: #252525;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9em;
}

.form-button-secondary:hover {
    background-color: black;
    color: white;
}

.form-button-link {
    margin-bottom: 2em;
    padding: 0.8em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: 0.4s ease-in-out;
    background-color: #252525;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    font-size: 0.9em;
}

.form-button-link:hover {
    background-color: #ff4444;
    color: white;
}

/* ===== PERFIL DE USUARIO ===== */
.profile-container {
    max-width: 500px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    color: var(--text-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 1;
    border: 1px solid #444;
}

.profile-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
    background: #333;
    object-fit: cover;
}

.profile-header h2 {
    margin: 0;
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: 600;
}

.membership {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: var(--primary-color);
    color: #000000;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
}

.profile-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.profile-details li {
    margin-bottom: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #444;
}

.profile-details li strong {
    color: var(--primary-color);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.btn-edit, .btn-home {
    display: block;
    text-align: center;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-edit:hover, .btn-home:hover {
    background: #5a9e00;
    transform: translateY(-2px);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== PIE DE PÁGINA ===== */
footer {
    background: #1a1a1a;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #333;
    position: relative;
    z-index: 1;
}

/* ===== ESTILOS DEL CARRITO ===== */
.cart-section-dark {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--dark-bg);
    min-height: 100vh;
}

.cart-header-dark {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    margin-bottom: 2rem;
    text-align: center;
}

.cart-header-dark h1 {
    color: var(--text-light);
    font-size: 2.2em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cart-steps-dark {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.step-dark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.step-number-dark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #444;
}

.step-dark.active .step-number-dark {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.step-text-dark {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.step-dark.active .step-text-dark {
    color: var(--primary-color);
}

.cart-layout-dark {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.cart-products-dark {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-products-header-dark {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
}

.cart-products-header-dark h2 {
    color: var(--text-light);
    font-size: 1.5em;
    margin-bottom: 0.5rem;
}

.subscription-note {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0;
}

.cart-product-card-dark {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition);
}

.cart-product-card-dark:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.product-image-dark {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #3700ff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.subscription-badge {
    font-size: 2rem;
    color: white;
}

.product-details-dark {
    flex: 1;
}

.product-title-dark {
    color: var(--text-light);
    font-size: 1.3em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-description-dark {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-features-dark {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag-dark {
    background: rgba(118, 185, 0, 0.15);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(118, 185, 0, 0.3);
}

.product-price-dark {
    text-align: right;
}

.price-main-dark {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.free-price {
    color: var(--primary-color);
    font-size: 1.5em;
}

.price-period-dark {
    font-size: 0.7em;
    color: var(--text-muted);
    font-weight: normal;
}

.price-savings-dark {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-remove-dark {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-remove-dark:hover {
    background: #ff4444;
    color: white;
    transform: translateY(-1px);
}

.benefits-card-dark {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
}

.benefits-card-dark h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cart-summary-dark {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.summary-card-dark {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    margin-bottom: 1.5rem;
}

.summary-title-dark {
    color: var(--text-light);
    font-size: 1.3em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-details-dark {
    margin-bottom: 1.5rem;
}

.summary-row-dark {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #333;
    color: var(--text-muted);
}

.summary-total-dark {
    border-top: 2px solid #444;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.total-row-dark {
    display: flex;
    justify-content: space-between;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.total-price-dark {
    color: var(--primary-color);
}

.total-message-dark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.btn-checkout-dark {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-checkout-dark:hover {
    background: #5a9e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 185, 0, 0.4);
}

.secure-payment-dark {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.secure-payment-dark p {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.guest-checkout-dark {
    text-align: center;
}

.guest-checkout-dark p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-login-dark, .btn-signup-dark {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.btn-login-dark {
    background: var(--primary-color);
    color: #000;
    border: none;
}

.btn-login-dark:hover {
    background: #5a9e00;
    transform: translateY(-2px);
}

.btn-signup-dark {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-signup-dark:hover {
    background: rgba(118, 185, 0, 0.1);
    transform: translateY(-2px);
}

.subscription-info-dark {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.subscription-info-dark h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscription-list {
    list-style: none;
    padding: 0;
}

.subscription-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.subscription-list li i {
    color: var(--primary-color);
}

.support-banner-dark {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.support-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.support-content {
    flex: 1;
}

.support-content strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.support-content span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.empty-cart-dark {
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    text-align: center;
}

.empty-cart-icon-dark {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.empty-cart-dark h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2em;
}

.empty-cart-dark p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1em;
}

.btn-continue-shopping-dark {
    background: var(--primary-color);
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.btn-continue-shopping-dark:hover {
    background: #5a9e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 185, 0, 0.4);
}

/* ===== FORMULARIO DE PAGO CHAOSCOMPANY STYLE ===== */
.payment-modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 2rem;
    background: var(--dark-bg);
}

.payment-modal {
    width: 100%;
    max-width: 450px;
    height: fit-content;
    background: var(--card-bg);
    box-shadow: 
        0px 187px 75px rgba(0, 0, 0, 0.01),
        0px 105px 63px rgba(0, 0, 0, 0.05),
        0px 47px 47px rgba(0, 0, 0, 0.09),
        0px 12px 26px rgba(0, 0, 0, 0.1),
        0px 0px 0px rgba(0, 0, 0, 0.1);
    border-radius: 26px;
    border: 1px solid #333;
    animation: fadeIn 0.5s ease-out;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
}

.payment-header {
    text-align: center;
    margin-bottom: 1rem;
}

.payment-header h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.payment-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-options {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px 0;
}

.payment-option-btn {
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 11px;
    padding: 0;
    border: 1px solid #444;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--accent-bg);
}

.payment-option-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 185, 0, 0.2);
}

.payment-option-btn svg {
    height: 18px;
}

.payment-option-btn:last-child svg {
    height: 22px;
}

.payment-separator {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 10px;
    color: var(--text-muted);
    margin: 10px 0;
}

.payment-separator > p {
    word-break: keep-all;
    display: block;
    padding-top: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    margin: auto;
}

.payment-separator .line {
    display: inline-block;
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #444;
    margin: auto;
}

.credit-card-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-input-container {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.payment-split input {
    width: 100%;
}

.payment-label {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid #444;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.payment-input:focus {
    border: 2px solid var(--primary-color);
    box-shadow: 0px 0px 0px 3px rgba(118, 185, 0, 0.2);
    background-color: rgba(118, 185, 0, 0.05);
}

.payment-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.purchase-btn {
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a9e00 100%);
    border-radius: 12px;
    border: 0;
    outline: none;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0px 10px 20px rgba(118, 185, 0, 0.3),
        0px 0px 0px 2px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #5a9e00 0%, var(--primary-color) 100%);
}

.purchase-btn:active {
    transform: translateY(0);
}

/* Reset input number styles */
.payment-input::-webkit-outer-spin-button,
.payment-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.payment-input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Order Summary Styles */
.payment-order-summary {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #444;
    margin-bottom: 10px;
}

.order-summary-title {
    color: var(--primary-color);
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.order-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #444;
    font-weight: bold;
    color: var(--text-light);
    font-size: 1.1em;
}

.order-total .amount {
    color: var(--primary-color);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 15px;
    padding: 10px;
    background: rgba(118, 185, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(118, 185, 0, 0.3);
}

/* Payment Method Icons */
.payment-icon {
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.payment-option-btn:hover .payment-icon {
    filter: brightness(1);
}

/* Responsive Design */
@media (max-width: 480px) {
    .payment-modal {
        max-width: 100%;
        margin: 1rem;
    }
    
    .payment-form {
        padding: 20px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .payment-split {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .payment-separator {
        grid-template-columns: 1fr 3fr 1fr;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .features-grid,
    .ventajas-grid,
    .beneficios-grid,
    .game-grid,
    .plans-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .feature,
    .ventaja-card,
    .beneficio-item,
    .game-card,
    .plan {
        min-width: 100%;
        max-width: 400px;
    }
    
    .animated-carousel {
        height: 300px;
    }
    
    .carousel-track {
        height: 100px;
    }
    
    .carousel-track.row2 {
        top: 100px;
    }
    
    .carousel-track.row3 {
        top: 200px;
    }
    
    .game-item {
        margin-right: 25px;
        padding: 0.8rem 1rem;
    }
    
    .game-item img {
        width: 100px;
        height: 75px;
    }
    
    .animated-carousel::before,
    .animated-carousel::after {
        width: 50px;
    }
    
    .library-section .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 1rem 2rem 1rem;
    }
    
    .library-section .hero-content h1 {
        font-size: 1.6em;
    }
    
    .library-section {
        padding: 1rem 1rem 3rem 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    .game-card img {
        height: 180px;
    }
    
    .cart-layout-dark {
        grid-template-columns: 1fr;
    }
    
    .cart-product-card-dark {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-steps-dark {
        gap: 1rem;
    }
    
    .step-text-dark {
        font-size: 0.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive para perfil Xbox */
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-identity {
        flex-direction: column;
        text-align: center;
    }
    
    .gamertag {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2em;
    }
    
    .features h2,
    .library-section h2,
    .ventajas > h1 {
        font-size: 2.2em;
    }
    
    .feature,
    .ventaja-card,
    .beneficio-item,
    .game-card,
    .plan,
    .profile-container {
        padding: 2rem;
    }
    
    .form-container {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .game-item img {
        width: 80px;
        height: 60px;
    }
    
    .game-card img {
        height: 160px;
    }
    
    .animated-carousel {
        height: 240px;
    }
    
    .carousel-track {
        height: 80px;
    }
    
    .carousel-track.row2 {
        top: 80px;
    }
    
    .carousel-track.row3 {
        top: 160px;
    }
}
}
