
/* ===== WRAPPER ===== */
.terms-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.terms-wrap::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(218, 25, 89, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(249, 144, 81, 0.06) 0%, transparent 35%);
}

/* ===== MAIN BOX ===== */
.terms-box {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}



/* ===== MAIN CONTENT ===== */
.terms-main {
    flex: 1;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
}

/* Header */
.terms-top {
    text-align: center;
    margin-bottom: 25px;
}

.terms-icon-main {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(218, 25, 89, 0.1), rgba(249, 144, 81, 0.08));
    border: 1px solid rgba(218, 25, 89, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #da1959;
    font-size: 32px;
}

.terms-top h1 {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.terms-top p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Intro */
.terms-intro {
    background: linear-gradient(135deg, rgba(218, 25, 89, 0.06), rgba(249, 144, 81, 0.04));
    border: 1px solid rgba(218, 25, 89, 0.12);
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 25px;
}

.terms-intro p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.terms-intro strong {
    color: #da1959;
}

/* Sections Container */
.terms-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

/* Cards */
.terms-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
}

.terms-card:hover {
    border-color: rgba(218, 25, 89, 0.3);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.card-num {
    font-size: 13px;
    font-weight: 700;
    color: #da1959;
    padding: 4px 10px;
    background: rgba(218, 25, 89, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.card-header h3 {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.card-body {
    padding: 8px;
}

.rule-block {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
}

.rule-block:last-child {
    border-bottom: none;
}

.rule-block p {
    margin: 0;
}

.rule-block strong {
    color: #1e293b;
    font-weight: 600;
}

.rule-highlight {
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid #f59e0b;
    margin: 4px 0;
    border-radius: 0 8px 8px 0;
}

/* Final Card */
.terms-card-final {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-color: transparent;
}

.terms-card-final .card-header {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.terms-card-final .card-num {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.terms-card-final h3 {
    color: white;
}

.terms-card-final .card-body {
    color: #cbd5e1;
}

.card-body-center {
    text-align: center;
    padding: 24px;
}

.card-body-center p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.7;
}

.accept-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #86efac;
}

.accept-check i {
    font-size: 18px;
}

/* Bottom Info */
.terms-foot {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.terms-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.terms-item i {
    color: #da1959;
    font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .terms-wrap {
        padding: 20px 15px;
    }
    
    .terms-main {
        padding: 25px;
    }
    
    .card-header {
        flex-wrap: wrap;
    }
    
    .card-header h3 {
        font-size: 14px;
    }
    
    .terms-foot {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        border-radius: 20px;
    }
}
