/* ========== GLOBAL RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #e8edf2 0%, #dce3ec 100%);
    min-height: 100vh;
    padding: 40px 24px;
    color: #1e2a3a;
}

/* ========== HEADING SECTION ========== */
body > div:first-of-type {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

body > div:first-of-type h1 {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3c4c, #2a5f6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

body > div:first-of-type p {
    font-size: 18px;
    line-height: 1.6;
    color: #2c4a5e;
    max-width: 750px;
    margin: 0 auto;
}

/* ========== HR STYLING (Modern Gold/Bronze Accent) ========== */
hr {
    margin: 40px auto;
    border: none;
    height: 2px;
    max-width: 1200px;
    background: linear-gradient(90deg, transparent, #c9a03d, #e2b85c, #c9a03d, transparent);
}

/* ========== CHANNEL CARDS ========== */
.channel-card {
    max-width: 550px;
    width: 90%;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 32px 32px 40px;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(201, 160, 61, 0.2);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    backdrop-filter: blur(2px);
}

.channel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 56px -20px rgba(0, 0, 0, 0.18);
    border-color: rgba(201, 160, 61, 0.45);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    border-bottom: 2px solid #c9a03d;
    padding-bottom: 18px;
}

.card-header h2 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3c4c, #2a5f6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    margin: 0;
}

.channel-icon {
    font-size: 34px;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 24px 0;
}

.feature-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    font-size: 16px;
    color: #2a4458;
    border-bottom: 1px solid #f0e7dc;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.45;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c9a03d;
    font-weight: bold;
    font-size: 18px;
}

/* Time Badges */
.time-badge {
    background: #fef5e8;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #2d5a68;
    border-left: 3px solid #c9a03d;
}

/* Rule Notice */
.rule-notice {
    background: #f9f2e6;
    padding: 14px 18px;
    border-radius: 20px;
    margin: 20px 0 16px;
    font-size: 14px;
    color: #5e4e32;
    border-left: 4px solid #c9a03d;
    font-weight: 500;
}

/* Join Button */
.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3c4c, #2a5f6b);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.join-btn:hover {
    background: linear-gradient(135deg, #2a5f6b, #1e3c4c);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    color: #ffe1a0;
}

.join-btn:active {
    transform: translateY(1px);
}

/* ========== BOTTOM TIPS SECTION ========== */
body > div:last-of-type {
    max-width: 900px;
    margin: 40px auto 20px auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 20px 30px;
    border: 1px solid rgba(201, 160, 61, 0.2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

body > div:last-of-type ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

body > div:last-of-type ul li {
    background: #fefaf2;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #1e3c4c;
    border-left: 3px solid #c9a03d;
    transition: all 0.2s ease;
}

body > div:last-of-type ul li:hover {
    transform: translateY(-2px);
    background: #fffdf7;
    border-left-color: #2e6b5c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Remove extra <br> and <hr> inside tips (cleanup) */
body > div:last-of-type ul li br,
body > div:last-of-type ul li hr {
    display: none;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    body {
        padding: 24px 16px;
    }
    body > div:first-of-type h1 {
        font-size: 32px;
    }
    body > div:first-of-type p {
        font-size: 16px;
        padding: 0 12px;
    }
    .channel-card {
        width: 95%;
        padding: 24px 24px 32px;
    }
    .card-header h2 {
        font-size: 24px;
    }
    .feature-list li {
        font-size: 14px;
        padding: 10px 0 10px 26px;
    }
    body > div:last-of-type {
        padding: 16px 20px;
    }
    body > div:last-of-type ul li {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    body > div:first-of-type h1 {
        font-size: 28px;
    }
    .time-badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    .rule-notice {
        font-size: 12px;
    }
    .join-btn {
        font-size: 13px;
        padding: 12px 20px;
    }
}

/* ========== SCROLLBAR (subtle gold) ========== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2c5e6e, #1e3c4c);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a03d;
}

::selection {
    background: rgba(201, 160, 61, 0.3);
    color: #1e3c4c;
}