/* ===== RESET Y VARIABLES GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0a1920;
    --color-secondary: #0d1f13;
    --color-accent: #00bb51;
    --color-accent-light: #014116;
    --color-accent-purple: #8a2be2;
    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-dark: #000000;
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TIPOGRAFÍA Y TEXTOS ===== */
.modern-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.modern-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    visibility: visible;
    position: relative;
}

.modern-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== COMPONENTES DE BOTONES ===== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-modern {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-modern.primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-dark);
}

.btn-modern.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.3);
}

.btn-modern.secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text-secondary);
}

.btn-modern.secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Más alto que todo */
    background: rgba(10, 25, 32, 0.9);
}

.navbar.transparent {
    background: rgba(10, 25, 32, 0.1) !important;
    backdrop-filter: none !important;
}

.navbar.scrolled {
    background: rgba(10, 25, 32, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 120px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-actions select {
    background: transparent;
    border: 1px solid var(--color-text-secondary);
    color: var(--color-text);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== SECCIONES PRINCIPALES ===== */
.hero-modern {
    padding: 200px 0 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.games-modern {
    padding: 80px 0;
    position: relative;
}

.about-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-modern {
    padding: 120px 0;
    position: relative;
}

/* ===== GRID DE CARACTERÍSTICAS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.03), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ===== TAGS Y PLATAFORMAS ===== */
.feature-platforms {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-tag {
    background: rgba(0, 255, 157, 0.1);
    color: var(--color-accent);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

/* ===== SECCIÓN FOCUS ===== */
.focus-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.focus-content h3 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 30px;
    font-weight: 600;
}

.focus-content > p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 50px;
}

.focus-pillars {
    display: grid;
    gap: 30px;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pillar-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pillar h4 {
    color: var(--color-text);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.pillar p {
    color: var(--color-text-secondary);
    margin: 0;
}

/* ===== ELEMENTOS VISUALES ANIMADOS ===== */
.focus-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-element {
    position: relative;
    width: 200px;
    height: 200px;
}

.rotating-circle {
    width: 150px;
    height: 150px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.pulsing-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot:nth-child(1) {
    top: -30px;
    left: 0;
    animation-delay: 0s;
}

.dot:nth-child(2) {
    top: 0;
    left: 30px;
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    top: 30px;
    left: 0;
    animation-delay: 1s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ===== CTA MODERNO ===== */
.cta-modern {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.cta-modern h3 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-modern p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PÁGINA DE DEMOS ===== */
.demo-container {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.demo-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Selector de Vista */
.view-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.view-btn {
    padding: 12px 25px;
    border: 2px solid var(--color-text-secondary);
    background: transparent;
    color: var(--color-text);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn.active {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-dark);
}

/* Contenedor del Juego */
.game-embed-container {
    max-width: 1200px;
    margin: 0 auto 0px;
}

.game-frame {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
    transition: var(--transition);
}

.game-frame iframe {
    width: 100%;
    border: none;
    display: block;
}

/* Vista Horizontal (PC/Gabinete) */
.game-frame.horizontal {
    aspect-ratio: 16/9;
}

.game-frame.horizontal iframe {
    height: 500px;
}

/* Vista Vertical (Móvil) */
.game-frame.vertical {
    aspect-ratio: 9/16;
    max-width: 400px;
    margin: 0 auto;
}

.game-frame.vertical iframe {
    height: 700px;
}

/* Información del Juego */
.game-info-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.info-section h3 {
    margin-bottom: 20px;
    color: var(--color-accent);
}

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

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '▸';
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.stats-grid {
    display: grid;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255,255,255,0.08);
}

.stat-label {
    color: var(--color-text-secondary);
}

.stat-value {
    color: var(--color-accent);
    font-weight: bold;
}

/* Navegación */
.demo-navigation {
    text-align: center;
}

/* Estado de error */
.error-state {
    text-align: center;
    padding: 100px 20px;
}

.error-state h2 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(10, 25, 32, 0.9);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* ===== TOP GAMES SECTION ===== */
.top-games-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.top-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.03), transparent);
    transition: left 0.6s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.game-info {
    padding: 25px;
}

.game-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}

.game-description {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.game-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.game-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.game-category {
    background: rgba(0, 255, 157, 0.1);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.game-actions {
    display: flex;
    gap: 10px;
}

.btn-play-demo {
    flex: 1;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-play-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.3);
}

.btn-details {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text-secondary);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-details:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ===== GAMES FILTER ===== */
.games-filter {
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-btn {
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
}

.filter-btn:hover:not(.active) {
    color: var(--color-text);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 30px;
    color: var(--color-accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* ===== FOOTER ===== */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-accent);
}

/* ===== LOADING STATES ===== */
.game-card.loading {
    animation: pulse 2s infinite;
}

.game-image-skeleton {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.game-title-skeleton {
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 10px;
    width: 80%;
}

.game-desc-skeleton {
    height: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 8px;
}

.game-desc-skeleton:nth-child(3) {
    width: 90%;
}

.game-desc-skeleton:nth-child(4) {
    width: 70%;
}

.game-stats-skeleton {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.game-stats-skeleton .stat-skeleton {
    flex: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.game-button-skeleton {
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
}
/* ===== TOP GAMES SECTION ===== */
.top-games-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.top-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.03), transparent);
    transition: left 0.6s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-accent);
    color: var(--color-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.game-info {
    padding: 25px;
}

.game-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}

.game-description {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.game-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.game-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.game-category {
    background: rgba(0, 255, 157, 0.1);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.game-actions {
    display: flex;
    gap: 10px;
}

.btn-play-demo {
    flex: 1;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-play-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.3);
}

/* ===== GAMES FILTER ===== */
.games-filter {
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-btn {
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
}

.filter-btn:hover:not(.active) {
    color: var(--color-text);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 30px;
    color: var(--color-accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* ===== FOOTER ===== */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-accent);
}
/* ===== MEJORAS VISUALES PARA DEMOS ===== */

/* Contenedor de imagen de título */
.title-image-container {
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.game-title-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

.game-title-image.loaded {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Efectos hover para imagen del título */
.game-title-image:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3)); /* Sombra neutra */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Marcos para diferentes vistas */
/* Marcos para diferentes vistas (VERSIÓN FINAL IOS FIX) */
.game-frame {
    position: relative;
    /* Quitamos transition en el contenedor padre para evitar "lag" visual al tocar */
    transition: none; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
    
    /* Centrado */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Contexto de apilamiento */
    z-index: 1;

    /* ===== PARCHE DE ESTABILIDAD IOS ===== */
    /* Evita el parpadeo gris al tocar */
    -webkit-tap-highlight-color: transparent;
    /* Evita que el usuario "seleccione" el marco al tocar rápido */
    -webkit-user-select: none;
    user-select: none;
    /* Fuerza aceleración de hardware para que el touch responda al instante */
    transform: translate3d(0,0,0);
}

.game-frame iframe {
    width: 100%;
    border: none;
    display: block;
    
    /* ===== LA SOLUCIÓN DE INTERACCIÓN ===== */
    
    /* 1. Asegura que el iframe esté ENCIMA de los bordes */
    position: relative;
    z-index: 50; 
    
    /* 2. Desactiva gestos del navegador (zoom, pan) DENTRO del juego */
    touch-action: none !important;
    
    /* 3. Permite la interacción inmediata */
    pointer-events: auto !important;
    
    /* 4. Solución específica para el bug de "scroll atascado" en iframes iOS */
    -webkit-overflow-scrolling: touch !important;
}

/* Marco tipo Monitor PC para vista horizontal */
.game-frame.horizontal {
    border: 20px solid #1a1a1a;
    border-radius: 20px;
    background: #1a1a1a;
    box-shadow: 
        0 0 0 1px #333,
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.game-frame.horizontal::before {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 0 0 10px 10px;
    z-index: -1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-frame.horizontal::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 15px;
    background: #0d0d0d;
    border-radius: 4px;
    z-index: -2;
}

/* Marco tipo iPhone para vista vertical */
.game-frame.vertical {
    border: 12px solid #1a1a1a;
    border-radius: 40px;
    background: #1a1a1a;
    box-shadow: 
        0 0 0 1px #333,
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    margin: 0 auto;
}

.game-frame.vertical::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #333;
    border-radius: 0 0 4px 4px;
    z-index: 2;
}



/* Botones de vista mejorados */
.view-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
}

.view-btn {
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.view-btn:hover::before {
    left: 100%;
}

.view-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.2);
}

.view-btn.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-dark);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 157, 0.3);
}

/* Animación de transición entre vistas */
.game-embed-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efectos de carga suave para iframe */
.game-frame iframe {
    width: 100%;
    border: none;
    display: block;
    transition: opacity 0.3s ease;
}

/* Estados de carga mejorados */
.loading-state {
    text-align: center;
    padding: 60px 20px;
}

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

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

/* Animaciones de entrada para secciones */
.demo-header {
    animation: slideUpFade 0.8s ease-out;
}

.view-selector {
    animation: slideUpFade 0.8s ease-out 0.2s both;
}

.game-embed-container {
    animation: slideUpFade 0.8s ease-out 0.4s both;
}

.game-info-sections {
    animation: slideUpFade 0.8s ease-out 0.6s both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .game-title-image {
        max-width: 300px;
    }
    
    .game-frame.horizontal {
        border-width: 10px;
        border-radius: 15px;
    }
    
    .game-frame.horizontal::before {
        bottom: -25px;
        width: 150px;
        height: 15px;
    }
    
    .game-frame.horizontal::after {
        bottom: -45px;
        width: 200px;
        height: 12px;
    }
    
    .game-frame.vertical {
        border-width: 10px;
        border-radius: 30px;
        max-width: 300px;
    }
    
    .view-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .game-title-image {
        max-width: 250px;
    }
    
    .view-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .view-btn {
        width: 100%;
        max-width: 200px;
    }
}
/* ===== ESTILOS MEJORADOS PARA DEMO HEADER ===== */

.demo-header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideUpFade 0.8s ease-out;
}

.demo-header .modern-header {
    margin-bottom: 0;
}

.demo-header .modern-title {
    margin-bottom: 20px;
}

.demo-header .modern-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Asegurar que el título se vea bien en móviles */
@media screen and (max-width: 768px) {
    .demo-header .modern-title {
        font-size: 2.2rem;
    }
    
    .demo-header .modern-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .demo-header .modern-title {
        font-size: 1.8rem;
    }
    
    .demo-header .modern-subtitle {
        font-size: 1rem;
    }
}
/* ===== FEATURED GAMES CAROUSEL ===== */
.featured-carousel-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        rgba(10, 25, 32, 0.9) 0%, 
        rgba(13, 31, 19, 0.8) 100%);
}

.featured-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 60px auto 0;
}

.carousel-mask {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.carousel-track {
    display: flex;
    gap: 25px;
    animation: scroll 40s linear infinite;
    will-change: transform;
    padding: 10px 0;
}

/* Pausar animación en hover */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-item {
    flex: 0 0 auto;
    width: 280px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 157, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.carousel-item:hover::before {
    left: 100%;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 255, 157, 0.3),
        0 0 0 1px rgba(0, 255, 157, 0.2);
    border-color: rgba(0, 255, 157, 0.3);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-item:hover .carousel-image {
    transform: scale(1.1);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-overlay {
    transform: translateY(0);
}

.carousel-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animación de scroll infinito */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 10 - 25px * 10)); /* 10 items */
    }
}

