/**
 * Script Satış Tanıtım Sitesi - Frontend CSS
 * Modern, Premium Tasarım
 */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg-dark: #0f172a;
    --bg-darker: #0a0f1a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.9);

    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;

    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.98);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    color: var(--primary);
    font-size: 28px;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-light) !important;
    background: var(--glass-bg);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00a8e8) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 20px !important;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4);
}

.dropdown-menu-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
}

.dropdown-item {
    padding: 10px 20px;
}

.dropdown-item:hover {
    background: var(--glass-bg);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 30%);
    animation: heroGradient 15s ease-in-out infinite;
}

@keyframes heroGradient {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-5%, -5%) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== SCRIPT CARDS ==================== */
.script-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.script-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.script-card.featured {
    border-color: rgba(245, 158, 11, 0.3);
}

.script-card.featured:hover {
    border-color: var(--warning);
}

.script-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-darker);
}

.script-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.script-card:hover .script-image img {
    transform: scale(1.1);
}

.script-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
}

.script-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.5;
}

.script-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.script-card:hover .script-overlay {
    opacity: 1;
}

.script-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 1;
}

.featured-badge {
    background: linear-gradient(135deg, var(--warning), #f97316);
    color: white;
}

.script-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.script-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 8px;
}

.script-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.script-title a:hover {
    color: var(--primary);
}

.script-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    flex: 1;
}

.script-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.script-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
}

