﻿/* Staking Page - Amber/Gold Theme (page-specific styles only) */

/* Theme Color Overrides */
:root {
    --primary-color: #f59e0b;
    --secondary-color: #fbbf24;
    --dark-color: #d97706;
    --light-color: #fde68a;
    --accent-color: #b45309;
}

/* Hero */
.hero {
    border-top: 3px solid #f59e0b;
    background: linear-gradient(135deg,
            rgba(245, 158, 11, 0.08) 0%,
            rgba(2, 6, 23, 0.98) 60%,
            rgba(180, 83, 9, 0.06) 100%),
        #020617;
    position: relative;
    overflow: hidden;
    padding: calc(125px + 2rem) 1rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.05'%3E%3Cpath d='M30 30l-10-10v20l10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: slideInFromTop 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: slideInFromTop 1s ease-out 0.5s both;
    color: #fbbf24;
    font-weight: 600;
}

.hero-date {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #cbd5e1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
    animation: slideInFromTop 1s ease-out 0.7s both;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: slideInFromTop 1s ease-out 0.1s both;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    animation: slideInFromTop 1s ease-out 0.9s both;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(203, 213, 225, 0.7);
    font-size: 0.875rem;
}

.article-meta-item i { color: #f59e0b; font-size: 0.8rem; }

#reading-progress { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.section-header h2 i { color: #f59e0b; }

.toc-link:hover, .toc-link.active { color: #f59e0b; }
.toc-link:hover::before,
.toc-link.active::before { color: #f59e0b; }
.toc-title i { color: #f59e0b; }

/* Asset Cards */
.asset-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 1.5rem 0;
}

.asset-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.asset-card:hover { border-color: rgba(245,158,11,0.5); transform: translateY(-3px); }
.asset-card img { width: 56px; height: 56px; margin-bottom: 12px; }
.asset-card h4 { color: #f59e0b; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.asset-card .desc { color: #94a3b8; font-size: 0.87rem; line-height: 1.6; margin-bottom: 14px; }
.asset-card .apy { font-size: 1.9rem; font-weight: 800; color: #f59e0b; line-height: 1; }
.asset-card .apy-label { font-size: 0.75rem; color: #64748b; margin-top: 4px; }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 1.5rem 0;
}

.step-card {
    text-align: center;
    padding: 22px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(245,158,11,0.1);
    border-radius: 12px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.step-card h5 { color: #e2e8f0; font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.step-card p { color: #64748b; font-size: 0.86rem; line-height: 1.6; margin: 0; }

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 1.5rem 0;
}

.benefit-card {
    text-align: center;
    padding: 26px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(245,158,11,0.15);
    border-radius: 14px;
    transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover { border-color: rgba(245,158,11,0.4); transform: translateY(-3px); }
.benefit-card h5 { color: #e2e8f0; font-size: 0.93rem; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { color: #64748b; font-size: 0.84rem; line-height: 1.6; margin: 0; }

.comparison-table-wrapper {
    margin: 1.5rem 0;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.comparison-table th {
    background: rgba(245, 158, 11, 0.08);
    color: #f8fafc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comparison-table td {
    color: #94a3b8;
    font-size: 0.92rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 1.5rem 0;
}

.info-card {
    padding: 22px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(245,158,11,0.14);
}

.info-card h4 {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.section-inline-links {
    margin-top: 1.25rem;
    color: #cbd5e1;
}

.section-inline-links a {
    color: #f59e0b;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-inline-links a:hover {
    color: #fbbf24;
}

/* Disclaimer */
.disclaimer-box {
    background: rgba(245,158,11,0.06);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 12px;
    padding: 18px 24px;
    margin: 1.5rem 0 0;
}

.disclaimer-box p { color: #94a3b8; font-size: 0.83rem; margin: 0; line-height: 1.7; }

/* CTA */
.staking-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(180,83,9,0.06));
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 16px;
    padding: 40px 32px;
    margin: 1.5rem 0;
}

.staking-cta h3 { color: #f1f5f9; font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.staking-cta p { color: #94a3b8; font-size: 0.97rem; margin-bottom: 24px; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 13px 34px;
    border-radius: 8px;
    background: #f59e0b;
    border: none;
    color: #020617;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-btn:hover { background: #fbbf24; color: #020617; text-decoration: none; }

/* Responsive */
@media (max-width: 992px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
    .hero-subtitle { font-size: 1rem; }
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .asset-cards-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .info-cards-grid { grid-template-columns: 1fr; }
    .staking-cta { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .asset-cards-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .comparison-table th,
    .comparison-table td { padding: 12px 14px; font-size: 0.85rem; }
    .staking-cta h3 { font-size: 1.25rem; }
}

.term-notice,
.section-content p.term-notice {
    color: #f59e0b;
    font-weight: 600;
}

.icon-amber {
    color: #f59e0b;
    margin-right: 8px;
}

.toc-link-cta {
    color: #f59e0b;
}