/* Scam Vaani - Custom Styles */

/* Font */
.font-hindi {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

/* Navigation */
.nav-link {
    @apply px-3 py-2 rounded-lg text-sm font-medium text-gray-700 hover:text-primary-900 hover:bg-primary-50 transition;
}
.nav-active {
    @apply text-primary-900 bg-primary-50 font-semibold;
}
.mobile-nav-link {
    @apply flex items-center gap-3 py-3 px-4 rounded-lg text-gray-700 hover:bg-gray-50 transition;
}

/* Content Styles */
.scam-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}
.scam-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}
.scam-content li {
    margin-bottom: 0.25rem;
}
.scam-content p {
    margin-bottom: 0.75rem;
}
.scam-content strong {
    font-weight: 600;
}

.prevention-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}
.prevention-content li {
    margin-bottom: 0.25rem;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Share Menu */
#shareMenu {
    animation: fadeIn 0.2s ease-out;
}

/* Table Responsive */
.overflow-x-auto {
    -webkit-overflow-scrolling: touch;
}

/* Print Styles */
@media print {
    nav, footer, #shareBtn, .no-print {
        display: none !important;
    }
    body {
        font-size: 12pt;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #3f51b5;
    outline-offset: 2px;
}

/* Skip to Content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a237e;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}
