/* =========================================================
   CRICKET STATION — TERMS & CONDITIONS PAGE STYLES
   Prefix: tc- (Terms & Conditions)
   MAXIMUM SPECIFICITY — Bulletproof text visibility
========================================================= */

/* ---------- FORCE GLOBAL TEXT VISIBILITY ---------- */
html, body { color: #D1D5DB !important; }

.tc-label {
    font-family: 'Cinzel', serif !important;
    color: #C9A15A !important;
    letter-spacing: 0.4em !important;
    font-size: 0.75rem !important;
    margin-bottom: 1rem !important;
}

/* ---------- SECTION 1: HERO ---------- */
.tc-hero {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.tc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.tc-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: grayscale(0.3);
}
.tc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,27,23,0.75) 0%, rgba(13,27,23,0.95) 100%);
    z-index: 2;
}
.tc-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 1.5rem;
}
.tc-breadcrumb {
    font-family: 'Cinzel', serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.3em !important;
    color: #D1D5DB !important;
    margin-bottom: 1.5rem !important;
}
.tc-breadcrumb a { color: #D1D5DB !important; transition: color 0.3s; }
.tc-breadcrumb a:hover { color: #C9A15A !important; }
.tc-breadcrumb span { color: #C9A15A !important; }

.tc-hero-title {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 1rem !important;
}
.tc-hero-title span { color: #C9A15A !important; font-style: italic !important; }

.tc-hero-desc {
    color: #D1D5DB !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    max-width: 600px !important;
    margin: 0 auto 2rem !important;
}

.tc-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tc-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(26,43,36,0.8);
    border: 1px solid rgba(201,161,90,0.3);
    border-radius: 2px;
    color: #C9A15A !important;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    backdrop-filter: blur(10px);
}

.tc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(201,161,90,0.4);
    color: #F5F1E8 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.4s;
}
.tc-download-btn:hover {
    background: #C9A15A;
    color: #0D1B17 !important;
    border-color: #C9A15A;
}

/* ---------- SECTION 1.5: KEY TERMS SUMMARY ---------- */
.tc-summary { padding: 4rem 0 2rem; }
.tc-summary-card {
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.25);
    border-radius: 6px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.tc-summary-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #C9A15A, transparent);
}
.tc-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(143,106,53,0.2);
}
.tc-summary-title {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: 1.5rem !important;
    letter-spacing: 0.05em !important;
    margin-top: 0.5rem !important;
}
.tc-summary-title span { color: #C9A15A !important; font-style: italic !important; }
.tc-summary-icon {
    width: 50px; height: 50px;
    border: 1px solid #C9A15A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A15A !important;
    font-size: 1.1rem;
}
.tc-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.tc-summary-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.tc-summary-num {
    font-family: 'Cinzel', serif !important;
    color: #C9A15A !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    min-width: 40px;
}
.tc-summary-item h4 {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.3rem !important;
}
.tc-summary-item p {
    color: #D1D5DB !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
}

/* ---------- MOBILE QUICK JUMP ---------- */
.tc-mobile-toc {
    display: none;
    position: sticky;
    top: 75px;
    z-index: 40;
    background: rgba(13,27,23,0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(143,106,53,0.2);
    padding: 0.75rem 0;
}
.tc-mobile-toc-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1.5rem;
    scrollbar-width: none;
}
.tc-mobile-toc-track::-webkit-scrollbar { display: none; }
.tc-mobile-toc-link {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(143,106,53,0.3);
    border-radius: 2px;
    color: #D1D5DB !important;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.tc-mobile-toc-link.active,
.tc-mobile-toc-link:hover {
    background: #C9A15A;
    color: #0D1B17 !important;
    border-color: #C9A15A;
}

/* ---------- SECTION 2: MAIN LAYOUT ---------- */
.tc-main { padding: 5rem 0 8rem; }
.tc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sidebar */
.tc-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,161,90,0.3) transparent;
}
.tc-sidebar::-webkit-scrollbar { width: 4px; }
.tc-sidebar::-webkit-scrollbar-thumb { background: rgba(201,161,90,0.3); border-radius: 2px; }

.tc-toc {
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 6px;
    padding: 2rem 1.5rem;
}
.tc-toc-title {
    font-family: 'Cinzel', serif !important;
    color: #C9A15A !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.3em !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(143,106,53,0.2);
}
.tc-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.tc-toc-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    color: #D1D5DB !important;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: all 0.3s;
    border-left: 2px solid transparent;
}
.tc-toc-link span {
    font-family: 'Cinzel', serif !important;
    color: rgba(201,161,90,0.4) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    min-width: 20px;
}
.tc-toc-link:hover {
    color: #F5F1E8 !important;
    background: rgba(201,161,90,0.05);
}
.tc-toc-link.active {
    color: #C9A15A !important;
    background: rgba(201,161,90,0.08);
    border-left-color: #C9A15A;
}
.tc-toc-link.active span { color: #C9A15A !important; }

/* ---------- CONTENT AREA ---------- */
.tc-content {
    max-width: 800px;
    color: #D1D5DB !important;
}

.tc-section {
    margin-bottom: 5rem;
    position: relative;
    padding-left: 4rem;
    color: #D1D5DB !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.tc-section-num {
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Cinzel', serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: rgba(201,161,90,0.15) !important;
    line-height: 1 !important;
}

.tc-section-title {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: 1.75rem !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(143,106,53,0.2);
}

/* ULTRA-SPECIFIC PARAGRAPH SELECTORS */
.tc-section > p,
.tc-content > .tc-section > p,
article.tc-section p,
.tc-content article p {
    color: #D1D5DB !important;
    line-height: 1.8 !important;
    margin-bottom: 1.25rem !important;
    font-size: 0.95rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tc-subtitle {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.05em !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.tc-list {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    color: #D1D5DB !important;
}
.tc-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #D1D5DB !important;
    line-height: 1.7 !important;
    font-size: 0.95rem !important;
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.tc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: #C9A15A;
    border-radius: 50%;
}
.tc-list li strong {
    color: #F5F1E8 !important;
    font-weight: 600 !important;
}

/* Callout Box */
.tc-callout {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(201,161,90,0.05);
    border-left: 3px solid #C9A15A;
    border-radius: 0 4px 4px 0;
    margin-bottom: 1.5rem;
    color: #D1D5DB !important;
}
.tc-callout-warning {
    background: rgba(229,115,115,0.05);
    border-left-color: #E57373;
}
.tc-callout i {
    color: #C9A15A !important;
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.tc-callout-warning i { color: #E57373 !important; }
.tc-callout p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #F5F1E8 !important;
}

/* Contact Card */
.tc-contact-card {
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    color: #D1D5DB !important;
}
.tc-contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    color: #D1D5DB !important;
}
.tc-contact-item i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(201,161,90,0.1);
    border: 1px solid rgba(201,161,90,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A15A !important;
    font-size: 1rem;
}
.tc-contact-item h4 {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.3rem !important;
}
.tc-contact-item p,
.tc-contact-item a {
    color: #D1D5DB !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    text-decoration: none;
    transition: color 0.3s;
}
.tc-contact-item a:hover { color: #C9A15A !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .tc-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .tc-sidebar { display: none; }
    .tc-mobile-toc { display: block; }
    .tc-section { padding-left: 3rem; }
    .tc-section-num { font-size: 2rem; }
    .tc-summary-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 768px) {
    .tc-hero { height: 45vh; min-height: 380px; }
    .tc-main { padding: 3rem 0 5rem; }
    .tc-section { padding-left: 0; margin-bottom: 3.5rem; }
    .tc-section-num {
        position: relative;
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
        color: rgba(201,161,90,0.4) !important;
    }
    .tc-section-title { font-size: 1.4rem !important; }
    .tc-mobile-toc { top: 70px; }
    .tc-summary-card { padding: 1.75rem; }
    .tc-summary-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .tc-summary-header { flex-direction: column; gap: 1rem; }
    .tc-hero-actions { flex-direction: column; }
}