/* TDP Membership 2026–2028 — shared styles (index.html, faqs.html) */
:root {
    --tdp-yellow: #fcb900;
    --tdp-red: #d12023;
    --tdp-dark: #1A232C;
    --tdp-green: #1e9e3e;
}
* { box-sizing: border-box; }
body {
    background-color: var(--tdp-yellow);
    font-family: "Ramabhadra", sans-serif;
    font-weight: 500;
    line-height: 1.6em;
    color: var(--tdp-dark);
    padding-top: 60px;
}
a { color: inherit; }
.content-frame {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--tdp-yellow);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.sub-heading {
    font-family: "Suranna", serif;
    font-size: 48px;
    line-height: 1.15;
    color: var(--tdp-dark);
}
.section-title {
    font-family: "Suranna", serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 14px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 4px;
    background: var(--tdp-red);
    border-radius: 2px;
}
.yellow-bg { background-color: var(--tdp-yellow); }

/* ---------- Benefits ticker ---------- */
.benefits-strip {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: var(--tdp-red);
    color: #fff;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.benefits-title {
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    font-weight: bold; font-size: 22px;
    background-color: var(--tdp-dark);
    padding: 15px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 2;
}
.benefits-scroll {
    width: calc(100% - 200px);
    margin-left: 230px;
    overflow: hidden;
    white-space: nowrap;
}
.benefits-scroll-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
    font-size: 20px; font-weight: bold;
}
.benefits-strip:hover .benefits-scroll-content { animation-play-state: paused; }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.benefit-item { display: inline-block; margin-right: 50px; }

/* ---------- Menu ---------- */
.main-content { margin-top: 20px; }
.menu-strip {
    background-color: var(--tdp-dark);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}
