/* =========================================================
   DARK INTERNATIONAL — MAGAZINE STYLE
========================================================= */

:root {

    --black: #000000;
    --ink: #050505;
    --paper: #0b0b0d;
    --paper-2: #101013;
    --paper-3: #16161a;

    --line: #1c1c22;
    --line-hi: #2a2a33;

    --text: #f2f3f7;
    --text-2: #a8abb5;
    --text-3: #6a6d78;
    --text-4: #3d3f47;

    --neon: #7c5cff;
    --neon-2: #b57bff;
    --cyan: #38e8ff;
    --green: #2eff8f;
    --amber: #ffb23e;
    --red: #ff4d5e;
    --pink: #ff4d9d;

    --radius: 4px;
    --radius-md: 8px;

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--black);

    color: var(--text);

    font-family:
        "Vazirmatn",
        Tahoma,
        Arial,
        sans-serif;

    font-weight: 400;

    line-height: 1.8;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}


a {

    color: inherit;

    text-decoration: none;

}


.ltr {

    direction: ltr;

    unicode-bidi: isolate;

}


.container {

    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {

    position: sticky;

    top: 0;

    z-index: 100;

    background: rgba(0, 0, 0, .85);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--line);

}


.topbar-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    height: 54px;

}


.topbar-left {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand-mark {

    color: var(--neon);

    font-size: 12px;

    line-height: 1;

}


.brand-text {

    color: var(--text-2);

    font-size: 12px;

    font-weight: 500;

    letter-spacing: .2px;

}


.brand-text em {

    color: var(--text-4);

    font-style: normal;

    margin: 0 6px;

}


.topbar-right {

    display: flex;

    align-items: center;

    gap: 14px;

}


.live-indicator {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 5px 12px;

    border: 1px solid rgba(46, 255, 143, .25);

    border-radius: 20px;

    color: var(--green);

    font-size: 11px;

    font-weight: 600;

}


.live-dot {

    display: inline-block;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 10px var(--green);

    animation: dotPulse 1.8s ease-in-out infinite;

}


@keyframes dotPulse {

    0%, 100% { opacity: 1; }

    50% { opacity: .35; }

}


/* =========================================================
   HERO — MAGAZINE STYLE
========================================================= */

.hero {

    position: relative;

    padding: 90px 0 0;

    background:

        radial-gradient(ellipse at 80% -10%, rgba(124, 92, 255, .18), transparent 55%),

        radial-gradient(ellipse at 20% 110%, rgba(56, 232, 255, .10), transparent 50%),

        var(--black);

}


.hero-row {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 60px;

    align-items: center;

    padding-bottom: 70px;

}


/* Left index */

.hero-index {

    border-left: 1px solid var(--line-hi);

    padding-left: 24px;

}


.index-num {

    display: block;

    color: var(--neon);

    font-size: 52px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: -1px;

    margin-bottom: 10px;

}


.index-label {

    display: block;

    color: var(--text-4);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

    line-height: 1.5;

}


/* Right block */

.hero-headline {

    margin: 0 0 22px;

    color: var(--text);

    font-size: clamp(38px, 6vw, 76px);

    line-height: 1.1;

    font-weight: 900;

    letter-spacing: -2px;

}


.headline-accent {

    display: inline-block;

    color: transparent;

    background: linear-gradient(100deg, var(--neon) 0%, var(--pink) 60%, var(--amber) 100%);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}


.hero-lede {

    max-width: 640px;

    color: var(--text-2);

    font-size: 15px;

    font-weight: 400;

    line-height: 1.9;

}


.hero-lede .sep {

    color: var(--text-4);

    margin: 0 10px;

}


/* Hero rule */

.hero-rule {

    height: 1px;

    background: linear-gradient(90deg, transparent, var(--line-hi), transparent);

}


/* =========================================================
   SECTION
========================================================= */

.section {

    padding: 80px 0;

}


.section-archive {

    background: var(--paper);

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);

}


/* =========================================================
   EDITORIAL HEAD
========================================================= */

.editorial-head {

    display: grid;

    grid-template-columns: auto 1fr auto;

    gap: 30px;

    align-items: center;

    padding-bottom: 30px;

    margin-bottom: 50px;

    border-bottom: 1px solid var(--line);

}


