* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
}

body.dark-mode {
    background: #0f172a;
    color: #cbd5e1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: #1e293b;
    color: #fff;
    padding: 1rem 0;
    position: relative;
}

body.dark-mode .header {
    background: #0f172a;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    z-index: 1001;
}

.logo h1 {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

body.dark-mode .logo h1 {
    color: #f1f5f9;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav ul li a:hover {
    color: #f59e0b;
}

/* Hero section – neutral gradient */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.hero-title i {
    margin-right: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Checker card */
.checker-section {
    padding: 2rem 0;
}

.checker-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    transition: background 0.2s;
}

body.dark-mode .checker-card {
    background: #1e293b;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.checker-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

body.dark-mode .checker-header h2 {
    color: #f1f5f9;
}

.checker-header p {
    color: #475569;
    font-size: 0.95rem;
}

body.dark-mode .checker-header p {
    color: #94a3b8;
}

.checker-form {
    margin-top: 1.5rem;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

body.dark-mode .input-icon {
    color: #94a3b8;
}

input[type="text"] {
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

body.dark-mode input[type="text"] {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

.check-btn {
    padding: 0.8rem 1.8rem;
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
}

.check-btn:hover {
    background: #d97706;
}

.check-btn:active {
    transform: scale(0.98);
}

/* Turnstile container */
.turnstile-container {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
}

.loading-container {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
    color: #f59e0b;
    font-size: 0.95rem;
}

.loading-container i {
    margin-right: 0.5rem;
}

/* Results tables */
.results-container {
    margin-top: 2rem;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.dark-mode .results-table {
    background: #1e293b;
}

.results-table th,
.results-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.9rem;
}

body.dark-mode .results-table th,
body.dark-mode .results-table td {
    border-bottom-color: #334155;
}

.results-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

body.dark-mode .results-table th {
    background: #0f172a;
    color: #f1f5f9;
}

.results-table td {
    color: #1e293b;
}

body.dark-mode .results-table td {
    color: #cbd5e1;
}

/* Additional info */
.additional-info {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

body.dark-mode .additional-info {
    background: #0f172a;
}

.additional-info p {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.additional-info strong {
    min-width: 100px;
    color: #334155;
}

body.dark-mode .additional-info strong {
    color: #94a3b8;
}

/* Share links */
.share-links {
    margin-top: 1.5rem;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.share-x { background-color: #1e293b; }
.share-facebook { background-color: #3b5998; }
.share-whatsapp { background-color: #25d366; }
.share-linkedin { background-color: #0077b5; }
.share-telegram { background-color: #0088cc; }
.share-reddit { background-color: #ff4500; }
.share-pinterest { background-color: #bd081c; }
.share-email { background-color: #64748b; }
.share-copy, .share-more { background-color: #f59e0b; }

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

.share-more-menu {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Disclaimer inside results */
.disclaimer {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: #fef9e7;
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    color: #78350f;
    text-align: center;
}

body.dark-mode .disclaimer {
    background: #2d1f00;
    color: #fcd34d;
}

/* Floating share */
.floating-share {
    position: fixed;
    z-index: 1000;
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
}

body.dark-mode .floating-share {
    background: #1e293b;
}

.floating-share .share-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.floating-share .share-more-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0.6rem;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin-bottom: 0.8rem;
}

body.dark-mode .floating-share .share-more-menu {
    background: #1e293b;
}

/* Error messages */
.error-container {
    color: #b91c1c;
    background: #fee2e2;
    padding: 0.8rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

body.dark-mode .error-container {
    background: #7f1a1a;
    color: #fecaca;
}

.rate-limit-error {
    border-left: 4px solid #b91c1c;
}

/* Info sections */
.info-sections {
    padding: 2rem 0;
    background: #f8fafc;
}

body.dark-mode .info-sections {
    background: #0f172a;
}

.section-box {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 1.8rem;
    margin-bottom: 2rem;
}

body.dark-mode .section-box {
    background: #1e293b;
}

.section-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

body.dark-mode .section-box h2 {
    color: #f1f5f9;
}

.section-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #f59e0b;
    border-radius: 3px;
}

.section-content {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

body.dark-mode .section-content {
    color: #cbd5e1;
}

/* Steps list with icons */
.steps-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.steps-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.steps-list li i {
    width: 28px;
    color: #f59e0b;
    font-size: 1.2rem;
    text-align: center;
}

.highlight {
    background: #fef3c7;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    color: #b45309;
    font-weight: 500;
}

body.dark-mode .highlight {
    background: #422006;
    color: #fcd34d;
}

/* FAQ */
.faq-list {
    list-style: none;
    padding: 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
}

body.dark-mode .faq-item {
    border-color: #334155;
    background: #1e293b;
}

.faq-question {
    padding: 1rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #faf9fe;
    transition: background 0.2s;
}

body.dark-mode .faq-question {
    background: #0f172a;
    color: #f1f5f9;
}

.faq-question:hover {
    background: #f1f5f9;
}

body.dark-mode .faq-question:hover {
    background: #1e293b;
}

.faq-number {
    color: #f59e0b;
    font-weight: 700;
    margin-right: 0.5rem;
}

.faq-toggle-icon {
    color: #f59e0b;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem 1.2rem 1.2rem;
    font-size: 0.9rem;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    display: none;
}

body.dark-mode .faq-answer {
    color: #94a3b8;
    border-top-color: #334155;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Features section */
.features-section {
    background: #f8fafc;
    padding: 2rem 0;
}

body.dark-mode .features-section {
    background: #0f172a;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #0f172a;
}

body.dark-mode .section-title {
    color: #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
}

body.dark-mode .feature-card {
    background: #1e293b;
}

.feature-card i {
    font-size: 2.2rem;
    color: #f59e0b;
    margin-bottom: 0.8rem;
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Contact section */
.contact-section {
    padding: 2rem 0;
    text-align: center;
}

.contact-section a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 2rem 0;
    margin-top: 2rem;
}

body.dark-mode .footer {
    background: #0f172a;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    flex: 1;
    min-width: 160px;
}

.footer-section h3, .footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.4rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #f59e0b;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons a {
    font-size: 1.3rem;
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #334155;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
}

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 1px solid #f59e0b;
    color: #f59e0b;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: #f59e0b;
    color: #fff;
}

body.dark-mode .theme-toggle {
    border-color: #fcd34d;
    color: #fcd34d;
}

body.dark-mode .theme-toggle:hover {
    background: #fcd34d;
    color: #0f172a;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .input-group { flex-direction: row; }
    .input-wrapper { width: auto; flex: 1; }
    input[type="text"] { width: 320px; }
    .check-btn { width: auto; }
    .floating-share {
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 60px;
    }
    .floating-share .share-buttons { flex-direction: column; }
    .floating-share .share-more-menu {
        left: auto;
        right: 100%;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 0.8rem;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .nav-toggle-label {
        display: block;
        margin-left: auto;
    }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e293b;
        padding: 1rem;
        transform: translateY(-100%);
        transition: transform 0.3s;
        z-index: 999;
        display: none;
    }
    body.dark-mode .nav { background: #0f172a; }
    .nav.nav-open {
        transform: translateY(0);
        display: block;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    .nav ul li { margin: 0.75rem 0; }
    .floating-share {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 60px;
    }
    .floating-share .share-buttons { flex-direction: row; }
}

/* Mobile results */
@media (max-width: 600px) {
    .results-table thead { display: none; }
    .results-table tr { display: block; margin-bottom: 1rem; border: 1px solid #e2e8f0; border-radius: 0.75rem; }
    .results-table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #e2e8f0;
    }
    .results-table td:last-child { border-bottom: none; }
    .results-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        font-weight: 600;
        text-align: left;
    }
    .additional-info p {
        flex-direction: column;
        gap: 0.25rem;
    }
    .additional-info strong {
        min-width: auto;
    }
}

/* Blog "Visit Full Blog" button */
.blog-more {
    text-align: center;
    margin-top: 2rem;
}
.blog-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f59e0b;
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}
.blog-more-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Subscription - privacy note + social icons */
.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
}
body.dark-mode .privacy-note { color: #94a3b8; }

.social-media {
    margin-top: 2rem;
    text-align: center;
}
.social-media h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #0f172a;
}
body.dark-mode .social-media h4 { color: #f1f5f9; }
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}
.social-icons a {
    font-size: 1.6rem;
    color: #64748b;
    transition: color 0.2s;
}
.social-icons a:hover { color: #f59e0b; }
body.dark-mode .social-icons a { color: #94a3b8; }

/* Why TikTok Creation Date Matters - full styling */
.seo-content-section {
    padding: 3rem 0;
    background: #f8fafc;
}
body.dark-mode .seo-content-section { background: #0f172a; }

.seo-content-section h2,
.seo-content-section h3 {
    font-family: 'Montserrat', sans-serif;
    color: #0f172a;
}
body.dark-mode .seo-content-section h2,
body.dark-mode .seo-content-section h3 { color: #f1f5f9; }

.seo-content-section p, .seo-content-section ul {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
}
body.dark-mode .seo-content-section p,
body.dark-mode .seo-content-section ul { color: #cbd5e1; }

.seo-content-section ul {
    padding-left: 1.2rem;
}
.seo-content-section ul li {
    margin-bottom: 0.6rem;
}

.cta-box {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px -3px rgba(0,0,0,0.08);
    margin-top: 2.5rem;
}
body.dark-mode .cta-box { background: #1e293b; }

.cta-link {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 1rem 0;
    transition: all 0.3s;
}
.cta-link:hover {
    background: #d97706;
    transform: scale(1.05);
}

/* Blog section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-image { width: 100%; height: 180px; object-fit: cover; }
.blog-title { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; padding: 1rem 1rem 0.5rem; color: #0f172a; }
.blog-author { padding: 0 1rem; font-size: 0.85rem; color: #64748b; }
.blog-description { padding: 0 1rem 1rem; font-size: 0.9rem; color: #475569; }
.blog-read-more { display: block; text-align: center; padding: 0.8rem; background: #f59e0b; color: #fff; text-decoration: none; font-weight: 600; }
body.dark-mode .blog-card { background: #1e293b; }
body.dark-mode .blog-title { color: #f1f5f9; }

/* Subscription box */
.subscription-section .subscribe-form {
    max-width: 500px;
    margin: 1.5rem auto 0;
}
.subscribe-form .form-group { margin-bottom: 1rem; }
.subscribe-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
}
body.dark-mode .subscribe-form input { background: #334155; border-color: #475569; color: #f1f5f9; }

/* SEO content section */
.seo-content-section h3 { margin: 1.5rem 0 0.5rem; font-size: 1.25rem; }
.seo-content-section .cta-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.seo-content-section .cta-link {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
}