/* Indicadores del carrusel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Efectos de partículas en el fondo (opcional) */
.carousel-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.carousel-particle {
    position: absolute;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .carousel-item {
        width: 240px;
        height: 160px;
    }
    
    @keyframes scroll {
        100% {
            transform: translateX(calc(-240px * 10 - 25px * 10));
        }
    }
}

@media screen and (max-width: 768px) {
    .carousel-item {
        width: 200px;
        height: 140px;
    }
    
    .carousel-mask {
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 3%,
            black 97%,
            transparent 100%
        );
    }
    
    @keyframes scroll {
        100% {
            transform: translateX(calc(-200px * 10 - 25px * 10));
        }
    }
    
    .carousel-title {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .carousel-item {
        width: 160px;
        height: 120px;
    }
    
    @keyframes scroll {
        100% {
            transform: translateX(calc(-160px * 10 - 25px * 10));
        }
    }
}
/* ===== ENHANCED GAMES GRID ===== */
.games-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.game-card-enhanced {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.game-card-enhanced:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contenedor de imagen/Video */
.game-media-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.game-video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.1) contrast(1.1);
}

/* Efecto hover - Mostrar video */
.game-card-enhanced:hover .game-card-image {
    opacity: 20;
    transform: scale(1.1);
}

.game-card-enhanced:hover .game-video-preview {
    opacity: 1;
}

/* Indicador de video (badge) */
.video-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-accent);
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.game-card-enhanced:hover .video-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* Contenido de la tarjeta */
.game-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0; /* Esto permite que los hijos se expandan */
}

.game-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.3;
}

.game-card-description {
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
    overflow-y: auto;
    max-height: 80px;
    padding-right: 10px;
}

/* Scrollbar personalizada */
.game-card-description::-webkit-scrollbar {
    width: 4px;
}

.game-card-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.game-card-description::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 2px;
}

