/**
 * Prediction Markets Page Styles
 * LightningFaucet.com
 */

/* Prediction Landing Page */
.predict-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(247, 147, 26, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
}

/* Hero Section */
.predict-hero {
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.predict-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.predict-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.predict-title .highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.predict-subtitle {
    font-size: 1.25rem;
    color: #8b949e;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Stats Row */
.predict-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.predict-stat {
    text-align: center;
}

.predict-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.predict-stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Markets Grid */
.markets-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.market-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.market-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
}

.market-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.market-icon svg {
    width: 24px;
    height: 24px;
    fill: #3b82f6;
}

.market-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.market-desc {
    color: #8b949e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.market-example {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #3b82f6;
}

/* DLC Section */
.dlc-section {
    padding: 4rem 1.5rem;
    background: rgba(59, 130, 246, 0.03);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.dlc-explainer {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.dlc-step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dlc-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dlc-step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.dlc-step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.dlc-step-content p {
    color: #8b949e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.dlc-step-content strong {
    color: #3b82f6;
}

.dlc-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.dlc-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b949e;
    font-size: 0.9rem;
}

.dlc-benefit-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.dlc-benefit-icon svg {
    width: 16px;
    height: 16px;
    fill: #3b82f6;
}

.dlc-benefit strong {
    color: #fff;
}

/* Why Lightning Section */
.why-section {
    padding: 4rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.why-item.problem {
    opacity: 0.7;
}

.why-item.solution {
    border-color: rgba(247, 147, 26, 0.3);
    background: rgba(247, 147, 26, 0.05);
}

.why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.why-icon svg {
    width: 24px;
    height: 24px;
    fill: #666;
}

.why-item.solution .why-icon {
    background: rgba(247, 147, 26, 0.1);
}

.why-item.solution .why-icon svg {
    fill: #f7931a;
}

.why-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.why-desc {
    font-size: 0.9rem;
    color: #666;
}

.why-item.solution .why-title {
    color: #f7931a;
}

.why-item.solution .why-desc {
    color: #8b949e;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: #8b949e;
    margin-bottom: 2rem;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.email-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.email-form input[type="email"]::placeholder {
    color: #555;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
}

.email-form button {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.email-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-message.success { color: #22c55e; }
.form-message.error { color: #ef4444; }

.privacy-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .predict-hero {
        padding: 4rem 1rem 3rem;
    }

    .predict-stats {
        gap: 2rem;
    }

    .dlc-benefits {
        flex-direction: column;
        align-items: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form button {
        width: 100%;
    }
}
