* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #64748b;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #e2e8f0;
            --success: #10b981;
            --samsung: #1428a0;
        }

        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
            width: 100%;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            z-index: 101;
            text-decoration: none;
        }

        .logo i {
            font-size: 1.8rem;
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .search-bar {
            display: flex;
            align-items: center;
            background: var(--gray);
            border-radius: 30px;
            padding: 8px 15px;
            width: 250px;
        }

        .search-bar input {
            background: transparent;
            border: none;
            outline: none;
            width: 100%;
            padding: 5px;
        }

        .search-bar i {
            color: var(--secondary);
        }

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 101;
        }

        /* Mobile Navigation Styles */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease-in-out;
            z-index: 100;
            padding: 80px 30px 30px;
            display: flex;
            flex-direction: column;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            border-bottom: 1px solid var(--gray);
            background: white;
        }

        .mobile-nav-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
        }

        .mobile-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--secondary);
            cursor: pointer;
            transition: color 0.3s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .mobile-close:hover {
            color: var(--primary);
            background: var(--gray);
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 30px;
        }

        .mobile-nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-size: 1.1rem;
            font-weight: 500;
            padding: 10px 0;
            border-bottom: 1px solid var(--gray);
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-nav-links a i {
            width: 20px;
            color: var(--primary);
        }

        .mobile-nav-links a:hover {
            color: var(--primary);
        }

        .mobile-search {
            display: flex;
            align-items: center;
            background: var(--gray);
            border-radius: 30px;
            padding: 12px 20px;
            margin-bottom: 30px;
        }

        .mobile-search input {
            background: transparent;
            border: none;
            outline: none;
            width: 100%;
            padding: 5px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease-in-out;
            z-index: 99;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Article Header */
        .article-header {
            background: linear-gradient(135deg, #0c1b6f, #1428a0);
            color: white;
            padding: 60px 0 40px;
            margin-bottom: 40px;
            border-radius: 0 0 30px 30px;
        }

        .breadcrumb {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            font-size: 0.9rem;
        }

        .breadcrumb a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .breadcrumb a:hover {
            color: white;
        }

        .breadcrumb span {
            color: rgba(255, 255, 255, 0.6);
        }

        .article-title {
            font-size: 2.2rem;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .article-meta {
            display: flex;
            gap: 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 30px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .phone-highlights {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
        }

        .highlight {
            background: rgba(255, 255, 255, 0.15);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            backdrop-filter: blur(10px);
        }

        /* Article Content */
        .article-content {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 40px;
            margin-bottom: 60px;
        }

        @media (min-width: 769px) {
    .main-content {
        background: white;
        border-radius: 15px;
        padding: 40px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
}


        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .sidebar-widget {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .widget-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--gray);
            color: var(--dark);
        }

        /* Phone Showcase */
        .phone-showcase {
            text-align: center;
            margin-bottom: 40px;
        }

        .phone-image {
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
        }

        .phone-image img {
            max-height: 100%;
            transition: transform 0.5s;
            width: 100%;
        }

        .phone-colors {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .color-option {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: transform 0.3s;
        }

        .color-option.active {
            border-color: var(--dark);
            transform: scale(1.1);
        }

        .color-name {
            font-size: 0.9rem;
            color: var(--secondary);
        }

        /* Specification Sections */
        .spec-section {
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--gray);
            color: var(--samsung);
        }

        .spec-table {
            width: 100%;
            border-collapse: collapse;
        }

        .spec-table tr {
            border-bottom: 1px solid var(--gray);
        }

        .spec-table tr:last-child {
            border-bottom: none;
        }

        .spec-table td {
            padding: 15px 10px;
        }

        .spec-table td:first-child {
            font-weight: 600;
            width: 40%;
            color: var(--dark);
        }

        .spec-table td:last-child {
            color: var(--secondary);
        }

        /* Rating Widget */
        .rating-widget {
            text-align: center;
        }

        .overall-rating {
            font-size: 3rem;
            font-weight: 700;
            color: var(--samsung);
            margin-bottom: 10px;
        }

        .stars {
            color: #ffc107;
            font-size: 1.2rem;
            margin-bottom: 15px;
        }

        .rating-breakdown {
            text-align: left;
            margin-top: 20px;
        }

        .rating-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .rating-bar {
            height: 6px;
            background: var(--gray);
            border-radius: 3px;
            margin-top: 5px;
            overflow: hidden;
        }

        .rating-fill {
            height: 100%;
            background: var(--samsung);
        }

        /* Pros Cons Widget */
        .pros-cons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .pros-list, .cons-list {
            list-style: none;
        }

        .pros-list li, .cons-list li {
            padding: 8px 0;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .pros-list li:before {
            content: "✓";
            color: var(--success);
            font-weight: bold;
        }

        .cons-list li:before {
            content: "✗";
            color: #ef4444;
            font-weight: bold;
        }

        /* Price Widget */
        .price-widget {
            text-align: center;
        }

        .current-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--samsung);
            margin-bottom: 5px;
        }

        .original-price {
            text-decoration: line-through;
            color: var(--secondary);
            margin-bottom: 20px;
        }

        .retailers {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 20px;
        }

        .retailer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background: var(--light);
            border-radius: 8px;
            transition: background 0.3s;
        }

        .retailer:hover {
            background: var(--gray);
        }

        .retailer-price {
            font-weight: 600;
            color: var(--samsung);
        }

        /* Related Articles */
        .related-articles {
            margin: 60px 0;
        }

        .related-title {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 40px;
            color: var(--dark);
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .article-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .article-card-image {
            height: 180px;
            overflow: hidden;
        }

        .article-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .article-card:hover .article-card-image img {
            transform: scale(1.05);
        }

        .article-card-content {
            padding: 20px;
        }

        .article-card-category {
            color: var(--primary);
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 10px;
            display: block;
        }

        .article-card-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .article-card-title a {
            color: var(--dark);
            text-decoration: none;
            transition: color 0.3s;
        }

        .article-card-title a:hover {
            color: var(--primary);
        }

        .article-card-meta {
            display: flex;
            gap: 15px;
            color: var(--secondary);
            font-size: 0.8rem;
            margin-top: 15px;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s;
            text-decoration: none;
        }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .nav-links, .search-bar {
                display: none;
            }

            .mobile-menu {
                display: block;
            }

            .article-content {
                grid-template-columns: 1fr;
            }

            .article-title {
                font-size: 1.5rem !important;
            }

            .phone-image {
                height: 300px;
            }
        }

        @media (max-width: 768px) {
            .article-header {
                padding: 40px 0 30px;
            }

            .article-title {
                font-size: 1.8rem;
            }

            .main-content {
                padding: 5px;
                /* background: white; */
                border: 0px;
            }

            .pros-cons {
                grid-template-columns: 1fr;
            }

            .articles-grid {
                grid-template-columns: 1fr;
            }

            .article-meta {
                font-size: 0.7rem;
            }
            .breadcrumb {
           font-size: 0.8rem;
        }
        }

        @media (max-width: 576px) {
            .article-title {
                font-size: 1.6rem;
            }

            .phone-image {
                height: 250px;
            }

            .spec-table td {
                padding: 10px 5px;
                font-size: 0.9rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
        }


        .pagination {
  display: inline-block;
  padding: 10px 0;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.pagination a.active {
  background-color: #1d4ed8;
  color: white;
  border: 1px solid #1d4ed8;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}




/* Comparison Card Styles - No Horizontal Scroll */
        .comparison-cards {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin: 20px 0;
        }

        .comparison-category {
            background: white;
            border-radius: 12px;
            padding: 0;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .category-header {
            background: linear-gradient(135deg, #2c3e50, #4ca1af);
            color: white;
            padding: 18px 20px;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .comparison-items {
            padding: 0;
        }

        .comparison-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #eef2f7;
        }

        .comparison-item:last-child {
            border-bottom: none;
        }

        .comparison-item:nth-child(even) {
            background-color: #fafbfc;
        }

        .spec-name {
            flex: 1;
            font-weight: 600;
            color: #2d3748;
            font-size: 0.95rem;
        }

        .spec-values {
            flex: 2;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 15px;
            align-items: center;
        }

        .redmi-value, .iphone-value {
            padding: 8px 12px;
            border-radius: 8px;
            text-align: center;
            font-size: 0.9rem;
        }

        .redmi-value {
            background: #fff0eb;
            color: #ff6b35;
            border: 1px solid #ff6b35;
        }

        .iphone-value {
            background: #f0f7ff;
            color: #007aff;
            border: 1px solid #007aff;
        }

        .vs-separator {
            text-align: center;
            color: #718096;
            font-weight: 600;
            font-size: 0.8rem;
        }

        .winner-badge {
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .winner-redmi {
            background: #ff6b35;
            color: white;
        }

        .winner-iphone {
            background: #007aff;
            color: white;
        }

        .winner-tie {
            background: #718096;
            color: white;
        }

        /* Summary Stats */
        .summary-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .stat-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .stat-card.redmi {
            border-top: 4px solid #ff6b35;
        }

        .stat-card.iphone {
            border-top: 4px solid #007aff;
        }

        .stat-card .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .stat-card.redmi .stat-number {
            color: #ff6b35;
        }

        .stat-card.iphone .stat-number {
            color: #007aff;
        }

        .stat-card .stat-label {
            color: #666;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .comparison-item {
                flex-direction: column;
                align-items: stretch;
                padding: 15px;
            }

            .spec-name {
                margin-bottom: 10px;
                font-size: 0.9rem;
            }

            .spec-values {
                grid-template-columns: 1fr auto 1fr;
                gap: 10px;
            }

            .redmi-value, .iphone-value {
                padding: 6px 8px;
                font-size: 0.85rem;
            }

            .vs-separator {
                font-size: 0.75rem;
            }

            .winner-badge {
                font-size: 0.7rem;
                padding: 4px 8px;
            }

            .category-header {
                padding: 15px;
                font-size: 1.1rem;
            }

            .summary-stats {
                grid-template-columns: 1fr;
                gap: 15px;
                margin: 25px 0;
            }

            .stat-card {
                padding: 20px 15px;
            }

            .stat-card .stat-number {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .comparison-item {
                padding: 12px 15px;
            }

            .spec-values {
                grid-template-columns: 1fr auto 1fr;
                gap: 8px;
            }

            .redmi-value, .iphone-value {
                padding: 5px 6px;
                font-size: 0.8rem;
            }

            .winner-badge {
                font-size: 0.65rem;
                padding: 3px 6px;
            }

            .stat-card {
                padding: 18px 12px;
            }

            .stat-card .stat-number {
                font-size: 1.8rem;
            }
        }

        /* Phone Header Styles */
        .phones-header {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 15px;
            align-items: center;
            margin: 30px 0 20px 0;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .phone-header {
            text-align: center;
            padding: 15px;
            border-radius: 10px;
        }

        .phone-header.redmi {
            background: linear-gradient(135deg, #ff6b35, #ff8e53);
            color: white;
        }

        .phone-header.iphone {
            background: linear-gradient(135deg, #007aff, #5856d6);
            color: white;
        }

        .phone-name {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .phone-price {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .vs-center {
            text-align: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
        }

        @media (max-width: 768px) {
            .phones-header {
                grid-template-columns: 1fr;
                gap: 10px;
                padding: 15px;
            }

            .vs-center {
                order: -1;
                font-size: 1.3rem;
            }

            .phone-header {
                padding: 12px;
            }

            .phone-name {
                font-size: 1.1rem;
            }

            .phone-price {
                font-size: 1rem;
            }
        }

        p{
            margin-bottom: 1.2em;
        }



        /* ============================
   MOBILE RESPONSIVE FIX (IMPORTANT)
   ============================ */

@media (max-width: 768px) {

    /* Reduce default padding */
    .container {
        padding: 0 15px;
    }

    /* Fix header/logo overflow */
    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none; /* Hide desktop menu */
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Fix large title cutting */
    .article-title {
        font-size: 1.9rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    /* Fix hero image */
    .article-hero-img {
        height: 250px;
    }

    /* Force one column layout */
    .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Reduce article padding */
    .article-body {
        padding: 20px;
    }

    /* Fix steps cutting */
    .android-step {
        padding-left: 55px;
    }

    .android-step::before {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Fix feature grids */
    .feature-cards,
    .feature-comparison,
    .mode-visual,
    .game-specs {
        grid-template-columns: 1fr !important;
    }

    /* Sidebar fully responsive */
    .article-sidebar {
        padding: 20px;
    }

    /* Fix text overflow everywhere */
    p, li, h2, h3, h4 {
        word-break: break-word;
    }
}


html, body {
  overflow-x: hidden !important;
  max-width: 100%;
}

iframe,
ins,
.google-auto-placed,
.ap_container,
.ad-container,
[class*="ads"],
[id*="ads"],
iframe[src*="ads"] {
  max-width: 100% !important;
  overflow: hidden !important;
}

body > iframe {
  max-width: 100vw !important;
}