/* Stats grid - SIN DISPONIBILIDAD */
.game-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 0;
    width: 100%;
    /* Eliminar cualquier restricción de ancho */
    min-width: 0;
}

.game-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 70px;
    width: 100%;
    box-sizing: border-box;
    /* Forzar que ocupe todo el espacio disponible */
    flex: 1;
    min-width: 0; /* Esto es clave para que se expanda */
}

.game-stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 4px;
    line-height: 1.2;
    white-space: nowrap; /* Evitar quiebre */
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Volatilidad con emojis de fuego */
.volatility-fires {
    font-size: 1.3rem;
    letter-spacing: 2px;
    line-height: 1.2;
    white-space: nowrap; /* Mantener en una línea */
}

/* Botón de acción */
.game-card-actions {
    text-align: center;
}

.btn-play-demo-centered {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: #ffffff !important; /* Color blanco para el texto */
    color: var(--color-dark);
    border: none;
    padding: 14px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
}

.btn-play-demo-centered:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.3);
}

/* Estado Coming Soon */
.game-card-coming-soon {
    opacity: 0.7;
}

.game-card-coming-soon .btn-play-demo-centered {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    cursor: not-allowed;
}

.game-card-coming-soon .btn-play-demo-centered:hover {
    transform: none;
    box-shadow: none;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* Loading para video */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-loading.active {
    opacity: 1;
}

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

/* Responsive */
@media screen and (max-width: 1200px) {
    .games-grid-enhanced {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .games-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-card-content {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .game-card-content {
        padding: 15px;
    }
    
    .game-card-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .game-stat-item {
        padding: 10px 8px;
    }
}

.game-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.03), transparent);
    transition: left 0.6s ease;
}

.game-card-enhanced:hover::before {
    left: 100%;
}

/* Game Image */
.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

/* Game Content */
.game-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.3;
}

.game-card-description {
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
    overflow-y: auto;
    max-height: 80px;
    padding-right: 10px;
}

/* Custom Scrollbar for Description */
.game-card-description::-webkit-scrollbar {
    width: 4px;
}

.game-card-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.game-card-description::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 2px;
}

.game-card-description::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}

/* Game Meta Info */
.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card-category {
    background: rgba(0, 255, 157, 0.1);
    color: var(--color-accent);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

/* Game Stats */
.game-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.game-stat-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: var(--transition);
}

.game-stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Game Actions */
.game-card-actions {
    text-align: center;
}

.btn-play-demo-centered {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-dark);
    border: none;
    padding: 14px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
}

.btn-play-demo-centered:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 157, 0.3);
}

/* Coming Soon State */
.game-card-coming-soon {
    opacity: 0.7;
}

.game-card-coming-soon .btn-play-demo-centered {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    cursor: not-allowed;
}

