/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden !important;
}
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}
 

/* ========== DARK MODE (DEFAULT) ========== */
:root {
    --bg-primary: #0b1120;
    --bg-secondary: #111827;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --card-bg: #1e293b;
    --border-color: rgba(255,255,255,0.08);
    --header-bg: linear-gradient(135deg, #0b1120 0%, #1a1f3c 100%);
    --input-bg: #1e293b;
    --input-border: rgba(255,255,255,0.1);
    --footer-bg: #0a0a0a;
    --footer-text: rgba(255, 255, 255, 0.7);
    --footer-heading: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.1);
}

/* ========== LIGHT MODE ========== */
body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --footer-bg: #0a0a0a;
    --footer-text: rgba(255, 255, 255, 0.7);
    --footer-heading: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.1);
}

/* Apply theme variables */
body {
    background-color: #0b1120;
    color: var(--text-primary);
}

.main-wrapper {
    background: #0b1120;
}

body.light-mode {
     background: radial-gradient(circle at 20% 20%, #0dcaf0, #d64470 45%), radial-gradient(circle at 80% 0%, rgba(255, 122, 24, 0.15), #d5438e00 40%), radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.1), transparent 45%), #e23750 !important;
}

body.light-mode .main-wrapper {
    background: var(--bg-primary);
}

body.light-mode .hero-section {
    background: radial-gradient(circle at 20% 20%, #0dcaf0, #d64470 45%), radial-gradient(circle at 80% 0%, rgba(255, 122, 24, 0.15), #d5438e00 40%), radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.1), transparent 45%), #e23750 !important;

}

body.light-mode .features-section {
    background: rgba(245, 243, 255, 1);
}

body.light-mode .features-inner {
    background: linear-gradient(145deg, rgba(237,233,254,0.8) 0%, rgba(221,214,254,0.5) 100%);
    border: 1px solid rgba(124,58,237,0.12);
    box-shadow: 0 24px 60px rgba(124,58,237,0.08);
}

body.light-mode .features-heading {
    color: #0f172a;
}

body.light-mode .feat-card {
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(124,58,237,0.15);
    border-right: 1px solid rgba(124,58,237,0.1);
    color: #0f172a;
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 -1px 0 rgba(124,58,237,0.1) inset,
        0 20px 40px rgba(124,58,237,0.1),
        0 8px 16px rgba(0,0,0,0.06);
    transform: perspective(800px) rotateX(1.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .feat-card:hover {
    transform: perspective(800px) rotateX(0deg) translateY(-6px);
    border-color: rgba(124,58,237,0.25);
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 -1px 0 rgba(124,58,237,0.15) inset,
        0 30px 50px rgba(124,58,237,0.15),
        0 12px 24px rgba(0,0,0,0.08);
}

body.light-mode .feat-card h5 {
    color: #0f172a;
}

body.light-mode .feat-card p {
    color: #475569;
}

body.light-mode .carousel-section {
    background: #f3f0ff;
}

body.light-mode .carousel-heading {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .how-to-section {
    background: #f0fdf9;
}

body.light-mode .how-to-section .section-title {
    color: #0f172a;
}

body.light-mode .how-to-section .section-subtitle {
    color: #475569;
}

body.light-mode .how-to-section .section-badge {
    background: rgba(16,185,129,0.12);
    color: #059669;
    border: 1px solid rgba(16,185,129,0.25);
}

body.light-mode .step-item h5 {
    color: #0f172a;
}

body.light-mode .step-item p {
    color: #475569;
}

body.light-mode .step-num {
    color: rgba(0,0,0,0.05);
}

body.light-mode .step-line {
    background: linear-gradient(90deg, rgba(16,185,129,0.4), rgba(34,211,238,0.2));
}

body.light-mode .faq-section {
    background: #eff6ff;
}

body.light-mode .faq-item {
    background: #ffffff;
    border-color: rgba(59,130,246,0.12);
    box-shadow: 0 4px 12px rgba(59,130,246,0.06);
}

body.light-mode .faq-item:hover {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 8px 24px rgba(59,130,246,0.12);
}

body.light-mode .faq-btn {
    color: #0f172a;
}

body.light-mode .faq-btn:hover,
body.light-mode .faq-btn.open {
    color: #2563eb;
}

body.light-mode .faq-icon {
    color: #2563eb;
}

body.light-mode .faq-answer {
    color: #475569;
}

body.light-mode .faq-section .section-title {
    color: #0f172a;
}

body.light-mode .faq-section .section-subtitle {
    color: #475569;
}

body.light-mode .faq-section .section-badge {
    background: rgba(37,99,235,0.1);
    color: #2563eb;
    border: 1px solid rgba(37,99,235,0.2);
}

body.light-mode .contact-section {
    background: rgba(236, 253, 245, 1);
}

body.light-mode .contact-box {
    background: #ffffff;
    border: 1px solid rgba(16,185,129,0.12);
    border-bottom: 1px solid rgba(16,185,129,0.2);
    border-right: 1px solid rgba(16,185,129,0.15);
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 -1px 0 rgba(16,185,129,0.1) inset,
        0 30px 60px rgba(16,185,129,0.1),
        0 10px 20px rgba(0,0,0,0.06);
    transform: perspective(1000px) rotateX(1deg);
}

body.light-mode .contact-box:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-4px);
    box-shadow:
        0 2px 0 rgba(255,255,255,1) inset,
        0 -1px 0 rgba(16,185,129,0.15) inset,
        0 40px 80px rgba(16,185,129,0.15),
        0 16px 32px rgba(0,0,0,0.08);
}

body.light-mode .contact-title {
    color: #0f172a;
}

body.light-mode .contact-sub {
    color: #475569;
}

body.light-mode .contact-stat {
    background: rgba(209,250,229,0.8);
    border-color: rgba(16,185,129,0.2);
    color: #0f172a;
}

body.light-mode .contact-stat i {
    color: #059669;
}

body.light-mode .contact-icon-wrap {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 0 30px rgba(16,185,129,0.4);
    animation: contactPulseLight 3s ease-in-out infinite;
}

@keyframes contactPulseLight {
    0%, 100% { box-shadow: 0 0 20px rgba(16,185,129,0.3); }
    50%       { box-shadow: 0 0 40px rgba(16,185,129,0.6); }
}

body.light-mode .contact-cta-btn {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 24px rgba(16,185,129,0.3);
    color: #fff;
}

body.light-mode .contact-cta-btn:hover {
    box-shadow: 0 12px 32px rgba(16,185,129,0.5);
    color: #fff;
}

body.light-mode .video-card {
    background: var(--card-bg);
}

body.light-mode .download-card {
    background: linear-gradient(135deg, rgba(6,182,212,0.15) 0%, rgba(16,185,129,0.12) 100%);
    border: 1px solid rgba(6,182,212,0.2);
}

/* ========== HEADER ========== */
.header {
    background: var(--header-bg);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.logo i {
    color: #ff0000;
    margin-right: 8px;
}

.logo span {
    color: white;
}

/* Navigation */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.theme-toggle-icon i {
    font-size: 14px;
}

.theme-toggle-label {
    font-size: 13px;
    font-weight: 500;
}

/* ========== HERO SECTION ========== */
.hero-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.15), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(255, 122, 24, 0.2), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.12), transparent 45%),
        #0b1020 !important;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

body:not(.light-mode) .hero-section {
    background:
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.1), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(255, 122, 24, 0.15), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.1), transparent 45%),
        #0a0a0a !important;
}