.editorial-num {

    color: var(--neon);

    font-size: 44px;

    font-weight: 900;

    line-height: 1;

    letter-spacing: -1px;

    font-feature-settings: "tnum";

}


.editorial-title h2 {

    margin: 0;

    color: var(--text);

    font-size: 26px;

    font-weight: 800;

    letter-spacing: -.5px;

    line-height: 1.3;

}


.editorial-title p {

    margin: 6px 0 0;

    color: var(--text-3);

    font-size: 12.5px;

}


.editorial-status {

    padding: 6px 16px;

    border-radius: 3px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.status-live {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border: 1px solid rgba(46, 255, 143, .30);

    color: var(--green);

    background: rgba(46, 255, 143, .05);

}


.status-archive {

    border: 1px solid var(--line-hi);

    color: var(--text-3);

    background: transparent;

}


/* =========================================================
   CONFERENCE ROW (LIST LAYOUT)
========================================================= */

.conf-list {

    display: flex;

    flex-direction: column;

    gap: 0;

}


.conf-row {

    position: relative;

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 40px;

    padding: 36px 0;

    border-bottom: 1px solid var(--line);

    transition: background .3s;

}


.conf-row:hover {

    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .03), transparent);

}


.conf-row:first-child {

    border-top: 1px solid var(--line);

}


/* Side accent */

.conf-accent {

    position: absolute;

    right: -1px;

    top: 20%;

    bottom: 20%;

    width: 2px;

    background: linear-gradient(180deg, var(--neon), transparent);

    opacity: 0;

    transition: opacity .35s;

}


.conf-row:hover .conf-accent {

    opacity: 1;

}


/* =========================================================
   POSTER
========================================================= */

.conf-poster {

    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 210 / 297;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--paper-2);

    border: 1px solid var(--line);

    transition: border-color .35s, transform .35s;

}


.conf-poster:hover {

    border-color: var(--neon);

    transform: translateY(-3px);

}


.conf-poster img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .55s cubic-bezier(.2, .8, .2, 1);

}


.conf-poster:hover img {

    transform: scale(1.05);

}


.poster-hover {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85));

    opacity: 0;

    transition: opacity .3s;

}


.poster-hover span {

    padding: 8px 20px;

    border: 1px solid var(--neon);

    border-radius: 3px;

    color: var(--neon);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    background: rgba(0, 0, 0, .6);

    backdrop-filter: blur(6px);

}


.conf-poster:hover .poster-hover {

    opacity: 1;

}


/* Placeholder poster */

.poster-ph {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background:

        radial-gradient(circle at 50% 30%, rgba(124, 92, 255, .15), transparent 60%),

        linear-gradient(160deg, var(--paper-2), var(--paper-3));

}


.ph-mark {

    color: var(--neon);

    font-size: 26px;

    font-weight: 900;

    letter-spacing: 4px;

    opacity: .9;

}


.ph-text {

    color: var(--text-3);

    font-size: 11px;

    font-weight: 600;

}


.ph-domain {

    color: var(--text-4);

    font-size: 9px;

    direction: ltr;

    font-family: monospace;

}


/* =========================================================
   CONTENT
========================================================= */

.conf-content {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-width: 0;

    padding: 6px 0;

}


/* Meta line */

.conf-meta {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    font-size: 11px;

    font-weight: 600;

    color: var(--text-3);

}


.meta-num {

    color: var(--neon);

    font-weight: 800;

    letter-spacing: .3px;

}


.meta-field {

    color: var(--text-2);

}


.meta-domain {

    color: var(--cyan);

    font-family: ui-monospace, monospace;

    font-size: 10px;

    letter-spacing: .3px;

}


.meta-dot {

    display: inline-block;

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background: var(--text-4);

}


/* Title */

.conf-title {

    margin: 0 0 22px;

    color: var(--text);

    font-size: 21px;

    line-height: 1.5;

    font-weight: 700;

    letter-spacing: -.3px;

    transition: color .3s;

}


.conf-title a:hover {

    color: var(--neon);

}


/* =========================================================
   BOTTOM INFO
========================================================= */

