/*
Theme Name: MandoTV
Theme URI: https://mandotv.com
Description: Premium IPTV España theme with +25,000 channels, 8K/4K quality, and modern cyan/teal design.
Author: MandoTV Dev Team
Author URI: https://mandotv.com
Version: 1.0
Text Domain: mandotv
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* 
 * Note: Main styles are loaded from assets/css/styles.css via wp_enqueue_style in functions.php
 * This file contains only theme information for WordPress and any additional overrides.
 */

/* WordPress Core Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 8px;
    max-width: 100%;
    padding: 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 0.9rem;
    margin: 10px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* WordPress Block Editor Styles */
.wp-block-button__link {
    background: linear-gradient(135deg, #0D9488 0%, #22D3D8 50%, #38BDF8 100%);
    color: white;
    border-radius: 9999px;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(34, 211, 216, 0.6);
}

/* Page Content Styles */
.page-content-wrapper {
    padding: 120px 0 80px;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.entry-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content a {
    color: #14B8A6;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #22D3D8;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #0F172A;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #14B8A6;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Sports Section Circle Fix */
.sports-marquee-track {
    display: flex !important;
    gap: 30px !important;
}

.sport-slide-item {
    flex: 0 0 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.sport-circle-img {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 20px rgba(34, 211, 216, 0.4);
    border: 2px solid #0D9488;
}

.sport-slide-item:hover .sport-circle-img {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(34, 211, 216, 0.6);
    border-color: #22D3D8;
}

/* Security Section Layout Fix */
.security-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
}

.security-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.security-features {
    display: grid !important;
    gap: 20px !important;
}

.security-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    padding: 15px !important;
    background: rgba(30, 41, 59, 0.6) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.security-item:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: #0D9488 !important;
}

.security-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.security-item strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.security-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.security-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Free Trial Section Layout Fix */
.trial-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 50px 40px !important;
    background: rgba(30, 41, 59, 0.6) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(13, 148, 136, 0.3) !important;
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.15) !important;
}

/* ================================
   Free Trial Premium Styles
   ================================ */
.free-trial {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

.free-trial::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
    animation: trialGlow 10s ease-in-out infinite;
}

@keyframes trialGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5%, 5%);
    }
}

.trial-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(13, 148, 136, 0.15);
}

.trial-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0D9488, #14B8A6, #22D3D8, #0D9488);
    border-radius: 26px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.trial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.trial-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 50px;
    margin-bottom: 25px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 5px rgba(239, 68, 68, 0.2);
    }
}

.badge-icon {
    font-size: 1.3rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #EF4444;
}

.trial-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.trial-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trial-description strong {
    color: #14B8A6;
}

.trial-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.trial-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.trial-feature:hover {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.trial-cta {
    text-align: center;
}

.btn-trial {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-trial:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.4);
}

.btn-trial-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-trial-icon svg {
    width: 24px;
    height: 24px;
}

.trial-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Trial Section */
@media (max-width: 768px) {
    .trial-wrapper {
        padding: 40px 25px;
    }

    .trial-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .trial-feature {
        padding: 12px 15px;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }

    .btn-trial {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .trial-features-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Float Button Fix */
.whatsapp-float {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: white !important;
    padding: 12px 20px 12px 15px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5) !important;
}

.whatsapp-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Contact Section Layout Fix */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

.contact-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 40px 30px !important;
    background: rgba(30, 41, 59, 0.6) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.3s ease !important;
}

.contact-card:hover {
    transform: translateY(-5px) !important;
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: #0D9488 !important;
    box-shadow: 0 10px 40px rgba(13, 148, 136, 0.2) !important;
}

.contact-card.whatsapp:hover {
    border-color: #25D366 !important;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.2) !important;
}

.contact-icon {
    font-size: 3rem !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.contact-card h3 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
}