.game-card-coming-soon .btn-play-demo-centered:hover {
    transform: none;
    box-shadow: none;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* ===== PAGINATION ===== */
.games-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-controls {
    display: flex;
    gap: 8px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.pagination-info {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Enhanced Filter Buttons */
.games-filter {
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    gap: 5px;
}

.filter-btn {
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
}

.filter-btn:hover:not(.active) {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .games-grid-enhanced {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .games-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .games-pagination {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .pagination-controls {
        order: 2;
    }
    
    .pagination-info {
        order: 1;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .game-card-content {
        padding: 20px;
    }
    
    .game-card-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .game-card-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        min-width: 35px;
    }
}
/* ===== ANIMACIONES SUAVES DE CARGA ===== */

/* Fade-in general para toda la página */
body {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Animación de entrada escalonada para secciones */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: sectionEnter 0.8s ease-out forwards;
}

/* Retrasos escalonados para las secciones */
.hero-modern {
    animation-delay: 0.1s;
}

.featured-carousel-section {
    animation-delay: 0.3s;
}

.games-modern {
    animation-delay: 0.5s;
}

.about-modern {
    animation-delay: 0.7s;
}

.contact-modern {
    animation-delay: 0.9s;
}

@keyframes sectionEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para elementos individuales del carrusel */
.carousel-item {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
    animation: carouselItemEnter 0.6s ease-out forwards;
}

/* Entrada escalonada para items del carrusel */
.carousel-item:nth-child(1) { animation-delay: 0.4s; }
.carousel-item:nth-child(2) { animation-delay: 0.5s; }
.carousel-item:nth-child(3) { animation-delay: 0.6s; }
.carousel-item:nth-child(4) { animation-delay: 0.7s; }
.carousel-item:nth-child(5) { animation-delay: 0.8s; }
.carousel-item:nth-child(6) { animation-delay: 0.9s; }
.carousel-item:nth-child(7) { animation-delay: 1.0s; }
.carousel-item:nth-child(8) { animation-delay: 1.1s; }
.carousel-item:nth-child(9) { animation-delay: 1.2s; }
.carousel-item:nth-child(10) { animation-delay: 1.3s; }

@keyframes carouselItemEnter {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Animación para tarjetas de juegos */
.game-card-enhanced {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: cardEnter 0.6s ease-out forwards;
}

/* Entrada escalonada para tarjetas */
.game-card-enhanced:nth-child(1) { animation-delay: 0.6s; }
.game-card-enhanced:nth-child(2) { animation-delay: 0.7s; }
.game-card-enhanced:nth-child(3) { animation-delay: 0.8s; }
.game-card-enhanced:nth-child(4) { animation-delay: 0.9s; }
.game-card-enhanced:nth-child(5) { animation-delay: 1.0s; }
.game-card-enhanced:nth-child(6) { animation-delay: 1.1s; }
.game-card-enhanced:nth-child(7) { animation-delay: 1.2s; }
.game-card-enhanced:nth-child(8) { animation-delay: 1.3s; }
.game-card-enhanced:nth-child(9) { animation-delay: 1.4s; }

@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animación para botones de filtro */
.filter-btn {
    opacity: 0;
    transform: translateY(-10px);
    animation: filterBtnEnter 0.5s ease-out forwards;
}

.filter-btn:nth-child(1) { animation-delay: 0.5s; }
.filter-btn:nth-child(2) { animation-delay: 0.6s; }
.filter-btn:nth-child(3) { animation-delay: 0.7s; }
.filter-btn:nth-child(4) { animation-delay: 0.8s; }
.filter-btn:nth-child(5) { animation-delay: 0.9s; }

@keyframes filterBtnEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para botones de paginación */
.pagination-btn {
    opacity: 0;
    transform: scale(0.8);
    animation: paginationEnter 0.4s ease-out forwards;
}

.pagination-btn:nth-child(1) { animation-delay: 1.0s; }
.pagination-btn:nth-child(2) { animation-delay: 1.1s; }
.pagination-btn:nth-child(3) { animation-delay: 1.2s; }
.pagination-btn:nth-child(4) { animation-delay: 1.3s; }
.pagination-btn:nth-child(5) { animation-delay: 1.4s; }
.pagination-btn:nth-child(6) { animation-delay: 1.5s; }
.pagination-btn:nth-child(7) { animation-delay: 1.6s; }

@keyframes paginationEnter {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== EFECTOS DE HOVER MEJORADOS ===== */

/* Hover suave para botones */
.btn-modern, .filter-btn, .pagination-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover para tarjetas de juegos */
.game-card-enhanced {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Hover para items del carrusel */
.carousel-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== ANIMACIONES PARA ELEMENTOS DE TEXTO ===== */

/* Animación para títulos principales */
.modern-title .title-line {
    opacity: 0;
    transform: translateY(20px);
    animation: titleLineEnter 0.8s ease-out forwards;
}

.modern-title .title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.modern-title .title-line:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes titleLineEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para subtítulos */
.modern-subtitle {
    opacity: 0;
    transform: translateY(10px);
    animation: subtitleEnter 0.8s ease-out 0.6s forwards;
}

@keyframes subtitleEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para botones CTA */
.cta-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: ctaEnter 0.8s ease-out 0.8s forwards;
}

@keyframes ctaEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== EFECTOS DE FOCO Y ACCESIBILIDAD ===== */

/* Mejoras para focus states */
.btn-modern:focus,
.filter-btn:focus,
.pagination-btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Smooth scrolling para toda la página */
html {
    scroll-behavior: smooth;
}

/* ===== ANIMACIONES PARA FILTROS Y PAGINACIÓN ===== */

/* Transición suave al cambiar filtros */
.games-grid-enhanced {
    transition: opacity 0.3s ease;
}

.filter-changing .games-grid-enhanced {
    opacity: 0.7;
}

/* Animación al cambiar páginas */
.page-changing .games-grid-enhanced {
    animation: pageChange 0.4s ease-out;
}

@keyframes pageChange {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== LOADING STATES MEJORADOS ===== */

/* Skeleton loading para tarjetas */
.game-card-skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius);
    height: 400px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== EFECTOS DE PARTICULAS SUTILES ===== */

/* Partículas de fondo sutiles */
.hero-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 157, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.02) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* ===== RESPONSIVE ANIMATIONS ===== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

@media screen and (max-width: 768px) {
    /* Animaciones más rápidas en móviles */
    .section-fade-in {
        animation-duration: 0.6s;
    }
    
    .game-card-enhanced {
        animation-duration: 0.4s;
    }
    
    .carousel-item {
        animation-duration: 0.4s;
    }
}

/* ===== ANIMACIONES PARA ESTADOS DE CARGA ===== */

/* Loading state para el carrusel */
.carousel-loading {
    position: relative;
    overflow: hidden;
}

.carousel-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
/* ===== TRANSICIONES ENTRE PÁGINAS ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: 9999;
    transform: translateY(100%);
    pointer-events: auto;
}

.page-transition.entering {
    animation: pageEnter 0.6s ease-out forwards;
}

.page-transition.leaving {
    animation: pageLeave 0.6s ease-out forwards;
}

@keyframes pageEnter {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pageLeave {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

/* Mejorar transición de opacidad en imágenes */
.game-card-image,
.carousel-image {
    transition: opacity 0.3s ease;
}

.game-card-enhanced:hover .game-card-image,
.carousel-item:hover .carousel-image {
    opacity: 0.9;
}
/* PAGINACIÓN SIMPLIFICADA */
.pagination-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
}

.pagination-info {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.pagination-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-arrow,
.pagination-number {
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

.pagination-arrow:hover:not(.disabled),
.pagination-number:hover:not(.active) {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.3);
    color: #00ff9d;
}

.pagination-number.active {
    background: #00ff9d;
    color: #0a0a0a;
    border-color: #00ff9d;
}

.pagination-arrow.disabled,
.pagination-number.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-dots {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pagination-simple {
        padding: 1rem;
    }
    
    .pagination-arrow,
    .pagination-number {
        padding: 0.5rem 0.8rem;
        min-width: 40px;
        font-size: 0.9rem;
    }
}
/* CARDS DE INNOVACIÓN MEJORADAS */
.feature-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    cursor: pointer;
}

/* Fondo que aparece en hover */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1) translateY(10px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.card-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 2;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

/* Contenido de la card */
.feature-card > *:not(.card-background) {
    position: relative;
    z-index: 3;
}

/* Efectos de hover */
.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 255, 157, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 255, 157, 0.1),
        0 0 30px rgba(0, 255, 157, 0.2);
}

.feature-card:hover .card-background {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Mejoras al contenido en hover */
.feature-card:hover .feature-number {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.6));
}

.feature-card:hover h3 {
    color: #00ff9d;
    transform: translateY(-2px);
}

.feature-card:hover p {
    transform: translateY(-1px);
}

.feature-card:hover .platform-tag {
    background: rgba(0, 255, 157, 0.2);
    border-color: rgba(0, 255, 157, 0.4);
    transform: translateY(-1px);
}

/* Contenido específico de las cards */
.feature-number {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-platforms {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

/* Efecto de partículas sutiles (opcional) */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 255, 157, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.feature-card:hover::after {
    opacity: 1;
}
/* ===== PLATFORM SECTION - REEMPLAZA ABOUT ===== */

.platform-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Selector de Soluciones */
.solution-selector {
    display: flex;
    justify-content: center;
    margin: 60px 0 40px;
}

.selector-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    font-size: 1rem;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.tab-icon {
    font-size: 1.3rem;
}

/* Contenido de Soluciones */
.solution-content {
    position: relative;
    min-height: 400px;
}

.solution-panel {
    display: none;
    animation: panelSlideIn 0.6s ease-out;
}

.solution-panel.active {
    display: block;
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Información de la Solución */
.solution-badge {
    display: inline-block;
    background: rgba(0, 255, 157, 0.1);
    color: var(--color-accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.solution-info h3 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.solution-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.solution-description strong {
    color: var(--color-accent);
}

.integration-features {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

/* Visualizaciones */
.infographic-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.cabinet-graphic {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.cabinet-screen {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 120px;
    background: linear-gradient(45deg, #00ff9d, #8a2be2);
    border-radius: 8px;
    opacity: 0.8;
    animation: screenPulse 3s ease-in-out infinite;
}

@keyframes screenPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.cabinet-buttons {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.button-row {
    display: flex;
    gap: 10px;
}

.hardware-btn {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}

.cabinet-peripherals {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
}

.bill-acceptor,
.ticket-printer {
    width: 40px;
    height: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* Infografía Digital */
.infographic-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 120px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2rem;
}

.step-label {
    font-size: 0.8rem;
    text-align: center;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--color-accent);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* CTA */
.platform-cta {
    margin-top: 80px;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content h3 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .infographic-flow {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .selector-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .solution-info h3 {
        font-size: 1.8rem;
    }
    
    .infographic-flow {
        gap: 10px;
    }
    
    .flow-step {
        min-width: 100px;
        padding: 15px 10px;
    }
}
/* ===== SERVICES SECTION - VERSIÓN MEJORADA ===== */

.services-section {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    overflow: hidden;
}

.services-grid-improved {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Introducción Mejorada */
.services-intro-full {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
}

.intro-text-large {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.intro-text-large strong {
    color: var(--color-accent);
    font-weight: 700;
}

.intro-text-large .highlight {
    background: linear-gradient(135deg, var(--color-accent), transparent 70%);
    background-size: 200% 200%;
    animation: highlightShine 4s ease-in-out infinite;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* Grid de Personalizaciones - 2 COLUMNAS */
.customization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.customization-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.customization-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.08), transparent);
    transition: left 0.7s ease;
}

.customization-item:hover::before {
    left: 100%;
}

.customization-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 157, 0.3);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 255, 157, 0.1);
}

.customization-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.customization-item:hover .customization-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.15), rgba(138, 43, 226, 0.1));
    border-color: rgba(0, 255, 157, 0.3);
}

.customization-content h4 {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.customization-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Visual del Panel de Configuración */
.config-visual-full {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.config-panel-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.config-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 157, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(0, 255, 157, 0.5);
    }
}

.badge-icon {
    font-size: 1.1rem;
}

/* CTA QUE OCUPA 2 COLUMNAS */
.services-cta-full {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, 
        rgba(0, 255, 157, 0.08), 
        rgba(138, 43, 226, 0.08));
    padding: 60px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.services-cta-full::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 255, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: ctaFloat 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

.cta-content-full {
    position: relative;
    z-index: 2;
}

.cta-content-full h3 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content-full p {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content-full strong {
    color: var(--color-accent);
    font-weight: 700;
}

.btn-modern.large {
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 30px;
}

.btn-icon {
    margin-right: 12px;
    font-size: 1.3rem;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .customization-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .config-image-wrapper {
        max-width: 600px;
    }
}

@media screen and (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-grid-improved {
        gap: 40px;
    }
    
    .intro-text-large {
        font-size: 1.1rem;
        padding: 30px 20px;
    }
    
    .customization-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    
    .customization-icon {
        align-self: center;
    }
    
    .services-cta-full {
        padding: 40px 20px;
    }
    
    .cta-content-full h3 {
        font-size: 1.8rem;
    }
    
    .cta-content-full p {
        font-size: 1.1rem;
    }
    
    .btn-modern.large {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .customization-content h4 {
        font-size: 1.2rem;
    }
    
    .config-badge {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
/* ===== FOOTER COMPLETO ===== */

.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 200, 83, 0.1);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(0,200,83,0.03)"/></svg>');
    background-size: cover;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1); /* Logo blanco */
}

.footer-description {
    color: #a0a0c0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.seo-tag {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.footer-title {
    color: #00c853;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00c853;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #a0a0c0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #00c853;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #00c853;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    color: #a0a0c0;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #00c853;
    width: 16px;
}

.footer-certifications {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.certification-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0c0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: #a0a0c0;
    font-size: 0.9rem;
}

.footer-seo-text {
    flex: 1;
    max-width: 500px;
    text-align: right;
}

.footer-seo-text p {
    color: #a0a0c0;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-seo-text {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-certifications {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-seo-tags {
        justify-content: center;
    }
    
    .footer-logo-img {
        max-width: 150px;
    }
}
/* ===== SMOOTH LOADING EFFECTS - AGREGAR AL FINAL DE STYLE.CSS ===== */

/* 1. SKELETON WAVE EFFECT (Moderna) */
.skeleton-wave {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-wave 2s ease-in-out infinite;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.skeleton-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: skeleton-shine 2s ease-in-out infinite;
}

@keyframes skeleton-wave {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes skeleton-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Skeleton específicos */
.skeleton-item {
    position: relative;
}

.skeleton-title {
    height: 32px;
    width: 70%;
    margin-bottom: 15px;
}

.skeleton-text {
    height: 16px;
    width: 90%;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
}

.skeleton-button {
    height: 44px;
    width: 100%;
    border-radius: 25px;
}

.skeleton-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* 2. STAGGERED FADE IN (Suave y escalonado) */
.stagger-fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    animation: staggerFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes staggerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    70% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Retrasos escalonados naturales */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* 3. BLUR TO CLEAR (Profesional para imágenes) */
.blur-load {
    filter: blur(15px);
    opacity: 0.7;
    transform: scale(1.02);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-load.loaded {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

/* 4. GRADIENTAL LOAD (Efecto de gradiente animado) */
.gradiential-load {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* 5. PULSE GLOW (Para elementos importantes) */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0px rgba(0, 255, 157, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    }
}

/* 6. SLIDE IN FROM SIDES (Dinámico) */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 7. TITLE REVEAL EFFECTS (Especial para títulos) */
.title-reveal {
    opacity: 0;
    transform: translateY(40px) perspective(1000px) rotateX(10deg);
    animation: titleReveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) perspective(1000px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) perspective(1000px) rotateX(0);
    }
}

.title-char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateY(90deg);
    animation: titleCharReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes titleCharReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

/* 8. CARD HOVER ENHANCEMENTS (Mejoras de hover) */
.smooth-hover {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.smooth-hover:hover {
    transform: translateY(-8px) scale(1.02);
}

/* 9. LOADING SPINNER VARIATIONS */
.spinner-elastic {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spinElastic 1s ease-in-out infinite;
}

@keyframes spinElastic {
    0% {
        transform: rotate(0deg);
        border-top-width: 3px;
    }
    50% {
        transform: rotate(180deg);
        border-top-width: 8px;
    }
    100% {
        transform: rotate(360deg);
        border-top-width: 3px;
    }
}

.spinner-dots {
    display: inline-flex;
    gap: 4px;
}

.spinner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.spinner-dot:nth-child(2) { animation-delay: -0.16s; }
.spinner-dot:nth-child(3) { animation-delay: 0s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* 10. PAGE TRANSITION EFFECTS */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
    animation: pageEnter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.page-transition-exit {
    opacity: 1;
    transform: translateY(0);
    animation: pageExit 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes pageEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageExit {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* 11. PROGRESSIVE BACKGROUND LOAD */
.bg-progressive {
    position: relative;
    overflow: hidden;
}

.bg-progressive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    animation: bgSweep 2s ease-in-out infinite;
}

@keyframes bgSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 12. FLOATING ELEMENTS (Sutil) */
.float-gentle {
    animation: floatGentle 6s ease-in-out infinite;
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 13. GLITCH EFFECT (Moderno para títulos) */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-animation 0.3s infinite;
    color: #ff00ff;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-animation 0.3s infinite reverse;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-animation {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

/* 14. MORPHING SHAPES (Para elementos decorativos) */
.morph-shape {
    animation: morphShape 8s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

@keyframes morphShape {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* 15. TEXT GRADIENT ANIMATION */
.gradient-text-animated {
    background: linear-gradient(
        135deg,
        var(--color-accent) 0%,
        var(--color-accent-light) 25%,
        var(--color-accent-purple) 50%,
        var(--color-accent-light) 75%,
        var(--color-accent) 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
    to {
        background-position: 200% center;
    }
}

/* 16. RESPONSIVE ADAPTATIONS */
@media (prefers-reduced-motion: reduce) {
    .skeleton-wave,
    .blur-load,
    .stagger-fade-in,
    .slide-in-left,
    .slide-in-right,
    .title-reveal,
    .pulse-glow,
    .float-gentle,
    .glitch-text::before,
    .glitch-text::after,
    .morph-shape,
    .gradient-text-animated {
        animation: none !important;
        transition: none !important;
    }
    
    .skeleton-wave {
        background: rgba(255, 255, 255, 0.05) !important;
    }
}

/* 17. PERFORMANCE OPTIMIZATIONS */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.will-change-filter {
    will-change: filter;
}

/* 18. CUSTOM SCROLLBAR FOR LOADING STATES */
.skeleton-container::-webkit-scrollbar {
    width: 6px;
}

.skeleton-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.skeleton-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.skeleton-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 19. LOADING STATES FOR SPECIFIC COMPONENTS */
.hero-loading {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-loading {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.carousel-loading .skeleton-wave {
    flex: 0 0 280px;
    height: 180px;
    border-radius: 20px;
}

/* 20. SMOOTH COLOR TRANSITIONS */
.color-transition {
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 21. FOCUS STATES FOR ACCESSIBILITY */
.smooth-focus:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

/* 22. ERROR STATES SMOOTH */
.error-pulse {
    animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
}

/* 23. SUCCESS STATES SMOOTH */
.success-glow {
    animation: successGlow 2s ease-in-out infinite;
}

@keyframes successGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 0 rgba(0, 255, 157, 0.8);
    }
}

/* 24. GRID STAGGER EFFECT */
.grid-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    animation: gridStagger 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes gridStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplica retrasos automáticos para hijos del grid */
.grid-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.grid-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.grid-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.grid-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.grid-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.grid-stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* 25. FINAL TOUCH - SMOOTH SCROLL BEHAVIOR */
html {
    scroll-behavior: smooth;
}

/* Elimina el scroll behavior en dispositivos que no lo soportan bien */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* ===== SCROLL-BASED ANIMATIONS ===== */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax elements */
.parallax {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Scroll progress bar */
.scroll-progress {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    box-shadow: 0 2px 10px rgba(0, 255, 157, 0.3);
}

/* Efectos específicos para scroll */
[data-scroll]:not(.scroll-visible) {
    opacity: 0;
    transform: translateY(50px);
}

[data-scroll="fade-up"].scroll-visible {
    animation: fadeUp 0.8s ease-out forwards;
}

[data-scroll="fade-left"].scroll-visible {
    animation: fadeLeft 0.8s ease-out forwards;
}

[data-scroll="fade-right"].scroll-visible {
    animation: fadeRight 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger delays como variables CSS */
.stagger-fade-in {
    animation-delay: var(--stagger-delay, 0s) !important;
}

/* Mejoras de performance */
.scroll-hidden {
    will-change: transform, opacity;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    .scroll-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .stagger-fade-in,
    .slide-in-left,
    .slide-in-right,
    .title-reveal {
        animation: none !important;
    }
}
/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 30px rgba(37, 211, 102, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover::before {
    opacity: 1;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

/* Animación de pulso sutil */
@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 4px 25px rgba(37, 211, 102, 0.6),
            0 0 0 2px rgba(255, 255, 255, 0.15);
    }
}

.whatsapp-float.pulse {
    animation: whatsapp-pulse 3s ease-in-out infinite;
}

/* Animación de rebote sutil */
@keyframes whatsapp-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.whatsapp-float.bounce {
    animation: whatsapp-bounce 4s ease-in-out infinite;
}

/* Efecto de onda expansiva */
@keyframes whatsapp-ripple {
    0% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.3);
    }
    70% {
        box-shadow: 
            0 0 0 15px rgba(37, 211, 102, 0),
            0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float.ripple {
    animation: whatsapp-ripple 3s ease-out infinite;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(10, 10, 10, 0.9);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móviles */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}
/* Estilos para la imagen del gabinete físico */
.hardware-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hardware-image {
    max-width: 80%;
    height: auto;
    border-radius: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-image:hover {
    transform: translateY(-5px);
}

.image-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hardware-image-container {
        padding: 10px;
    }
    
    .hardware-image {
        max-width: 90%;
    }
}

/* ===== FOOTER ACCORDION FIXED ===== */

/* Reset para evitar conflictos */
.footer-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.footer-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.footer-accordion-btn:hover {
    color: var(--color-accent);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Estado activo del acordeón */
.footer-accordion-btn.active .accordion-icon {
    transform: rotate(45deg);
}

.footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.footer-accordion-content.active {
    max-height: 1000px;
    opacity: 1;
    padding-bottom: 15px;
}

/* Contenido dentro del acordeón */
.footer-accordion-content .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-accordion-content .footer-menu li {
    margin-bottom: 8px;
}

.footer-accordion-content .footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 6px 0;
}

.footer-accordion-content .footer-menu a:hover {
    color: var(--color-accent);
}

/* Contacto en acordeón */
.footer-accordion-content .footer-contact {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.footer-accordion-content .footer-contact p {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Redes sociales en acordeón */
.footer-accordion-content .social-links {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.footer-accordion-content .social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-accordion-content .social-link:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* Enlaces legales en acordeón */
.footer-accordion-content .legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.footer-accordion-content .legal-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-accordion-content .legal-links a:hover {
    color: var(--color-accent);
}

.footer-accordion-content .legal-links span {
    color: #666;
    font-size: 0.7rem;
}

/* ===== VERSIÓN DESKTOP - Deshabilitar acordeón ===== */
@media (min-width: 769px) {
    .footer-accordion {
        border-bottom: none;
    }
    
    .footer-accordion-btn {
        pointer-events: none;
        padding: 0 0 15px 0;
        cursor: default;
    }
    
    .accordion-icon {
        display: none !important;
    }
    
    .footer-accordion-content {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }
}

/* ===== VERSIÓN MOBILE - Acordeón funcional ===== */
@media (max-width: 768px) {
    .footer-accordion-btn {
        cursor: pointer;
    }
    
    .accordion-icon {
        display: inline-block !important;
    }
}

/* ===== HEADER MODERNO - LUCKHAND GAMING ===== */

/* ===== VARIABLES ESPECÍFICAS HEADER ===== */
:root {
    --header-height: 80px;
    --header-height-mobile: 65px;
    --header-height-scrolled: 70px;
    --header-bg: rgba(10, 25, 32, 0.97);
    --header-bg-scrolled: rgba(10, 25, 32, 0.99);
    --header-blur: blur(15px);
    --header-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --header-border: 1px solid rgba(255, 255, 255, 0.08);
    --header-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== HEADER PRINCIPAL ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: var(--header-blur);
    -webkit-backdrop-filter: var(--header-blur);
    border-bottom: var(--header-border);
    transition: var(--header-transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: var(--header-height-scrolled);
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

/* ===== LOGO ===== */
.nav-logo {
    flex: 0 0 auto;
    z-index: 1002;
}

.nav-logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.1);
}

.nav-logo:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(0, 255, 157, 0.3));
}

.navbar.scrolled .nav-logo img {
    height: 38px;
}

/* ===== MENÚ DESKTOP ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: var(--header-transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover {
    color: var(--color-accent);
    background: rgba(0, 255, 157, 0.05);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--color-accent);
    background: rgba(0, 255, 157, 0.08);
    font-weight: 600;
}

/* ===== ACCIONES DESKTOP ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

/* Botón Zona Clientes */
.client-area-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e)!important;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--header-transition);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.client-area-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.client-area-btn:hover::before {
    left: 100%;
}

.client-area-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff7b45, #f8a33e);
}

/* Selector de Idioma */
#language-selector {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--header-transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 85px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
}

#language-selector:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

#language-selector:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
}

/* ===== BOTÓN HAMBURGUESA ===== */
.nav-hamburger {
    display: none;
    flex: 0 0 auto;
    z-index: 1002;
}

.hamburger-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    padding: 0.2rem;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    gap: 4px;
    transition: var(--header-transition);
    position: relative;
    overflow: hidden;
}

.hamburger-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    transition: left 0.6s ease;
}

.hamburger-btn:hover::before {
    left: 100%;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: var(--header-transition);
    transform-origin: center;
    border-radius: 1px;
}

.hamburger-btn.active {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.3);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--color-accent);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--color-accent);
}

/* ===== MENÚ MÓVIL - PANTALLA COMPLETA ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    z-index: 1000;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateY(0);
}

/* Header del Menú Móvil */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
}


/* Enlaces del Menú Móvil */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 16px;
    transition: var(--header-transition);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(0, 255, 157, 0.12);
    border-color: rgba(0, 255, 157, 0.25);
    transform: translateX(8px);
    color: var(--color-accent);
}

.mobile-link-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover .mobile-link-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Sección Clientes Móvil */
.mobile-client-area {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-client-area-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--header-transition);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-client-area-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-client-area-mobile:hover::before {
    left: 100%;
}

.btn-client-area-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff7b45, #f8a33e);
}

.client-icon {
    font-size: 1.2rem;
}

/* Selector de Idioma Móvil */
.mobile-language-selector {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-language-selector label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

#mobile-language-selector {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--header-transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

#mobile-language-selector:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

#mobile-language-selector:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
}

#mobile-language-selector option {
    background: var(--color-primary);
    color: var(--color-text);
    padding: 1rem;
}

/* ===== COMPENSACIÓN BODY ===== */
body {
    padding-top: var(--header-height);
}

body.menu-open {
    overflow: hidden;
}

.hero-modern {
    padding: 180px 0 120px;
}

section {
    scroll-margin-top: var(--header-height);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .client-area-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    #language-selector {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
        min-width: 75px;
    }
}

/* ===== VERSIÓN MÓVIL ===== */
@media (max-width: 768px) {
    .navbar {
        height: var(--header-height-mobile);
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-hamburger {
        display: flex;
        align-items: center;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    .navbar.scrolled .nav-logo img {
        height: 32px;
    }
    
    .hamburger-btn {
        width: 44px;
        height: 44px;
        padding: 0.6rem;
    }
    
    .hamburger-line {
        width: 20px;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .hero-modern {
        padding: 150px 0 100px;
    }
    
    section {
        scroll-margin-top: var(--header-height-mobile);
    }
    
    .mobile-menu-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .navbar.scrolled .nav-logo img {
        height: 50px;
    }
    
    .hamburger-btn {
        width: 40px;
        height: 40px;
    }
    
    .hamburger-line {
        width: 18px;
    }
    
    .mobile-menu-container {
        padding: 1.25rem;
    }
    
    .mobile-nav-link {
        padding: 1.1rem 1.25rem;
        font-size: 1.05rem;
    }
    
    .btn-client-area-mobile {
        padding: 1.1rem 1.25rem;
        font-size: 1.05rem;
    }
}

/* ===== SCROLLBAR PERSONALIZADO ===== */
.mobile-menu-container::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.mobile-menu-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.mobile-menu-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== ANIMACIONES MEJORADAS ===== */
@keyframes menuSlideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes menuSlideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.mobile-menu-container {
    animation: menuSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mobile-menu-overlay:not(.active) .mobile-menu-container {
    animation: menuSlideOut 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    .navbar,
    .nav-link,
    .client-area-btn,
    #language-selector,
    .hamburger-btn,
    .hamburger-line,
    .mobile-menu-overlay,
    .mobile-menu-container,
    .mobile-nav-link,
    .btn-client-area-mobile,
    .close-menu-btn {
        transition: none !important;
        animation: none !important;
    }
    
    .mobile-menu-container {
        transform: none !important;
    }
    
    .nav-link::before,
    .client-area-btn::before,
    .hamburger-btn::before,
    .mobile-nav-link::before,
    .btn-client-area-mobile::before,
    .close-menu-btn::before {
        display: none !important;
    }
}
/* ===== INICIO: AÑADIR ESTO AL FINAL DE style.css ===== */
/* ===== INICIO: AÑADIR A style.css ===== */

/* Estilos para el Bloqueador de Orientación */
#orientation-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    z-index: 9999;
    display: none; /* Oculto por defecto */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text);
}

.blocker-content i {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    /* Animación sutil de rotación */
    animation: rotate-device 2s ease-in-out infinite;
}

.blocker-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blocker-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

@keyframes rotate-device {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-90deg); }
    100% { transform: rotate(-90deg); }
}

/* Media Query que activa el bloqueo */
@media (orientation: landscape) and (max-width: 900px) {
    
    /* Si el body tiene la clase .force-portrait... */
    body.force-portrait #orientation-blocker {
        display: flex; /* Muestra el bloqueador */
    }

    /* Oculta todo lo demás en la página */
    body.force-portrait > *:not(#orientation-blocker) {
        display: none !important;
    }
}


/* --- 1. Estilos para el botón "X" de cerrar --- */

/* Oculto por defecto */
.modal-close-fs-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    color: #FFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 2.5rem;
    line-height: 45px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    z-index: 99999;
    transition: all 0.2s ease;
}

.modal-close-fs-btn:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
}