.script-stats {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.script-stats i {
    margin-right: 4px;
}

/* ==================== CATEGORIES ==================== */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-desc {
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-actions .btn {
    box-shadow: var(--shadow-md);
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.category-list {
    list-style: none;
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 12px;
    margin: 4px 0;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition);
}

.category-list li a:hover,
.category-list li a.active {
    background: var(--glass-bg);
    color: var(--text-light);
}

.category-list li a.active {
    color: var(--primary);
}

.category-list li a .count {
    margin-left: auto;
    font-size: 12px;
    background: var(--glass-bg);
    padding: 2px 8px;
    border-radius: 20px;
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
}

.cta-widget .cta-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-widget h4 {
    margin-bottom: 8px;
}

.cta-widget p {
    opacity: 0.9;
    margin-bottom: 16px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-state i {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state h3 {
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==================== PAGINATION ==================== */
.pagination-wrapper {
    margin-top: 50px;
}

.pagination .page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px 18px;
    margin: 0 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* ==================== SCRIPT DETAIL ==================== */
.script-detail-header {
    background: var(--bg-darker);
    padding: 120px 0 30px;
}

.breadcrumb-nav .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

.script-gallery {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-main {
    height: 400px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    gap: 16px;
}

.gallery-placeholder i {
    font-size: 80px;
    color: var(--primary);
    opacity: 0.5;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--bg-darker);
    overflow-x: auto;
}

.gallery-thumbs .thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    border-color: var(--primary);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-tabs {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-tabs .nav-tabs {
    border: none;
    background: var(--bg-darker);
    padding: 8px;
}

.detail-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.detail-tabs .nav-link:hover {
    color: var(--text-light);
}

.detail-tabs .nav-link.active {
    background: var(--primary);
    color: white;
}

.detail-tabs .tab-content {
    padding: 30px;
}

.description-content,
.features-content {
    color: var(--text-muted);
    line-height: 1.8;
}

.description-content h1,
.description-content h2,
.description-content h3,
.features-content h1,
.features-content h2,
.features-content h3 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.description-content ul,
.features-content ul {
    margin-left: 20px;
}

.description-content li,
.features-content li {
    margin-bottom: 8px;
}

/* Script Info Card */
.script-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
}

.info-header {
    margin-bottom: 24px;
}

.info-category {
    display: inline-block;
    background: var(--glass-bg);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.info-price {
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.price-label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
}

.info-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.stat-item i {
    color: var(--primary);
}

.info-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-telegram.btn-lg {
    background: linear-gradient(135deg, #0088cc, #00a8e8);
    padding: 18px 24px;
    font-size: 1.1rem;
}

.info-notice {
    margin-top: 20px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--warning);
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #0088cc, #00a8e8);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.contact-header {
    margin-bottom: 16px;
}

.contact-header i {
    font-size: 40px;
    margin-bottom: 12px;
}

.contact-header h4 {
    margin: 0;
}

.contact-card p {
    opacity: 0.9;
    margin-bottom: 16px;
}

/* Related Scripts */
.related-scripts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* ==================== PACKAGES SECTION - REDESIGNED ==================== */
.packages-section {
    margin-bottom: 24px;
}

.packages-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.packages-header i {
    font-size: 18px;
    color: var(--primary);
}

.packages-header span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
}

/* Package Card */
.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.package-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.package-card:hover::before {
    opacity: 1;
}

/* Featured Package */
.package-card.featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.08));
    border: 2px solid var(--warning);
    padding-top: 35px;
}

.package-card.featured::before {
    background: linear-gradient(180deg, var(--warning), #f97316);
    opacity: 1;
}

.package-featured-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--warning), #f97316);
    color: white;
    text-align: center;
    padding: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Package Card Header */
.package-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.package-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.package-icon-wrapper.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.package-icon-wrapper.success {
    background: linear-gradient(135deg, var(--success), #059669);
}

.package-icon-wrapper.warning {
    background: linear-gradient(135deg, var(--warning), #f97316);
}

.package-title-area h6 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Package Description */
.package-desc {
    margin: 0 0 16px 0;
    padding-left: 62px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Package Price Area */
.package-price-area {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.package-price-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.package-price-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success);
}

/* Featured package price highlight */
.package-card.featured .package-price-value {
    background: linear-gradient(135deg, var(--warning), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-card.featured .package-price-currency {
    color: var(--warning);
}

/* Single Price Display (when no packages) */
.single-price-display {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-darker));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.single-price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.single-price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.single-price-value .amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.single-price-value .currency {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--success);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand i {
    color: var(--primary);
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link:hover {
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    list-style: none;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== OFFCANVAS CATEGORY SIDEBAR ==================== */
.offcanvas {
    background: var(--bg-darker);
    border-right: 1px solid var(--border-color);
    width: 300px !important;
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.offcanvas-title {
    font-weight: 600;
}

.offcanvas-body {
    padding: 20px;
}

.category-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-sidebar-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 4px;
}

.category-sidebar-list li a:hover {
    background: var(--glass-bg);
    color: var(--text-light);
}

.category-sidebar-list li a.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.category-sidebar-list li a i {
    width: 20px;
    text-align: center;
}

.category-sidebar-list li a span {
    flex: 1;
}

.category-sidebar-list li a .count {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.sidebar-cta .cta-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.sidebar-cta h6 {
    margin-bottom: 8px;
}

.sidebar-cta p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    margin-top: 70px;
}

.btn-category-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.btn-category-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.search-box {
    max-width: 400px;
    flex: 1;
    margin: 0 20px;
}

.search-box .form-control {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.search-box .form-control:focus {
    background: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--text-light);
}

.search-box .form-control::placeholder {
    color: var(--text-muted);
}

.search-box .btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 10px 20px;
}

.view-options {
    font-size: 14px;
}

/* ==================== WELCOME TEXT ==================== */
.welcome-text {
    text-align: center;
    padding: 20px 0;
}

.welcome-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.current-category {
    padding: 20px 0;
}

.current-category h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ==================== FEATURED SECTION ==================== */
.featured-section {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-header .section-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--warning), #f97316);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    padding: 0;
}

.section-header .section-badge i {
    font-size: 16px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 150px 0 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-box {
        text-align: center;
        justify-content: center;
    }

    .sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .top-bar .d-flex {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        margin: 12px 0 0;
        width: 100%;
    }

    .view-options {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .script-image {
        height: 180px;
    }

    .gallery-main {
        height: 250px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .welcome-text h1 {
        font-size: 1.5rem;
    }
}