.conf-bottom {

    display: flex;

    align-items: center;

    gap: 30px;

    flex-wrap: wrap;

    padding-top: 20px;

    border-top: 1px solid var(--line);

}


.conf-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.info-label {

    color: var(--text-4);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.info-value {

    color: var(--text);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   COUNTDOWN (inline)
========================================================= */

.countdown {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 8px 14px;

    border: 1px solid rgba(255, 178, 62, .25);

    border-radius: var(--radius);

    background: rgba(255, 178, 62, .04);

    transition: border-color .3s, background .3s;

}


.cd-label {

    color: var(--amber);

    font-size: 9.5px;

    font-weight: 700;

    letter-spacing: 1px;

}


.cd-timer {

    display: inline-flex;

    align-items: baseline;

    gap: 4px;

    direction: ltr;

    font-variant-numeric: tabular-nums;

}


.cd-unit {

    display: inline-flex;

    flex-direction: column;

    align-items: center;

    gap: 0;

    min-width: 32px;

}


.cd-unit b {

    color: var(--text);

    font-size: 15px;

    font-weight: 800;

    line-height: 1.1;

}


.cd-unit i {

    color: var(--text-4);

    font-style: normal;

    font-size: 8px;

    font-weight: 500;

}


.cd-sep {

    color: var(--text-4);

    font-size: 14px;

    font-weight: 400;

    line-height: 1;

    margin-bottom: 8px;

}


.countdown.is-urgent {

    border-color: rgba(255, 77, 94, .45);

    background: rgba(255, 77, 94, .06);

    animation: urgentGlow 2s ease-in-out infinite;

}


.countdown.is-urgent .cd-label {

    color: var(--red);

}


.countdown.is-urgent .cd-unit b {

    color: var(--red);

}


@keyframes urgentGlow {

    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); }

    50% { box-shadow: 0 0 0 4px rgba(255, 77, 94, .08); }

}


.countdown.is-expired {

    border-color: var(--line);

    background: transparent;

    animation: none;

}


.countdown.is-expired .cd-label {

    color: var(--text-4);

}


.cd-done {

    color: var(--text-4);

    font-size: 11px;

    font-weight: 600;

}


/* =========================================================
   CTA
========================================================= */

.conf-cta {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-right: auto;

    padding: 11px 20px;

    border: 1px solid var(--neon);

    border-radius: var(--radius);

    color: var(--neon);

    font-size: 12px;

    font-weight: 700;

    background: transparent;

    transition: background .3s, color .3s, transform .3s;

}


.conf-cta:hover {

    background: var(--neon);

    color: var(--black);

    transform: translateY(-2px);

}


.cta-icon {

    font-size: 14px;

    line-height: 1;

    transition: transform .3s;

}


.conf-cta:hover .cta-icon {

    transform: translate(2px, -2px);

}


/* =========================================================
   ARCHIVE ROWS
========================================================= */

.archive-rows {

    display: flex;

    flex-direction: column;

}


.archive-row {

    display: grid;

    grid-template-columns: 60px 1fr auto auto;

    align-items: center;

    gap: 24px;

    padding: 18px 0;

    border-bottom: 1px solid var(--line);

    transition: background .3s, padding .3s;

}


.archive-row:hover {

    background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .04), transparent);

    padding-right: 12px;

    padding-left: 12px;

}


.archive-row:first-child {

    border-top: 1px solid var(--line);

}


/* Thumb */

.arch-thumb {

    position: relative;

    width: 60px;

    height: 78px;

    overflow: hidden;

    border-radius: var(--radius);

    border: 1px solid var(--line);

    background: var(--paper-2);

    flex-shrink: 0;

}


.arch-thumb img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    filter: grayscale(.4);

    transition: filter .35s, transform .35s;

}


.archive-row:hover .arch-thumb img {

    filter: grayscale(0);

    transform: scale(1.05);

}


.thumb-ph {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    color: var(--text-4);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


/* Info */

.arch-info {

    min-width: 0;

}


.arch-info h4 {

    margin: 0 0 5px;

    color: var(--text);

    font-size: 14.5px;

    font-weight: 600;

    line-height: 1.65;

    overflow: hidden;

    text-overflow: ellipsis;

    display: -webkit-box;

    -webkit-line-clamp: 1;

    -webkit-box-orient: vertical;

    transition: color .3s;

}


.archive-row:hover .arch-info h4 {

    color: var(--neon);

}


.arch-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text-4);

    font-size: 11px;

}