.contact-status {
    display: inline-block !important;
    padding: 6px 16px !important;
    background: rgba(13, 148, 136, 0.2) !important;
    color: #14B8A6 !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

.contact-card.whatsapp .contact-status {
    background: rgba(37, 211, 102, 0.2) !important;
    color: #25D366 !important;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .security-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .security-image {
        order: -1;
    }

    .security-image img {
        max-width: 300px !important;
    }

    .trial-content {
        padding: 30px 20px !important;
    }

    .trial-features {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .whatsapp-text {
        display: none !important;
    }

    .whatsapp-float {
        padding: 15px !important;
        border-radius: 50% !important;
        width: 60px !important;
        height: 60px !important;
        justify-content: center !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .contact-card {
        padding: 30px 20px !important;
    }
}

/* ================================
   Blog Page Styles
   ================================ */
.blog-page {
    padding: 120px 0 80px;
    background: #0F172A;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Category Filter */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
    background: #0D9488;
    border-color: #0D9488;
    color: #fff;
}

.category-tag .count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #0D9488;
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
}

.blog-card-image {
    display: block;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    font-size: 3rem;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.blog-category {
    background: rgba(13, 148, 136, 0.2);
    color: #14B8A6;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.blog-date {
    color: rgba(255, 255, 255, 0.5);
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #14B8A6;
}

.blog-card-excerpt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #14B8A6;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.blog-pagination a,
.blog-pagination span {
    padding: 10px 18px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination a:hover,
.blog-pagination .current {
    background: #0D9488;
    border-color: #0D9488;
    color: #fff;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Single Post Styles
   ================================ */
.single-post-page {
    background: #0F172A;
    padding-top: 100px;
}

.single-post-header {
    padding: 60px 0 40px;
    text-align: center;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.post-category {
    background: rgba(13, 148, 136, 0.2);
    color: #14B8A6;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
}

.post-date,
.post-reading-time {
    color: rgba(255, 255, 255, 0.5);
}

.single-post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.single-post-excerpt {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.single-post-image {
    margin-bottom: 50px;
}

.single-post-image img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: 16px;
}

.container-narrow {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post-content {
    padding-bottom: 60px;
}

.entry-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #fff;
    margin: 40px 0 20px;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content a {
    color: #14B8A6;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.entry-content blockquote {
    border-left: 4px solid #0D9488;
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.tags-label,
.share-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.post-tag {
    padding: 6px 14px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: #0D9488;
    color: #fff;
}

/* Share Buttons */
.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: #fff;
}

.share-btn.facebook {
    background: #4267B2;
    color: #fff;
}

.share-btn.whatsapp {
    background: #25D366;
}

/* Author Box */
.author-box {
    background: rgba(30, 41, 59, 0.4);
    padding: 50px 0;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 5px;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.author-bio {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
}

.related-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Responsive */
@media (max-width: 992px) {

    .blog-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-page {
        padding: 100px 0 60px;
    }

    .blog-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .single-post-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ================================
   Installation Guide Page Styles
   ================================ */
.installation-page {
    background: #0F172A;
    min-height: 100vh;
}

.install-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.1) 0%, transparent 100%);
}

.install-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.install-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.install-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Devices Navigation Tabs */
.devices-nav {
    padding: 30px 0;
    position: sticky;
    top: 80px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.devices-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.device-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.device-tab:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(13, 148, 136, 0.5);
}

.device-tab.active {
    background: rgba(13, 148, 136, 0.2);
    border-color: #0D9488;
    color: #fff;
}

.tab-icon {
    font-size: 1.5rem;
}

.tab-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.guide-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.tab-label {
    white-space: nowrap;
}

/* Installation Guides */
.install-guides {
    padding: 60px 0 80px;
}

.install-guide {
    display: none;
}

.install-guide.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-icon {
    font-size: 3rem;
    background: rgba(13, 148, 136, 0.2);
    padding: 20px;
    border-radius: 16px;
}

.guide-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.guide-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.guide-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.guide-image {
    position: sticky;
    top: 200px;
}

.guide-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.guide-steps h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0D9488 0%, #22D3D8 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.step-content strong {
    color: #14B8A6;
}

.guide-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 12px;
    margin-top: 30px;
}

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guide-note p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Install Help Section */
.install-help {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.1) 0%, transparent 100%);
}

.help-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.help-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.help-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.help-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Installation Page */
@media (max-width: 992px) {
    .guide-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guide-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .install-hero {
        padding: 120px 0 40px;
    }

    .devices-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        gap: 10px;
    }

    .device-tab {
        padding: 12px 18px;
        flex-shrink: 0;
    }

    .tab-icon {
        font-size: 1.2rem;
    }

    .tab-label {
        font-size: 0.8rem;
    }

    .guide-header {
        flex-direction: column;
        text-align: center;
    }

    .guide-icon {
        font-size: 2rem;
        padding: 15px;
    }

    .guide-info h2 {
        font-size: 1.4rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .help-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Sticky Action Bar - Hidden on Desktop */
.mobile-sticky-bar {
    display: none !important;
}

/* ================================
   COMPREHENSIVE MOBILE FIXES
   ================================ */

/* Global: Prevent horizontal scrolling */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Mobile viewport - 768px and below (Covers all phones and portrait tablets) */
@media (max-width: 768px) {

    /* Top Bar - compact single row on mobile */
    .top-bar-content {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 6px 10px !important;
        text-align: center !important;
    }

    .top-bar-left,
    .top-bar-right {
        font-size: 0.7rem !important;
    }

    .top-bar-left .flash-sale {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }

    /* Hero Stats - Stack vertically (2x2 grid) */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
    }

    /* CORRECTED SELECTOR: .stat instead of .stat-item */
    .hero-stats .stat {
        padding: 15px 10px !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem !important;
    }

    /* Sports Section - Marquee restored (Removed static grid overrides) */

    /* Mobile Sticky Action Bar */
    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        padding: 12px 15px;
        display: flex !important;
        justify-content: space-between;
        gap: 15px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        z-index: 9999;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        border-radius: 50px;
        color: white;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
        transition: transform 0.2s;
    }

    .sticky-btn:active {
        transform: scale(0.95);
    }

    /* WhatsApp Button */
    .sticky-whatsapp {
        background: #25D366;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    }

    /* CTA Button */
    .sticky-cta {
        background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
        box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Adjust WhatsApp Float to not overlap */
    .whatsapp-float {
        bottom: 80px !important;
        /* Move up above the bar */
    }

    /* Pricing Toggle - Stack or shrink */
    .pricing-toggle {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .toggle-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        flex: 1 0 auto !important;
        max-width: 48% !important;
    }

    /* Pricing Cards */
    .pricing-card {
        padding: 25px 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .plan-price .amount {
        font-size: 2.5rem !important;
    }

    /* Devices Section - 2 column grid */
    .devices-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .device-card {
        padding: 15px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .device-card h2 {
        font-size: 0.85rem !important;
    }

    .device-card p {
        font-size: 0.7rem !important;
    }

    .device-icon img {
        width: 40px !important;
        height: 40px !important;
    }

    /* Review Cards - Narrower */
    .review-card {
        min-width: 260px !important;
        max-width: 280px !important;
        padding: 20px 15px !important;
        margin-right: 15px !important;
    }

    .review-text {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    /* FAQ Section */
    .faq-question {
        padding: 15px !important;
        font-size: 0.9rem !important;
    }

    .faq-answer {
        padding: 15px !important;
    }

    /* Contact Grid - 1 column */
    .contact-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Security Section */
    .security-content {
        flex-direction: column !important;
    }

    .security-features {
        grid-template-columns: 1fr !important;
    }

    /* Free Trial Feature Grid */
    .trial-features-grid {
        grid-template-columns: 1fr !important;
    }

    .trial-feature {
        justify-content: flex-start !important;
    }

    /* Footer Grid */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .footer-links {
        justify-content: center !important;
    }

    /* Installation Guide Tabs - Scrollable */
    .devices-tabs {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        justify-content: flex-start !important;
        padding-bottom: 5px !important;
        width: 100% !important;
    }

    .devices-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .device-tab {
        min-width: auto !important;
        flex: 0 0 auto !important;
        padding: 10px 15px !important;
        white-space: nowrap !important;
    }

    .tab-icon {
        font-size: 1.2rem !important;
    }

    .tab-label {
        font-size: 0.8rem !important;
    }

    /* Buttons - Full width on mobile */
    .btn-block,
    .pricing-card .btn {
        width: 100% !important;
        display: block !important;
    }

    /* Reseller Section */
    .reseller-benefits {
        padding-left: 0 !important;
    }

    .reseller-benefits li {
        font-size: 0.9rem !important;
    }
}