/* =========================================================
   TEN YEARS OF ADMINDROID  ―  "A Decade of Building with Care"
   ========================================================= */

#ten-years-page {
    --ty-accent: #4cd39a;
    --ty-accent-soft: rgba(76, 211, 154, 0.14);
    --ty-text-light: #ffffff;
    --ty-text-muted-light: rgba(255, 255, 255, 0.75);
    --ty-divider-light: rgba(255, 255, 255, 0.18);

    --ty-bg-cream: #f6f5ef;
    --ty-text-dark: #0f2a36;
    --ty-text-body: #2f4c5a;
    --ty-text-muted: #6b8491;
    --ty-divider: rgba(15, 42, 54, 0.10);

    background: var(--ty-bg-cream);
}

/* ---------- HERO ---------- */

.ty-hero-section {
    position: relative;
    background: radial-gradient(1100px 560px at 78% 40%, rgba(113, 90, 225, 0.38) 0%, rgba(113, 90, 225, 0) 62%),
                linear-gradient(180deg, #100d30 0%, #0b0a24 100%);
    color: var(--ty-text-light);
    overflow: hidden;
}

.ty-hero-section > article {
    position: relative;
    z-index: 1;
}

.ty-hero-inner {
    padding: 120px 40px 110px;
}

.ty-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}

/* eyebrow */

.ty-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.ty-eyebrow-emoji {
    font-size: 1.1em;
    line-height: 1;
}

.ty-eyebrow-text {
    color: var(--ty-accent);
    font-size: 0.78em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* hero title */

.ty-hero-title {
    font-size: 3.4em;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0 0 50px;
}

.ty-accent { color: var(--ty-accent); }

/* hero stats */

.ty-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px 40px;
    padding-top: 28px;
    border-top: 1px solid var(--ty-divider-light);
}

.ty-stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ty-stat-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-accent);
    background: var(--ty-accent-soft);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 16px;
}

.ty-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ty-stat-value {
    font-size: 1.3em;
}

.ty-stat-label {
    font-size: 0.68em;
    letter-spacing: 0.18em;
    color: var(--ty-text-muted-light);
    text-transform: uppercase;
    margin-top: 5px;
}

/* video card */

.ty-video-card {
    position: relative;
    width: 100%;
    max-width: 612px;
    justify-self: end;
}

/* overlay — poster-style label on top of the video */

.ty-video-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 60px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 0 0 10px 10px;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.ty-video-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--ty-accent);
    color: var(--ty-accent);
    background: rgba(76, 211, 154, 0.10);
    font-size: 0.7em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ty-video-title {
    color: var(--ty-text-light);
    font-size: 1em;
}

.ty-video-play-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding-left: 3px;
}

.ty-video-duration {
    position: absolute;
    right: 92px;
    bottom: 34px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    color: var(--ty-text-light);
    font-size: 0.75em;
    letter-spacing: 0.02em;
}

.ty-video-duration:empty {
    display: none;
}

/* hide overlay on hover or once the video is playing */

#ten-years-page .ty-video-card:hover .ty-video-overlay,
#ten-years-page .ty-video-card.ty-video-playing .ty-video-overlay {
    opacity: 0;
    visibility: hidden;
}

#ten-years-page .droid-video-player-wrapper {
    border: none;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    background: transparent;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55);
}

#ten-years-page .droid-video-player-wrapper video {
    border-radius: 10px;
    background: transparent;
    object-fit: cover;
}

/* Behave like a poster image — reveal controls only on hover */

#ten-years-page .droid-video-player-controls.show,
#ten-years-page .center-state.show {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
}

#ten-years-page .droid-video-player-wrapper:hover .droid-video-player-controls.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#ten-years-page .droid-video-player-wrapper:hover .center-state.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}


/* decorative dots */

.ty-hero-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.ty-hero-dot-1 { top: 16%; left: 6%; width: 2px; height: 2px; opacity: 0.55; }
.ty-hero-dot-2 { top: 34%; left: 22%; opacity: 0.45; }
.ty-hero-dot-3 { top: 72%; right: 7%;  opacity: 0.45; }
.ty-hero-dot-4 { top: 22%; right: 14%; width: 2px; height: 2px; opacity: 0.4; }

/* ---------- NOTE SECTION ---------- */

.ty-note-inner {
    padding: 80px 40px 110px;
}

.ty-note-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ty-divider);
    color: var(--ty-text-muted);
}

.ty-note-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-text-muted);
    font-size: 14px;
}

.ty-note-tag-text {
    font-size: 0.78em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#ten-years-page .droid-section-sub-title-desc {
    color: var(--ty-text-body);
    line-height: 1.75;
    margin: 22px 0;
}

/* block heading with icon */

.ty-block-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 48px 0 8px;
}

.ty-block-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ty-accent-soft);
    color: #1f8a63;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 16px;
}

.ty-block-heading h2.droid-section-sub-title {
    font-size: 1.35em;
    color: var(--ty-text-dark);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

/* quote */

.ty-quote {
    position: relative;
    margin: 44px 0 38px;
    padding: 8px 0 8px 28px;
    border: none;
    border-left: 3px solid var(--ty-accent);
}

.ty-quote-mark {
    display: block;
    color: var(--ty-accent);
    opacity: 0.9;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1;
}

#ten-years-page .ty-quote-text.droid-section-sub-title {
    font-size: 1.25em;
    line-height: 1.6;
    color: var(--ty-text-dark);
    margin: 0;
    letter-spacing: -0.2px;
    font-style: italic;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 992px) {
    #ten-years-page .ty-hero-inner { padding: 90px 24px 70px; }
    .ty-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .ty-video-card { max-width: 100%; justify-self: start; }
    .ty-hero-title { font-size: 2.6em; }
    .ty-stats { gap: 22px; }
    .ty-note-inner { padding: 60px 24px 80px; }
}

@media (max-width: 600px) {
    #ten-years-page .ty-hero-inner { padding: 85px 18px 44px; }
    .ty-hero-title { font-size: 2em; margin-bottom: 28px; letter-spacing: -0.3px; }
    .ty-eyebrow { margin-bottom: 18px; }
    .ty-eyebrow-text { font-size: 0.72em; letter-spacing: 0.16em; }
    .ty-stats { gap: 14px 22px; padding-top: 22px; }
    .ty-stat { gap: 10px; }
    .ty-stat-icon { width: 30px; height: 30px; font-size: 14px; }
    .ty-stat-value { font-size: 1em; }
    .ty-stat-label { font-size: 0.58em; letter-spacing: 0.14em; }
    .ty-hero-dot { display: none; }
    .ty-note-inner { padding: 44px 18px 60px; }
    .ty-note-tag { gap: 8px; padding-bottom: 14px; }
    .ty-note-tag-text { font-size: 0.72em; letter-spacing: 0.12em; }
    .ty-block-heading { margin-top: 36px; gap: 10px; }
    .ty-block-icon { width: 30px; height: 30px; font-size: 14px; }
    .ty-block-heading h2.droid-section-sub-title { font-size: 1.15em; }
    #ten-years-page .ty-quote-text.droid-section-sub-title { font-size: 1.08em; }
    #ten-years-page .droid-section-sub-title-desc { line-height: 1.7; margin: 18px 0; }
}
