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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Header Referral Buttons */
.header-referral-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.referral-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.header-referral-btn {
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-referral-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.header-referral-btn.aster-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.header-referral-btn.hyperliquid-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Header Community Link */
.header-community-link {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.header-telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-telegram-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-telegram-btn .telegram-icon {
    font-size: 1.3rem;
}

/* Comparison Section */
.comparison-section {
    padding: 40px;
    min-height: 80vh;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
    font-size: 2rem;
}

/* AI Summary Section */
.ai-summary-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.ai-summary-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

/* AI Premium Wrapper & Blur */
.ai-premium-wrapper {
    position: relative;
}

.blurred-ai-content {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.ai-premium-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.ai-unlock-content {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 3px solid #fbbf24;
}

.unlock-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.ai-unlock-content h4 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 700;
}

.ai-unlock-content p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 25px;
}

.ai-unlock-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.ai-unlock-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.unlock-label {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.unlock-price {
    font-size: 1.8rem;
    font-weight: 800;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.ai-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
}

.ai-summary-content {
    position: relative;
    z-index: 1;
}

.winner-announcement {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    margin-bottom: 25px;
    border-left: 5px solid #fbbf24;
    color: #2d3748;
    line-height: 1.6;
}

.winner-announcement strong {
    color: #667eea;
    font-size: 1.2rem;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 700;
}

.comparison-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card.winner {
    border: 3px solid #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-card h4 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-card li {
    color: #4a5568;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.5;
}

.highlight-card li:last-child {
    border-bottom: none;
}

.bottom-line {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 15px;
    font-size: 1rem;
    color: #2d3748;
    line-height: 1.6;
    border-left: 5px solid #667eea;
}

.bottom-line strong {
    color: #667eea;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dex-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dex-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dex-header {
    padding: 20px;
    color: white;
    text-align: center;
}

.dex-header h3 {
    font-size: 1.8rem;
}

.aster-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hyperliquid-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.dex-stats {
    padding: 20px;
    background: white;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.stat-label {
    color: #718096;
    font-weight: 500;
}

.stat-value {
    color: #2d3748;
    font-weight: 700;
}

/* Analytics Embed */
.analytics-embed {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.analytics-embed h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #2d3748;
}

.info-text {
    text-align: center;
    color: #718096;
    margin-bottom: 20px;
}

.analytics-placeholder {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.analytics-placeholder iframe {
    border: none;
    width: 100%;
}

.placeholder-text {
    text-align: center;
    padding: 20px;
    color: #718096;
    font-style: italic;
}

/* Subscription Section */
.subscription-section {
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.subscription-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subscription-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.subscription-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.subscription-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    color: #2d3748;
    position: relative;
    transition: transform 0.3s ease;
}

.subscription-card:hover {
    transform: scale(1.05);
}

.subscription-card.featured {
    border: 3px solid #fbbf24;
}

.subscription-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #fbbf24;
    color: #78350f;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.subscription-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.subscription-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.subscription-card p {
    color: #718096;
    margin-bottom: 20px;
}

.subscription-btn {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.one-time-btn {
    background: #667eea;
    color: white;
}

.one-time-btn:hover {
    background: #5568d3;
}

.daily-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.daily-btn:hover {
    opacity: 0.9;
}

/* Email Form */
.email-form {
    max-width: 500px;
    margin: 30px auto 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
}

.email-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.email-input:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn,
.cancel-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s ease;
}

.submit-btn {
    background: #667eea;
    color: white;
}

.submit-btn:hover {
    background: #5568d3;
}

.cancel-btn {
    background: #e2e8f0;
    color: #2d3748;
}

.cancel-btn:hover {
    background: #cbd5e0;
}

/* Premium Section with Blur */
.premium-stat {
    position: relative;
}

.blurred-value {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.premium-section-item {
    position: relative;
}

.premium-section-item .blurred-value {
    filter: blur(8px);
}

.comparison-section {
    position: relative;
}

/* Unlock Premium Section */
.unlock-premium-section {
    text-align: center;
    padding: 50px 40px;
    margin: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.unlock-premium-section h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.unlock-premium-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.premium-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.premium-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 35px;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 220px;
}

.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.one-time-payment {
    background: white;
    color: #667eea;
}

.one-time-payment:hover {
    background: #f8f9fa;
}

.daily-subscription {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-label {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.btn-price {
    font-size: 1.6rem;
    font-weight: 700;
}

.trend-up {
    color: #10b981;
}

.trend-down {
    color: #ef4444;
}

/* Footer */
footer {
    padding: 40px 20px 20px;
    text-align: center;
    background: #2d3748;
    color: white;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-community {
    max-width: 500px;
    margin: 0 auto;
}

.footer-community h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.telegram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.telegram-icon {
    font-size: 1.5rem;
}

.community-description {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .referral-section,
    .comparison-section,
    .subscription-section {
        padding: 20px;
    }

    .btn-icon {
        font-size: 2rem;
        margin-right: 15px;
    }

    .btn-content h3 {
        font-size: 1.2rem;
    }

    .premium-content h3 {
        font-size: 1.8rem;
    }

    .premium-buttons {
        flex-direction: column;
    }

    .premium-btn {
        min-width: 100%;
    }

    .ai-summary-section {
        padding: 25px;
    }

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

    .winner-announcement {
        font-size: 1rem;
    }

    .comparison-highlights {
        grid-template-columns: 1fr;
    }

    .ai-unlock-content {
        padding: 30px 25px;
    }

    .ai-unlock-content h4 {
        font-size: 1.5rem;
    }

    .unlock-icon {
        font-size: 2.5rem;
    }
}

/* Saved Access Links Section */
.saved-access-links-section {
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
}

.saved-access-links-section h2 {
    color: white;
}

.access-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.access-link-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.access-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.access-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.access-link-icon {
    font-size: 2rem;
}

.access-link-status {
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.access-link-body {
    margin-bottom: 20px;
}

.access-link-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.access-link-expiry {
    font-size: 1rem;
    color: #4a5568;
    margin: 5px 0;
}

.access-link-expiry-date {
    font-size: 0.9rem;
    color: #718096;
    margin: 5px 0;
}

.access-link-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.access-link-btn {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.access-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.access-link-copy-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.access-link-copy-btn:hover {
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .saved-access-links-section {
        padding: 20px;
    }

    .access-links-container {
        grid-template-columns: 1fr;
    }

    .access-link-actions {
        flex-direction: column;
    }

    .access-link-btn,
    .access-link-copy-btn {
        min-width: 100%;
    }
}
