/* =========================================================
   CRICKET STATION — COOKIE POLICY PAGE STYLES
   Prefix: ck- (Cookie)
   MAXIMUM SPECIFICITY — Bulletproof text visibility
========================================================= */

/* ---------- FORCE GLOBAL TEXT VISIBILITY ---------- */
html, body { color: #D1D5DB !important; }

.ck-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 ---------- */
.ck-hero {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ck-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.ck-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: grayscale(0.3);
}
.ck-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;
}
.ck-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 1.5rem;
}
.ck-breadcrumb {
    font-family: 'Cinzel', serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.3em !important;
    color: #D1D5DB !important;
    margin-bottom: 1.5rem !important;
}
.ck-breadcrumb a { color: #D1D5DB !important; transition: color 0.3s; }
.ck-breadcrumb a:hover { color: #C9A15A !important; }
.ck-breadcrumb span { color: #C9A15A !important; }

.ck-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;
}
.ck-hero-title span { color: #C9A15A !important; font-style: italic !important; }

.ck-hero-desc {
    color: #D1D5DB !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    max-width: 600px !important;
    margin: 0 auto 2rem !important;
}

.ck-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.ck-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);
}

.ck-manage-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;
}
.ck-manage-btn:hover {
    background: #C9A15A;
    color: #0D1B17 !important;
    border-color: #C9A15A;
}

/* ---------- SECTION 1.5: COOKIE CATEGORIES ---------- */
.ck-categories { padding: 5rem 0 3rem; }
.ck-section-header { margin-bottom: 4rem; }
.ck-title {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0.05em !important;
}
.ck-title span { color: #C9A15A !important; font-style: italic !important; }
.ck-desc {
    color: #D1D5DB !important;
    max-width: 600px !important;
    margin: 1.5rem auto 0 !important;
    line-height: 1.7 !important;
}

.ck-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.ck-cat-card {
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}
.ck-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: currentColor;
}
.ck-cat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201,161,90,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.ck-cat-essential { color: #7FB77E; }
.ck-cat-performance { color: #60A5FA; }
.ck-cat-functional { color: #C9A15A; }
.ck-cat-targeting { color: #E57373; }

.ck-cat-icon {
    width: 56px; height: 56px;
    margin-bottom: 1.25rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor !important;
    font-size: 1.25rem;
    transition: all 0.4s;
}
.ck-cat-card:hover .ck-cat-icon {
    background: currentColor;
    color: #0D1B17 !important;
    transform: rotate(360deg);
}

.ck-cat-badge {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    padding: 0.25rem 0.7rem;
    background: rgba(127,183,126,0.15);
    color: #7FB77E !important;
    border: 1px solid rgba(127,183,126,0.3);
    border-radius: 2px;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.ck-cat-toggle {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
}

.ck-cat-card h3 {
    font-family: 'Cinzel', serif !important;
    color: #F5F1E8 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.75rem !important;
}
.ck-cat-card p {
    color: #D1D5DB !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
}
.ck-cat-count {
    padding-top: 1rem;
    border-top: 1px solid rgba(143,106,53,0.2);
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    color: #D1D5DB !important;
}
.ck-cat-count span {
    font-family: 'Cinzel', serif !important;
    color: currentColor !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-right: 0.3rem;
}

/* Toggle Switch */
.ck-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}
.ck-switch input { opacity: 0; width: 0; height: 0; }
.ck-slider {
    position: absolute;
    inset: 0;
    background: rgba(143,106,53,0.3);
    border-radius: 24px;
    transition: 0.3s;
}
.ck-slider::before {
    content: '';
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: #D1D5DB;
    border-radius: 50%;
    transition: 0.3s;
}
.ck-switch input:checked + .ck-slider {
    background: currentColor;
}
.ck-switch input:checked + .ck-slider::before {
    transform: translateX(20px);
    background: #0D1B17;
}

/* ---------- MOBILE QUICK JUMP ---------- */
.ck-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;
}
.ck-mobile-toc-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1.5rem;
    scrollbar-width: none;
}
.ck-mobile-toc-track::-webkit-scrollbar { display: none; }
.ck-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;
}
.ck-mobile-toc-link.active,
.ck-mobile-toc-link:hover {
    background: #C9A15A;
    color: #0D1B17 !important;
    border-color: #C9A15A;
}

/* ---------- SECTION 2: MAIN LAYOUT ---------- */
.ck-main { padding: 5rem 0 8rem; }
.ck-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sidebar */
.ck-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;
}
.ck-sidebar::-webkit-scrollbar { width: 4px; }
.ck-sidebar::-webkit-scrollbar-thumb { background: rgba(201,161,90,0.3); border-radius: 2px; }

.ck-toc {
    background: #1A2B24;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 6px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}
.ck-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);
}
.ck-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.ck-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;
}
.ck-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;
}
.ck-toc-link:hover {
    color: #F5F1E8 !important;
    background: rgba(201,161,90,0.05);
}
.ck-toc-link.active {
    color: #C9A15A !important;
    background: rgba(201,161,90,0.08);
    border-left-color: #C9A15A;
}
.ck-toc-link.active span { color: #C9A15A !important; }

.ck-toc-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(143,106,53,0.2);
}
.ck-toc-scan {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(127,183,126,0.08);
    border: 1px solid rgba(127,183,126,0.2);
    border-radius: 4px;
}
.ck-toc-scan i {
    color: #7FB77E !important;
    font-size: 1.25rem;
}
.ck-toc-scan strong {
    display: block;
    color: #F5F1E8 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
}
.ck-toc-scan span {
    font-size: 0.7rem !important;
    color: #D1D5DB !important;
}

/* ---------- CONTENT AREA ---------- */
.ck-content {
    max-width: 800px;
    color: #D1D5DB !important;
}

.ck-section {
    margin-bottom: 5rem;
    position: relative;
    padding-left: 4rem;
    color: #D1D5DB !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.ck-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;
}

.ck-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 */
.ck-section > p,
.ck-content > .ck-section > p,
article.ck-section p,
.ck-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;
}

.ck-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;
}

.ck-list {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    color: #D1D5DB !important;
}
.ck-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;
}
.ck-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: #C9A15A;
    border-radius: 50%;
}
.ck-list li strong {
    color: #F5F1E8 !important;
    font-weight: 600 !important;
}

/* Callout Box */
.ck-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;
}
.ck-callout i {
    color: #C9A15A !important;
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.ck-callout p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #F5F1E8 !important;
}

/* Cookie Table */
.ck-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(143,106,53,0.2);
    border-radius: 6px;
    margin: 1.5rem 0;
}
.ck-table {
    width: 100%;
    border-collapse: collapse;
    color: #D1D5DB !important;
    font-size: 0.85rem !important;
}
.ck-table thead {
    background: rgba(201,161,90,0.08);
    border-bottom: 1px solid rgba(143,106,53,0.3);
}
.ck-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: 'Cinzel', serif !important;
    color: #C9A15A !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    font-weight: 600 !important;
}
.ck-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(143,106,53,0.1);
    color: #D1D5DB !important;
    vertical-align: middle;
}
.ck-table tbody tr:hover {
    background: rgba(201,161,90,0.03);
}
.ck-table tbody tr:last-child td {
    border-bottom: none;
}
.ck-table code {
    font-family: 'Courier New', monospace !important;
    background: rgba(201,161,90,0.1);
    color: #C9A15A !important;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    font-size: 0.8rem !important;
}

/* Tags */
.ck-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
    font-size: 0.65rem !important;
    letter-spacing: 0.15em !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 600 !important;
}
.ck-tag.essential {
    background: rgba(127,183,126,0.15);
    color: #7FB77E !important;
    border: 1px solid rgba(127,183,126,0.3);
}
.ck-tag.performance {
    background: rgba(96,165,250,0.15);
    color: #60A5FA !important;
    border: 1px solid rgba(96,165,250,0.3);
}
.ck-tag.functional {
    background: rgba(201,161,90,0.15);
    color: #C9A15A !important;
    border: 1px solid rgba(201,161,90,0.3);
}
.ck-tag.targeting {
    background: rgba(229,115,115,0.15);
    color: #E57373 !important;
    border: 1px solid rgba(229,115,115,0.3);
}

/* Consent CTA */
.ck-consent-cta {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(201,161,90,0.08), transparent);
    border: 1px solid rgba(201,161,90,0.2);
    border-radius: 6px;
    text-align: center;
}
.ck-manage-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 2.5rem;
    background: linear-gradient(135deg, #C9A15A, #8F6A35);
    border: 1px solid #C9A15A;
    border-radius: 2px;
    color: #0D1B17 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.25em !important;
    cursor: pointer;
    transition: all 0.4s;
}
.ck-manage-btn-large:hover {
    background: linear-gradient(135deg, #E3BE74, #C9A15A);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(201,161,90,0.3);
}
.ck-manage-btn-large i:last-child {
    transition: transform 0.4s;
}
.ck-manage-btn-large:hover i:last-child {
    transform: translateX(4px);
}

/* Contact Card */
.ck-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;
}
.ck-contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    color: #D1D5DB !important;
}
.ck-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;
}
.ck-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;
}
.ck-contact-item p,
.ck-contact-item a {
    color: #D1D5DB !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    text-decoration: none;
    transition: color 0.3s;
}
.ck-contact-item a:hover { color: #C9A15A !important; }

.ck-related {
    margin-top: 2rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(143,106,53,0.2);
    font-size: 0.85rem !important;
    color: #D1D5DB !important;
}
.ck-related a {
    color: #C9A15A !important;
    text-decoration: none;
    transition: color 0.3s;
}
.ck-related a:hover { color: #E3BE74 !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .ck-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ck-sidebar { display: none; }
    .ck-mobile-toc { display: block; }
    .ck-section { padding-left: 3rem; }
    .ck-section-num { font-size: 2rem; }
    .ck-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ck-hero { height: 45vh; min-height: 380px; }
    .ck-main { padding: 3rem 0 5rem; }
    .ck-section { padding-left: 0; margin-bottom: 3.5rem; }
    .ck-section-num {
        position: relative;
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
        color: rgba(201,161,90,0.4) !important;
    }
    .ck-section-title { font-size: 1.4rem !important; }
    .ck-mobile-toc { top: 70px; }
    .ck-cat-grid { grid-template-columns: 1fr; }
    .ck-hero-actions { flex-direction: column; }
    .ck-table th, .ck-table td { padding: 0.75rem; font-size: 0.75rem !important; }
}