/* ============================================
   ASQUEROSAMENTERICO PV - RESPONSIVE DESIGN
   Diseño adaptativo AAA Gaming
   ============================================ */

/* ========== DESKTOP SMALL (1024px - 1440px) ========== */
@media (max-width: 1440px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .contenido-retor {
        padding: 40px;
    }
}

/* ========== TABLET (768px - 1024px) ========== */
@media (max-width: 1024px) {
    :root {
        font-size: 15px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .hero::before {
        width: 400px;
        height: 400px;
    }

    .hero::after {
        width: 300px;
        height: 300px;
    }

    .contenido-desta h2 {
        font-size: 2rem;
    }

    .contenido-desta p {
        font-size: 1rem;
    }

    .contenido-retor {
        padding: 35px;
        margin: 30px auto;
    }

    .contenido-retor h3 {
        font-size: 1.5rem;
    }

    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

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

    .article-card {
        padding: 30px;
    }

    .footer-content {
        gap: 30px;
    }

    .about-section h1,
    .blog-section h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .blog-section article {
        padding: 40px;
    }
}

/* ========== MOBILE LANDSCAPE (768px y menos) ========== */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    /* --- HEADER MOBILE --- */
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-out;
        gap: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        border-bottom: 2px solid rgba(0, 229, 255, 0.3);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(0, 229, 255, 0.1);
        border-radius: 8px;
    }

    /* --- HERO MOBILE --- */
    .hero {
        min-height: auto;
        padding: 60px 20px 40px;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* --- CONTENIDO DESTACADO --- */
    .contenido-desta {
        padding: 40px 20px;
    }

    .contenido-desta h2 {
        font-size: 1.8rem;
    }

    .contenido-desta p {
        font-size: 0.95rem;
    }

    /* --- CARDS CONTENIDO --- */
    .contenido-retor {
        padding: 25px;
        margin: 25px auto;
        max-width: 100%;
    }

    .contenido-retor h3 {
        font-size: 1.4rem;
    }

    .contenido-retor p {
        font-size: 0.95rem;
    }

    /* --- CONTENT SECTION --- */
    .content-section {
        padding: 50px 20px;
    }

    .content-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card {
        padding: 25px;
    }

    .article-card h3 {
        font-size: 1.3rem;
    }

    /* --- FOOTER MOBILE --- */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    /* --- ABOUT & BLOG --- */
    .about-section,
    .blog-section {
        padding: 50px 20px;
    }

    .about-section h1,
    .blog-section h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .about-content,
    .blog-section article {
        padding: 25px;
    }

    .about-content h2,
    .blog-section h2 {
        font-size: 1.4rem;
        margin: 25px 0 12px;
    }

    /* --- FORMS --- */
    form {
        padding: 25px;
        margin: 20px auto;
    }

    form input,
    form textarea {
        padding: 12px;
        margin-bottom: 15px;
        font-size: 0.95rem;
    }

    form button {
        padding: 12px;
        font-size: 0.95rem;
    }

    /* --- CONTACT SECTION --- */
    .contact-section h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .contact-section > .container > p {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .contact-method {
        padding: 25px;
    }

    .contact-method h3 {
        font-size: 1.3rem;
    }

    form {
        max-width: 100%;
        padding: 30px;
    }

    form h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        padding: 20px;
    }

    .info-item h4 {
        font-size: 1.1rem;
    }

    .team-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team-member {
        padding: 25px;
    }

    .team-member h4 {
        font-size: 1.2rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .contact-info h3 {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

/* ========== MOBILE PEQUEÑO (480px y menos) ========== */
@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }

    /* --- NAVBAR --- */
    .logo h1 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .hamburger-menu span {
        width: 20px;
        height: 2.5px;
    }

    /* --- HERO --- */
    .hero {
        padding: 50px 15px 30px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.85rem;
        width: 100%;
    }

    /* --- CONTENIDO DESTACADO --- */
    .contenido-desta {
        padding: 30px 15px;
    }

    .contenido-desta h2 {
        font-size: 1.5rem;
    }

    .contenido-desta p {
        font-size: 0.9rem;
    }

    /* --- CARDS --- */
    .contenido-retor {
        padding: 20px;
        margin: 20px 0;
        border-radius: 12px;
    }

    .contenido-retor h3 {
        font-size: 1.2rem;
    }

    .contenido-retor p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* --- CONTENT SECTION --- */
    .content-section {
        padding: 40px 15px;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .article-card {
        padding: 20px;
    }

    .article-card h3 {
        font-size: 1.2rem;
    }

    .article-card p {
        font-size: 0.9rem;
    }

    .article-card .read-more {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    /* --- ADS --- */
    .ad-placeholder {
        min-height: 150px;
    }

    /* --- FOOTER --- */
    .footer-content {
        gap: 20px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 20px;
    }

    /* --- ABOUT & BLOG --- */
    .about-section,
    .blog-section {
        padding: 40px 15px;
    }

    .about-section h1,
    .blog-section h1 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .about-content,
    .blog-section article {
        padding: 20px;
    }

    .about-content h2,
    .blog-section h2 {
        font-size: 1.2rem;
        margin: 20px 0 10px;
    }

    .about-content p,
    .about-content li,
    .blog-section p,
    .blog-section small {
        font-size: 0.9rem;
    }

    .img1,
    .img2 {
        border-radius: 10px;
        margin: 20px 0;
    }

    /* --- FORMS --- */
    form {
        padding: 20px;
        margin: 15px 0;
    }

    form input,
    form textarea {
        padding: 10px;
        margin-bottom: 12px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    form button {
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    /* --- CONTACT SECTION --- */
    .contact-section {
        padding: 40px 15px;
    }

    .contact-section h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .contact-section > .container > p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .contact-methods {
        gap: 15px;
        margin-bottom: 30px;
    }

    .contact-method {
        padding: 20px;
    }

    .contact-method h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .contact-method > p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .social-links {
        gap: 10px;
        margin-top: 12px;
    }

    .social-links li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    form {
        max-width: 100%;
        padding: 20px;
        margin: 20px 0;
    }

    form h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

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

    .form-group label {
        font-size: 0.85rem;
    }

    form input,
    form textarea,
    form select {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    form .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .contact-info {
        margin: 40px auto 0;
    }

    .contact-info h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .contact-info h3 {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .info-grid {
        gap: 12px;
    }

    .info-item {
        padding: 18px;
    }

    .info-item h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .team-section {
        gap: 12px;
    }

    .team-member {
        padding: 20px;
        text-align: center;
    }

    .team-member h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .team-member p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

/* ========== MOBILE ULTRA PEQUEÑO (360px y menos) ========== */
@media (max-width: 360px) {
    :root {
        font-size: 12px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .cta-button {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .contenido-retor {
        padding: 15px;
    }

    .contenido-retor h3 {
        font-size: 1.1rem;
    }

    .article-card {
        padding: 15px;
    }

    .article-card h3 {
        font-size: 1.1rem;
    }

    .about-section h1,
    .blog-section h1 {
        font-size: 1.4rem;
    }

    form {
        padding: 15px;
    }

    .contenido-retor {
        padding: 15px;
    }

    .contenido-retor h3 {
        font-size: 1.1rem;
    }

    .article-card {
        padding: 15px;
    }

    .article-card h3 {
        font-size: 1.1rem;
    }

    .about-section h1,
    .blog-section h1 {
        font-size: 1.4rem;
    }

    /* --- CONTACT SECTION --- */
    .contact-section {
        padding: 30px 10px;
        min-height: auto;
    }

    .contact-section h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .contact-section > .container > p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-method {
        padding: 15px;
    }

    .contact-method h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-method > p {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .social-links li a {
        padding: 7px 10px;
        font-size: 0.85rem;
    }

    form {
        max-width: 100%;
        padding: 15px;
        margin: 15px 0;
        border-radius: 16px;
    }

    form h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }

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

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    form input,
    form textarea,
    form select {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    form textarea {
        min-height: 100px;
    }

    form .submit-btn {
        padding: 12px;
        font-size: 0.9rem;
        margin-top: 6px;
    }

    .contact-info {
        margin: 30px auto 0;
    }

    .contact-info h2 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .contact-info h3 {
        font-size: 1.2rem;
        margin-top: 18px;
        margin-bottom: 12px;
    }

    .info-grid {
        gap: 10px;
    }

    .info-item {
        padding: 15px;
    }

    .info-item h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    .team-section {
        gap: 10px;
    }

    .team-member {
        padding: 15px;
    }

    .team-member h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .team-member p {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
}

/* ========== ORIENTACIÓN LANDSCAPE ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    body {
        background: white;
        color: black;
    }

    header,
    .navbar,
    .footer,
    .hamburger-menu,
    .cta-button,
    form,
    .ad-placeholder {
        display: none;
    }

    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .hero h1,
    .content-section h2 {
        color: black;
        text-shadow: none;
        background: none;
        -webkit-text-fill-color: unset;
    }

    .article-card,
    .contenido-retor,
    .about-content {
        border: 1px solid #333;
        background: white;
        color: black;
    }
}

/* ========== ACCESSIBILITY & PERFORMANCE ========== */

/* Reducir movimiento en dispositivos que lo solicitan */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Alto contraste */
@media (prefers-contrast: more) {
    .navbar {
        border-bottom: 2px solid rgba(0, 229, 255, 0.5);
    }

    .article-card,
    .contenido-retor {
        border-width: 2px;
    }

    .logo h1 {
        font-weight: 900;
    }
}

/* Tema oscuro forzado */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--gradient-main);
    }
}

/* ========== TOUCH DEVICE OPTIMIZATIONS ========== */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar tamaño de botones para touch */
    .cta-button,
    button,
    .article-card .read-more {
        min-height: 44px;
        padding: 15px 20px;
    }

    /* Remover hover effects */
    .nav-links a:hover::after {
        width: 0;
    }

    /* Aumentar padding en enlaces */
    .nav-links a {
        padding: 15px 10px;
    }
}