/* --- 2. Solución al fallo visual del iframe en móviles --- */

/* Seleccionamos el .game-frame cuando está en CUALQUIER modo de pantalla completa */
/* ===== MODO PANTALLA COMPLETA (ESTÁNDAR + IOS FIX) ===== */

/* Agrupamos los selectores estándar (:fullscreen) 
   CON la nueva clase (.pseudo-fullscreen) para móviles/iOS 
*/
.game-frame:fullscreen,
.game-frame:-webkit-full-screen,
.game-frame:-moz-full-screen,
.game-frame:-ms-fullscreen,
.game-frame.pseudo-fullscreen { /* <--- CLASE NUEVA AÑADIDA */
    /* Resetear marcos y forzar ocupación total */
    position: fixed !important; /* Crítico para el modo "falso" */
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    max-height: 100% !important;
    z-index: 99999 !important;
    background: #000 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    
    /* Centrado */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ocultar pseudo-elementos decorativos en ambos modos */
.game-frame:fullscreen::before, .game-frame:fullscreen::after,
.game-frame:-webkit-full-screen::before, .game-frame:-webkit-full-screen::after,
.game-frame:-moz-full-screen::before, .game-frame:-moz-full-screen::after,
.game-frame:-ms-fullscreen::before, .game-frame:-ms-fullscreen::after,
.game-frame.pseudo-fullscreen::before, .game-frame.pseudo-fullscreen::after {
    display: none !important;
}

/* Forzar al iframe a ocupar el 100% */
.game-frame:fullscreen iframe,
.game-frame:-webkit-full-screen iframe,
.game-frame.pseudo-fullscreen iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border: none !important;
}