.hero-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-blur-1 {
    background: #ff6b6b;
    top: -100px;
    left: -100px;
}

.hero-blur-2 {
    background: #4ecdc4;
    bottom: -100px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    font-size: 14px;
    color: white;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.hero-title span {
    color: #ffeb3b;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.download-card-title {
    color: #fff;
    font-weight: 900;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 24px;
}

/* Download Card */
.download-card {
    background: linear-gradient(135deg, rgba(6,182,212,0.25) 0%, rgba(16,185,129,0.18) 100%);
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 24px 60px rgba(7, 11, 22, 0.55), 0 0 40px rgba(6,182,212,0.08);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
  
}


.download-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.18), transparent 45%);
    opacity: 0.6;
    pointer-events: none;
}

body.dark-mode .download-card {
    background: linear-gradient(130deg, rgba(255, 122, 24, 0.15), rgba(34, 211, 238, 0.08));
}

.download-card-title {
    color: #fff;
    font-weight: 900;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

/* Input Group */
.custom-input-group {
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.custom-input-group .input-group-text {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #dc3545;
    padding-left: 20px;
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #311111;
    padding: 14px 18px;
    font-size: 16px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.9);
    color: #311111;
    border-color: transparent;
    box-shadow: none;
}

.form-control::placeholder {
    color: #999;
}

.btn-danger {
    background: linear-gradient(135deg, #ff3b30, #ff7a7a);
    border: none;
    padding: 14px 30px;
    font-weight: 700;
    color: #0b1020;
    border-radius: 999px !important;
    box-shadow: 0 0 18px rgba(255, 59, 48, 0.55);
    animation: pulse-red 2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-danger:hover {
    box-shadow: 0 0 28px rgba(255, 59, 48, 0.8);
    transform: translateY(-1px);
    color: #0b1020;
    background: linear-gradient(135deg, #ff3b30, #ff7a7a);
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 59, 48, 0.4); }
    50%       { box-shadow: 0 0 28px rgba(255, 59, 48, 0.85); }
}

/* Video Card */
.video-info-section {
    margin-top: 30px;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.thumb-wrap img {
    width: 100%;
    border-radius: 12px;
}

.video-meta-top {
    margin-bottom: 15px;
}

.meta-chip {
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

.video-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-item i {
    color: #dc3545;
}

.card-title {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

/* Quality Buttons */
.quality-selector .form-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.quality-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


body.dark-mode .quality-btn {
    background: rgba(255, 255, 255, 0.05);
}

.quality-btn.active {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.quality-btn:hover:not(.active) {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

.quality-btn small {
    font-size: 10px;
    display: block;
    font-weight: normal;
}

/* Action Buttons */
.action-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success {
    background: #28a745;
    border: none;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.secondary-btn {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .secondary-btn {
    background: rgba(255, 255, 255, 0.05);
}

.secondary-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Progress Bar */
.download-progress-wrap {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: 6px;
    overflow: hidden;
}

.download-progress-bar {
    background: #28a745;
    width: 0%;
    height: 100%;
    transition: width 0.3s ease;
}

/* Hero Stats */
.hero-stats {
    margin-top: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    color: #ffeb3b;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-card p {
    color: white;
    margin-bottom: 0;
}

/* ========== CATEGORY BUTTONS ========== */
.category-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
    width: 100%;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    padding: 16px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
    line-height: 1.3;
    text-align: center;
}

.category-btn i {
    font-size: 2.2rem;
}

.category-btn span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 5px;
}

.category-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    color: #fff;
}

.category-btn.active-cat {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    transition: background 0.3s ease;
}

.features-inner {
    background: linear-gradient(135deg, #0b1120 0%, #1a1f3c 50%, #0f172a 100%);
    border-radius: 35px;
    padding: 60px 40px;
    color: white;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 60px rgba(7,11,22,0.5);
}

.features-heading {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 40px;
}

.feat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    color: white;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.feat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,122,24,0.4);
    box-shadow: 0 12px 30px rgba(255,122,24,0.2);
}

.feat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.feat-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    min-height: 32px;
    color: #ffffff;
}

.feat-card p {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-badge {
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: #dc3545;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== CAROUSEL SECTION ========== */
.carousel-section {
    background: var(--bg-primary);
}

.carousel-heading {
    text-align: center;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.custom-carousel {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding-bottom: 50px;
}

.c-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.c-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.c-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.c-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.c-card:hover .c-img-wrap img {
    transform: scale(1.08);
}

.c-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.c-card:hover .c-overlay {
    opacity: 1;
}

.c-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.c-body {
    padding: 20px;
    text-align: center;
}

.c-body h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.c-body p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.c-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

.dot.green  { background: #28a745; animation-delay: 0s; }
.dot.yellow { background: #ffc107; animation-delay: 0.3s; }
.dot.blue   { background: #17a2b8; animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.2); }
}

.custom-carousel .carousel-control-prev,
.custom-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    top: 45%;
    opacity: 0.9;
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin: 0 -10px;
}

.custom-carousel .carousel-control-prev:hover,
.custom-carousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.custom-carousel .carousel-indicators {
    bottom: 10px;
}

.custom-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 2px solid white;
    margin: 0 5px;
}

.custom-carousel .carousel-indicators button.active {
    background: #764ba2;
    transform: scale(1.2);
}

@media (max-width: 767px) {
    .carousel-section {
        padding: 30px 0;
    }

    .carousel-heading {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .custom-carousel {
        padding: 14px 14px 50px;
        border-radius: 16px;
    }

    .custom-carousel .carousel-item .row {
        flex-direction: column;
    }

    .custom-carousel .carousel-item .col-md-4 {
        width: 100%;
        display: none;
    }

    .custom-carousel .carousel-item .col-md-4:first-child {
        display: block;
    }

    .c-img-wrap img {
        height: 180px;
    }

    .custom-carousel .carousel-control-prev,
    .custom-carousel .carousel-control-next {
        width: 38px;
        height: 38px;
        margin: 0 2px;
        border-width: 2px;
    }

    .c-body h5 {
        font-size: 1rem;
    }

    .c-body p {
        font-size: 0.85rem;
    }
    .nav-link[href="instagram.html"] {
    background: linear-gradient(135deg, #f09433, #d62976, #962fbf, #4f5bd5);
    background-size: 200% 200%;
    color: white !important;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
    width: 25%;
}
}

/* ========== HOW TO SECTION ========== */
.how-to-section {
    background: linear-gradient(135deg, #0b1120 0%, #1a1f3c 50%, #0f172a 100%);
    padding: 80px 0;
}

.how-to-section .section-title,
.how-to-section .section-subtitle {
    color: rgba(255,255,255,0.85);
}

.how-to-section .section-badge {
    background: rgba(255,122,24,0.2);
    color: #ff7a18;
    border: 1px solid rgba(255,122,24,0.35);
}

.steps-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step-item:hover .step-icon-wrap {
    transform: translateY(-6px) scale(1.08);
}

.step-line {
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, rgba(255,122,24,0.6), rgba(34,211,238,0.3));
    z-index: 1;
}

.step-line.last {
    display: none;
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.step-item h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.step-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .step-line { display: none; }
    .steps-wrapper { gap: 30px; }
}

.ad-banner, .ad-banner-bottom {
    background: transparent !important;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: linear-gradient(135deg, #0b1120 0%, #1a1f3c 50%, #0f172a 100%);
    padding: 80px 0;
}

.faq-section .section-title {
    color: #ffffff;
}

.faq-section .section-subtitle {
    color: rgba(255,255,255,0.55);
}

.faq-section .section-badge {
    background: rgba(124,58,237,0.2);
    color: #a78bfa;
    border: 1px solid rgba(124,58,237,0.35);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(124,58,237,0.2);
    border-color: rgba(124,58,237,0.4);
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
}

.faq-btn:hover {
    color: #a78bfa;
}

.faq-btn.open {
    color: #a78bfa;
}

.faq-icon {
    font-size: 0.85rem;
    color: #a78bfa;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-btn.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
    max-height: 200px;
    padding: 0 24px 20px;
}


/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(135deg, #0b1120 0%, #1a1f3c 50%, #0f172a 100%);
    padding: 80px 0;
}

.contact-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.4);
    border-right: 1px solid rgba(0,0,0,0.3);
    border-radius: 32px;
    padding: 60px 48px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(255,255,255,0.08) inset,
        0 -1px 0 rgba(0,0,0,0.3) inset,
        0 30px 60px rgba(0,0,0,0.5),
        0 10px 20px rgba(0,0,0,0.3),
        0 4px 8px rgba(34,211,238,0.08);
    transform: perspective(1000px) rotateX(1deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-4px);
    box-shadow:
        0 2px 0 rgba(255,255,255,0.08) inset,
        0 -1px 0 rgba(0,0,0,0.3) inset,
        0 40px 80px rgba(0,0,0,0.55),
        0 16px 32px rgba(0,0,0,0.35),
        0 6px 12px rgba(34,211,238,0.15);
}

.contact-box-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.12), transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

.contact-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(34,211,238,0.35);
    animation: contactPulse 3s ease-in-out infinite;
}

@keyframes contactPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(34,211,238,0.3); }
    50%       { box-shadow: 0 0 40px rgba(34,211,238,0.6); }
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 12px 0 14px;
}

.contact-sub {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.contact-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 8px 18px;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-stat i {
    color: #22d3ee;
    font-size: 0.8rem;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    color: #0b1120;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(34,211,238,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(34,211,238,0.5);
    color: #0b1120;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-social-btn.insta {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    box-shadow: 0 6px 20px rgba(220,39,67,0.35);
}

.contact-social-btn.yt {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,0,0,0.35);
}

.contact-social-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}












/* ========== FOOTER - Changes with Dark Mode ========== */

/* Light Mode Footer */
.footer {
    background: linear-gradient(135deg, #e6217b 0%, #2a616d 50%, #111884 100%);
    padding: 50px 0 20px;
    transition: all 0.3s ease;
}

/* Dark Mode Footer - Darker reddish/black */
body.dark-mode .footer {
    background: linear-gradient(135deg, #4a0e1a 0%, #2d0a12 50%, #1a0508 100%);
}

.footer-content h5 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffeb3b;
    transform: translateY(-2px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
    transition: border-color 0.3s ease;
}

.small-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    transition: color 0.3s ease;
}

/* Legal Disclaimer - Changes with Dark Mode */
.legal-disclaimer {
    margin-top: 30px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Dark Mode Legal Disclaimer - Darker */
body.dark-mode .legal-disclaimer {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-disclaimer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.legal-disclaimer strong {
    color: #ffeb3b;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Dark Mode Legal Disclaimer Strong - Slightly darker yellow */
body.dark-mode .legal-disclaimer strong {
    color: #ffb300;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px;
    }
     html, body {
        overflow-x: hidden !important;
       
        position: relative;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .legal-disclaimer {
        padding: 15px;
        margin-top: 20px;
    }
    
    .legal-disclaimer p {
        font-size: 12px;
    }
}

.insta-btn {
        background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
        border: none;
        color: white;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .insta-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(228, 64, 95, 0.4);
        color: white;
    }
    
    
    /* foooter */
    
    /* ========== SOCIAL MEDIA ICONS ========== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========== STYLISH TOOLS DROPDOWN MENU ========== */
.tools-dropdown {
    position: relative;
}

.tools-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.tools-toggle:hover {
    color: #ff6b6b !important;
}

.tools-menu {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    min-width: 280px;
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========== NEON GLOW TOOLS DROPDOWN ========== */
.tools-menu {
    background: rgba(15, 25, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 20px;
    padding: 10px;
    min-width: 300px;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.2), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tools-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tools-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.2), transparent);
    transition: left 0.5s ease;
}

.tools-item:hover::before {
    left: 100%;
}

.tools-item i {
    width: 32px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.tools-item:hover i {
    transform: scale(1.15) rotate(5deg);
}

.tools-item-title {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.tools-item-desc {
    font-size: 11px;
    opacity: 0.7;
}

.tools-item:hover {
    background: rgba(220, 53, 69, 0.15);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.1);
}





/* ========== Category Buttons - Horizontal Scroll on Mobile =====



.category-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-scroll-container {
    display: flex;
    gap: 12px;
    padding: 8px 4px;
    min-width: min-content;
}

.category-scroll-container .category-btn {
    flex-shrink: 0;
    height: 100px;
}

/* Hide scrollbar on mobile but keep functionality */
@media (max-width: 768px) {
    .category-scroll-wrapper::-webkit-scrollbar {
        height: 3px;
    }
    .category-scroll-wrapper::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
        border-radius: 10px;
    }
    .category-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #dc3545;
        border-radius: 10px;
    }
 
}





























.insta-input-group .input-group-text {
    border: none;
}
.insta-input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}
.insta-submit-btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 160px;
    background: linear-gradient(135deg, #f09433, #d62976);
    color: #fff !important;
    border: none !important;
    white-space: nowrap;
    padding: 12px 24px;
}
        .instagram-page {
            padding-top: 100px;
            min-height: calc(100vh - 300px);
        }
        
        .instagram-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .instagram-header h1 {
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #f09433, #d62976, #962fbf, #4f5bd5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .instagram-header p {
            font-size: 18px;
            color: var(--text-secondary, #6c757d);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .insta-badge {
            background: linear-gradient(135deg, #f09433, #d62976, #962fbf, #4f5bd5);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            display: inline-block;
        }
         .insta-input-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
}
        
        /* ========== INPUT GROUP - MOBILE RESPONSIVE (Same as MP3) ========== */
      
    
        
        
        /* Mobile view - stack vertically */
        @media (max-width: 768px) {
            .instagram-page {
                padding-top: 80px;
            }
            
            .instagram-header h1 {
                font-size: 28px;
            }
            
            .instagram-header p {
                font-size: 14px;
                padding: 0 15px;
            }
           
            
            .insta-input-group .input-group-text {
                padding: 12px 15px;
            }
            
            .insta-input-group .form-control {
                padding: 12px 15px;
                font-size: 14px;
            }
           

    .insta-input-group .input-group {
        flex: 1;
        width: auto !important;
    }

    .insta-submit-btn {
        width: auto !important;
        min-width: 120px;
        padding: 10px 14px;
        font-size: 13px;
    }
   

        }
        
        /* Very small screens */
        @media (max-width: 480px) {
            .insta-input-group .input-group-text {
                padding: 10px 12px;
                font-size: 12px;
            }
            
            .insta-input-group .form-control {
                padding: 10px 12px;
                font-size: 13px;
            }
            
            .insta-submit-btn {
                padding: 10px 12px;
                font-size: 13px;
            }
        }
        
        /* ========== DOWNLOAD CARD STYLES ========== */
        .download-card-insta {
            background: linear-gradient(135deg, rgba(6,182,212,0.25) 0%, rgba(16,185,129,0.18) 100%);
            border: 1px solid rgba(6,182,212,0.2);
            border-radius: 28px;
            padding: 48px;
            box-shadow: 0 24px 60px rgba(7, 11, 22, 0.55), 0 0 40px rgba(6,182,212,0.08);
            backdrop-filter: blur(16px);
            position: relative;
            overflow: hidden;
            transition: background 0.3s ease;
            bottom: 30px;
            max-width: 855px;
    margin: 0 auto;
        }
        
        .download-card-insta::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(240, 148, 51, 0.08), rgba(214, 41, 118, 0.08));
            pointer-events: none;
            z-index: 0;
        }
        
        .download-card-title-insta {
            color: #fff;
            font-weight: 900;
            font-size: 1.6rem;
            text-align: center;
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
        }
        
        
        /* Dark mode and light mode */
        
        body.dark-mode .download-card-insta {
            background: linear-gradient(130deg, rgba(240, 148, 51, 0.15), rgba(214, 41, 118, 0.1));
        }
        
        /* ========== DARK & LIGHT MODE FOR INSTAGRAM PAGE ========== */

/* Light Mode (Default) - Input Group */
.insta-input-group {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    overflow: hidden;
}

.insta-input-group .input-group-text {
    background: transparent;
    color: #e4405f;
}

.insta-input-group .form-control {
    background: transparent;
    color: #212529;
}

.insta-input-group .form-control::placeholder {
    color: #999;
}

/* Dark Mode - Input Group */
body.dark-mode .insta-input-group {
    background: rgba(30, 41, 59, 0.9);
}

body.dark-mode .insta-input-group .input-group-text {
    background: transparent;
    color: #f09433;
}

body.dark-mode .insta-input-group .form-control {
    background: transparent;
    color: #f1f5f9;
}

body.dark-mode .insta-input-group .form-control::placeholder {
    color: #64748b;
}

/* Dark Mode - Download Card */
body.dark-mode .download-card-insta {
        background: linear-gradient(130deg, rgb(231 118 118), rgb(220 52 213 / 47%));}

body.dark-mode .download-card-title-insta {
    color: #fff;
}

/* Dark Mode - Preview Card */
body.dark-mode .preview-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .preview-card .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode .info-box-insta {
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.12), rgba(214, 41, 118, 0.12));
}

body.dark-mode .info-box-insta small {
    color: #cbd5e1;
}

/* Dark Mode - Download Buttons */
body.dark-mode .download-btn-insta {
    background: linear-gradient(135deg, #f09433, #d62976);
}

body.dark-mode .download-btn-insta:hover {
    background: linear-gradient(135deg, #d62976, #f09433);
}

/* Dark Mode - Header Text */
body.dark-mode .instagram-header p {
    color: #94a3b8;
}
body.dark-mode{
    background: linear-gradient(135deg, #f5f0ff 0%, #ffe4e4 100%) !important;
}



/* ========== LIGHT MODE STYLES ========== */

/* Force fix for Tools dropdown */
.dropdown-menu.tools-menu {
    background: #1e293b !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
}

body.light-mode .dropdown-menu.tools-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.dropdown-item.tools-item {
    color: #f1f5f9 !important;
}

body.light-mode .dropdown-item.tools-item {
    color: #1e293b !important;
}

.dropdown-item.tools-item:hover {
    background: rgba(220, 53, 69, 0.15) !important;
}

body.light-mode .dropdown-item.tools-item:hover {
    background: #f1f5f9 !important;
}
/* ========== LIGHT MODE STYLES ========== */

/* Change the MAIN BACKGROUND color */
body.dark-mode .main-wrapper {
    background: linear-gradient(135deg, #d19579 0%, #161616 100%) !important;
}

body.light-mode .main-wrapper{
     background: linear-gradient(135deg, #fecffc 0%, #ff7777 100%) !important;
}

/* Your Download Card color (Purple to Red) */
body.light-mode .download-card-insta {
    background: linear-gradient(135deg, rgba(199, 0, 252, 0.85) 0%, rgba(185, 16, 16, 0.8) 100%) !important;
    border: 1px solid rgba(199, 0, 252, 0.3);
}

body.light-mode .download-card-title-insta {
    color: #ffffff;
}

/* Input Group */
body.light-mode .insta-input-group {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Preview Card */
body.light-mode .preview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Info Box */
body.light-mode .info-box-insta {
    background: linear-gradient(135deg, rgba(240, 148, 51, 0.08), rgba(214, 41, 118, 0.08));
}

/* Header Text */
body.light-mode .instagram-header p {
    color: #475569;
}

/* Footer stays same */
body.light-mode .footer {
    background: linear-gradient(135deg, #e6217b 0%, #2a616d 50%, #111884 100%);
}

body.light-mode .footer-content h5 {
    color: #ffffff;
}

body.light-mode .footer-links a {
    color: rgba(255, 255, 255, 0.85);
}

body.light-mode .legal-disclaimer {
    background: rgba(0, 0, 0, 0.15);
}

body.light-mode .legal-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
}
        
        /* Preview Card Styles */
        .preview-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .preview-img {
            width: 100%;
            max-height: 400px;
            object-fit: contain;
            background: #f5f5f5;
            border-radius: 12px;
        }
        
        .preview-video {
            width: 100%;
            max-height: 500px;
            border-radius: 12px;
        }
        
        .download-btn-insta {
            background: linear-gradient(135deg, #f09433, #d62976);
            border: none;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 600;
            color: white;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .download-btn-insta:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(214, 41, 118, 0.4);
            color: white;
        }
        
        .info-box-insta {
            background: linear-gradient(135deg, rgba(240, 148, 51, 0.08), rgba(214, 41, 118, 0.08));
            border-radius: 15px;
            padding: 15px;
            text-align: center;
        }
        
        /* Ad container styles */
        .ad-container {
            margin: 20px auto;
            text-align: center;
            overflow: hidden;
            border-radius: 12px;
        }
        
        .ad-label {
            font-size: 11px;
            color: #888;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* Mobile preview adjustments */
        @media (max-width: 768px) {
            .download-card-insta {
                padding: 25px 20px;
                margin: 0px 10px;
                border-radius: 40px;
                position:relative;
                top:10px;
                
            }
            
            .download-card-title-insta {
                font-size: 1.3rem;
            }
            
            .preview-card .row {
                flex-direction: column;
            }
            
            .preview-img, .preview-video {
                max-height: 250px;
            }
            
            .download-btn-insta {
                width: 100%;
                justify-content: center;
            }
            
            #downloadOptions {
                flex-direction: column;
                gap: 10px;
            }
            
            .card-body {
                padding: 20px;
            }
        }
