/*
Theme Name: Suertudo
Description: Tema para gestión de rifas y sorteos con diseño moderno en verde de la suerte
Version: 2.0
Author: Tu Nombre
*/

/* Reset y configuración base. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Variables CSS */
:root {
    --verde-principal: #228B22;
    --verde-oscuro: #006400;
    --verde-claro: #32CD32;
    --rojo-acento: #DC143C;
    --blanco: #FFFFFF;
    --gris-claro: #F8F9FA;
    --gris-oscuro: #333333;
    --negro-principal: #0F1117;
    --negro-medio: #1A1D27;
    --negro-suave: #252836;
}

/* Header */
.header {
    background: var(--negro-principal);  /* antes: verde degradado */
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

/* Quitamos los rombos rojos decorativos del header */
.header::before,
.header::after {
    display: none;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: var(--rojo-acento);
    transform: rotate(45deg);
    opacity: 0.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--blanco);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo::before {
    content: '';
    background-image: url('/wp-content/themes/Suertudo/assets/images/suertudonew.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 64px;
    height: 64px;
    margin-right: 10px;
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--verde-claro);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-oscuro) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--blanco);
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--rojo-acento);
    transform: rotate(45deg);
    opacity: 0.1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: var(--rojo-acento);
    transform: rotate(45deg);
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Botones principales */
.btn-primary {
    display: inline-block;
    background: var(--rojo-acento);
    color: var(--blanco);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #B91C3C;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

/* Sección de descarga */
.download-section {
    background: var(--negro-medio);
    padding: 60px 0;
    text-align: center;
    color: var(--blanco);
}

.download-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 60px; /* Ajusta según necesites */
    width: auto;
    display: block;
}

/* Footer */
.footer {
    background: var(--negro-principal);
    color: var(--blanco);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-brand h3::before {
    content: '';
    background-image: url('/wp-content/themes/Suertudo/assets/images/suertudonew.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    display: inline-block;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--verde-claro);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: var(--blanco);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--verde-claro);
}

.social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--negro-suave);
    color: var(--blanco);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--verde-claro);
    transform: translateY(-2px);
}

/* Override específico para Instagram (SVG limpio, sin fondo) */
.social-links a.instagram-link {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #A0AEC0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a.instagram-link:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #E1306C;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .download-content h2 {
        font-size: 28px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Reset Password Styles */
.reset-password-page {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-oscuro) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.reset-form-container {
    background: var(--blanco);
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.reset-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.reset-form-header h1 {
    color: var(--verde-principal);
    font-size: 28px;
    margin-bottom: 10px;
}

.reset-form-header p {
    color: var(--gris-oscuro);
    opacity: 0.7;
}

.reset-form {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gris-oscuro);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--verde-principal);
    box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1);
}

.password-strength {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
}

.btn-reset {
    width: 100%;
    background: var(--verde-principal);
    color: var(--blanco);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover:not(:disabled) {
    background: var(--verde-oscuro);
    transform: translateY(-2px);
}

.btn-reset:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.reset-links {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.back-home {
    color: var(--verde-principal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: var(--verde-oscuro);
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .reset-form-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .reset-form-header h1 {
        font-size: 24px;
    }
}

/* Páginas internas */
.page-hero {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-oscuro) 100%);
    padding: 80px 0 60px;
    color: var(--blanco);
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.page-content {
    padding: 80px 0;
    background: var(--gris-claro);
}

/* Instagram Icon Styles */
.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A0AEC0;
    transition: color 0.2s ease, transform 0.2s ease;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    text-decoration: none;
}

.instagram-link:hover {
    color: #E1306C;          /* rosa Instagram al hover */
    transform: scale(1.1);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.social-label {
    font-size: 12px;
    color: #718096;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Menú móvil - OCULTO por defecto */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.mobile-menu {
    display: none;
}

/* SOLO mostrar menú móvil en pantallas pequeñas */
@media (max-width: 768px) {
    /* Ocultar menú desktop */
    .desktop-menu .nav-menu {
        display: none !important;
    }
    
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--blanco);
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Animación del botón hamburguesa */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mostrar overlay del menú móvil */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

    /* Mostrar menú móvil */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--negro-principal);
        z-index: 999;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: var(--negro-medio);
    }

    .mobile-menu-title {
        color: var(--blanco);
        font-size: 18px;
        font-weight: 600;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: var(--blanco);
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        line-height: 1;
    }

    .mobile-menu-list {
        background: var(--negro-suave) !important;
        padding-left: 30px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-list li a {
        display: block;
        color: var(--blanco);
        text-decoration: none;
        padding: 18px 20px;
        font-weight: 500;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .mobile-menu-list li a:hover {
        background: var(--verde-principal);
        padding-left: 30px;
    }
    
    /* Ajustes adicionales para móvil */
    .logo {
        font-size: 24px;
    }
    
    .logo::before {
        width: 28px;
        height: 28px;
    }
}

/* FORZAR que en pantallas grandes NO se muestre nada del menú móvil */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    /* Asegurar que el menú desktop esté visible */
    .desktop-menu .nav-menu {
        display: flex !important;
    }
}

/* SO-Store más grande - Responsivo */
.so-store-btn img {
    height: 145px !important;
    width: auto;
}

@media (max-width: 768px) {
    .so-store-btn img {
        height: 80px !important;
    }
}

@media (max-width: 480px) {
    .so-store-btn img {
        height: 70px !important;
    }
}