.arch-dot {

    display: inline-block;

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background: var(--text-4);

}


.arch-domain {

    color: var(--cyan);

    font-family: ui-monospace, monospace;

    font-size: 10px;

}


/* Field */

.arch-field {

    padding: 4px 12px;

    border: 1px solid var(--line-hi);

    border-radius: 20px;

    color: var(--text-3);

    font-size: 10.5px;

    font-weight: 600;

    white-space: nowrap;

    transition: border-color .3s, color .3s;

}


.archive-row:hover .arch-field {

    border-color: var(--neon);

    color: var(--neon);

}


/* Arrow */

.arch-arrow {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    color: var(--text-4);

    font-size: 15px;

    transition: color .3s, transform .3s;

}


.archive-row:hover .arch-arrow {

    color: var(--neon);

    transform: translate(3px, -3px);

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding: 34px 0;

    background: var(--black);

    border-top: 1px solid var(--line);

}


.footer-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 14px;

}


.footer-mark {

    color: var(--neon);

    font-size: 14px;

}


.footer-brand strong {

    display: block;

    color: var(--text);

    font-size: 13px;

    font-weight: 700;

}


.footer-brand span {

    display: block;

    margin-top: 2px;

    color: var(--text-4);

    font-size: 11px;

}


.footer-copy {

    color: var(--text-4);

    font-size: 11px;

    direction: rtl;

}


/* =========================================================
   RESPONSIVE — 980
========================================================= */

@media (max-width: 980px) {

    .hero-row {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .hero-index {

        border-left: 0;

        border-right: 3px solid var(--neon);

        padding-left: 0;

        padding-right: 18px;

    }


    .index-num {

        font-size: 40px;

    }


    .conf-row {

        grid-template-columns: 180px 1fr;

        gap: 28px;

    }


    .conf-title {

        font-size: 18px;

    }


    .conf-bottom {

        gap: 20px;

    }


    .archive-row {

        grid-template-columns: 52px 1fr auto;

        gap: 16px;

    }


    .arch-field {

        display: none;

    }

}


/* =========================================================
   RESPONSIVE — 680
========================================================= */

@media (max-width: 680px) {

    .container {

        width: calc(100% - 32px);

    }


    .topbar-inner {

        height: auto;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

        padding: 10px 0;

    }


    .hero {

        padding: 50px 0 0;

    }


    .hero-row {

        padding-bottom: 50px;

    }


    .hero-headline {

        font-size: 34px;

        letter-spacing: -1px;

    }


    .hero-lede {

        font-size: 13px;

    }


    .hero-lede .sep {

        display: none;

    }


    .section {

        padding: 50px 0;

    }


    .editorial-head {

        grid-template-columns: auto 1fr;

        gap: 18px;

        padding-bottom: 20px;

        margin-bottom: 30px;

    }


    .editorial-num {

        font-size: 32px;

    }


    .editorial-title h2 {

        font-size: 20px;

    }


    .editorial-status {

        grid-column: 1 / -1;

        justify-self: start;

        margin-top: 10px;

    }


    /* Row becomes vertical */

    .conf-row {

        grid-template-columns: 1fr;

        gap: 22px;

        padding: 28px 0;

    }


    .conf-poster {

        max-width: 240px;

        margin: 0 auto;

    }


    .conf-title {

        font-size: 16.5px;

    }


    .conf-bottom {

        flex-direction: column;

        align-items: stretch;

        gap: 14px;

    }


    .conf-cta {

        margin-right: 0;

        justify-content: center;

    }


    .countdown {

        align-self: stretch;

    }


    .cd-timer {

        justify-content: center;

    }


    /* Archive */

    .archive-row {

        grid-template-columns: 52px 1fr auto;

        gap: 14px;

        padding: 14px 0;

    }


    .arch-info h4 {

        font-size: 13px;

        -webkit-line-clamp: 2;

    }


    .arch-meta {

        flex-wrap: wrap;

        font-size: 10px;

    }


    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,

    *::before,

    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}