:root {
    --bg-color: #0f1115;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #7c3aed;
    /* Violet */
    --accent-secondary: #3b82f6;
    /* Blue */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;
    --twitch-color: #9146FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animated Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.glass-header {
    padding: 20px 0;
    background: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    /* Add this */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 60px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0 100px;
}

.tool-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(5px);
}

.tool-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.twitch-color {
    color: var(--twitch-color);
    background: rgba(145, 70, 255, 0.1);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-secondary);
}

.tool-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
.glass-footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* --- Twitch Downloader Specifics --- */
.tool-container {
    max-width: 800px;
    margin: 60px auto 100px;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
    background: var(--glass-bg);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.url-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px;
    font-size: 1.1rem;
    outline: none;
    font-family: var(--font-main);
}

.url-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.download-btn {
    background: var(--twitch-color);
    color: white;
    border: none;
    padding: 0 40px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-btn:hover {
    background: #a970ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(145, 70, 255, 0.3);
}

.result-area {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    /* Disable interaction when hidden */
}

.result-area.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.thumbnail-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
}

.thumbnail-container img,
.thumbnail-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 25px;
    text-align: left;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.video-meta {
    display: flex;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #f0f0f0;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}


.back-link:hover {
    color: white;
}

/* Footer Styles */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.site-footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Policy Page Styles */
.policy-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: left;
}

.policy-card h1 {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.policy-content h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.policy-content p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content a {
    color: var(--primary);
    text-decoration: none;
}

.policy-content .date {
    text-align: right;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.contact-email-box {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-email-box i {
    color: var(--primary);
}

.contact-email-box a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .policy-card {
        padding: 1.5rem;
    }


    /* Contact Form Styles */
    .contact-form {
        text-align: left;
        margin-top: 2rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--text-color);
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: white;
        font-family: inherit;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.1);
    }

    .btn-submit {
        width: 100%;
        padding: 14px;
        background: var(--accent-color);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
    }

    /* Navbar Fix for Subpages */
    .navbar {
        padding: 1.2rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(15, 17, 21, 0.8);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar .nav-links {
        display: flex;
        gap: 2rem;
    }

    .navbar .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }


    .navbar .nav-links a:hover {
        color: white;
    }
}

/* Tracker Page Styles */
.tracker-card {
    max-width: 900px;
    margin: 50px auto;
    padding: 2rem;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 10px;
    margin: 2rem auto;
    max-width: 500px;
}

.input-group input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.hidden {
    display: none;
}

