
/* Search Form Loading Animation */
.hero-search-button .loading-dots {
    display: none;
    font-size: 16px;
    color: currentColor;
}

.hero-search-button .loading-dots::after {
    content: '';
    animation: searchDots 1.5s steps(5, end) infinite;
}

@keyframes searchDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.hero-search-button .btn-text.loading {
    display: none;
}

.hero-search-button.loading .loading-dots {
    display: inline;
}
/* Hero Section */
.hero {
    min-height: 70vh;
    max-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    overflow: visible;
    padding: 0 2% 0 3%; /* Add left padding to prevent cutoff */
    margin: 0 auto; /* Center the container */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 147, 30, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
        max-width: 600px;
    text-align: left;
    margin-left: 0;
    padding-left: 2%;
}

.hero-cards {
    position: relative;
    z-index: 2;
    height: 700px;
    overflow: hidden;
    padding: 20px 0;
        margin: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 4.8vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#rotating-author {
    transition: opacity 0.3s ease;
    min-height: 1.2em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #a0a0a0;
    margin-bottom: 48px;
    max-width: 500px;
    text-align: left;
    line-height: 1.6;
}

.hero-search {
    width: 100%;
    max-width: 600px;
    margin-top: 24px;
}

.hero-search-form {
    width: 100%;
}

.hero-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
}

