:root {
    /* Colors */
    --bg-color: #0F1216;
    /* Deep dark almost black */
    --bg-card: #1C2229;
    /* Slightly lighter for cards */
    --bg-secondary: #161B22;
    /* Section backgrounds */

    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;

    --primary: #6C5CE7;
    /* Telegram-ish Purple/Blue */
    --primary-hover: #5649c0;
    --accent-green: #2ecc71;
    --accent-blue: #3498db;
    --accent-orange: #e67e22;

    /* Spacing */
    --u-xs: 4px;
    --u-sm: 8px;
    --u-md: 16px;
    --u-lg: 24px;
    --u-xl: 32px;
    --u-2xl: 48px;
    --u-3xl: 64px;

    /* Container */
    --container-width: 1200px;
    --u-pad: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--u-pad);
}

.text-center {
    text-align: center;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--u-xl);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-google-play img {
    height: 60px;
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Header height */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--u-3xl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: var(--u-lg);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--u-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--u-md);
    margin-bottom: var(--u-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--u-xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Chat Mockup */
.chat-mockup {
    width: 100%;
    max-width: 380px;
    background: #17212B;
    /* Telegram chat bg */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.chat-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.chat-header {
    background: #242F3D;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-status {
    font-size: 0.8rem;
    color: var(--accent-blue);
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 400px;
    /* Fixed height for mockup */
}

.message {
    max-width: 85%;
    align-self: flex-start;
}

.message-content {
    background: #242F3D;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 0;
    font-size: 0.95rem;
}

.hebrew-text {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 4px 0;
    color: var(--primary);
}

.transcription {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.quiz-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.quiz-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.quiz-btn.correct {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    position: relative;
    padding-right: 30px;
}

.quiz-btn.correct::after {
    content: '✓';
    position: absolute;
    right: 10px;
}

/* Sections */
section {
    padding: 80px 0;
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-secondary);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Example */
.example-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.example-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.word-card .hebrew-large {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 10px;
}

.word-card .transcription-large {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.word-card .translation-large {
    font-size: 1.25rem;
    color: var(--primary);
}

.quiz-preview {
    width: 100%;
}

.quiz-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
}

.answer.correct {
    background: var(--accent-green);
    color: #000;
    font-weight: 700;
}

.streak-card .streak-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.streak-card .fire {
    font-size: 5rem;
    animation: pulse 2s infinite;
}

.streak-card .days {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: -10px;
}

.streak-card .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        text-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* Why Telegram */
.why-telegram {
    background-color: #000;
    /* Darker background for contrast */
    overflow: hidden;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 100%;
}

.why-content {
    display: flex;
    flex-direction: column;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    /* Align pills to start */
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    /* Transparent pill background */
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape */
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid transparent;
}

.advantage-item:hover,
.advantage-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.advantage-icon {
    font-size: 1.2rem;
}

.advantage-text {
    font-size: 1.1rem;
}

.why-visual {
    display: flex;
    justify-content: center;
    position: relative;
    /* Optional: add a glow behind the phone */
}

.why-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Telegram Mockup Specifics */
.telegram-mockup {
    margin: 0;
    width: 300px;
    transform: rotate(-5deg);
    /* Slight rotation like in the reference */
    z-index: 1;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.5);
}

.telegram-screen {
    background: #0e1621;
    /* Telegram dark bg */
    display: flex;
    flex-direction: column;
}

.telegram-header {
    background: #17212b;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.telegram-header .avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.telegram-header .name {
    font-size: 0.95rem;
    font-weight: 600;
}

.telegram-chat {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    background-image: radial-gradient(#1e2c3a 1px, transparent 0);
    /* Simple pattern */
    background-size: 20px 20px;
}

.msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.msg.received {
    align-self: flex-start;
}

.msg.sent {
    align-self: flex-end;
    align-items: flex-end;
}

.msg .bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    position: relative;
}

.msg.received .bubble {
    background: #182533;
    color: white;
    border-radius: 12px 12px 12px 0;
}

.msg.sent .bubble {
    background: #2b5278;
    color: white;
    border-radius: 12px 12px 0 12px;
}

.msg .time {
    font-size: 0.7rem;
    color: #5c6b7f;
    margin-top: 4px;
}

.telegram-input {
    background: #17212b;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.telegram-input .input-box {
    flex: 1;
    background: #0e1621;
    padding: 8px 12px;
    border-radius: 20px;
    color: #6c7883;
    font-size: 0.9rem;
}

.telegram-input .mic {
    color: #6c7883;
}

/* App Section */
.app-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.app-features {
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
    max-width: 600px;
    /* Constrain width for better centering */
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Phone Mockup */
.phone-mockup {
    background: #000;
    border-radius: 40px;
    padding: 12px;
    width: 320px;
    margin: 0 auto;
    box-shadow: 0 0 0 2px #333, 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: rotate(5deg);
}

.screen {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    border-radius: 30px;
    overflow: hidden;
    height: 600px;
    position: relative;
    color: white;
}

.app-header {
    padding: 30px 20px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.app-list {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
}

.app-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon.orange {
    background: #e67e22;
    color: white;
}

.icon.gray {
    background: #95a5a6;
    color: white;
}

.app-item .text {
    flex: 1;
}

.app-item .title {
    font-weight: 700;
    font-size: 0.9rem;
}

.app-item .subtitle {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 6px;
}

.progress-bar {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: #2ecc71;
}

.medal {
    font-size: 1.5rem;
}

/* Target Audience */
.card-audience {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(145deg, #1C2229 0%, #161a20 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(45deg, transparent, rgba(108, 92, 231, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-audience:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(108, 92, 231, 0.4);
}

.card-audience .card-icon {
    margin: 0 auto 16px;
}

.card-audience .card-title {
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
    /* JS will toggle this */
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        /* Show complex mockup on mobile */
    }

    .example-layout {
        grid-template-columns: 1fr;
    }

    .app-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-features {
        margin: 30px auto;
        max-width: 300px;
    }

    .phone-mockup {
        margin: 40px auto 0;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    background: var(--bg-card);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* --- New Content Overhaul Styles --- */

/* Intro Section */
.intro-section {
    background-color: var(--bg-color);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: var(--text-muted);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.intro-cols h3 {
    margin-bottom: 20px;
    color: #fff;
}

.feature-list,
.check-list {
    list-style: none;
    padding: 0;
}

.feature-list li,
.check-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.check-list li::before {
    content: "✓";
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

.note-box {
    margin-top: 20px;
    background: rgba(108, 92, 231, 0.1);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Topics Section as Tag Cloud */
.topics-section {
    background-color: var(--bg-secondary);
    overflow: hidden;
    /* Prevent floating elements from causing scrollbars if they move too much */
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.topic-item {
    background: var(--bg-card);
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape for tags */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Default animation */
    animation: float 6s ease-in-out infinite;
    cursor: default;
}

.topic-item .t-icon {
    font-size: 1.4rem;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Randomize Float Duration & Delay */
.topic-item:nth-child(2n) {
    animation-duration: 5s;
    animation-delay: 0.5s;
}

.topic-item:nth-child(3n) {
    animation-duration: 7s;
    animation-delay: 1s;
}

.topic-item:nth-child(4n) {
    animation-duration: 4.5s;
    animation-delay: 0.2s;
}

.topic-item:nth-child(5n) {
    animation-duration: 6.5s;
    animation-delay: 1.5s;
}

.topic-item:nth-child(3n+1) {
    animation-duration: 5.5s;
    animation-delay: 0.8s;
}

/* Scale on Hover */
.topic-item {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, border-color 0.3s, color 0.3s;
}

.topic-item:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    transform: scale(1.1) translateY(-5px);
    /* Keep slight lift with scale */
    animation-play-state: paused;
    /* Pause floating when hovering */

    z-index: 10;
}

.topics-footer {
    max-width: 700px;
    margin: 40px auto 0;
    color: var(--text-muted);
}

/* --- Telegram Real Post Styles --- */
.telegram-screen {
    background: #17212b !important;
    /* Telegram Dark BG */
    padding: 10px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.tg-post {
    background: #182533;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 10px;
}

.tg-channel-name {
    color: #F48FB1 !important;
    /* Pinkish red from screenshot */
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: left;
}

.tg-audio {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2b3949;
    /* Slightly lighter for audio bg */
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.tg-play-btn {
    width: 44px;
    height: 44px;
    background: #5288c1;
    /* Telegram Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    padding-left: 3px;
    /* Visual center */
    cursor: pointer;
    flex-shrink: 0;
}

.tg-audio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.tg-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 24px;
    opacity: 0.8;
}

.tg-waveform span {
    width: 2px;
    background: #fff;
    border-radius: 1px;
    display: block;
}

/* Static waveform pattern simulation */
.tg-waveform span:nth-child(1) {
    height: 40%;
}

.tg-waveform span:nth-child(2) {
    height: 60%;
}

.tg-waveform span:nth-child(3) {
    height: 30%;
}

.tg-waveform span:nth-child(4) {
    height: 80%;
}

.tg-waveform span:nth-child(5) {
    height: 50%;
}

.tg-waveform span:nth-child(6) {
    height: 90%;
}

.tg-waveform span:nth-child(7) {
    height: 40%;
}

.tg-waveform span:nth-child(8) {
    height: 60%;
}

.tg-waveform span:nth-child(9) {
    height: 30%;
}

.tg-waveform span:nth-child(10) {
    height: 70%;
}

.tg-waveform span:nth-child(11) {
    height: 40%;
}

.tg-waveform span:nth-child(12) {
    height: 80%;
}

.tg-waveform span:nth-child(13) {
    height: 50%;
}

.tg-waveform span:nth-child(14) {
    height: 90%;
}

.tg-waveform span:nth-child(15) {
    height: 40%;
}

.tg-waveform span:nth-child(16) {
    height: 60%;
}

.tg-waveform span:nth-child(17) {
    height: 30%;
}

.tg-waveform span:nth-child(18) {
    height: 70%;
}

.tg-waveform span:nth-child(19) {
    height: 40%;
}

.tg-waveform span:nth-child(20) {
    height: 20%;
}


.tg-audio-meta {
    font-size: 0.75rem;
    color: #8da2b5;
    text-align: left;
}

.tg-body {
    text-align: left;
}

.tg-body p {
    margin-bottom: 4px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tg-dim {
    color: #63a0cf;
    /* Link color / Dimmed text color in dark theme */
}

.tg-post-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #6d7883;
    margin-top: 8px;
}

.tg-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tg-comments-btn {
    background: #182533;
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: default;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tg-arrow {
    font-size: 1.2rem;
    color: #6d7883;
}

/* Interactive Section */
.interactive-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.interactive-content {
    font-size: 1.1rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .interactive-layout {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
}
/* --- 404 Page Styles --- */
.error-page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.error-visual {
    position: relative;
    margin-bottom: 20px;
}

.error-code {
    font-size: 10rem;
    line-height: 1;
    font-weight: 800;
    margin: 0;
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-el {
    position: absolute;
    font-size: 3rem;
    animation: floatAround 6s infinite ease-in-out alternate;
    opacity: 0.6;
}

.float-el.i1 { top: -20px; left: 10%; animation-delay: 0s; }
.float-el.i2 { bottom: -20px; right: 20%; animation-delay: 1.5s; font-size: 4rem; }
.float-el.i3 { top: 40%; left: -10%; animation-delay: 3s; font-size: 2.5rem; }
.float-el.i4 { top: 10%; right: 0%; animation-delay: 4.5s; }

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, -20px) rotate(10deg); }
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    .float-el {
        font-size: 2rem;
    }
}

/* --- 50x Page Styles --- */
.error-50x-body {
    background: radial-gradient(circle at center, #2c241b 0%, var(--bg-color) 100%);
}

.dust-el {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    filter: blur(1px);
    animation: floatDust 8s infinite linear;
}

.dust-el.d1 { top: 20%; left: -10%; animation-duration: 7s; font-size: 4rem; }
.dust-el.d2 { top: 60%; right: -10%; animation-duration: 9s; animation-direction: reverse; font-size: 3rem; }
.dust-el.d3 { bottom: 10%; left: 10%; animation-duration: 6s; opacity: 0.6; }
.dust-el.d4 { top: 40%; left: 30%; animation-duration: 12s; font-size: 1rem; opacity: 0.3; }
.dust-el.d5 { top: 70%; right: 40%; animation-duration: 10s; font-size: 1rem; opacity: 0.3; }

@keyframes floatDust {
    0% { transform: translateX(-50px) rotate(0deg); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translateX(50px) rotate(360deg); opacity: 0; }
}
