    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #0a0a0a;
        color: #ffffff;
        background-image: 
            radial-gradient(ellipse at top, #1a1a2e 0%, transparent 50%),
            radial-gradient(ellipse at bottom, #0a0a0a 0%, transparent 50%);
        background-attachment: fixed;
    }
    /* Custom Scrollbar */
    ::-webkit-scrollbar {
        width: 10px;
    }
    ::-webkit-scrollbar-track {
        background: #1a1a1a;
    }
    ::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 5px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #4a9eff;
    }
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
    }
    .header {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
        padding: 40px;
        border-radius: 15px;
        margin-bottom: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 1px solid #333;
        position: relative;
        overflow: hidden;
        background-image: 
            linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%),
            repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255,255,255,0.01) 10px,
                rgba(255,255,255,0.01) 20px
            );
    }
    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #00ff88, transparent);
        animation: slide 3s infinite;
    }
    @keyframes slide {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }
    .header .logo-section {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-bottom: 20px;
    }
    .header .logo {
        width: 120px;
        height: 60px;
        background: #000;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border: 1px solid #333;
    }
    .header .logo-text {
        font-size: 36px;
        font-weight: 900;
        background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #5865F2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -2px;
    }
    .header .logo-wave {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 40px;
        height: 20px;
    }
    .header .wave-path {
        stroke: #00ff88;
        stroke-width: 2;
        fill: none;
        filter: drop-shadow(0 0 5px #00ff88);
        animation: dashboard-wave 2s ease-in-out infinite;
    }
    @keyframes dashboard-wave {
        0%, 100% { d: path('M0,10 Q10,5 20,10 T40,10'); }
        50% { d: path('M0,10 Q10,15 20,10 T40,10'); }
    }
    .header-content {
        flex: 1;
    }
    .header h1 {
        margin: 0;
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }
    .header p {
        margin: 10px 0 0 0;
        opacity: 0.9;
        font-size: 16px;
    }
    .brand-name {
        font-size: 14px;
        font-weight: 600;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-top: 5px;
    }
    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }
    .metric-card {
        background: #1a1a1a;
        border: 1px solid #333;
        padding: 25px;
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .metric-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #4a9eff, transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .metric-card:hover {
        transform: translateY(-5px);
        border-color: #4a9eff;
        box-shadow: 0 5px 20px rgba(74, 158, 255, 0.2);
    }
    .metric-card:hover::before {
        opacity: 1;
    }
    .metric-value {
        font-size: 32px;
        font-weight: 700;
        color: #4a9eff;
        margin: 10px 0;
        background: linear-gradient(135deg, #4a9eff 0%, #00ff88 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: glow 3s ease-in-out infinite;
    }
    @keyframes glow {
        0%, 100% { filter: brightness(1); }
        50% { filter: brightness(1.2); }
    }
    .metric-label {
        color: #999;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .section {
        background: #1a1a1a;
        border: 1px solid #333;
        padding: 30px;
        border-radius: 12px;
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
    }
    .section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, #4a9eff 50%, transparent 100%);
        opacity: 0.5;
    }
    .section h2 {
        margin-top: 0;
        color: #4a9eff;
        font-size: 24px;
    }
    .section h3 {
        color: #fff;
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .insights {
        background: #0d1117;
        border-left: 4px solid #4a9eff;
        padding: 20px;
        margin: 20px 0;
        border-radius: 8px;
    }
    .insights ul {
        margin: 0;
        padding-left: 20px;
    }
    .insights li {
        margin: 10px 0;
        line-height: 1.6;
    }
    .key-levels {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }
    .level-item {
        background: #0d1117;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
    }
    .level-label {
        color: #999;
        font-size: 12px;
        text-transform: uppercase;
    }
    .level-value {
        font-size: 18px;
        font-weight: 700;
        color: #4a9eff;
        margin-top: 5px;
    }
    .ticker-section {
        background: #1a1a1a;
        border: 1px solid #333;
        padding: 30px;
        border-radius: 12px;
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
    }
    .ticker-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #5865F2 0%, #00ff88 50%, #5865F2 100%);
        opacity: 0.7;
    }
    .ticker-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    .ticker-title {
        font-size: 28px;
        font-weight: 700;
        color: #4a9eff;
    }
    .ticker-price {
        font-size: 24px;
        color: #fff;
    }
    .chart-container {
        margin: 20px 0;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #333;
        transition: all 0.3s ease;
    }
    .chart-container:hover {
        border-color: #4a9eff;
        box-shadow: 0 0 20px rgba(74, 158, 255, 0.1);
    }
    .trade-idea {
        background: #0d1117;
        border: 1px solid #30363d;
        border-left: 4px solid transparent;
        background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
        border-left-color: #4a9eff;
        padding: 20px;
        margin: 15px 0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    .trade-idea:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(74, 158, 255, 0.2);
        border-left-color: #00ff88;
    }
    .trade-strategy {
        font-size: 18px;
        font-weight: 700;
        color: #4a9eff;
        margin-bottom: 10px;
    }
    .trade-setup {
        font-size: 16px;
        color: #fff;
        margin: 10px 0;
    }
    .trade-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 15px;
    }
    .trade-detail {
        font-size: 14px;
        color: #999;
    }
    .trade-detail strong {
        color: #fff;
    }
    /* Table wrapper for horizontal scrolling */
    .table-wrapper {
        overflow-x: auto;
        margin: 20px 0;
        border-radius: 8px;
        border: 1px solid #333;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .table-wrapper::-webkit-scrollbar-track {
        background: #1a1a1a;
        border-radius: 3px;
    }
    
    .table-wrapper::-webkit-scrollbar-thumb {
        background: #4a9eff;
        border-radius: 3px;
    }
    
    .table-wrapper::-webkit-scrollbar-thumb:hover {
        background: #5865f2;
    }
    
    .unusual-table {
        width: 100%;
        min-width: 600px;
        margin: 0;
        border-collapse: collapse;
    }
    .unusual-table th {
        background: #0d1117;
        padding: 10px;
        text-align: left;
        font-weight: 600;
        color: #4a9eff;
        border-bottom: 2px solid #30363d;
    }
    .unusual-table td {
        padding: 10px;
        border-bottom: 1px solid #30363d;
    }
    .unusual-table tr:hover {
        background: #161b22;
    }
    .iv-metrics {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }
    .iv-metric {
        background: #0d1117;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        border: 1px solid #30363d;
    }
    .iv-label {
        color: #999;
        font-size: 12px;
        text-transform: uppercase;
    }
    .iv-value {
        font-size: 18px;
        font-weight: 700;
        color: #4a9eff;
        margin-top: 5px;
    }
    
    /* Unusual Activities Summary Section */
    .unusual-activities-summary-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
        border-radius: 15px;
        padding: 30px;
        margin: 30px 0;
        border: 1px solid #333;
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    }
    
    .unusual-activities-summary-section h2 {
        color: #fff;
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 600;
    }
    
    .unusual-summary-table {
        width: 100%;
        min-width: 800px;
        border-collapse: collapse;
        background: #1a1a1a;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .unusual-summary-table th {
        background: #2a2a2a;
        color: #fff;
        padding: 15px;
        text-align: left;
        font-weight: 600;
        border-bottom: 2px solid #444;
    }
    
    .unusual-summary-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #333;
        color: #e0e0e0;
    }
    
    .unusual-summary-table tr:hover {
        background: rgba(74, 158, 255, 0.1);
    }
    
    .ticker-cell {
        font-weight: 600;
        color: #4a9eff;
    }
    
    .type-call {
        color: #00CC96;
    }
    
    .type-put {
        color: #EF553B;
    }
    
    .reason-tag {
        display: inline-block;
        background: rgba(74, 158, 255, 0.2);
        color: #4a9eff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        margin-right: 4px;
        border: 1px solid rgba(74, 158, 255, 0.3);
    }
    
    .filter-controls {
        margin-bottom: 20px;
    }
    
    .filter-checkbox {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        color: #e0e0e0;
    }
    
    .filter-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }
    
    /* News Articles Section */
    .news-articles {
        margin-top: 30px;
    }
    
    .news-articles h3 {
        color: #fff;
        margin-bottom: 20px;
    }
    
    .articles-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .article-item {
        background: #0d1117;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #30363d;
        transition: border-color 0.3s;
    }
    
    .article-item:hover {
        border-color: #4a9eff;
    }
    
    .article-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    
    .article-header h4 {
        margin: 0;
        font-size: 16px;
        line-height: 1.4;
    }
    
    .article-header h4 a {
        color: #4a9eff;
        text-decoration: none;
    }
    
    .article-header h4 a:hover {
        text-decoration: underline;
    }
    
    .article-date {
        color: #999;
        font-size: 14px;
        white-space: nowrap;
        margin-left: 15px;
    }
    
    .article-sentiment {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .article-sentiment.positive {
        background: rgba(0, 204, 150, 0.2);
        color: #00CC96;
        border: 1px solid rgba(0, 204, 150, 0.3);
    }
    
    .article-sentiment.negative {
        background: rgba(239, 85, 59, 0.2);
        color: #EF553B;
        border: 1px solid rgba(239, 85, 59, 0.3);
    }
    
    .article-sentiment.neutral {
        background: rgba(99, 110, 250, 0.2);
        color: #636EFA;
        border: 1px solid rgba(99, 110, 250, 0.3);
    }
    
    .article-description {
        color: #e0e0e0;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .article-source {
        color: #999;
        font-size: 13px;
    }
    
    /* Ensure unusual activity tab content is contained */
    .unusual-activity-section {
        padding: 20px 0;
        position: relative;
        width: 100%;
    }
    
    .unusual-activity-section .table-wrapper {
        max-width: 100%;
        overflow-x: auto;
        position: relative;
    }
    
    /* Ensure tab content stays within bounds */
    [id$="-unusual"] {
        contain: layout;
        position: relative;
        min-height: 200px;
    }
    
    /* Reason badges in unusual activities */
    .reason-badge {
        display: inline-block;
        background: rgba(74, 158, 255, 0.2);
        color: #4a9eff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 11px;
        margin-right: 4px;
        border: 1px solid rgba(74, 158, 255, 0.3);
        cursor: help;
    }
    
    .reason-badge:hover {
        background: rgba(74, 158, 255, 0.3);
    }
    
    .risk-section {
        background: #0d1117;
        border: 2px solid #ff6b6b;
        padding: 20px;
        margin: 20px 0;
        border-radius: 8px;
    }
    .risk-section h4 {
        color: #ff6b6b;
        margin-top: 0;
    }
    .stop-loss {
        background: #1a0a0a;
        border: 1px solid #ff3333;
        padding: 15px;
        margin: 10px 0;
        border-radius: 8px;
    }
    .stop-loss h5 {
        color: #ff6b6b;
        margin: 0 0 10px 0;
    }
    .time-table {
        width: 100%;
        min-width: 700px;
        margin: 0;
        border-collapse: collapse;
        font-size: 14px;
    }
    .time-table th {
        background: #0d1117;
        padding: 12px;
        text-align: left;
        font-weight: 600;
        color: #4a9eff;
        border-bottom: 2px solid #30363d;
    }
    .time-table td {
        padding: 10px;
        border-bottom: 1px solid #30363d;
    }
    .time-table tr:hover {
        background: #161b22;
    }
    .confidence-high {
        color: #6bcf7f;
    }
    .confidence-medium {
        color: #ffd93d;
    }
    .confidence-low {
        color: #ff6b6b;
    }
    .weekly-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }
    .weekly-card {
        background: #0d1117;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #30363d;
    }
    .weekly-period {
        color: #4a9eff;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .weekly-metric {
        display: flex;
        justify-content: space-between;
        margin: 5px 0;
        font-size: 13px;
    }
    .weekly-label {
        color: #999;
    }
    .weekly-value {
        color: #fff;
        font-weight: 500;
    }
    /* Professional Tooltips */
    [data-tooltip] {
        position: relative;
        cursor: help;
    }
    [data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #1a1a1a;
        color: #fff;
        padding: 8px 12px;
        border-radius: 6px;
        border: 1px solid #4a9eff;
        font-size: 12px;
        white-space: nowrap;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }
    .warning {
        background: #ff6b6b;
        color: white;
        padding: 15px;
        border-radius: 8px;
        margin: 20px 0;
    }
    .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        border-bottom: 2px solid #333;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #4a9eff #1a1a1a;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .tabs::-webkit-scrollbar {
        height: 6px;
    }
    
    .tabs::-webkit-scrollbar-track {
        background: #1a1a1a;
        border-radius: 3px;
    }
    
    .tabs::-webkit-scrollbar-thumb {
        background: #4a9eff;
        border-radius: 3px;
    }
    
    .tabs::-webkit-scrollbar-thumb:hover {
        background: #5865f2;
    }
    .tab {
        padding: 10px 20px;
        background: #1a1a1a;
        border: 1px solid #333;
        border-bottom: none;
        border-radius: 8px 8px 0 0;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
    .tab:hover {
        background: #2a2a2a;
        color: #4a9eff;
    }
    .tab.active {
        background: linear-gradient(135deg, #5865F2 0%, #4a9eff 100%);
        color: #fff;
        font-weight: 600;
        border-color: transparent;
    }
    .tab-content {
        display: none;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    .tab-content.active {
        display: block;
        animation: fadeIn 0.3s ease-in;
        z-index: 10;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Static sections separator */
    .static-section-separator {
        margin: 30px 0;
        border-top: 2px solid rgba(88, 101, 242, 0.3);
        padding-top: 20px;
    }
    
    /* Ticker Selection Styles */
    .ticker-selection-section {
        margin: 30px 0;
        padding: 25px;
        background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(139, 92, 246, 0.05));
        border-radius: 12px;
        border: 1px solid rgba(88, 101, 242, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .selection-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .selection-header h3 {
        color: #ffffff;
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
    }
    
    .selection-controls {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .control-btn {
        padding: 8px 16px;
        background: rgba(88, 101, 242, 0.8);
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .control-btn:hover {
        background: rgba(88, 101, 242, 1);
        transform: translateY(-1px);
    }
    
    .ticker-count {
        color: #e2e8f0;
        font-size: 0.9rem;
        padding: 4px 8px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }
    
    .ticker-selector {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .ticker-checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }
    
    .ticker-checkbox:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(88, 101, 242, 0.5);
        transform: translateY(-1px);
    }
    
    .ticker-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #5865f2;
        margin: 0;
    }
    
    .ticker-checkbox input[type="checkbox"]:checked {
        background: #5865f2;
    }
    
    .ticker-checkbox:has(input:checked) {
        background: rgba(88, 101, 242, 0.3);
        border-color: #5865f2;
    }
    
    /* Radio button styles for single ticker selection */
    .ticker-radio {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }
    
    .ticker-radio:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(88, 101, 242, 0.5);
        transform: translateY(-1px);
    }
    
    .ticker-radio input[type="radio"] {
        width: 16px;
        height: 16px;
        accent-color: #5865f2;
        margin: 0;
    }
    
    .ticker-radio input[type="radio"]:checked {
        background: #5865f2;
    }
    
    .ticker-radio:has(input:checked) {
        background: rgba(88, 101, 242, 0.3);
        border-color: #5865f2;
    }
    
    .ticker-label {
        color: #ffffff;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    /* On-Demand Analysis Styles */
    .on-demand-section {
        margin: 30px 0;
        padding: 25px;
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
        border-radius: 12px;
        border: 1px solid rgba(34, 197, 94, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .section-description {
        color: #cbd5e0;
        font-size: 0.9rem;
        margin: 5px 0 0 0;
    }
    
    .on-demand-controls {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .ticker-search-container {
        flex: 1;
        min-width: 300px;
        position: relative;
    }
    
    .search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }
    
    #ticker-search {
        width: 100%;
        padding: 12px 16px 12px 45px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid transparent;
        border-radius: 8px;
        color: #ffffff;
        font-size: 1rem;
        transition: all 0.2s ease;
        outline: none;
    }
    
    #ticker-search:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(34, 197, 94, 0.5);
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    }
    
    #ticker-search::placeholder {
        color: #9ca3af;
    }
    
    .search-icon {
        position: absolute;
        left: 15px;
        color: #9ca3af;
        font-size: 1.1rem;
        pointer-events: none;
    }
    
    #ticker-dropdown-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        z-index: 1000;
        margin-top: 5px;
        max-height: 300px;
        overflow: hidden;
    }
    
    .dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: rgba(34, 197, 94, 0.1);
        border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    }
    
    .dropdown-title {
        color: #ffffff;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .dropdown-close {
        color: #9ca3af;
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.2s ease;
    }
    
    .dropdown-close:hover {
        color: #ffffff;
    }
    
    #ticker-dropdown-list {
        max-height: 240px;
        overflow-y: auto;
        padding: 5px 0;
    }
    
    .ticker-option {
        padding: 12px 16px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .ticker-option:hover {
        background: rgba(34, 197, 94, 0.1);
    }
    
    .ticker-option.selected {
        background: rgba(34, 197, 94, 0.2);
        border-left: 3px solid #22c55e;
    }
    
    .ticker-symbol {
        color: #ffffff;
        font-weight: 600;
        font-size: 0.95rem;
    }
    
    .ticker-description {
        color: #9ca3af;
        font-size: 0.8rem;
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .calculation-controls {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 200px;
    }
    
    .selected-ticker-display {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 6px;
        font-size: 0.9rem;
    }
    
    #selected-ticker-name {
        color: #e2e8f0;
        font-weight: 500;
    }
    
    #clear-selection {
        background: none;
        border: none;
        color: #9ca3af;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }
    
    #clear-selection:hover {
        color: #ffffff;
        background: rgba(239, 68, 68, 0.2);
    }
    
    #calculate-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
    }
    
    #calculate-btn:hover:not(:disabled) {
        background: linear-gradient(135deg, #16a34a, #15803d);
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    }
    
    #calculate-btn:disabled {
        background: rgba(107, 114, 128, 0.5);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    
    .btn-icon {
        font-size: 1.1rem;
    }
    
    .calculation-status {
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 8px;
        padding: 20px;
        margin-top: 20px;
    }
    
    .status-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .status-icon {
        font-size: 1.2rem;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .status-text {
        color: #ffffff;
        font-weight: 600;
        font-size: 1rem;
    }
    
    .progress-container {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .progress-bar {
        flex: 1;
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
    }
    
    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #22c55e, #16a34a);
        border-radius: 3px;
        transition: width 0.3s ease;
        width: 0%;
    }
    
    .progress-text {
        color: #e2e8f0;
        font-weight: 600;
        font-size: 0.9rem;
        min-width: 40px;
    }
    
    .status-details {
        color: #cbd5e0;
        font-size: 0.9rem;
    }
    
    .on-demand-results {
        margin-top: 20px;
    }
    
    .on-demand-result-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        position: relative;
    }
    
    .on-demand-result-item::before {
        content: "🔥";
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.2rem;
        opacity: 0.7;
    }
    
    .result-timestamp {
        color: #9ca3af;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    /* Empty State Styles */
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        color: #e2e8f0;
    }
    
    .empty-state-icon {
        font-size: 4rem;
        margin-bottom: 20px;
        opacity: 0.6;
    }
    
    .empty-state h3 {
        color: #ffffff;
        margin-bottom: 10px;
        font-size: 1.5rem;
    }
    
    .empty-state p {
        color: #cbd5e0;
        font-size: 1.1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .error-message {
        text-align: center;
        padding: 40px;
        background: rgba(239, 68, 68, 0.1);
        border: 2px solid rgba(239, 68, 68, 0.3);
        border-radius: 12px;
        margin: 20px 0;
    }
    
    .error-message h3 {
        color: #fecaca;
        margin-bottom: 15px;
    }
    
    .error-message p {
        color: #fed7d7;
    }
    
    .error-message code {
        background: rgba(0, 0, 0, 0.3);
        padding: 2px 6px;
        border-radius: 4px;
        font-family: 'Courier New', monospace;
    }
    
    .no-data-message {
        text-align: center;
        padding: 30px;
        color: #fbbf24;
        background: rgba(245, 158, 11, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(245, 158, 11, 0.3);
    }
    
    /* Selection Summary Styles */
    .selection-summary {
        margin-top: 40px;
        padding: 20px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        border-top: 3px solid #5865f2;
    }
    
    .summary-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .summary-stats {
        display: flex;
        gap: 25px;
        flex-wrap: wrap;
    }
    
    .summary-stats .stat {
        color: #e2e8f0;
        font-size: 0.9rem;
    }
    
    .summary-stats .stat strong {
        color: #ffffff;
        font-weight: 700;
    }
    
    .summary-timestamp {
        color: #94a3b8;
        font-size: 0.85rem;
    }
    
    /* Mobile responsive styles */
    @media (max-width: 768px) {
        .container {
            padding: 15px;
        }
        
        .tabs {
            margin-bottom: 15px;
            gap: 8px;
        }
        
        .tab {
            padding: 8px 16px;
            font-size: 0.9rem;
        }
        
        .ticker-section {
            margin-bottom: 20px;
        }
        
        .ticker-header {
            flex-direction: column;
            gap: 10px;
            align-items: flex-start;
        }
        
        .ticker-title {
            font-size: 1.5rem;
        }
        
        .ticker-price {
            font-size: 1.1rem;
        }
        
        .table-wrapper {
            margin: 15px 0;
        }
        
        .unusual-table {
            min-width: 500px;
            font-size: 13px;
        }
        
        .time-table {
            min-width: 600px;
            font-size: 13px;
        }
        
        .unusual-table th,
        .unusual-table td,
        .time-table th,
        .time-table td {
            padding: 8px;
        }
        
        .on-demand-controls {
            flex-direction: column;
            gap: 15px;
        }
        
        .ticker-search-container {
            min-width: auto;
        }
        
        .calculation-controls {
            min-width: auto;
            width: 100%;
        }
        
        .weekly-grid {
            grid-template-columns: 1fr;
        }
        
        .metrics-grid {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .selection-header {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .ticker-selector {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 10px;
        }
        
        .ticker-radio,
        .ticker-checkbox {
            padding: 10px 14px;
        }
        
        .summary-content {
            flex-direction: column;
            gap: 15px;
        }
        
        .summary-stats {
            flex-direction: column;
            gap: 10px;
        }
    }
    
    /* Small mobile devices */
    @media (max-width: 480px) {
        .container {
            padding: 10px;
        }
        
        .tab {
            padding: 6px 12px;
            font-size: 0.8rem;
        }
        
        .ticker-title {
            font-size: 1.3rem;
        }
        
        .ticker-price {
            font-size: 1rem;
        }
        
        .unusual-table {
            min-width: 400px;
            font-size: 12px;
        }
        
        .time-table {
            min-width: 500px;
            font-size: 12px;
        }
        
        .unusual-table th,
        .unusual-table td,
        .time-table th,
        .time-table td {
            padding: 6px;
        }
        
        .ticker-selector {
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 8px;
        }
        
        .ticker-radio,
        .ticker-checkbox {
            padding: 8px 12px;
        }
        
        .metric-card {
            padding: 20px;
        }
        
        .header {
            padding: 30px 20px;
        }
        
        .header .logo-section {
            flex-direction: column;
            gap: 20px;
        }
        
        .metrics-grid {
            grid-template-columns: 1fr;
        }
    }
        font-style: italic;
    }
    
    /* Authentication Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        border-radius: 16px;
        max-width: 600px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modal-header h2 {
        margin: 0;
        color: #ffffff;
        font-size: 1.5rem;
    }
    
    .modal-close {
        background: none;
        border: none;
        color: #94a3b8;
        font-size: 2rem;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }
    
    .modal-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .auth-message {
        text-align: center;
        margin-bottom: 32px;
    }
    
    .auth-message p {
        color: #e2e8f0;
        margin: 8px 0;
        line-height: 1.6;
    }
    
    .auth-options {
        display: grid;
        grid-template-columns: 1fr; /* Single column since mobile QR is commented out */
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .auth-option {
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .auth-option h3 {
        color: #ffffff;
        margin: 0 0 12px 0;
        font-size: 1.1rem;
    }
    
    .auth-option p {
        color: #94a3b8;
        margin: 0 0 20px 0;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .auth-button {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 12px 24px;
        background: #5865f2;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.2s ease;
        border: none;
        cursor: pointer;
        font-size: 0.95rem;
    }
    
    .auth-button:hover {
        background: #4752c4;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    }
    
    .discord-icon {
        width: 20px;
        height: 20px;
    }
    
    .qr-container {
        margin: 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .qr-container img {
        max-width: 200px;
        max-height: 200px;
        border-radius: 8px;
        background: white;
        padding: 8px;
    }
    
    .qr-container p {
        color: #94a3b8;
        margin: 8px 0;
        font-size: 0.9rem;
    }
    
    .loading-spinner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid #5865f2;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .refresh-qr {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #e2e8f0;
        padding: 8px 16px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.85rem;
        transition: all 0.2s ease;
    }
    
    .refresh-qr:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .free-info {
        text-align: center;
        padding: 16px;
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
        border-radius: 8px;
    }
    
    .free-info p {
        color: #86efac;
        margin: 0;
        font-size: 0.9rem;
    }
    
    /* Payment Modal Specific Styles */
    .welcome-message {
        text-align: center;
        margin-bottom: 32px;
    }
    
    .welcome-message p {
        color: #e2e8f0;
        margin: 8px 0;
        line-height: 1.6;
    }
    
    .upgrade-option {
        text-align: center;
        padding: 24px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 24px;
    }
    
    .upgrade-option h3 {
        color: #ffffff;
        margin: 0 0 12px 0;
        font-size: 1.2rem;
    }
    
    .discord-invite {
        margin: 20px 0;
    }
    
    .discord-invite-btn {
        font-size: 1.1rem;
        padding: 16px 32px;
    }
    
    .premium-features {
        background: rgba(88, 101, 242, 0.1);
        border: 1px solid rgba(88, 101, 242, 0.3);
        border-radius: 12px;
        padding: 20px;
    }
    
    .premium-features h4 {
        color: #ffffff;
        margin: 0 0 16px 0;
        font-size: 1.1rem;
    }
    
    .premium-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .premium-features li {
        color: #e2e8f0;
        margin: 8px 0;
        padding-left: 0;
        line-height: 1.5;
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .auth-options {
            grid-template-columns: 1fr;
        }
        
        .modal-content {
            margin: 20px;
            max-height: calc(100vh - 40px);
        }
        
        .qr-container img {
            max-width: 150px;
            max-height: 150px;
        }
    }

    /* Loading States */
    .htmx-request {
        opacity: 0.8;
        pointer-events: none;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .ticker-selector {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 8px;
        }
        
        .ticker-checkbox {
            padding: 10px 12px;
        }
        
        .ticker-radio {
            padding: 10px 12px;
        }
        
        .selection-header {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .selection-controls {
            width: 100%;
            justify-content: space-between;
        }
        
        .summary-content {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .summary-stats {
            gap: 15px;
        }
    }
    
    /* Dashboard Navigation Integration Styles */
    /* Force navigation logo to use exact same styles as landing page */
    .navbar .nav-logo {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        text-decoration: none !important;
    }
    
    .navbar .logo {
        width: 50px !important;
        height: 30px !important;
        background: #000 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        border: 1px solid #333 !important;
    }
    
    .navbar .logo-text {
        font-size: 20px !important;
        font-weight: 900 !important;
        background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #5865F2 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        letter-spacing: -1px !important;
    }
    
    .navbar .logo-wave {
        position: absolute !important;
        bottom: 2px !important;
        right: 2px !important;
        width: 20px !important;
        height: 10px !important;
    }
    
    .navbar .wave-path {
        stroke: #00ff88 !important;
        stroke-width: 1.5 !important;
        fill: none !important;
        filter: drop-shadow(0 0 3px #00ff88) !important;
        animation: wave 2s ease-in-out infinite !important;
    }
    
    .navbar .brand-text {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: 1px !important;
    }
    
    /* Ensure wave animation is exactly the same as landing page */
    @keyframes wave {
        0%, 100% { d: path('M0,5 Q5,2 10,5 T20,5'); }
        50% { d: path('M0,5 Q5,8 10,5 T20,5'); }
    }
    
    /* Dashboard container adjustments for navigation */
    .container.dashboard-container {
        max-width: none;
        margin: 0;
        padding: 100px 20px 0 20px; /* Top padding for fixed navbar */
    }
    
    /* Adjust dashboard sections to work with navigation */
    .static-section-separator {
        margin-top: 30px;
    }
    
    .ticker-selection-section {
        margin-top: 20px;
    }
    
    /* Dashboard header styling */
    .dashboard-header {
        text-align: center;
        margin-bottom: 30px;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dashboard-header h1 {
        font-size: 28px;
        font-weight: 600;
        color: #ffffff;
        margin: 10px 0;
    }
    
    .dashboard-header p {
        color: #b0b0b0;
        font-size: 16px;
        margin: 5px 0;
    }
    
    /* Mobile responsive adjustments for dashboard */
    @media (max-width: 768px) {
        .container.dashboard-container {
            padding: 100px 15px 0 15px; /* Maintain navbar padding on mobile */
        }
        
        .dashboard-header h1 {
            font-size: 24px;
        }
        
        .dashboard-header p {
            font-size: 14px;
        }
    }

    .severability_desc {
        margin-bottom: 20px;
        line-height: 1.6;
    }

    /* Discord Invitation Modal */
    .discord-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: fadeIn 0.3s ease-out;
    }

    .discord-modal {
        background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
        border-radius: 16px;
        max-width: 480px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        border: 1px solid #5865F2;
        animation: slideInUp 0.4s ease-out;
        position: relative;
    }

    .discord-modal-header {
        padding: 24px 24px 16px;
        border-bottom: 1px solid #40444b;
        display: flex;
        align-items: center;
        gap: 16px;
        position: relative;
    }

    .discord-modal-header .discord-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #5865F2, #7289da);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    }

    .discord-modal-header h3 {
        color: #ffffff;
        font-size: 20px;
        font-weight: 600;
        margin: 0;
        flex: 1;
    }

    .discord-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: transparent;
        border: none;
        color: #b9bbbe;
        font-size: 24px;
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .discord-modal-close:hover {
        background: rgba(185, 187, 190, 0.1);
        color: #ffffff;
    }

    .discord-modal-body {
        padding: 20px 24px;
    }

    .discord-modal-body p {
        color: #dcddde;
        font-size: 16px;
        line-height: 1.5;
        margin: 0 0 16px;
    }

    .discord-features-compact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }

    .discord-feature-compact {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        background: rgba(88, 101, 242, 0.08);
        border: 1px solid rgba(88, 101, 242, 0.15);
        border-radius: 4px;
        transition: all 0.2s ease;
        font-size: 12px;
        color: #dcddde;
        text-align: left;
    }

    .discord-feature-compact:hover {
        background: rgba(88, 101, 242, 0.12);
        border-color: rgba(88, 101, 242, 0.25);
    }

    .discord-modal-footer {
        padding: 16px 24px 24px;
        display: flex;
        gap: 12px;
        justify-content: flex-end;
    }

    .discord-btn-cancel,
    .discord-btn-join {
        border: none;
        border-radius: 8px;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 120px;
    }

    .discord-btn-cancel {
        background: rgba(79, 84, 92, 0.6);
        color: #b9bbbe;
        border: 1px solid #4f545c;
    }

    .discord-btn-cancel:hover {
        background: rgba(79, 84, 92, 0.8);
        color: #ffffff;
    }

    .discord-btn-join {
        background: linear-gradient(135deg, #5865F2, #7289da);
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    }

    .discord-btn-join:hover {
        background: linear-gradient(135deg, #4752c4, #5b6ecd);
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
    }

    .discord-btn-join:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
    }

    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

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

    /* Mobile responsiveness */
    @media (max-width: 768px) {
        .discord-modal {
            width: 95%;
            max-width: none;
            margin: 20px;
        }

        .discord-modal-header {
            padding: 20px 20px 16px;
        }

        .discord-modal-body {
            padding: 16px 20px;
        }

        .discord-modal-footer {
            padding: 16px 20px 20px;
            flex-direction: column;
        }

        .discord-btn-cancel,
        .discord-btn-join {
            width: 100%;
            min-width: auto;
        }

        .discord-features-compact {
            gap: 6px;
            grid-template-columns: 1fr;
        }

        .discord-feature-compact {
            justify-content: flex-start;
            padding: 8px 12px;
        }
    }
