/* ===== Rialo AI Chat - Modern Minimal Design ===== */

/* ===== Network Background ===== */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}

/* Floating Feature Cards */
.feature-cards {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.feature-card {
    position: absolute;
    padding: 0.6rem 1rem;
    background: rgba(169, 221, 211, 0.04);
    border: 1px solid rgba(169, 221, 211, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.feature-card:hover {
    background: rgba(169, 221, 211, 0.08);
    border-color: rgba(169, 221, 211, 0.2);
    pointer-events: auto;
}

.feature-card-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(169, 221, 211, 0.5);
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.feature-card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mint);
    font-variant-numeric: tabular-nums;
}

.feature-card-unit {
    font-size: 0.7rem;
    color: rgba(232, 227, 213, 0.4);
    margin-left: 0.25rem;
}

/* Size variations */
.feature-card.size-sm {
    padding: 0.5rem 0.8rem;
    opacity: 0.6;
}

.feature-card.size-sm .feature-card-label {
    font-size: 0.6rem;
}

.feature-card.size-sm .feature-card-value {
    font-size: 0.95rem;
}

.feature-card.size-lg {
    padding: 0.8rem 1.3rem;
    opacity: 0.9;
}

.feature-card.size-lg .feature-card-label {
    font-size: 0.7rem;
}

.feature-card.size-lg .feature-card-value {
    font-size: 1.3rem;
}

/* Floating animations - smooth and wide range */
@keyframes float1 {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-40px); }
    100% { transform: translateY(0px); }
}

@keyframes float2 {
    0% { transform: translateY(0px); }
    50% { transform: translateY(50px); }
    100% { transform: translateY(0px); }
}

@keyframes float3 {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0px); }
}

@keyframes float4 {
    0% { transform: translateY(0px); }
    50% { transform: translateY(45px); }
    100% { transform: translateY(0px); }
}

/* Position cards in center area, avoid edges */
.feature-card:nth-child(1) {
    top: 12%;
    left: 25%;
    animation: float1 6s ease-in-out infinite;
}

.feature-card:nth-child(2) {
    top: 22%;
    right: 28%;
    animation: float2 7s ease-in-out infinite;
}

.feature-card:nth-child(3) {
    top: 80%;
    left: 22%;
    animation: float3 5s ease-in-out infinite;
}

.feature-card:nth-child(4) {
    top: 78%;
    right: 25%;
    animation: float4 8s ease-in-out infinite;
}

.feature-card:nth-child(5) {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 9s ease-in-out infinite;
}

.feature-card:nth-child(6) {
    top: 85%;
    left: 48%;
    animation: float2 6.5s ease-in-out infinite;
}

.feature-card:nth-child(7) {
    top: 35%;
    left: 20%;
    animation: float3 7.5s ease-in-out infinite;
}

.feature-card:nth-child(8) {
    top: 40%;
    right: 22%;
    animation: float4 6s ease-in-out infinite;
}

:root {
    /* Brand Colors */
    --mint: #A9DDD3;
    --mint-light: #c8ebe5;
    --mint-dark: #7ac4b5;
    --cream: #E8E3D5;
    --black: #0a0a0a;
    --dark: #111111;
    --darker: #161616;
    
    /* UI Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(169, 221, 211, 0.3);
    
    /* Font */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Sizes */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.2s;
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.logo {
    cursor: pointer;
}

textarea {
    font-family: inherit;
}

/* ===== Cursor Glow Effect ===== */
/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169, 221, 211, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ===== App Container ===== */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, var(--black) 0%, transparent 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.logo:hover {
    transform: translateY(-2px);
}

.status-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(169, 221, 211, 0.05);
    border: 1px solid rgba(169, 221, 211, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.status-text {
    font-size: 0.75rem;
    color: var(--mint);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--mint);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-icon {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 100px 24px 24px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* ===== Hero Section ===== */ */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    padding: 40px 0;
    transition: all 0.5s var(--ease);
}

.hero-section.minimized {
    flex: 0;
    padding: 0;
    gap: 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.hero-text {
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.title-line {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 400;
    color: var(--text-secondary);
}

.title-highlight {
    font-size: clamp(48px, 10vw, 72px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--mint) 0%, var(--cream) 50%, var(--mint) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 16px;
}

.typing-facts {
    font-size: 0.85rem;
    color: var(--mint);
    min-height: 20px;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
}

.typing-facts::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ===== Quick Cards ===== */
.quick-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: left;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.quick-card:hover {
    background: rgba(169, 221, 211, 0.05);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.quick-card:active {
    transform: translateY(0);
}

.card-icon {
    font-size: 24px;
    line-height: 1;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Chat Container ===== */
.chat-container {
    display: flex;
    flex-direction: column;
    flex: 0;
    transition: all 0.5s var(--ease);
    position: relative;
}

.chat-container.active {
    flex: 1;
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
    overflow-y: auto;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s var(--ease);
}

.chat-container.active .chat-messages {
    max-height: 60vh;
    opacity: 1;
}

/* Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

/* ===== Messages ===== */
.message {
    display: flex;
    gap: 14px;
    animation: message-in 0.4s var(--ease);
}

@keyframes message-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.message.assistant .message-avatar {
    background: rgba(169, 221, 211, 0.15);
    color: var(--mint);
}

.message.user .message-avatar {
    background: var(--mint);
    color: var(--black);
}

.message-avatar svg {
    width: 20px;
    height: 20px;
}

.message-content {
    max-width: 85%;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 15px;
    line-height: 1.65;
}

.message.assistant .message-bubble {
    background: var(--darker);
    border: 1px solid var(--border);
}

.message.user .message-bubble {
    background: rgba(169, 221, 211, 0.12);
    border: 1px solid rgba(169, 221, 211, 0.2);
}

/* Message Content Styling */
.message-bubble p {
    margin-bottom: 12px;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-bubble strong {
    color: var(--mint);
    font-weight: 600;
}

.message-bubble ul,
.message-bubble ol {
    margin: 12px 0;
    padding-left: 20px;
}

.message-bubble li {
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.message-bubble code {
    background: rgba(169, 221, 211, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--mint);
    font-family: 'JetBrains Mono', monospace;
}

.message-bubble pre {
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    overflow-x: auto;
    margin: 12px 0;
}

.message-bubble pre code {
    background: none;
    padding: 0;
}

.message-bubble a {
    color: var(--mint);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.message-bubble a:hover {
    color: var(--mint-light);
}

/* Typing Indicator */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
    animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* ===== Chat Input ===== */
.chat-input-area {
    padding: 16px 0;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 20px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.input-wrapper:focus-within {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(169, 221, 211, 0.1);
}

#chatInput {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.5;
    resize: none;
    outline: none;
    max-height: 120px;
    min-height: 24px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

#chatInput::placeholder {
    color: var(--text-muted);
}

.send-button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint);
    color: var(--black);
    border-radius: 50%;
    transition: all var(--duration) var(--ease);
    flex-shrink: 0;
}

.send-button:hover {
    background: var(--mint-light);
    transform: scale(1.05);
}

.send-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.input-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.hint {
    font-size: 12px;
    color: var(--text-muted);
}

.hint-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ===== FAB Reset Button ===== */
.fab-reset {
    position: absolute;
    top: -60px;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(169, 221, 211, 0.08);
    border: 1px solid rgba(169, 221, 211, 0.2);
    border-radius: 10px;
    color: var(--mint);
    transition: all var(--duration) var(--ease);
    z-index: 10;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
}

.chat-container.active .fab-reset {
    opacity: 1;
    pointer-events: auto;
}

.fab-reset:hover {
    background: rgba(169, 221, 211, 0.15);
    border-color: var(--mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(169, 221, 211, 0.2);
}

.fab-reset.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* ===== Footer ===== */
.footer {
    padding: 20px 32px;
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--mint);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .status-wrapper {
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        margin: 8px 0;
    }
    
    .typing-facts {
        font-size: 0.75rem;
    }
    
    .main-content {
        padding: 140px 16px 16px;
    }
    
    .quick-cards {
        grid-template-columns: 1fr;
    }
    
    .quick-card {
        padding: 14px 16px;
    }
    
    .message-content {
        max-width: 90%;
    }
    
    .fab-reset {
        bottom: 90px;
        right: 20px;
    }
    
    .footer {
        padding: 16px 20px;
    }
    
    .footer-links {
        gap: 16px;
    }
    
    .input-hints {
        display: none;
    }
}

/* ===== Utility ===== */
.hidden {
    display: none !important;
}

/* ===== Post Builder Modal ===== */
.post-builder-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
    animation: fade-in 0.2s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.post-builder {
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    width: 100%;
    max-width: 440px;
    position: relative;
    animation: slide-up 0.3s ease;
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-builder-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--duration) var(--ease);
}

.post-builder-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.post-builder-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.builder-section {
    margin-bottom: 20px;
}

.builder-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.builder-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.builder-btn {
    padding: 10px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.builder-btn:hover {
    background: rgba(169, 221, 211, 0.05);
    border-color: var(--border-hover);
}

.builder-btn.selected {
    background: rgba(169, 221, 211, 0.15);
    border-color: var(--mint);
    color: var(--mint);
}

.btn-sub {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
}

.builder-btn.selected .btn-sub {
    color: var(--mint);
    opacity: 0.7;
}

.builder-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: all var(--duration) var(--ease);
}

.builder-input:focus {
    border-color: var(--mint);
}

.builder-input::placeholder {
    color: var(--text-muted);
}

.builder-generate {
    width: 100%;
    padding: 14px;
    background: var(--mint);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    margin-top: 8px;
    transition: all var(--duration) var(--ease);
}

.builder-generate:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
}

/* ===== Twitter Sidebar ===== */
.twitter-sidebar {
    position: fixed;
    top: 100px;
    right: 40px;
    width: 320px;
    height: calc(100vh - 140px);
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    z-index: 50;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.twitter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.twitter-header svg {
    color: var(--mint);
}

.twitter-header span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.twitter-feed {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin: -4px -4px -4px 0;
    padding: 4px 4px 4px 0;
}

.twitter-feed::-webkit-scrollbar {
    width: 6px;
}

.twitter-feed::-webkit-scrollbar-track {
    background: transparent;
}

.twitter-feed::-webkit-scrollbar-thumb {
    background: rgba(169, 221, 211, 0.2);
    border-radius: 3px;
}

.twitter-feed::-webkit-scrollbar-thumb:hover {
    background: rgba(169, 221, 211, 0.3);
}

/* Override Twitter widget styles */
.twitter-timeline {
    color-scheme: dark !important;
}

@media (max-width: 768px) {
    .post-builder {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .post-builder {
        padding: 20px;
    }
    
    .builder-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ===== X Floating Card ===== */
.x-floating-card {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(169, 221, 211, 0.08);
    border: 1px solid rgba(169, 221, 211, 0.2);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    text-decoration: none;
    z-index: 90;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.x-floating-card:hover {
    transform: translateY(-2px);
    border-color: var(--mint);
    box-shadow: 0 6px 20px rgba(169, 221, 211, 0.2);
}

.x-card-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.x-card-logo {
    width: 20px;
    height: 20px;
    fill: var(--mint);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.x-floating-card:hover .x-card-logo {
    transform: scale(1.1);
}

.x-card-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.x-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cream);
}

.x-card-subtitle {
    font-size: 0.65rem;
    color: rgba(232, 227, 213, 0.5);
}

.x-card-arrow {
    width: 16px;
    height: 16px;
    fill: var(--mint);
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.x-floating-card:hover .x-card-arrow {
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    .twitter-sidebar {
        display: none;
    }
}

@media (max-width: 640px) {
    .x-floating-card {
        bottom: 16px;
        right: 16px;
        left: 16px;
        padding: 0.7rem 1rem;
    }
    
    .x-card-title {
        font-size: 0.85rem;
    }
    
    .x-card-subtitle {
        font-size: 0.7rem;
    }
}