.loading {
    margin: 2rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.result-area {
    margin-top: 2rem;
    padding: 1rem;
    border: 2px solid #7c3aed;
    /* Visible purple border */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    min-height: 450px;
    position: relative;
    z-index: 10;
}

.chart-container {
    height: 400px;
    width: 100%;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    /* Dark background for the chart itself */
}

/* Ensure canvas takes space */
canvas#followerChart {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.error-area {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.debug-area {
    margin-top: 2rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.debug-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.debug-log {
    font-family: monospace;
}

/* X (Twitter) Card Style */
.x-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    /* X Black */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Summary Large Image */
.x-card.card-large .x-card-image {
    width: 100%;
    aspect-ratio: 1.91 / 1;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Summary (Small Image) */
.x-card.card-summary {
    flex-direction: row;
    height: 120px;
}

.x-card.card-summary .x-card-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.x-card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.x-card-site {
    display: block;
    font-size: 0.9rem;
    color: #71767b;
    /* X Gray */
    margin-bottom: 2px;
}

.x-card-title {
    font-size: 1rem;
    font-weight: 400;
    color: #e7e9ea;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x-card-desc {
    font-size: 0.95rem;
    color: #71767b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Discord Style */
.discord-card {
    background: #2b2d31;
    border-left: 4px solid #1e1f22;
    border-radius: 4px;
    padding: 12px 16px;
    max-width: 432px;
}

.discord-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.discord-site {
    font-size: 0.75rem;
    color: #dbdee1;
}

.discord-title {
    font-size: 1rem;
    font-weight: 600;
    color: #00a8fc;
}

.discord-desc {
    font-size: 0.875rem;
    color: #dbdee1;
}

.discord-image {
    margin-top: 8px;
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 1.91 / 1;
    background-size: cover;
    background-position: center;
}

.raw-data-area {
    padding: 1.5rem;
}

.meta-list {
    list-style: none;
    padding: 0;
}

.meta-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.meta-list li strong {
    color: var(--accent-color);
    margin-right: 8px;
}

.meta-list li span {
    word-break: break-all;
    color: var(--text-dim);
}
/* --- AdSense Content Styles --- */
.info-section, .explanation-section {
    margin-top: 3rem;
    padding: 2.5rem;
}

.content-block {
    margin-bottom: 2rem;
}

.content-block h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-block p {
    line-height: 1.8;
    color: var(--text-dim);
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.exp-item h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exp-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dim);
}

.extra-text {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-style: italic;
    color: var(--accent-color);
}

/* --- OCR Tool Styles --- */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.drop-zone:hover, .drop-zone.drag-over {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.drop-zone-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.btn-select {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
}

.ocr-preview-area {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.ocr-preview-area img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.reset-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.3s ease;
}

.ocr-result-area h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.tool-suggestion {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.tool-suggestion a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* --- Password Generator Styles --- */
.password-display {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    padding-right: 4rem;
    color: var(--accent-color);
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    outline: none;
    transition: all 0.3s ease;
}

.pass-display-container {
    position: relative;
}

.copy-pass-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-100%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 10px;
}

.copy-pass-btn:hover {
    color: var(--accent-color);
}

.pass-options {
    max-width: 500px;
    margin: 0 auto;
}

.option-row {
    margin-bottom: 2rem;
}

.option-row label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.pass-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.pass-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
}

.checkbox-container:hover .checkmark {
    border-color: var(--accent-color);
}

.checkbox-container input:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked + .checkmark:after {
    display: block;
}

/* --- SEO Generator Styles --- */
.seo-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.seo-input-grid .form-group {
    margin-bottom: 0px;
}

.seo-input-grid label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
}

.seo-input-grid input, .seo-input-grid textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.seo-input-grid textarea {
    height: 100px;
    resize: vertical;
}

.seo-input-grid input:focus, .seo-input-grid textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.seo-result-area {
    margin-top: 2rem;
    text-align: left;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.code-preview {
    background: #000;
    padding: 1.5rem;
    border-radius: 12px;
    color: #a5f3fc;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Image Converter Styles --- */
.format-chips {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.chip {
    cursor: pointer;
}

.chip input {
    display: none;
}

.chip span {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chip input:checked + span {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.convert-options {
    max-width: 500px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.faq-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* --- Font Tester Styles --- */
.editor-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.control-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
}

.glass-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    outline: none;
    cursor: pointer;
}

.glass-select option {
    background: #1a1a1a;
}

.glass-color {
    width: 100%;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
}

.font-preview-area {
    width: 100%;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    color: #fff;
    resize: vertical;
    outline: none;
    transition: all 0.2s;
}

.font-preview-area:focus {
    background: rgba(255, 255, 255, 0.04);
}

/* --- About Page Extended Styles --- */
.operator-info-table {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.info-row {
    display: flex;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 30%;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.9rem;
}

.info-value {
    width: 70%;
    color: #fff;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .info-row {
        flex-direction: column;
        gap: 0.3rem;
    }
    .info-label, .info-value {
        width: 100%;
    }
}

/* --- Sitemap & Timeline Styles --- */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
}

.sitemap-group h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-group ul {
    list-style: none;
    padding: 0;
}

.sitemap-group li {
    margin-bottom: 0.8rem;
}

.sitemap-group a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-group a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Timeline/Updates */
.timeline-section {
    text-align: left;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
    border-left: 2px solid rgba(124, 58, 237, 0.3);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.timeline-content ul {
    padding-left: 1.2rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- Header Navigation --- */
.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Mobile simplicity for now or add a burger menu if needed */
    }
}

/* --- Expanded Content Styles --- */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
}

.use-case-card h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.use-case-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dim);
}

.tech-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
}

.tech-info h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem 0;
    color: #fff;
}

.tech-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tech-info code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

/* --- Blog Styles --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.blog-category {
    background: rgba(124, 58, 237, 0.2);
    color: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.blog-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #fff;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Base Blog Content Style */
.blog-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-content h2 {
    margin: 2.5rem 0 1.5rem 0;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
    padding-bottom: 0.5rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}
