        /* Universal Reset */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
        }

        /* General Page Layout */
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f4f6f9;
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
            box-sizing: border-box;
        }

        /* Professional Header */
        .themes-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            padding: 20px 24px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            margin-bottom: 5px;
        }

        .themes-header h2 {
            color: #ffffff;
            margin: 0 0 5px 0;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .themes-header p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.95rem;
            margin: 0;
        }

        .header-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn-header-fb {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            background: #1877F2;
            color: #ffffff;
            text-decoration: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(24, 119, 242, 0.4);
        }

        .btn-header-fb:hover {
            background: #166fe5;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(24, 119, 242, 0.5);
        }

        .btn-header-yt {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            background: #FF0000;
            color: #ffffff;
            text-decoration: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
        }

        .btn-header-yt:hover {
            background: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
        }

        /* Card Container */
        .table-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            margin-top: 20px;
            border: 1px solid #e5e7eb;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
            /* Important for border radius */
        }

        /* --- ULTRA RESPONSIVE TABLE --- */
        .table-responsive {
            width: 100%;
            overflow-x: auto;
            /* Mobile par horizontal scroll ayega */
            -webkit-overflow-scrolling: touch;
        }

        .theme-table {
            width: 100%;
            border-collapse: collapse;
            white-space: nowrap;
            /* Text wrap hone se rokta hai mobile par */
        }

        .theme-table thead tr {
            background-color: #f9fafb;
            border-bottom: 2px solid #e5e7eb;
        }

        .theme-table th {
            text-align: left;
            padding: 16px 24px;
            font-size: 12px;
            font-weight: 600;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .theme-table td {
            padding: 16px 24px;
            border-bottom: 1px solid #f3f4f6;
            color: #374151;
            font-size: 14px;
            vertical-align: middle;
        }

        .theme-table tbody tr:last-child td {
            border-bottom: none;
        }

        .theme-table tbody tr:hover {
            background-color: #f9fafb;
        }

        /* Theme Name Styling */
        .theme-name {
            font-weight: 600;
            color: #111827;
            display: inline;
            vertical-align: middle;
        }

        .theme-sub {
            font-size: 12px;
            color: #9ca3af;
            font-weight: 400;
        }

        /* Badges */
        .badge {
            padding: 4px 10px;
            border-radius: 9999px;
            font-size: 11px;
            font-weight: 600;
            display: inline-block;
        }

        .badge-premium {
            background-color: #fff1f2;
            color: #be123c;
        }

        /* Red for Premium */
        .badge-free {
            background-color: #eff6ff;
            color: #1d4ed8;
        }

        /* Blue for Free */
        .badge-owned {
            background-color: #ecfdf5;
            color: #047857;
        }

        /* Green for Owned */

        /* 🆕 Animated NEW Badge */
        .badge-new {
            background: linear-gradient(135deg, #00c6ff, #0072ff, #7c3aed, #f472b6);
            background-size: 300% 300%;
            color: #ffffff !important;
            font-weight: 700;
            padding: 5px 12px;
            font-size: 10px;
            letter-spacing: 1px;
            animation: newGradient 2s ease infinite, newPulse 1.2s ease-in-out infinite, newGlow 1.5s ease-in-out infinite;
            box-shadow: 0 0 10px rgba(124, 58, 237, 0.6), 0 0 20px rgba(0, 114, 255, 0.4);
            border: none;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
        }

        .badge-new::before {
            content: '✨';
            margin-right: 3px;
            animation: newSparkle 0.6s ease-in-out infinite alternate;
        }

        @keyframes newGradient {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes newPulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.08);
            }
        }

        @keyframes newGlow {

            0%,
            100% {
                box-shadow: 0 0 10px rgba(124, 58, 237, 0.6), 0 0 20px rgba(0, 114, 255, 0.4);
            }

            50% {
                box-shadow: 0 0 15px rgba(124, 58, 237, 0.9), 0 0 30px rgba(0, 114, 255, 0.7), 0 0 40px rgba(244, 114, 182, 0.5);
            }
        }

        @keyframes newSparkle {
            0% {
                opacity: 0.7;
                transform: scale(0.9);
            }

            100% {
                opacity: 1;
                transform: scale(1.1);
            }
        }

        /* Animated Promotion Badge */
        .badge-promo {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24, #f39c12, #f1c40f);
            background-size: 300% 300%;
            color: #ffffff !important;
            font-weight: 700;
            padding: 6px 14px;
            animation: promoGradient 2s ease infinite, promoPulse 1.5s ease-in-out infinite;
            box-shadow: 0 2px 10px rgba(238, 90, 36, 0.4);
            border: none;
            position: relative;
            overflow: hidden;
        }

        .badge-promo::before {
            content: '✨';
            margin-right: 4px;
        }

        @keyframes promoGradient {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes promoPulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 2px 10px rgba(238, 90, 36, 0.4);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 4px 20px rgba(238, 90, 36, 0.6);
            }
        }

        /* 🔥 Animated Promotion Price in Table */
        .promo-price {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a24, #f39c12);
            background-size: 200% 200%;
            color: #ffffff;
            font-weight: 700;
            font-size: 12px;
            border-radius: 20px;
            animation: promoBgGradient 2s ease infinite;
            box-shadow: 0 2px 8px rgba(238, 90, 36, 0.35);
            text-align: left;
        }

        .promo-price::before {
            content: '🔥';
            font-size: 11px;
            animation: promoFirePulse 0.8s ease-in-out infinite;
        }

        @keyframes promoBgGradient {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes promoFirePulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.2);
                opacity: 0.8;
            }
        }

        /* --- DYNAMIC ACTION BUTTON --- */
        .btn-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            min-width: 110px;
            /* Fixed width taake layout shift na ho */
        }

        /* Buy Now Style */
        .btn-buy {
            background-color: #2563eb;
            color: white;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .btn-buy:hover {
            background-color: #1d4ed8;
        }

        /* Copy Link Style - Teal/Cyan */
        .btn-copy {
            background-color: #0d9488;
            border: none;
            color: #ffffff;
        }

        .btn-copy:hover {
            background-color: #0f766e;
        }

        /* Mobile Button Style - Indigo */
        .btn-mobile {
            background-color: #4f46e5;
            border: none;
            color: #ffffff;
        }

        .btn-mobile:hover {
            background-color: #4338ca;
        }

        /* Copied State - Green */
        .btn-copied {
            background-color: #16a34a !important;
            color: #ffffff !important;
            border: none !important;
        }

        .sidebar-toggle-btn {
            display: none;
        }

        /* Mobile specific adjustments */
        @media (max-width: 768px) {

            .sidebar-toggle-btn {
                display: flex !important;
            }

            html,
            body {
                width: 100vw !important;
                max-width: 100vw !important;
                overflow-x: hidden !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .main-content {
                margin: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
                padding: 0 !important;
                min-width: 0 !important;
            }

            .app-container {
                padding: 0 !important;
                margin: 0 !important;
                width: 100% !important;
                max-width: 100vw !important;
                overflow-x: hidden !important;
            }

            .themes-header {
                flex-direction: column;
                align-items: flex-start;
                padding: 16px;
                margin: 0;
                border-radius: 0;
                width: 100% !important;
            }

            .themes-header h2 {
                font-size: 1.15rem;
            }

            .themes-header p {
                font-size: 0.85rem;
            }

            .header-actions {
                width: 100%;
                display: flex;
                gap: 10px;
                justify-content: flex-start;
            }

            .btn-header-fb,
            .btn-header-yt {
                flex: none;
                width: 100%;
                justify-content: center;
                padding: 10px 16px;
                font-size: 13px;
                /* Slightly smaller for mobile content */
            }

            .btn-text {
                display: inline;
                /* Ensure text is visible */
            }

            .btn-header-fb i,
            .btn-header-yt i {
                font-size: 18px;
                margin-right: 4px;
            }

            .table-card {
                margin-top: 10px;
                border-radius: 8px;
                overflow: hidden;
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }

            .table-responsive {
                display: block !important;
                /* Yahan pehle 'table' tha, isko 'block' karein */
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                /* No horizontal scroll on mobile */
            }

            .theme-table {
                width: 100% !important;
                min-width: 100% !important;
                max-width: 100% !important;
                table-layout: fixed;
                /* Fixed layout for proper column sizing */
                white-space: normal;
                /* Allow text wrap */
            }

            .theme-table th,
            .theme-table td {
                padding: 12px 8px;
                font-size: 12px;
                word-wrap: break-word;
                box-sizing: border-box;
            }

            .theme-table th:first-child,
            .theme-table td:first-child {
                display: none !important;
                width: 0 !important;
                padding: 0 !important;
                /* Hide # column on mobile completely */
            }

            /* 3 Column Layout: Theme Name (40%) | Price (25%) | Action (35%) = 100% */
            .theme-table th:nth-child(2),
            .theme-table td:nth-child(2) {
                width: 40% !important;
                min-width: 40% !important;
                max-width: 40% !important;
                padding-left: 10px;
                /* Theme Name */
            }

            .theme-table th:nth-child(3),
            .theme-table td:nth-child(3) {
                width: 25% !important;
                min-width: 25% !important;
                max-width: 25% !important;
                text-align: center;
                /* Price */
            }

            /* 4th Column: Action Buttons */
            .theme-table th:nth-child(4),
            .theme-table td:nth-child(4) {
                width: 35% !important;
                min-width: 35% !important;
                max-width: 35% !important;

                /* FIX: Wapas table-cell karein taake width calculation sahi ho */
                display: table-cell !important;

                /* Content ko right side bhejne ke liye */
                text-align: right !important;
                vertical-align: middle !important;

                /* Thoda padding rakhein taake screen se chipak na jaye */
                padding-right: 5px !important;
            }

            /* Buttons ke beech gap wapas laane ke liye (kyunke flex hata diya hai) */
            .theme-table td:nth-child(4) .btn-action {
                display: inline-flex !important;
                margin-bottom: 4px !important;
                /* Vertical gap */
                margin-left: 4px !important;
                /* Horizontal gap */
            }

            .theme-name {
                font-size: 12px;
                white-space: normal;
                word-break: break-word;
                line-height: 1.3;
            }

            .btn-action {
                padding: 6px 10px;
                font-size: 10px;
                min-width: 80px;
                width: auto;
                gap: 4px;
                white-space: nowrap;
            }

            .btn-action i {
                font-size: 12px;
            }

            .badge {
                font-size: 9px;
                padding: 3px 6px;
            }
        }

        @media (max-width: 480px) {
            .themes-header h2 {
                font-size: 1rem;
            }

            .theme-table th,
            .theme-table td {
                padding: 10px 8px;
                font-size: 12px;
            }

            .btn-action {
                padding: 6px 10px;
                font-size: 10px;
            }
        }

        /* Modal Overlay */
        .premium-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(45, 52, 54, 0.5);
            /* Light Dim Background */
            backdrop-filter: blur(4px);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.2s ease-out;
        }

        /* Modal Box (White Theme) */
        .premium-modal-box {
            background: #ffffff;
            padding: 30px;
            border-radius: 16px;
            width: 90%;
            max-width: 380px;
            text-align: center;
            border: 1px solid #dfe6e9;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
            font-family: 'Segoe UI', sans-serif;
        }

        /* Close Button */
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: #b2bec3;
            font-size: 24px;
            cursor: pointer;
            transition: 0.2s;
        }

        .close-btn:hover {
            color: #2d3436;
        }

        /* Price Box */
        .price-box {
            background: #f4f6f9;
            padding: 12px;
            border-radius: 8px;
            border: 1px dashed #dfe6e9;
            margin-bottom: 25px;
        }

        /* Unlock Button */
        .unlock-btn {
            width: 100%;
            padding: 12px;
            background: #6c5ce7;
            /* Main Purple */
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 4px 6px rgba(108, 92, 231, 0.2);
        }

        .unlock-btn:hover {
            background: #5849be;
            transform: translateY(-1px);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }