/* =============================================
   TCI Summit Programme – Stylesheet
   Design: Dark cosmic / deep blue with electric accents
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --tci-bg:          #06071a;
    --tci-surface:     #0d1133;
    --tci-surface2:    #111640;
    --tci-border:      rgba(99,120,255,.18);
    --tci-electric:    #4f6cff;
    --tci-violet:      #8b5cf6;
    --tci-cyan:        #22d3ee;
    --tci-gold:        #f59e0b;
    --tci-text:        #e2e8f0;
    --tci-muted:       #7b8ab8;
    --tci-radius:      14px;
    --tci-radius-sm:   8px;
    --tci-shadow:      0 4px 32px rgba(79,108,255,.12);

    /* slot type colours */
    --c-keynote:    #4f6cff;
    --c-panel:      #8b5cf6;
    --c-talk:       #22d3ee;
    --c-networking: #10b981;
    --c-break:      #64748b;
    --c-showcase:   #f59e0b;
}

/* ---------- Wrapper ---------- */
.tci-summit-wrapper {
    font-family: 'DM Sans', sans-serif;
    background: var(--tci-bg);
    color: var(--tci-text);
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 80px rgba(79,108,255,.15);
}

/* ---------- Header ---------- */
.tci-header {
    background: linear-gradient(135deg, #0a0e35 0%, #1a0a3e 40%, #061530 100%);
    text-align: center;
    padding: 56px 32px 48px;
    position: relative;
    overflow: hidden;
}
.tci-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 50% 0%,   rgba(79,108,255,.25) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%,  rgba(139,92,246,.18) 0%, transparent 60%);
    pointer-events: none;
}
.tci-header__badge {
    display: inline-block;
    border: 1px solid rgba(79,108,255,.5);
    border-radius: 999px;
    padding: 6px 20px;
    /* font-size: .78rem; */
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.tci-header__title {
    font-family: 'Syne', sans-serif;
    /* font-size: clamp(2.4rem, 7vw, 4.2rem); */
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 16px;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 70%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tci-header__title span {
    font-weight: 400;
    font-style: italic;
    display: block;
    /* font-size: .65em; */
    background: linear-gradient(135deg, #a5b4fc 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tci-header__dates {
    color: var(--tci-muted);
    /* font-size: .95rem; */
    margin: 0 0 20px;
    letter-spacing: .04em;
}
.tci-header__link {
    display: inline-block;
    border: 1px solid rgba(79,108,255,.45);
    border-radius: 999px;
    padding: 8px 24px;
    color: #a5b4fc;
    text-decoration: none;
    /* font-size: .82rem; */
    transition: all .25s;
    backdrop-filter: blur(4px);
}
.tci-header__link:hover {
    background: rgba(79,108,255,.2);
    color: #fff;
}

/* ---------- Tabs ---------- */
.tci-tabs {
    display: flex;
    background: var(--tci-surface);
    border-bottom: 1px solid var(--tci-border);
    padding: 0 24px;
    gap: 4px;
}
.tci-tab {
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 16px 16px;
    color: var(--tci-muted);
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    position: relative;
    transition: color .2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.tci-tab:hover { color: var(--tci-text); }
.tci-tab--active {
    color: #fff;
    border-bottom-color: var(--tci-electric);
}
.tci-tab__label {
    display: block;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    /* font-size: 1.1rem; */
    letter-spacing: .04em;
}
.tci-tab__date {
    display: block;
    /* font-size: .75rem; */
    margin-top: 3px;
    color: inherit;
    opacity: .7;
}

/* ---------- Legend ---------- */
.tci-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 28px;
    background: var(--tci-surface);
    border-bottom: 1px solid var(--tci-border);
}
.tci-legend__item {
    /* font-size: .72rem; */
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 500;
}
.tci-legend__item--keynote    { background: rgba(79,108,255,.18);  color: #818cf8; }
.tci-legend__item--panel      { background: rgba(139,92,246,.18);  color: #c4b5fd; }
.tci-legend__item--talk       { background: rgba(34,211,238,.18);  color: #67e8f9; }
.tci-legend__item--networking { background: rgba(16,185,129,.18);  color: #6ee7b7; }
.tci-legend__item--break      { background: rgba(100,116,139,.18); color: #94a3b8; }
.tci-legend__item--showcase   { background: rgba(245,158,11,.18);  color: #fcd34d; }

/* ---------- Day panel ---------- */
.tci-day { display: none; }
.tci-day--active { display: block; }

/* ---------- Timeline ---------- */
.tci-timeline {
    padding: 32px 28px 40px;
    background: var(--tci-bg);
    position: relative;
}
.tci-timeline::before {
    content: '';
    position: absolute;
    left: calc(28px + 130px + 20px + 12px);  /* time width + gap + dot-half */
    top: 32px;
    bottom: 40px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--tci-border) 8%, var(--tci-border) 92%, transparent);
}

/* ---------- Slot ---------- */
.tci-slot {
    display: grid;
    grid-template-columns: 130px 24px 1fr;
    gap: 0 20px;
    align-items: start;
    margin-bottom: 8px;
    animation: tci-fade-up .4s ease both;
    animation-delay: calc(var(--i) * .045s);
}
@keyframes tci-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* Time */
.tci-slot__time {
    text-align: right;
    /* font-size: .73rem; */
    font-weight: 500;
    color: var(--tci-muted);
    padding-top: 18px;
    line-height: 1.3;
    letter-spacing: .01em;
}

/* Dot column */
.tci-slot__dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}
.tci-slot__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* font-size: 1rem; */
    border: 2px solid var(--slot-color, var(--tci-electric));
    background: var(--tci-bg);
    position: relative;
    z-index: 1;
    margin-top: 10px;
    box-shadow: 0 0 14px var(--slot-color, var(--tci-electric)), 0 0 0 4px var(--tci-bg);
    transition: transform .2s;
}
.tci-slot:hover .tci-slot__icon { transform: scale(1.12); }

/* Connector line between dots */
.tci-slot__dot::after {
    content: '';
    flex: 1;
    width: 1px;
    background: var(--tci-border);
    min-height: 16px;
}
.tci-slot:last-child .tci-slot__dot::after { display: none; }

/* Content card */
.tci-slot__content {
    background: var(--tci-surface);
    border: 1px solid var(--tci-border);
    border-left: 3px solid var(--slot-color, var(--tci-electric));
    border-radius: var(--tci-radius-sm);
    padding: 14px 18px 12px;
    margin-bottom: 12px;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.tci-slot__content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.025) 0%, transparent 60%);
    pointer-events: none;
}
.tci-slot:hover .tci-slot__content {
    transform: translateX(4px);
    box-shadow: -4px 0 20px rgba(79,108,255,.15), var(--tci-shadow);
}
.tci-slot__title {
    /* font-family: 'Syne', sans-serif; */
    /* font-size: .98rem; */
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    line-height: 1.3;
}
.tci-slot__items {
    margin: 0 0 10px;
    padding: 0 0 0 16px;
    list-style: none;
}
.tci-slot__items li {
    position: relative;
    /* font-size: .82rem; */
    color: var(--tci-muted);
    line-height: 1.6;
    padding-left: 14px;
}
.tci-slot__items li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--slot-color, var(--tci-electric));
    font-weight: 700;
}
.tci-slot__badge {
    display: inline-block;
    /* font-size: .65rem; */
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: var(--slot-color, var(--tci-electric));
    border: 1px solid var(--slot-color, var(--tci-electric));
    opacity: .8;
}

/* ---------- Per-type colour tokens ---------- */
.tci-slot--keynote    { --slot-color: var(--c-keynote);    }
.tci-slot--panel      { --slot-color: var(--c-panel);      }
.tci-slot--talk       { --slot-color: var(--c-talk);       }
.tci-slot--networking { --slot-color: var(--c-networking); }
.tci-slot--break      { --slot-color: var(--c-break);      }
.tci-slot--showcase   { --slot-color: var(--c-showcase);   }

/* Break slots: lighter treatment */
.tci-slot--break .tci-slot__content {
    background: rgba(255,255,255,.03);
}
.tci-slot--break .tci-slot__title { color: var(--tci-muted); font-weight: 500; }

/* ---------- Footer ---------- */
.tci-footer {
    text-align: center;
    padding: 20px 24px;
    background: var(--tci-surface);
    border-top: 1px solid var(--tci-border);
    /* font-size: .78rem; */
    color: var(--tci-muted);
	display:none;
}
.tci-footer a {
    color: #818cf8;
    text-decoration: none;
}
.tci-footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 620px) {
    .tci-slot { grid-template-columns: 85px 20px 1fr; gap: 0 12px; }
    .tci-timeline::before { left: calc(28px + 85px + 12px + 10px); }
    .tci-slot__time { padding-top: 14px; }
    .tci-header { padding: 40px 20px 36px; }
    .tci-legend { padding: 12px 16px; gap: 6px; }
    .tci-timeline { padding: 24px 16px 32px; }
}
@media (max-width: 420px) {
    .tci-slot {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .tci-timeline::before { display: none; }
    .tci-slot__time { text-align: left; padding-top: 0; margin-bottom: 4px; }
    .tci-slot__dot  { display: none; }
    .tci-slot__content { margin-bottom: 12px; }
}

/* =========================================================
   SPEAKERS – Front-end (appended v2.1)
   ========================================================= */
.tci-slot__speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 6px;
}
.tci-slot__speaker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    padding: 5px 13px 5px 5px;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
.tci-slot__speaker:hover {
    background: rgba(255,255,255,.15);
    transform: translateY(-1px);
}
.tci-slot__spk-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c1, #3b82f6), var(--c2, #8b5cf6));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.tci-slot__spk-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tci-slot__spk-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.tci-slot__spk-info strong {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.tci-slot__spk-info em {
    font-size: 11px;
    font-style: normal;
    color: rgba(255,255,255,.65);
}