-----------------------------------------
/* App Store Page Styles */
-----------------------------------------
.app-store-page {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* App Header Section */
.app-header {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
}

.app-header-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* LOGO CON BORDES REDONDEADOS Y TAMAÑO REDUCIDO */
.app-icon {
    flex-shrink: 0;
}

.app-icon img {
    width: 80px;  /* Reducido de 96px a 80px */
    height: 80px; /* Reducido de 96px a 80px */
    border-radius: 18px; /* Bordes redondeados */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Información de la app */
.app-info {
    flex: 1;
}

.app-title {
    font-size: 22px; /* Reducido de 24px */
    font-weight: 500;
    margin: 0 0 6px 0;
    color: #202124;
}

.app-developer {
    margin-bottom: 4px;
}

.developer-name {
    color: #01875f;
    font-size: 13px;
    font-weight: 500;
}

.app-category {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 12px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-size: 14px;
    font-weight: 700;
    color: #202124;
}

.stars {
    color: #01875f;
    font-size: 14px;
}

.reviews-count {
    font-size: 12px;
    color: #5f6368;
}

.app-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #202124;
}

.stat-label {
    font-size: 12px;
    color: #5f6368;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: #dadce0;
}

/* Download Button */
.app-download {
    text-align: center;
    margin-top: 20px;
}

.btn-so-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #01875f;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 200px;
}

.btn-so-store:hover {
    background: #016d4d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.store-icon {
    width: 20px;
    height: 20px;
}

.download-note {
    margin-top: 8px;
    font-size: 12px;
    color: #5f6368;
}

/* Screenshots Section */
.app-screenshots {
    background: #fff;
    padding: 24px 0;
    margin-top: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 16px 0;
}

.screenshots-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.screenshots-slider::-webkit-scrollbar {
    height: 8px;
}

.screenshots-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.screenshots-slider::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.screenshots-slider::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.screenshot-item {
    flex-shrink: 0;
    width: 280px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* About Section */
.app-about {
    background: #fff;
    padding: 24px 0;
    margin-top: 8px;
}

.app-description {
    color: #5f6368;
    line-height: 1.6;
    font-size: 14px;
}

.app-description h3 {
    color: #202124;
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0 12px 0;
}

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

.features-list li {
    padding: 6px 0;
    color: #5f6368;
}

.btn-read-more {
    background: none;
    border: none;
    color: #01875f;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 12px;
}

.btn-read-more:hover {
    text-decoration: underline;
}

/* Updates Section */
.app-updates {
    background: #fff;
    padding: 24px 0;
    margin-top: 8px;
}

.update-info {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
}

.update-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.version {
    font-weight: 500;
    color: #202124;
}

.update-date {
    font-size: 12px;
    color: #5f6368;
}

.update-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #5f6368;
    font-size: 14px;
}

.update-list li {
    padding: 4px 0;
}

/* Ratings Section */
.app-ratings {
    background: #fff;
    padding: 24px 0;
    margin-top: 8px;
}

.ratings-overview {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.rating-summary {
    text-align: center;
}

.rating-number-large {
    font-size: 56px;
    font-weight: 300;
    color: #202124;
    line-height: 1;
}

.rating-stars-large {
    color: #01875f;
    font-size: 20px;
    margin: 8px 0;
}

.rating-count {
    font-size: 12px;
    color: #5f6368;
}

.rating-bars {
    flex: 1;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.star-label {
    font-size: 12px;
    color: #5f6368;
    width: 10px;
}

.bar-container {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #01875f;
    transition: width 0.3s ease;
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #01875f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.reviewer-name {
    font-weight: 500;
    color: #202124;
    font-size: 14px;
}

.review-stars {
    color: #01875f;
    font-size: 12px;
}

.review-date {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 8px;
}

.review-text {
    color: #5f6368;
    font-size: 14px;
    line-height: 1.5;
}

/* Additional Info Section */
.app-additional-info {
    background: #fff;
    padding: 24px 0;
    margin-top: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: #5f6368;
}

.info-value {
    font-size: 14px;
    color: #202124;
}

.info-link {
    color: #01875f;
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

/* Developer Section */
.app-developer {
    background: #fff;
    padding: 24px 0;
    margin-top: 8px;
}

.developer-info h3 {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 16px 0;
}

.developer-info p {
    margin: 8px 0;
    font-size: 14px;
}

.developer-info a {
    color: #01875f;
    text-decoration: none;
}

.developer-info a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .app-icon img {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }
    
    .app-title {
        font-size: 20px;
    }
    
    .app-stats {
        flex-wrap: wrap;
    }
    
    .screenshot-item {
        width: 220px;
    }
    
    .ratings-overview {
        flex-direction: column;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-icon img {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }
    
    .app-title {
        font-size: 18px;
    }
    
    .btn-so-store {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .screenshot-item {
        width: 180px;
    }
    
    .rating-number-large {
        font-size: 42px;
    }
}

/* ========================================
   VIDEO HERO BACKGROUND - OPCIÓN 1
======================================== */

.hero-video {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 17, 23, 0.78) 0%,
        rgba(26, 29, 39, 0.72) 100%
    );
    z-index: 2;
}

.hero-video .container {
    position: relative;
    z-index: 10;
}

.hero-content-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text-center h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--blanco);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-text-center p {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--blanco);
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-video {
        min-height: 80vh;
    }
    
    .hero-text-center h1 {
        font-size: 36px;
    }
    
    .hero-text-center p {
        font-size: 16px;
    }
}

/* loader */

.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 17, 23, 0.97) 0%,
        rgba(26, 29, 39, 0.97) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 15;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.video-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #fff;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

.loading-progress {
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