.hero-search-icon {
    width: 24px;
    height: 24px;
    color: #a0a0a0;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 8px 0;
    outline: none;
    min-width: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hero-search-input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.hero-search-input::placeholder {
    color: #a0a0a0;
}

.hero-search-button {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #000000;
        border: none;
    border-radius: 8px;
    padding: 8px 24px;
        font-weight: 600;
    font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
.hero-search-button:hover {
        transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #e55a2b, #e67e22);
}

.hero-search-wrapper {
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-search-wrapper:hover {
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.hero-search-wrapper:focus-within {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
}

/* Grid Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #0a0a0a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
        text-align: center;
    }
    
.stat-item {
    padding: 32px 20px;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: #a0a0a0;
        font-weight: 500;
    }
    
/* Features Section */
.features {
    padding: 100px 0;
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #1a1a1a;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
        font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-description {
    color: #a0a0a0;
    line-height: 1.6;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Force mobile layout */
    * {
        max-width: 100% !important;
    }
    
    body {
        overflow-x: hidden !important;
    }
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 0 60px 0 !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    .hero .container {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 0 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center;
        width: 100% !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        margin-top: 20px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-title span:first-child {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        display: inline !important;
        line-height: inherit !important;
    }
    
    .hero-title span:last-child {
        display: inline !important;
        background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        line-height: inherit !important;
    }
    
    /* Ensure YouTube white background shows on mobile */
    .hero-title span:last-child span {
        background: white !important;
        color: #dc2626 !important;
        padding: 0.2rem 0.5rem !important;
        border-radius: 0.5rem !important;
        -webkit-text-fill-color: #dc2626 !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        display: inline !important;
        margin: 0 0.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 24px;
        padding-right: 0 !important;
        line-height: 1.5;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-search {
        margin-top: 16px;
    }

    .hero-search-wrapper {
        padding: 6px 12px;
        gap: 8px;
    }

    .hero-search-icon {
        width: 20px;
        height: 20px;
    }

    .hero-search-input {
        font-size: 1rem;
        padding: 6px 0;
    }

    .hero-search-button {
        padding: 6px 16px;
        font-size: 0.95rem;
    }
    
    .hero-cards {
        padding: 0 !important;
        height: 320px !important;
        margin-top: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    
    /* Mobile Twitter cards animation */
    .hero-cards .twitter-cards-wrapper {
        animation: mobileScrollUp 25s linear infinite;
    }

    /* Stats Section */
    .stats {
        padding: 48px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px !important;
    }
    
    .stat-item {
        padding: 24px 16px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 1rem;
    }

    /* Topics Section */
    .topics-section {
        padding: 40px 0;
    }
    
    .topics-header {
        text-align: left;
        padding: 0 20px !important;
        margin-bottom: 24px;
    }
    
    .topics-title {
        font-size: 1.75rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .topics-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.4;
    }
    
    .topics-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 20px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .topic-card {
        padding: 16px !important;
        border-radius: 12px;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .topic-name {
        font-size: 1.1rem !important;
        margin-bottom: 8px;
        line-height: 1.3;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .topic-description {
        font-size: 0.9rem;
        margin-bottom: 16px;
        line-height: 1.4;
    }
    
    .topic-item {
        padding: 12px !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 8px;
        margin-bottom: 8px;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .item-content {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: calc(100% - 80px) !important;
        overflow: hidden !important;
    }
    
    .item-name {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3;
        max-width: 100% !important;
    }
    
    .item-details {
        flex-direction: row;
        gap: 8px;
        margin-top: 4px;
    }
    
    .item-audience {
        font-size: 0.8rem;
    }
    
    .item-button {
        padding: 6px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Features Section */
    .features {
        padding: 48px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 24px;
        margin-top: 32px;
    }
    
    .feature-card {
        padding: 24px;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 20px;
        border-radius: 12px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .feature-content {
        flex: 1;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    
    .feature-description {
        font-size: 0.95rem;
        color: #a0a0a0;
    }

    /* Authors Section */
    .popular-authors-section {
        padding: 60px 0 !important;
    }
    
    .popular-authors-content {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        padding: 0 20px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .popular-authors-title {
        font-size: 1.8rem !important;
        padding: 0 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .popular-authors-subtitle {
        font-size: 1rem !important;
        padding: 0 20px !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .popular-authors-description {
        font-size: 0.9rem !important;
        padding: 0 20px !important;
        margin-bottom: 24px !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .profession-tabs {
        padding: 0 20px !important;
        margin-bottom: 24px !important;
    }
    
    .profession-tab {
        padding: 12px 16px !important;
        margin-bottom: 8px !important;
    }
    
    .tab-name {
        font-size: 0.9rem !important;
    }
    
    .tab-count {
        font-size: 0.8rem !important;
    }
    
    .authors-carousel {
        height: 300px !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .author-card {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .author-card-bg {
        padding: 20px !important;
        border-radius: 12px !important;
        height: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .author-content {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .author-name {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .author-profession {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .author-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .read-author-button {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    /* Ultra-aggressive mobile fixes */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    /* Hero Section */
    .hero {
        padding: 90px 0 50px 0 !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    .hero .container {
        padding: 0 16px !important;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        margin-top: 15px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-title span:first-child {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        display: inline !important;
        line-height: inherit !important;
    }
    
    .hero-title span:last-child {
        display: inline !important;
        background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        line-height: inherit !important;
    }
    
    /* Ensure YouTube white background shows on small mobile */
    .hero-title span:last-child span {
        background: white !important;
        color: #dc2626 !important;
        padding: 0.15rem 0.4rem !important;
        border-radius: 0.4rem !important;
        -webkit-text-fill-color: #dc2626 !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        display: inline !important;
        margin: 0 0.15rem !important;
        font-size: 0.95em !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 20px;
        line-height: 1.4;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: none !important;
        height: 48px !important;
        font-size: 1rem !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 8px !important;
    }
    
    .hero-cards {
        height: 200px !important;
        margin-top: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    }
    
    /* Small mobile Twitter cards animation */
    .hero-cards .twitter-cards-wrapper {
        animation: mobileScrollUp 20s linear infinite;
    }

    /* Stats Section */
    .stats {
        padding: 32px 0;
    }
    
    .stats-grid {
        gap: 16px;
        padding: 0 16px !important;
    }
    
    .stat-item {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }

    /* Topics Section */
    .topics-section {
        padding: 32px 0;
    }
    
    .topics-header {
        padding: 0 16px !important;
        margin-bottom: 20px;
    }
    
    .topics-title {
        font-size: 1.3rem !important;
        margin-bottom: 6px;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .topics-subtitle {
        font-size: 0.85rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .topics-grid {
        padding: 0 16px !important;
        gap: 16px;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .topic-card {
        padding: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .topic-name {
        font-size: 1rem !important;
        margin-bottom: 6px;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .topic-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .topic-item {
        padding: 8px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .item-content {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: calc(100% - 80px) !important;
        overflow: hidden !important;
    }
    
    .item-name {
        font-size: 0.85rem !important;
        margin-bottom: 4px;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .item-details {
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: auto !important;
        margin-top: 0 !important;
    }
    
    .item-button {
        width: auto !important;
        padding: 6px 10px !important;
        font-size: 0.7rem !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Features Section */
    .features {
        padding: 32px 0;
        }
        
        .features-grid {
        padding: 0 16px !important;
        gap: 16px;
        }
        
        .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }
    
    .feature-icon {
        margin: 0 auto 12px;
        font-size: 1.75rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }

    /* Authors Section */
    .popular-authors-section {
        padding: 40px 0 !important;
    }
    
    .popular-authors-content {
        padding: 0 16px !important;
        gap: 24px !important;
    }
    
    .popular-authors-title {
        font-size: 1.5rem !important;
        padding: 0 16px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .popular-authors-subtitle {
        font-size: 0.9rem !important;
        padding: 0 16px !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }
    
    .popular-authors-description {
        font-size: 0.8rem !important;
        padding: 0 16px !important;
        margin-bottom: 20px !important;
        line-height: 1.4 !important;
    }
    
    .profession-tabs {
        padding: 0 16px !important;
        margin-bottom: 20px !important;
    }
    
    .profession-tab {
        padding: 10px 12px !important;
        margin-bottom: 6px !important;
    }
    
    .tab-name {
        font-size: 0.8rem !important;
    }
    
    .tab-count {
        font-size: 0.7rem !important;
    }
    
    .authors-carousel {
        height: 280px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .author-card {
        margin: 0 !important;
        width: 100% !important;
    }
    
    .author-card-bg {
        padding: 16px !important;
        border-radius: 10px !important;
    }
    
    .author-name {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    
    .author-profession {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
    }
    
    .author-description {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .read-author-button {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}

/* Topics Section */
.topics-section {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.topics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        background-size: 20px 20px;
    pointer-events: none;
}

.topics-header {
    text-align: left;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.topics-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.topics-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.topic-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 32px 24px;
        transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.topic-card:hover::before {
    transform: scaleX(1);
}

.topic-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.topic-description {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.topic-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic-item {
    background: #2a2a2a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
        align-items: center;
    transition: all 0.2s ease;
}

.topic-item:hover {
    border-color: #ff6b35;
    background: #0f0f0f;
}

.item-content {
    flex: 1;
}

.item-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.item-details {
    display: flex;
    gap: 16px;
    align-items: center;
}

.item-audience,
.item-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #a0a0a0;
    font-size: 0.85rem;
}

.item-icon {
    width: 16px;
    height: 16px;
    color: #a0a0a0;
}

.item-button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

.item-button.block {
    background: #dc3545;
    color: #ffffff;
}

.item-button.block:hover {
    background: #c82333;
}

.item-button.safesearch {
    background: #6c757d;
    color: #ffffff;
}

.item-button.safesearch:hover {
    background: #5a6268;
}

.item-button.allow {
    background: #28a745;
    color: #ffffff;
}

.item-button.allow:hover {
    background: #218838;
}

.explore-all-topics {
    margin-top: 20px;
        text-align: center;
}

.explore-all-topics-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.explore-all-topics-button:hover {
        transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #e55a2b, #e67e22);
}

.explore-all-topics-button .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.explore-all-topics-button:hover .arrow-icon {
    transform: translateX(4px);
}

.topics-more {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.topics-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.topics-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #e55a2b, #e67e22);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.topics-more-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Explore All Topics Section */
.explore-topics-section {
    padding: 80px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.explore-topics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.explore-topics-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.explore-topics-title {
    font-size: 2.5rem;
        font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explore-topics-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 32px;
    line-height: 1.6;
}

.explore-topics-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.explore-topics-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #e55a2b, #e67e22);
}

.explore-topics-button .arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.explore-topics-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Popular Authors Section */
.popular-authors-section {
    padding: 80px 0;
    background: #0f1419;
    position: relative;
    overflow: hidden;
}

.popular-authors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.popular-authors-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.popular-authors-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
        line-height: 1.2;
    }
    
.highlight {
    color: #ff6b35;
}

.popular-authors-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.popular-authors-description {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 32px;
    line-height: 1.6;
}

.profession-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.profession-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profession-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.profession-tab.active {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
}

.tab-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
}

.tab-count {
    color: #a0a0a0;
    font-size: 0.85rem;
}

.profession-tab.active .tab-name {
    color: #ff6b35;
}

.profession-tab.active .tab-count {
    color: rgba(255, 107, 53, 0.7);
}

.view-all-authors-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.view-all-authors-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.view-all-authors-button .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.view-all-authors-button:hover .arrow-icon {
    transform: translateX(4px);
}

.authors-carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.author-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.author-card.active {
    opacity: 1;
    transform: translateX(0);
}

.author-card-bg {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.author-card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.author-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 100%;
}

.author-stats {
    margin-bottom: 16px;
}

.author-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.author-label {
    font-size: 0.9rem;
        opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.2;
}

.author-profession {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.author-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
    opacity: 0.9;
}

.read-author-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.read-author-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
        background: #ff6b35;
    transform: scale(1.2);
}

/* Twitter Cards Section */
.twitter-cards-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.twitter-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.hero .twitter-cards-grid {
    max-width: 100%;
    gap: 16px;
    margin-left: 0; /* Remove negative margin to prevent cutoff */
    padding-right: 15px; /* Add padding to right side instead */
}

.twitter-cards-wrapper {
    overflow: visible;
    position: relative;
    width: 100%;
    height: 100%;
}

.twitter-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    height: auto; /* Auto height to accommodate all cards */
    padding-bottom: 20px; /* Add padding to ensure space between columns */
    overflow: visible;
    width: 100%; /* Ensure full width */
}

/* Desktop scrolling animations */
@media (min-width: 769px) {
    .twitter-column:first-child {
        animation: scrollDown 40s linear infinite;
    }
    
    .twitter-column:last-child {
        animation: scrollUp 40s linear infinite;
    }
    
    /* Create duplicate cards for seamless scrolling */
    .twitter-column:first-child .twitter-card,
    .twitter-column:last-child .twitter-card {
        margin-bottom: 24px;
    }
    
    .twitter-column:first-child {
        padding-bottom: 24px;
    }
    
    .twitter-column:last-child {
        padding-top: 24px;
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-700px); /* Fixed value for continuous scrolling */
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(-700px); /* Fixed value for continuous scrolling */
    }
    100% {
        transform: translateY(0);
    }
}

/* Mobile scroll animation */
@keyframes mobileScrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-400px); /* Smaller scroll distance for mobile */
    }
}

.twitter-card {
        background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.twitter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
}

.verified {
    width: 18px;
    height: 18px;
    margin-left: 4px;
    vertical-align: middle;
}

.profile-handle {
    color: #a0a0a0;
    font-size: 14px;
}

.card-more {
    color: #a0a0a0;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.card-more:hover {
    background: #2a2a2a;
}

.card-content {
    margin-bottom: 16px;
}

.tweet-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.content-image {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 12px;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #2a2a2a;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.action-item:hover {
    background: #2a2a2a;
    color: #ffffff;
}

.action-icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
    color: #71767b;
    transition: color 0.2s ease;
}

.action-item:hover .action-icon {
    color: #1d9bf0;
}

.action-item:nth-child(3):hover .action-icon {
    color: #f91880;
}

.action-item:nth-child(2):hover .action-icon {
    color: #00ba7c;
}

.action-count {
    font-weight: 500;
}

/* Mobile Responsiveness for Twitter Cards */
@media (max-width: 768px) {
    .twitter-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .twitter-card {
        padding: 16px;
    }
    
    .profile-avatar {
        width: 40px;
        height: 40px;
    }
    
    .profile-name {
        font-size: 14px;
    }
    
    .profile-handle {
        font-size: 12px;
    }
    
    .tweet-text {
        font-size: 14px;
    }
    }
    
    /* Transcript Section Styles */
    .transcript-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Transcript Card Styles */
    .main-card {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    
    .tabs {
        display: flex;
        margin-bottom: 2rem;
        border-bottom: 2px solid #f1f3f4;
    }
    
    .tab {
        flex: 1;
        padding: 1rem;
        text-align: center;
        cursor: pointer;
        font-weight: 600;
        color: #666;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .tab.active {
        color: #667eea;
        border-bottom-color: #667eea;
    }
    
    .tab-content {
        display: none;
    }
    
    .tab-content.active {
        display: block;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
    }
    
    .form-group input {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e1e5e9;
        border-radius: 0.5rem;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }
    
    .form-group input:focus {
        outline: none;
        border-color: #667eea;
    }
    
    .form-group .example {
        margin-top: 0.5rem;
        font-size: 0.9rem;
        color: #666;
    }
    
    .search-btn {
        width: 100%;
        background: #667eea;
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 0.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .search-btn:hover {
        background: #5a6fd8;
        transform: translateY(-2px);
    }
    
    .search-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
    }
    
    .spinner {
        width: 20px;
        height: 20px;
        border: 2px solid #e5e7eb;
        border-top: 2px solid #667eea;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .error {
        background: #fee;
        color: #c33;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        display: none;
    }
    
    .success {
        background: #efe;
        color: #3c3;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        display: none;
    }
    
    /* Video Info Styles */
    .video-info {
        margin-top: 2rem;
        background: #f0fdf4;
        border: 2px solid #22c55e;
        border-radius: 12px;
        padding: 1.5rem;
    }
    
    .video-title {
        font-weight: 600;
        margin-bottom: 1rem;
        color: #166534;
        text-align: center;
    }
    
    .video-details {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .video-thumbnail {
        position: relative;
        flex-shrink: 0;
    }
    
    .video-thumbnail img {
        width: 200px;
        height: 112px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .video-duration {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }
    
    .video-meta {
        flex: 1;
    }
    
    .video-meta h3 {
        margin: 0 0 1rem 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: #1f2937;
        line-height: 1.4;
    }
    
    .meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        color: #6b7280;
        font-size: 0.9rem;
    }
    
    .meta-item svg {
        color: #9ca3af;
    }
    
    .get-transcript-section {
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .get-transcript-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.75rem 1rem;
        background: #22c55e;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(34, 197, 94, 0.3);
    }
    
    .get-transcript-btn:hover {
        background: #16a34a;
        transform: translateY(-1px);
        box-shadow: 0 6px 12px rgba(34, 197, 94, 0.4);
    }
    
    .get-transcript-btn:active {
        transform: translateY(0);
    }
    
    /* Download Options Styles */
    .download-options-container {
        margin: 3rem auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1200px;
        width: 100%;
        padding: 0 2rem;
        box-sizing: border-box;
        text-align: center;
    }
    
    .download-options-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        padding: 2.5rem;
        max-width: 800px;
        width: 100%;
        border: 1px solid #e5e7eb;
        margin: 0 auto;
    }
    
    .download-options-card h2 {
        text-align: center;
        font-size: 2rem;
        font-weight: 700;
        color: #1f2937;
        margin: 0 0 2rem 0;
    }
    
    .file-format-section {
        margin-bottom: 2rem;
    }
    
    .file-format-section h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #374151;
        margin: 0 0 1rem 0;
    }
    
    .format-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .format-option {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }
    
    .format-option:hover {
        border-color: #22c55e;
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    }
    
    .format-option.active {
        border-color: #22c55e;
        background: #f0fdf4;
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    }
    
    .format-icon {
        color: #6b7280;
        flex-shrink: 0;
    }
    
    .format-option.active .format-icon {
        color: #22c55e;
    }
    
    .format-info {
        flex: 1;
    }
    
    .format-name {
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 0.25rem;
    }
    
    .format-desc {
        font-size: 0.875rem;
        color: #6b7280;
    }
    
    .include-section {
        margin-bottom: 2rem;
    }
    
    .include-section h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #374151;
        margin: 0 0 1rem 0;
    }
    
    .include-options {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .include-option {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        font-size: 0.875rem;
        color: #374151;
    }
    
    .include-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #22c55e;
    }
    
    .action-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    
    .preview-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        background: #f3f4f6;
        color: #374151;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .preview-btn:hover {
        background: #e5e7eb;
        border-color: #d1d5db;
    }
    
    .download-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        background: #22c55e;
        color: white;
        border: 2px solid #22c55e;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .download-btn:hover {
        background: #16a34a;
        border-color: #16a34a;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
    }
    
    /* Modal Styles */
    .transcript-preview-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        padding: 2rem;
    }
    
    .modal-content {
        background: white;
        border-radius: 16px;
        max-width: 900px;
        width: 100%;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        overflow: visible;
    }
    
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 2rem 2rem 1rem 2rem;
        border-bottom: 1px solid #e5e7eb;
        overflow: visible;
        position: relative;
        z-index: 1000;
    }
    
    .modal-title-section h3 {
        margin: 0 0 0.5rem 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #1f2937;
        line-height: 1.3;
    }
    
    .preview-subtitle {
        margin: 0;
        font-size: 0.875rem;
        color: #6b7280;
    }
    
    .modal-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .close-modal {
        background: #f3f4f6;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        padding: 0.75rem;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #6b7280;
    }
    
    .close-modal:hover {
        background: #e5e7eb;
        border-color: #d1d5db;
        color: #374151;
    }
    
    .modal-search {
        padding: 1rem 2rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .search-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 0.875rem;
        transition: border-color 0.3s ease;
    }
    
    .search-input:focus {
        outline: none;
        border-color: #22c55e;
    }
    
    .modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 2rem;
    }
    
    .transcript-preview-content {
        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        font-size: 0.875rem;
        line-height: 1.6;
        color: #374151;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    
    .transcript-preview-content .highlight {
        background: #fef3c7;
        padding: 2px 4px;
        border-radius: 4px;
        font-weight: 600;
    }
    
    .transcript-preview-content .metadata-header {
        color: #22c55e;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .transcript-preview-content .timestamp {
        color: #667eea;
        font-weight: 600;
    }
