/* News Page Specific Styles - Matched to Welcome Page Light Theme */
:root {
    --teal: #0077b6;
    --dark-teal: #005f87;
    --gold: #CBA135;
    --orange: #0077b6;
}

.page-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
    text-align: center;
    letter-spacing: 0.3px;
}

/* HEADER STYLE */
.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 12px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 180, 216, 0.15);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.back-btn {
    display: flex;
    align-items: center;
    color: var(--bg-cyan-dark);
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* BANNER */
.banner {
    margin: 12px 14px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: url('/apk/photo_2026-07-08_00-21-00.jpg') center center/cover;
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #fff;
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.4));
    z-index: 0;
}
.banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.banner-icon {
    font-size: 32px;
}
.banner-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}
.banner-date {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
}

/* CONTENT */
.news-container {
    padding: 14px;
}
.announcement-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 180, 216, 0.15);
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.announcement-text {
    font-size: 12px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 12px;
    font-weight: 600;
}

.highlight-box {
    background: var(--bg-cyan-light);
    border-left: 4px solid var(--teal);
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 12px;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
}
.feature-item i {
    color: var(--teal);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.feature-item span {
    flex: 1;
    line-height: 1.4;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 12px;
}
.commission-table th {
    background: linear-gradient(135deg, var(--bg-cyan), var(--bg-cyan-dark));
    color: #fff;
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(0, 180, 216, 0.15);
}
.commission-table td {
    padding: 10px;
    border: 1px solid rgba(0, 180, 216, 0.15);
    color: var(--text-dark);
    font-weight: 600;
}
.commission-table td:first-child {
    font-weight: 700;
    color: var(--teal);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
}
.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-dark);
    padding: 10px;
    background: var(--bg-cyan-light);
    border-radius: 8px;
    border: 1px solid rgba(0, 180, 216, 0.1);
}
.rule-item i {
    color: var(--teal);
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}
.rule-item span {
    flex: 1;
    line-height: 1.5;
}

.cta-button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--bg-cyan) 0%, var(--bg-cyan-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.25);
    transition: all .2s;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cta-button:active {
    transform: scale(.96);
}

.footer-info {
    background: var(--bg-cyan-light);
    border-radius: 12px;
    padding: 14px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.6;
    border: 1px solid rgba(0, 180, 216, 0.15);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.15), transparent);
    margin: 14px 0;
}