.menu-strip .nav { justify-content: center; flex-wrap: wrap; }
.menu-strip .nav-link {
    color: var(--tdp-yellow);
    font-weight: bold; font-size: 17px;
    padding: 15px 18px;
    transition: all 0.25s ease;
}
.menu-strip .nav-link:hover,
.menu-strip .nav-link.active { color: #fff; background-color: var(--tdp-red); }
.menu-strip .nav-item:first-child .nav-link { border-radius: 8px 0 0 8px; }
.mobile-toggle {
    display: none;
    background: none; border: 0;
    padding: 14px 18px;
    margin-left: auto;
    cursor: pointer;
}
.mobile-toggle span {
    display: block; width: 26px; height: 3px;
    background: var(--tdp-yellow); border-radius: 2px;
    margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero-badge {
    display: inline-block;
    background: var(--tdp-dark);
    color: var(--tdp-yellow);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 18px;
    margin-bottom: 14px;
}
.hero-year {
    font-family: "Suranna", serif;
    font-size: 64px;
    line-height: 1;
    color: var(--tdp-red);
    margin: 6px 0 14px;
}
.header-image { max-height: 170px; width: auto; max-width: 100%; }
.register-btn {
    font-family: "Ramabhadra", sans-serif;
    background-color: var(--tdp-green);
    border: 3px solid #fff;
    color: #fff;
    font-weight: 600; font-size: 24px;
    padding: 14px 34px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    animation: pulse 2.2s infinite;
}
.register-btn:hover, .register-btn:focus { background-color: #157a2f; color: #fff; }
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
    .register-btn, .benefits-scroll-content { animation: none; }
}
.referral-section {
    background-color: var(--tdp-dark);
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    margin: 22px auto 0;
    max-width: 520px;
    text-align: center;
    font-size: 17px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.highlight-number {
    color: var(--tdp-yellow);
    font-weight: bold;
    font-size: 26px;
    letter-spacing: 2px;
}
.copy-btn {
    background: var(--tdp-yellow);
    color: var(--tdp-dark);
    border: 0;
    border-radius: 6px;
    padding: 4px 12px;
    font-weight: bold;
    font-size: 15px;
    margin-left: 8px;
    cursor: pointer;
}
.copy-btn.copied { background: var(--tdp-green); color: #fff; }

/* ---------- Steps ---------- */
.step-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px 22px;
    height: 100%;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    position: relative;
    border-top: 5px solid var(--tdp-red);
}
.step-num {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--tdp-red);
    color: #fff;
    font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.step-card h3 { font-size: 22px; margin-bottom: 8px; }
.step-card p { font-size: 16px; margin: 0; color: #333; }

/* ---------- Benefits cards ---------- */
.benefit-card {
    background: var(--tdp-dark);
    color: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.benefit-card .icon { font-size: 38px; line-height: 1; margin-bottom: 10px; }
.benefit-card h3 { color: var(--tdp-yellow); font-size: 21px; }
.benefit-card p { font-size: 16px; margin: 0; opacity: .92; }

/* ---------- Share box ---------- */
.share-box {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-left: 6px solid var(--tdp-red);
}
.share-text {
    background: #fff8dc;
    border: 1px dashed #d9a400;
    border-radius: 10px;
    padding: 16px;
    font-size: 16px;
    white-space: pre-line;
    font-family: "Ramabhadra", sans-serif;
}
.btn-wa { background: #25D366; color: #fff; font-weight: bold; border-radius: 40px; padding: 10px 24px; }
.btn-wa:hover { background: #1da851; color: #fff; }
.btn-tg { background: #229ED9; color: #fff; font-weight: bold; border-radius: 40px; padding: 10px 24px; }
.btn-tg:hover { background: #1a86b9; color: #fff; }
.btn-dark-pill { background: var(--tdp-dark); color: var(--tdp-yellow); font-weight: bold; border-radius: 40px; padding: 10px 24px; }
.btn-dark-pill:hover { background: #000; color: #fff; }

/* ---------- Social / QR ---------- */
.social-section { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.social-item {
    text-align: center;
    background: rgba(255,255,255,0.35);
    border-radius: 14px;
    padding: 20px;
}
.qr-code { max-width: 240px; width: 100%; height: auto; border-radius: 8px; }
.social-icon { width: 46px; height: auto; margin: 6px; }
.cta-button { font-weight: bold; padding: 10px 25px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-search {
    border: 3px solid var(--tdp-dark);
    border-radius: 50px;
    padding: 12px 22px;
    font-size: 18px;
    font-family: "Ramabhadra", sans-serif;
}
.faq-search:focus { box-shadow: 0 0 0 4px rgba(209,32,35,.3); border-color: var(--tdp-red); }
.faq-cat {
    font-family: "Suranna", serif;
    font-size: 30px;
    margin: 34px 0 14px;
    color: var(--tdp-dark);
    border-left: 6px solid var(--tdp-red);
    padding-left: 12px;
}
.accordion-item {
    border: 0;
    margin-bottom: 12px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.accordion-button {
    font-family: "Ramabhadra", sans-serif;
    font-size: 19px;
    color: var(--tdp-dark);
    background: #fff;
    padding: 18px 20px;
}
.accordion-button:not(.collapsed) { background: var(--tdp-dark); color: var(--tdp-yellow); box-shadow: none; }
.accordion-button:not(.collapsed)::after { filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg); }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(209,32,35,.35); }
.accordion-body { font-size: 17px; background: #fffdf5; line-height: 1.75; }
.accordion-body a { color: var(--tdp-red); font-weight: bold; }
.faq-empty { display: none; text-align: center; font-size: 18px; padding: 20px; }

/* ---------- Final CTA / footer ---------- */
.final-cta {
    font-family: "Ramaraja", serif;
    font-size: 32px; font-weight: 600;
    color: #fff;
    background-color: var(--tdp-red);
    padding: 22px 0;
}
.site-footer {
    background: var(--tdp-dark);
    color: #ddd;
    font-size: 15px;
    padding: 20px 0;
    text-align: center;
}
.site-footer a { color: var(--tdp-yellow); text-decoration: none; margin: 0 8px; }

/* Sticky mobile CTA */
.mobile-cta {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: var(--tdp-dark);
    padding: 10px 12px;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.3);
    gap: 10px;
}
.mobile-cta a {
    flex: 1;
    text-align: center;
    border-radius: 40px;
    padding: 10px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}
.mobile-cta .m-reg { background: var(--tdp-green); color: #fff; }
.mobile-cta .m-wa { background: #25D366; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .menu-strip .nav-link { font-size: 15px; padding: 13px 12px; }
}
@media (max-width: 768px) {
    body { padding-top: 64px; padding-bottom: 64px; }
    .sub-heading { font-size: 34px; }
    .hero-year { font-size: 48px; }
    .section-title { font-size: 32px; }
    .social-section { flex-direction: column; align-items: center; gap: 24px; }
    .benefits-strip { padding: 8px 0; height: 60px; display: flex; align-items: center; }
    .benefits-title {
        font-size: 14px; position: static; transform: none;
        margin: 0 8px; padding: 5px 8px; white-space: normal; line-height: 1.2;
        max-width: 110px;
    }
    .benefits-scroll { width: calc(100% - 120px); margin-left: 0; }
    .benefits-scroll-content { font-size: 14px; animation-duration: 40s; }
    .menu-strip .nav { flex-direction: column; display: none; width: 100%; }
    .menu-strip .nav.open { display: flex; }
    .menu-strip .nav-link { border-radius: 0 !important; text-align: center; font-size: 17px; }
    .menu-top { display: flex; align-items: center; }
    .mobile-toggle { display: block; }
    .menu-brand { color: var(--tdp-yellow); font-weight: bold; padding: 14px 18px; text-decoration: none; }
    .register-btn { font-size: 20px; padding: 12px 26px; }
    .final-cta { font-size: 22px; }
    .final-cta h2 { font-size: 24px; }
    .mobile-cta { display: flex; }
    .highlight-number { font-size: 22px; }
}
@media (min-width: 769px) {
    .menu-top { display: none; }
}

/* No pulse on form submit buttons */
form .register-btn { animation: none; }

/* ---------- "Coming soon" popup (membership not yet open on main site) ---------- */
.cs-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(20, 10, 10, .65);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.cs-overlay.show { opacity: 1; visibility: visible; }
.cs-box {
    position: relative;
    width: 100%; max-width: 640px;
    border-radius: 22px;
    padding: 34px 26px 28px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(135deg, #c8102e 0%, #b30d27 55%, #d01c33 100%);
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
    max-height: 92vh; overflow-y: auto;
    transform: translateY(20px) scale(.97);
    transition: transform .3s ease;
}
.cs-overlay.show .cs-box { transform: none; }
.cs-close {
    position: absolute; top: 10px; right: 12px;
    width: 38px; height: 38px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff; font-size: 24px; line-height: 38px;
    cursor: pointer;
}
.cs-close:hover { background: rgba(255,255,255,.32); }
.cs-logo {
    width: 74px; height: 74px;
    background: #fff; border-radius: 16px;
    padding: 6px; margin: 0 auto 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.cs-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.cs-pill {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.12);
    border-radius: 30px;
    padding: 5px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}
.cs-title {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    font-size: 46px;
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: -.5px;
}
.cs-soon {
    display: inline-block;
    background: #fcd116;
    color: #6b0f12;
    font-weight: 800;
    font-size: 20px;
    border-radius: 30px;
    padding: 5px 18px;
    margin-bottom: 10px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.cs-te-title { font-size: 21px; font-weight: bold; margin: 0 0 14px; }
.cs-text { font-size: 17px; opacity: .95; margin: 0 0 4px; line-height: 1.55; }
.cs-text-te { font-size: 15px; opacity: .9; margin: 0 0 20px; }
.cs-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cs-btn {
    border: 0; border-radius: 40px;
    padding: 11px 24px;
    font-weight: bold; font-size: 16px;
    text-decoration: none; cursor: pointer;
    font-family: "Ramabhadra", sans-serif;
}
.cs-btn-ok { background: #fcd116; color: #6b0f12; }
.cs-btn-ok:hover { background: #fff; }
.cs-btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.cs-btn-ghost:hover { background: rgba(255,255,255,.28); color: #fff; }
body.cs-open { overflow: hidden; }
@media (max-width: 576px) {
    .cs-title { font-size: 28px; white-space: nowrap; }
    .cs-soon { font-size: 17px; }
    .cs-te-title { font-size: 18px; }
    .cs-text { font-size: 15px; }
    .cs-box { padding: 30px 18px 22px; }
}

/* ---------- Launch switch: before / after 5 Dec 2026 11:31 IST ---------- */
html.launched .pre-launch, html.launched .pre-launch-block { display: none !important; }
html:not(.launched) .post-launch, html:not(.launched) .post-launch-block { display: none !important; }

.countdown-wrap { margin: 4px auto 22px; max-width: 460px; }
.countdown-label { font-size: 18px; margin-bottom: 10px; color: var(--tdp-dark); }
.countdown { display: flex; gap: 10px; justify-content: center; }
.countdown > div {
    background: var(--tdp-dark);
    color: var(--tdp-yellow);
    border-radius: 12px;
    min-width: 76px;
    padding: 10px 6px 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.countdown span { display: block; font-size: 34px; line-height: 1; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 800; }
.countdown small { display: block; font-size: 13px; color: #fff; margin-top: 6px; }
.cal-link { display: inline-block; margin-top: 12px; font-size: 15px; color: var(--tdp-red); font-weight: bold; text-decoration: none; border-bottom: 2px dashed var(--tdp-red); }
.cal-link:hover { color: #000; border-color: #000; }

.welfare-stat {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    border-top: 5px solid var(--tdp-green);
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px;
}
.ws-num { font-size: 40px; font-weight: 800; color: var(--tdp-red); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.1; }
.ws-num small { font-size: 18px; color: var(--tdp-dark); font-family: "Ramabhadra", sans-serif; font-weight: normal; }
.ws-note { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; color: #444; }

/* popup countdown */
.cs-when { font-size: 17px; margin: 0 0 12px; }
.cs-countdown { display: flex; gap: 8px; justify-content: center; margin: 0 0 18px; }
.cs-countdown > div { background: rgba(0,0,0,.22); border-radius: 10px; min-width: 64px; padding: 8px 4px 5px; }
.cs-countdown span { display: block; font-size: 28px; font-weight: 800; line-height: 1; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fcd116; }
.cs-countdown small { display: block; font-size: 12px; margin-top: 4px; }
@media (max-width: 576px) {
    .countdown > div { min-width: 64px; }
    .countdown span { font-size: 26px; }
    .ws-num { font-size: 30px; }
    .cs-countdown > div { min-width: 56px; }
    .cs-countdown span { font-size: 22px; }
}

/* ---------- Helpline ---------- */
.help-tel { white-space: nowrap; }
.footer-help { font-size: 17px; color: #fff; }
.footer-help a { font-weight: bold; }
.helpline-card {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    background: var(--tdp-dark); color: #fff;
    border-radius: 16px; padding: 20px 24px;
    max-width: 640px; margin: 0 auto;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    border-left: 6px solid var(--tdp-green);
}
.hl-icon { font-size: 44px; line-height: 1; }
.hl-title { font-size: 18px; color: var(--tdp-yellow); }
.hl-num { display: inline-block; font-size: 34px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: 1px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hl-num:hover { color: var(--tdp-yellow); }
.hl-sub { font-size: 14px; opacity: .85; }
@media (max-width: 576px) { .hl-num { font-size: 28px; } .helpline-card { gap: 12px; padding: 16px; } }

/* ---------- Header brand: TDP logo + "TDP Membership" ---------- */
.menu-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 14px; }
.menu-brand img { width: 42px; height: 42px; border-radius: 10px; background: #fff; padding: 3px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--tdp-yellow); font-weight: 800; font-size: 19px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: nowrap; }
.brand-sub { color: #fff; font-size: 13px; white-space: nowrap; }
.menu-strip .nav-item:first-child .nav-link { border-radius: 0; }
@media (min-width: 769px) {
    .menu-strip { display: flex; align-items: center; }
    .menu-top { display: flex !important; flex-shrink: 0; }
    .mobile-toggle { display: none; }
    .menu-strip .nav { flex: 1; justify-content: flex-end; }
    .menu-strip .nav-link { padding: 22px 11px; font-size: 16px; }
    .menu-strip .nav-item:last-child .nav-link { border-radius: 0 8px 8px 0; }
}
/* Tablet / small laptop: use the hamburger menu so items never wrap */
@media (min-width: 769px) and (max-width: 1199px) {
    .menu-strip { flex-wrap: wrap; }
    .menu-top { width: 100%; }
    .mobile-toggle { display: block; margin-left: auto; }
    .menu-strip .nav { display: none; flex: 0 0 100%; flex-direction: column; }
    .menu-strip .nav.open { display: flex; }
    .menu-strip .nav-link { padding: 13px; text-align: center; border-radius: 0 !important; font-size: 17px; }
}
@media (max-width: 768px) {
    .menu-brand { padding: 8px 12px; }
    .menu-brand img { width: 38px; height: 38px; }
    .brand-name { font-size: 17px; }
}

/* ---------- Member services + sample card ---------- */
.member-svc {
    background: radial-gradient(circle at 85% 30%, rgba(209,32,35,.35), transparent 45%), #15111a;
    color: #fff;
    padding: 60px 0;
    margin: 20px 0;
    overflow: hidden;
}
.ms-eyebrow { color: var(--tdp-yellow); font-size: 14px; letter-spacing: .5px; margin-bottom: 14px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 700; }
.ms-title { font-family: "Suranna", serif; font-size: 52px; line-height: 1.1; margin-bottom: 18px; color: #fff; }
.ms-title em { color: var(--tdp-yellow); font-style: italic; }
.ms-desc { font-size: 18px; color: #c9c4cf; max-width: 520px; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.ms-chips span { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); border-radius: 30px; padding: 7px 14px; font-size: 15px; }
.ms-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ms-btn { border-radius: 40px; padding: 12px 24px; font-weight: bold; text-decoration: none; font-size: 17px; }
.ms-btn-main { background: var(--tdp-yellow); color: #1a1a1a; }
.ms-btn-main:hover { background: #fff; color: #000; }
.ms-btn-ghost { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.ms-btn-ghost:hover { border-color: var(--tdp-yellow); color: var(--tdp-yellow); }
.ms-help { margin: 18px 0 0; color: #c9c4cf; font-size: 15px; }
.ms-help a { color: var(--tdp-yellow); font-weight: bold; text-decoration: none; white-space: nowrap; }

.tdp-card-stage { position: relative; max-width: 520px; margin: 0 auto; padding: 10px 10px 40px; perspective: 1200px; }
.tdp-card {
    position: relative;
    aspect-ratio: 1.6 / 1;
    background: #fff200;
    border-radius: 18px;
    overflow: hidden;
    transform: rotate(-4deg);
    box-shadow: 0 30px 60px rgba(0,0,0,.55);
    color: #2a2a2a;
    transition: transform .4s ease;
}
.tdp-card-stage:hover .tdp-card { transform: rotate(-1.5deg) scale(1.02); }
.tc-watermark {
    position: absolute; left: 30%; top: 12%; width: 48%; height: 76%;
    background: url("../images/join_telugudesam_image_101.png") left center / 200% auto no-repeat;
    opacity: .13; filter: grayscale(.2);
}
.tc-sample {
    position: absolute; top: 18px; right: -48px; z-index: 5;
    transform: rotate(35deg);
    background: rgba(26,35,44,.88); color: #fff;
    font-size: 12px; font-weight: bold; letter-spacing: 1px;
    padding: 4px 56px;
}
.tc-top { position: relative; display: flex; gap: 4%; padding: 5% 5% 0; z-index: 2; }
.tc-photo { width: 19%; aspect-ratio: 64/72; border: 2px solid #d12023; background: #fff; flex-shrink: 0; }
.tc-photo svg { width: 100%; height: 100%; display: block; }
.tc-info { flex: 1; font-size: clamp(9px, 2.2vw, 13px); line-height: 1.35; }
.tc-no { display: inline-flex; flex-direction: column; background: #d12023; color: #fff; padding: 3px 10px; margin-bottom: 4px; line-height: 1.15; }
.tc-no b { font-size: 1.35em; letter-spacing: 1px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tc-no span { font-size: .85em; font-weight: bold; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tc-name { color: #d12023; font-weight: bold; font-size: 1.2em; }
.tc-ntr {
    width: 15%; height: auto; aspect-ratio: 1; align-self: flex-start; border-radius: 50%; flex-shrink: 0;
    background: #fff url("../images/join_telugudesam_image_101.png") right center / 200% auto no-repeat;
    border: 2px solid #d12023;
}
.tc-bottom { position: absolute; left: 5%; right: 0; bottom: 9%; display: flex; align-items: flex-end; gap: 3%; z-index: 2; }
.tc-logo { width: 16%; background: #fff; border: 1px solid #d12023; padding: 2px; }
.tc-logo img { width: 100%; display: block; }
.tc-qr { width: 13%; aspect-ratio: 1; background: #fff; box-shadow: 0 0 0 1px #ccc; }
.tc-qr svg { width: 100%; height: 100%; display: block; }
.tc-sign { display: flex; flex-direction: column; font-size: clamp(9px, 2vw, 12px); color: #d12023; margin-bottom: 4%; }
.tc-scribble { font-family: "Ramaraja", cursive; color: #333; font-size: 1.3em; transform: rotate(-6deg); opacity: .8; }
.tc-cbn { margin-left: auto; width: 30%; border-radius: 50% 50% 0 0; display: block; }
.tc-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: #d12023; z-index: 3; display: flex; align-items: center; justify-content: flex-end; padding-right: 5%; }
.tc-stripe span { color: #fff; font-size: clamp(8px, 1.8vw, 12px); font-weight: bold; letter-spacing: 1px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tc-quote {
    position: absolute; left: 0; bottom: 0; z-index: 6;
    display: flex; align-items: center; gap: 10px;
    background: rgba(25,20,28,.92); border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px; padding: 10px 16px 10px 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.4);
}
.tq-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--tdp-yellow); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; }
.tc-quote b { display: block; color: var(--tdp-yellow); font-size: 17px; }
.tc-quote small { color: #ccc; font-size: 13px; }
@media (max-width: 991px) {
    .ms-title { font-size: 40px; }
    .member-svc { padding: 44px 0; text-align: left; }
}
@media (max-width: 576px) {
    .ms-title { font-size: 34px; }
    .ms-desc { font-size: 16px; }
    .ms-chips span { font-size: 13px; }
    .tdp-card-stage { padding: 6px 4px 46px; }
    .tc-quote b { font-size: 15px; }
}

/* Card panel (sample membership card next to the renewal message) */
.card-panel {
    background: radial-gradient(circle at 80% 25%, rgba(209,32,35,.45), transparent 55%), #15111a;
    border-radius: 22px;
    padding: 34px 26px 26px;
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
}
.card-panel .tdp-card-stage { max-width: 500px; }
@media (max-width: 576px) { .card-panel { padding: 22px 12px 16px; border-radius: 16px; } }
.tc-quote { text-align: left; }
.tdp-card { text-align: left; }

/* Hero: both sides same size & same line (TDP logo + NTR | Chandrababu Naidu + Nara Lokesh) */
.hero-left-img { height: 130px; width: auto; max-width: 100%; display: block; margin: 0 auto; }
.hero-leaders { display: flex; justify-content: center; align-items: center; gap: 4px; }
.hero-leaders img { width: 128px; height: 128px; max-width: 49%; object-fit: contain; }
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-left-img { height: auto; width: 100%; max-width: 260px; }
    .hero-leaders img { width: 49%; height: auto; }
}
@media (max-width: 767px) { .hero-leaders img { width: 120px; height: 120px; } }


/* ---------- Sample membership card (real card background + dummy details) ---------- */
.tdp-card { aspect-ratio: 1064 / 710; background: #fff200; }
.tdp-card > .tc-watermark, .tdp-card > .tc-top, .tdp-card > .tc-bottom, .tdp-card > .tc-stripe { display: none; }
.tdp-card .tc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tdp-card .tc-photo {
    position: absolute; left: 3.2%; top: 6.5%; width: 13.5%; aspect-ratio: 127 / 139;
    border: 2px solid #d12023; background: #fff; padding: 2px; z-index: 2;
}
.tdp-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tdp-card .tc-info {
    position: absolute; left: 19%; top: 6%; z-index: 2;
    font-size: clamp(7px, 1.55vw, 12px); line-height: 1.35; color: #2a2a2a;
}
.tdp-card .tc-no { display: inline-flex; flex-direction: column; background: #d12023; color: #fff; padding: .2em .7em; margin-bottom: .35em; line-height: 1.12; }
.tdp-card .tc-no b { font-size: 1.45em; letter-spacing: .06em; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tdp-card .tc-no span { font-size: .9em; font-weight: bold; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tdp-card .tc-name { color: #d12023; font-weight: bold; font-size: 1.25em; }
.tdp-card .tc-addr { font-size: .92em; }
.tdp-card .tc-state { font-size: .92em; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tdp-card .tc-qr-img {
    position: absolute; left: 27.5%; top: 63%; width: 11.5%; aspect-ratio: 1;
    background: #fff; padding: .5%; border: 1px solid #ddd; z-index: 2; image-rendering: pixelated;
}
.tdp-card .tc-sample-tag {
    position: absolute; right: 21%; top: 6%; z-index: 3;
    background: rgba(26,35,44,.85); color: #fff;
    font-size: clamp(8px, 1.5vw, 12px); font-weight: bold; letter-spacing: .08em;
    padding: .35em .9em; border-radius: 30px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.card-panel .tdp-card-stage { padding-bottom: 66px; }
.card-panel .tc-quote { left: 4%; bottom: 0; }
@media (max-width: 576px) { .card-panel .tdp-card-stage { padding-bottom: 60px; } }
.social-icon.app-icon { border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