/* Mostrar el botón "X" en ambos modos */
.game-frame:fullscreen .modal-close-fs-btn,
.game-frame:-webkit-full-screen .modal-close-fs-btn,
.game-frame.pseudo-fullscreen .modal-close-fs-btn {
    display: block !important;
}

/* ===== FIN: REEMPLAZAR/AÑADIR ESTE BLOQUE en style.css ===== */
/* ===== ESTILOS PARA CARRUSEL "EN EL HORIZONTE" (UPCOMING) ===== */

/* ===== ESTILOS PARA CARRUSEL "EN EL HORIZONTE" (UPCOMING) ===== */

/* Badge de Categoría (Slot/Bingo/Poker) */
.upcoming-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8); /* Fondo oscuro para contraste */
    color: var(--color-accent);      /* Texto verde neon */
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    pointer-events: none;
    border: 1px solid var(--color-accent); /* Borde verde */
}

/* Imagen limpia y brillante por defecto */
.carousel-item.upcoming-item .carousel-image {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Sin filtros de gris */
}

/* Efecto Hover simple: solo zoom */
.carousel-item.upcoming-item:hover .carousel-image {
    transform: scale(1.1);
}

/* Cursor por defecto (sin mano de link) */
.carousel-item.upcoming-item {
    cursor: default;
}
/* ===== AJUSTE RESPONSIVE PARA ETIQUETAS (SLOT/BINGO/POKER) ===== */

