/* Global Styles */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #7c3aed;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --fomo-alert: #ff0055;
    --solana-purple: #DC1FFF;
    --solana-green: #00FFA3;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Access Gate Styles */
.access-gate-row {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(220, 53, 69, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.access-gate-message {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(33, 37, 41, 0.9));
    border: 1px solid rgba(255, 193, 7, 0.5);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
    margin: 20px auto !important;
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.access-gate-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

/* FOMO Score Badges - Improved Visibility */
.badge {
    color: white !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    color: white !important;
    animation: pulse 2s infinite;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
    color: #000 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #17a2b8, #20c997) !important;
    color: white !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    color: white !important;
}

/* FOMO Score Text Improvements */
.small.text-muted {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.tiny.text-info {
    color: #22d3ee !important;
    font-weight: 500 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* FOMO Alert Row */
.fomo-alert-row {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 193, 7, 0.1));
    border-left: 4px solid #dc3545;
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes subtle-glow {
    from { box-shadow: 0 0 5px rgba(220, 53, 69, 0.3); }
    to { box-shadow: 0 0 15px rgba(220, 53, 69, 0.6); }
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
    padding: 8px 12px !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: white !important;
    background-color: rgba(0, 212, 255, 0.2) !important;
    transform: translateY(-1px);
}

.nav-link:focus {
    color: white !important;
    background-color: rgba(0, 212, 255, 0.2) !important;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
    align-self: center;
}

/* Social Media Icons */
.navbar-nav .nav-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    padding-top: 76px;
}

/* Navigation scroll offset - ensure section titles are visible when navigating */
section {
    scroll-margin-top: 100px; /* Adds space above section when scrolling to it */
}

/* Additional padding for section titles to ensure they're not covered by navbar */
.section-title {
    padding-top: 20px; /* Extra padding to ensure title visibility */
}

/* AI Agent Ambassador */
.ai-agent-section {
    position: relative;
    z-index: 3;
}

.ai-agent-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ai-agent-avatar {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.agent-image:hover {
    transform: scale(1.1);
}

.rotating-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: rotate 4s linear infinite;
}

.rotating-ring.ring-1 {
    width: 260px;
    height: 260px;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    animation-duration: 3s;
    opacity: 0.8;
}

.rotating-ring.ring-2 {
    width: 290px;
    height: 290px;
    border-bottom-color: var(--accent-color);
    border-left-color: var(--accent-color);
    animation-duration: 4s;
    animation-direction: reverse;
    opacity: 0.6;
}

.rotating-ring.ring-3 {
    width: 320px;
    height: 320px;
    border-top-color: var(--secondary-color);
    border-right-color: var(--secondary-color);
    animation-duration: 5s;
    opacity: 0.4;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ai-agent-info {
    text-align: center;
    max-width: 400px;
}

.agent-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.agent-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .ai-agent-container {
        gap: 15px;
    }

    .ai-agent-avatar {
        width: 240px;
        height: 240px;
    }

    .agent-image {
        width: 140px;
        height: 140px;
    }

    .rotating-ring.ring-1 {
        width: 180px;
        height: 180px;
    }

    .rotating-ring.ring-2 {
        width: 210px;
        height: 210px;
    }

    .rotating-ring.ring-3 {
        width: 240px;
        height: 240px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title-main {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-title-sub {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.cta-section {
    padding: 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.cta-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}



/* How to Use Section Styles */
.how-to-step {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-left: 20px;
    position: relative;
}

.how-to-step:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.step-number {
    position: relative;
}

.step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.pro-tips-list, .risk-guidelines {
    space-y: 15px;
}

.pro-tip-item, .risk-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pro-tip-item:last-child, .risk-item:last-child {
    border-bottom: none;
}

.quick-access-buttons .btn {
    min-width: 180px;
    font-weight: 600;
}

.quick-access-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .how-to-step {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .quick-access-buttons .btn {
        min-width: 100%;
        margin-bottom: 10px !important;
    }
}

/* Loading States */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 212, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Wallet Section */
.wallet-section {
    background: rgba(26, 26, 26, 0.5);
}

.wallet-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wallet-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 30px;
    border-bottom: none;
}

.wallet-card .card-header h3 {
    color: white;
    margin: 0;
    font-weight: 700;
}

.wallet-card .card-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.wallet-card .card-body {
    padding: 30px;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
    color: var(--text-primary);
}

/* Selected text styling */
::selection {
    background-color: var(--primary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-color);
    color: white;
}

/* Focus and selected states for form elements */
.form-control:focus,
.form-control:focus-visible,
.form-control:active {
    color: white !important;
}

input:focus,
input:focus-visible,
input:active,
select:focus,
select:focus-visible,
select:active,
textarea:focus,
textarea:focus-visible,
textarea:active {
    color: white !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

#tokenTicker::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

.btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-2px);
}

/* Search Method Toggle */
.btn-group .btn-check:checked + .btn-outline-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-group .btn-outline-primary {
    border-color: rgba(124, 58, 237, 0.5);
    color: var(--primary-color);
}

.btn-group .btn-outline-primary:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Contract Address Input */
#tokenContract {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

#contractInputGroup .form-text {
    color: var(--success-color) !important;
}

/* Input Group Transitions */
#tickerInputGroup, #contractInputGroup {
    transition: all 0.3s ease;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 35px;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-outline-primary:focus {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

/* Token Info Section */
.token-info-section {
    background: rgba(26, 26, 26, 0.5);
}

.token-info-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.token-info-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.token-info-card code {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-crypto {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* FOMO Alert Styling */
.fomo-alert-row {
    background: linear-gradient(90deg, rgba(255, 0, 85, 0.1) 0%, rgba(255, 0, 85, 0.05) 100%);
    border-left: 4px solid var(--fomo-alert);
    animation: fomo-pulse 2s infinite;
}

@keyframes fomo-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.4); 
    }
    50% { 
        box-shadow: 0 0 20px 5px rgba(255, 0, 85, 0.2); 
    }
}

.token-icon-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* FOMO Score Badge Styling */
.fomo-score-high {
    background: linear-gradient(135deg, #ff0055, #ff4757) !important;
    color: white !important;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 0, 85, 0.3);
}

.fomo-score-medium {
    background: linear-gradient(135deg, #ffa500, #ff6b35) !important;
    color: white !important;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.fomo-score-low {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    color: white !important;
    font-weight: bold;
    border: none;
}
}

/* Data Display Components */
.data-table {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table-dark th {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.table-dark td {
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-success {
    background: var(--success-color);
}

.status-warning {
    background: var(--warning-color);
}

.status-danger {
    background: var(--danger-color);
}

/* DEX Platforms Section */
.dex-platforms-section {
    background: rgba(26, 26, 26, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dex-grid {
    gap: 10px;
}

.dex-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    min-height: 60px;
    margin-bottom: 8px;
}

.dex-card:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

.dex-card span {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Mobile Navigation Improvements */
.navbar-toggler {
    border: 1px solid var(--primary-color);
    padding: 4px 8px;
}

.```text
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .btn-outline-primary.nav-link {
        margin: 1rem auto !important;
        display: inline-block;
        max-width: 200px;
    }
}

/* Thread Generator Styles */
.thread-type-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.thread-type-btn {
    flex: 1;
    min-width: 120px;
}

.thread-type-btn.active {
    background: linear-gradient(135deg, #7c3aed, #00d4ff);
    border-color: #7c3aed;
    color: white;
}

/* X Communities Preview Card Styles */
.community-preview-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.community-preview-card:hover {
    border-color: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.2);
    transform: translateY(-2px);
}

.community-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.community-features .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 20px;
}

/* Responsive community card */
@media (max-width: 768px) {
    .community-preview-card .col-md-2,
    .community-preview-card .col-md-7,
    .community-preview-card .col-md-3 {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .community-features {
        justify-content: center;
    }
}

.thread-output {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
}

.generated-thread {
    width: 100%;
}

.tweet-card {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tweet-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #444;
}

.tweet-number {
    font-weight: bold;
    color: #00d4ff;
}

.tweet-content {
    color: #e2e8f0;
    line-height: 1.6;
    white-space: pre-line;
}

.thread-output::-webkit-scrollbar {
    width: 8px;
}

.thread-output::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.thread-output::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 4px;
}

.thread-output::-webkit-scrollbar-thumb:hover {
    background: #6b46c1;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.75rem;
    }

    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
        vertical-align: middle;
    }

    .btn-group-sm .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .token-icon-large {
        width: 20px !important;
        height: 20px !important;
    }

    .badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .ai-avatar {
        width: 120px;
        height: 120px;
    }

    .ai-avatar i {
        font-size: 50px;
    }

    .wallet-card .card-body,
    .wallet-card .card-header {
        padding: 15px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .dex-card {
        padding: 15px 10px;
        min-height: 70px;
    }

    .dex-card i {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .dex-card span {
        font-size: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .wallet-card .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
        padding: 30px 20px;
    }

/* Mobile DEX Platform spacing improvements */
    .dex-grid {
        gap: 8px;
    }

    .dex-card {
        padding: 12px 10px;
        min-height: 60px;
        margin-bottom: 8px;
    }

    .dex-card i {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .dex-card span {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Mobile Bootstrap grid adjustments */
    .dex-platforms-section .row.g-3 {
        gap: 8px !important;
    }

    .dex-platforms-section .col {
        padding: 0 5px;
        margin-bottom: 8px;
    }

    /* Mobile button spacing for wallet section */
    .wallet-card .text-center .btn {
        margin-bottom: 20px;
        display: block;
        width: 100%;
    }

    .wallet-card .text-center .btn:last-child {
        margin-bottom: 0;
    }

    .wallet-card .text-center {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 212, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Styles */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger-color);
}

/* Access Gate Styles */
.access-gate-row {
    background: rgba(245, 158, 11, 0.05);
    border-top: 2px solid var(--warning-color);
}

.access-gate-row td {
    padding: 30px 0 !important;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.access-gate-message {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 0 auto !important;
    max-width: 800px;
    width: 85%;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
    position: relative;
    z-index: 10;
    display: block;
}

.access-gate-message strong {
    color: var(--warning-color);
    font-size: 1.1rem;
}

.access-gate-message .text-secondary {
    color: #c0c0c0 !important;
}

.access-gate-message .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.access-gate-message .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Roadmap & Tokenomics Styles */
.roadmap-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.roadmap-quarter {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.roadmap-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-tasks li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.roadmap-tasks li:last-child {
    border-bottom: none;
}

.roadmap-item.completed {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.roadmap-item.current {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.roadmap-item.upcoming {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.tokenomics-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.tokenomics-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tokenomics-stats .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tokenomics-stats .stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
}

.utility-list .utility-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.utility-list .utility-item:last-child {
    border-bottom: none;
}

.distribution-chart .distribution-item {
    margin-bottom: 1rem;
}

.distribution-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.bar-fill {
    height: 100%;
    transition: width 0.8s ease;
}

.distribution-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-highlight {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Mobile button spacing for wallet section */
@media (max-width: 768px) {
    .wallet-section .btn {
        margin-bottom: 15px;
        width: 100%;
    }

    .wallet-section .btn-lg {
        padding: 12px 20px;
    }
}

/* Additional Info Row */
.feature-highlight {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}





/* Countdown Timer Styles */
.countdown-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 0 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 15px 10px;
    min-width: 80px;
    border: 2px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffc107;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.75rem;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    text-align: center;
}

#countdownAlert {
    animation: countdownPulse 2s ease-in-out infinite alternate;
    margin-bottom: 20px !important;
    padding: 20px !important;
}

@keyframes countdownPulse {
    from { 
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.3); 
    }
    to { 
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.6); 
    }
}

/* Prevent text overlap in wallet section */
.wallet-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.wallet-card .card-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-card .card-body {
    padding-top: 0;
}

.wallet-input-group {
    margin-bottom: 25px;
}

.wallet-input-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.wallet-input-group .input-group {
    margin-bottom: 15px;
}

/* Fix alert spacing */
.alert {
    margin-bottom: 15px;
    padding: 15px;
    line-height: 1.5;
}

.alert p {
    margin-bottom: 10px;
}

.alert p:last-child {
    margin-bottom: 0;
}

/* Responsive countdown */
@media (max-width: 768px) {
    .countdown-display {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px 8px;
    }
    
    .countdown-number {
        font-size: 1.4rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

/* Countdown expired state */
.countdown-expired {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1)) !important;
    border-color: #dc3545 !important;
}

.countdown-expired .countdown-number {
    color: #dc3545 !important;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.5) !important;
}

.countdown-expired .countdown-label {
    color: #dc3545 !important;
}

/* Mobile responsive countdown */
@media (max-width: 768px) {
    .countdown-display {
        gap: 10px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 8px 10px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
}

/* Legal Links Section Styles */
.legal-links-section {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin: 10px 0;
}

.legal-links-section h6 {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-links-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    min-width: 120px;
    flex: 0 0 auto;
}

.legal-link:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.legal-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile responsive legal links */
@media (max-width: 768px) {
    .legal-links-grid {
        gap: 10px;
        padding: 0 15px;
    }
    
    .legal-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .legal-link i {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .legal-links-grid {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .legal-link {
        padding: 10px 15px;
        font-size: 0.85rem;
        min-width: auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Success rate indicators */
.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

/* Wallet address styling */
code.text-info {
    background: rgba(34, 211, 238, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.methodology-list li {
    margin-bottom: 10px;
    padding: 5px 0;
}

.strategy-item {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.strategy-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.tiny {
    font-size: 0.7rem;
}

/* Anti-Rugpull Protection List Styling */
.protection-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-list li {
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.protection-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent-color);
    transform: translateX(3px);
}

.protection-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Premium Payment Card Styling */
.premium-payment-card {
    position: relative;
    background: linear-gradient(135deg, rgba(220, 31, 255, 0.15), rgba(0, 255, 163, 0.15));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px 35px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px rgba(220, 31, 255, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.premium-payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--solana-purple), var(--solana-green));
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
}

.premium-payment-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--dark-bg);
    border-radius: 18px;
    z-index: -1;
}

.premium-payment-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(220, 31, 255, 0.4);
}

.premium-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b35, #ff0055);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    animation: pulse 2s infinite;
}

.premium-badge-center {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b35, #ff0055);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.premium-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.premium-glow-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 31, 255, 0.4), rgba(0, 255, 163, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(220, 31, 255, 0.5); }
    to { box-shadow: 0 0 40px rgba(0, 255, 163, 0.8), 0 0 60px rgba(220, 31, 255, 0.6); }
}

.premium-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--solana-green), var(--solana-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 15px;
}

.price-container {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px 0;
}

.price-main {
    font-size: 3rem;
    font-weight: 900;
    color: var(--solana-green);
    display: block;
    text-shadow: 0 0 20px rgba(0, 255, 163, 0.5);
}

.price-usd {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.premium-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 50px;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.premium-cta-button {
    width: 100%;
    background: linear-gradient(135deg, var(--solana-green), var(--solana-purple));
    border: none;
    border-radius: 15px;
    padding: 24px 30px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 20px 0;
}

.premium-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.premium-cta-button:hover::before {
    left: 100%;
}

.premium-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 31, 255, 0.4);
    scale: 1.03;
}

.premium-cta-button:active {
    transform: translateY(0);
    scale: 0.98;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-content i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.btn-text {
    font-size: 1.1rem;
    font-weight: 800;
}

.btn-subtext {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.btn-text-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-line-1 {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.btn-line-2 {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.2;
}

.premium-guarantees {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.guarantee-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.guarantee-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.urgency-text {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .premium-payment-card {
        padding: 25px 20px;
        margin: 10px;
        max-width: 95%;
    }
    
    .premium-title {
        font-size: 1.6rem;
    }
    
    .price-main {
        font-size: 2.4rem;
    }
    
    .feature-item {
        padding: 10px 14px;
        margin-bottom: 12px;
        min-height: 45px;
    }
    
    .premium-cta-button {
        padding: 20px 25px;
        margin: 15px 0;
    }
    
    .premium-guarantees {
        flex-direction: column;
        gap: 12px;
    }
    
    .guarantee-item {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
}