/* 홈 화면과 동일한 배경 및 전체 레이아웃 스타일 적용 */
* {
    box-sizing: border-box;
}

body {
    background-color: #d5d8df;
    background-image: radial-gradient(circle at 50% 0%, #d3d7e4 0%, #d6dce7 60%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
}

.staking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 히어로 섹션 */
.staking-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 11, 240, 0.1);
    color: #f0b90b;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(240, 185, 11, 0.3);
    margin-bottom: 20px;
}

.staking-hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.staking-hero h1 span {
    color: #f0b90b;
}

.staking-hero p {
    font-size: 16px;
    color: #848e9c;
    line-height: 1.6;
    margin: 0;
}

/* 핵심 특징 3가지 배너 */
.core-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .core-features {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    background: #1e2c58;
    border: 1px solid #2b313a;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13.5px;
    color: #848e9c;
    line-height: 1.5;
    margin: 0;
}

/* 상품 플랜 섹션 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 14px;
    color: #848e9c;
    margin: 5px 0 0 0;
}

.snapshot-badge {
    font-size: 12px;
    color: #f0b90b;
    background: rgba(26, 11, 240, 0.1);
    border: 1px solid rgba(240, 185, 11, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
}

/* 1단: 금액 구간별 자유형 스테이킹 카드 (5열) */
.tier-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .tier-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .tier-card-grid {
        grid-template-columns: 1fr;
    }
}

.tier-card {
    background: #181a20;
    border: 1px solid #2b313a;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tier-card:hover {
    border-color: #f0b90b;
    transform: translateY(-4px);
}

.tier-card.best {
    border: 2px solid #f0b90b;
    background: linear-gradient(180deg, #181a20 0%, #1f232d 100%);
}

.tier-badge-best {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f0b90b;
    color: #0b0e14;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 10px;
}

.tier-range {
    font-size: 13px;
    color: #848e9c;
    margin-bottom: 12px;
    font-weight: 600;
}

.tier-rate {
    font-size: 28px;
    font-weight: 800;
    color: #f0b90b;
    margin-bottom: 2px;
}

.tier-rate-sub {
    font-size: 12px;
    color: #848e9c;
    margin-bottom: 16px;
}

.tier-lock {
    font-size: 12px;
    color: #b7bdc6;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2b313a;
}

.tier-sim {
    background: rgba(2, 177, 40, 0.08);
    border: 1px solid rgba(2, 177, 40, 0.2);
    border-radius: 8px;
    padding: 8px;
    font-size: 11.5px;
    color: #02b128;
    font-weight: 700;
}

/* 2단: 잔액 구간별 일 수익률 테이블형 그리드 */
.rate-detail-section {
    background: #181a20;
    border: 1px solid #2b313a;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
}

.rate-detail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
    .rate-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .rate-detail-grid {
        grid-template-columns: 1fr;
    }
}

.rate-col {
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid #2b313a;
    border-bottom: 1px solid #2b313a;
}

.rate-detail-grid .rate-col:nth-of-type(5n) {
    border-right: none;
}

@media (max-width: 1024px) {
    .rate-detail-grid .rate-col:nth-of-type(5n) {
        border-right: 1px solid #2b313a;
    }
    .rate-detail-grid .rate-col:nth-of-type(2n) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .rate-col {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 16px 20px;
        border-right: none !important;
    }
    .rate-col:last-child {
        border-bottom: none;
    }
    .col-range {
        margin-bottom: 0;
        font-size: 13px;
        flex: 1;
    }
    .rate-col-right {
        text-align: right;
    }
    .col-daily {
        display: inline-block;
        font-size: 18px;
        margin-bottom: 0;
    }
    .col-unit {
        display: inline-block;
        margin-bottom: 0;
        font-size: 11px;
    }
    .col-monthly {
        font-size: 12px;
        display: inline-block;
        margin-right: 6px;
        margin-bottom: 0;
    }
    .col-yearly {
        font-size: 12px;
        display: inline-block;
        margin-bottom: 0;
    }
}

.rate-col.highlight-col {
    background: rgba(240, 185, 11, 0.03);
}

.col-range {
    font-size: 12px;
    color: #848e9c;
    margin-bottom: 10px;
    font-weight: 600;
}

.col-daily {
    font-size: 24px;
    font-weight: 800;
    color: #f0b90b;
    margin-bottom: 2px;
}

.col-unit {
    font-size: 11px;
    color: #848e9c;
    margin-bottom: 16px;
}

.col-monthly {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 4px;
}

.col-yearly {
    font-size: 13px;
    color: #02b128;
    font-weight: 700;
}

/* 하단 CTA 섹션 */
.cta-banner {
    background: linear-gradient(135deg, #181a20 0%, #121d36 100%);
    border: 1px solid #2b313a;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 15px;
    color: #848e9c;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-connect-wallet {
    display: inline-block;
    background: #f0b90b;
    color: #0b0e14;
    font-size: 16px;
    font-weight: 800;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(240, 185, 11, 0.2);
    transition: transform 0.2s, background 0.2s;
}

.btn-connect-wallet:hover {
    transform: translateY(-2px);
    background: #d9a505;
}