@media (max-width: 768px) {
    .upcoming-badge {
        /* 1. Texto mucho más pequeño y compacto */
        font-size: 0.55rem; 
        
        /* 2. Reducir el espacio interno */
        padding: 2px 6px;
        
        /* 3. Pegarlo más a la esquina para que no tape el arte */
        top: 5px;
        right: 5px;
        
        /* 4. Reducir un poco el grosor del borde para que se vea fino */
        border-width: 1px;
        
        /* Opcional: Reducir la sombra para que no se vea "sucia" en pantalla pequeña */
        box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    }
}
/* ===== CORRECCIÓN BOTÓN DEMO (RESPONSIVE) ===== */

/* 1. Asegurar que el contenedor del botón use Flexbox correctamente */
.btn-modern {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espacio consistente entre icono y texto */
    max-width: 100%; /* Evita que se salga de la pantalla */
}

/* 2. Ajustes específicos para móviles */
@media screen and (max-width: 768px) {
    
    /* Selector específico para el botón grande de la CTA */
    .services-cta-full .btn-modern,
    .platform-cta .btn-modern {
        
        /* CORRECCIÓN DE TEXTO */
        white-space: normal; /* Permitir que el texto baje de línea si es necesario */
        text-align: center;  /* Si baja, que quede centrado */
        line-height: 1.2;    /* Juntar un poco las líneas para que se lean como bloque */
        font-size: 1rem;     /* Reducir un poco la fuente para intentar que quepa */
        
        /* CORRECCIÓN DE FORMA */
        height: auto;        /* Quitar altura fija si la tenía */
        padding: 16px 24px;  /* Padding equilibrado */
        border-radius: 16px; /* IMPORTANTE: Radio menor para que parezca una tarjeta, no un huevo */
        
        /* Asegurar ancho completo disponible pero con margen */
        width: auto; 
        min-width: 200px;
    }
    
    /* Si el texto se rompe, el icono debe mantenerse centrado o moverse */
    .services-cta-full .btn-modern i,
    .services-cta-full .btn-modern span.btn-icon {
        flex-shrink: 0; /* Evita que el icono se aplaste */
    }
}
/* ===== FIX DE INTERACCIÓN TÁCTIL ===== */

/* Solo aplicar efectos hover si el dispositivo tiene ratón real */
@media (hover: hover) {
    .game-frame:hover {
        box-shadow: 0 25px 50px rgba(0,0,0,0.5); /* Tu sombra hover actual */
    }
}

/* En pantallas táctiles, eliminar transiciones que puedan retrasar el clic */
@media (hover: none) {
    .game-frame, 
    .game-frame iframe {
        transition: none !important;
        transform: none !important;
    }
    
    /* Asegurar que el área de toque sea sólida */
    .game-embed-container {
        -webkit-tap-highlight-color: transparent;
    }
}
