/* Download and registration button styling. */
.hero-actions{grid-template-columns:minmax(0,1fr);gap:25px}
.hero-button-row{justify-content:flex-start}
.hero-action-group:first-child .hero-button-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hero-button-row a.hero-download{min-height:78px;padding:22px 24px;font-size:17px;border-radius:10px;background:linear-gradient(120deg,#e7ffb9,var(--lime));box-shadow:0 6px 20px #d6f59618;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}
.hero-download span{font-size:23px;transition:transform .2s}
.hero-download:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff65 50%,transparent 75%);transform:translateX(-150%);animation:download-shine 7s ease-in-out infinite;pointer-events:none}
.hero-download:nth-child(2):after{animation-delay:.25s}.hero-download:nth-child(3):after{animation-delay:.5s}
.hero-button-row a.hero-download:hover{transform:translateY(-3px);box-shadow:0 10px 28px #d6f59630}
.hero-download:hover span{transform:translate(2px,-2px)}
.hero-button-row a.hero-register,.account-register{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:52px;padding:14px 20px;border-radius:9px;font-size:14px;font-weight:600;text-decoration:none;color:#f6f2ff;background:linear-gradient(120deg,#684dd2,#49358b);border:1px solid #a992e0;box-shadow:0 4px 12px #00000012;transition:transform .2s,background .2s}
.hero-button-row a.hero-register:hover,.account-register:hover{background:#7558dc;transform:translateY(-2px)}
.account-registration-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px;margin-top:22px}
@keyframes download-shine{0%,70%{transform:translateX(-150%)}90%,100%{transform:translateX(150%)}}
@media(max-width:950px){.hero-actions{max-width:960px}.hero-action-group{text-align:left}.hero-button-row{justify-content:flex-start}}
@media(max-width:650px){.hero-action-group:first-child .hero-button-row{gap:8px}.hero-button-row a.hero-download{font-size:12px;padding:15px 9px;min-height:65px;gap:5px;justify-content:space-between}.hero-download span{font-size:17px}.hero-action-group:last-child .hero-button-row a.hero-register{justify-content:space-between;font-size:14px}.account-registration-actions{flex-direction:column}.account-register{width:100%}}
@media(prefers-reduced-motion:reduce){.hero-download:after{animation:none;display:none}.hero-button-row a,.hero-download span,.account-register{transition:none}}
/* Platform-specific button colors and local vector icons. */
.hero-button-row a[href$="#android"]{background:linear-gradient(120deg,#e5facf,#bce7a5);border-color:#c7edb2;color:#183c26}
.hero-button-row a[href$="#ios"]{background:linear-gradient(120deg,#fafbff,#d9dfec);border-color:#e5e9f3;color:#253046}
.hero-button-row a[href$="#windows"]{background:linear-gradient(120deg,#e0f3ff,#a8d8fa);border-color:#b9e2ff;color:#14529b}
.hero-button-row a[href$="#whatsapp"]{background:linear-gradient(120deg,#167644,#10613a);border-color:#449969;color:white}
.hero-button-row a[href$="#telegram"]{background:linear-gradient(120deg,#167cb3,#116294);border-color:#58a5d4;color:white}
.hero-button-row a.hero-register:hover{filter:brightness(1.12)}
.button-icon{width:30px;height:30px;flex-shrink:0;display:block}.hero-button-row .button-label{font-size:inherit;flex:1;text-align:left}.hero-download:hover .button-label{transform:none}.hero-button-row .button-arrow{margin-left:auto;flex-shrink:0}
@media(max-width:650px){.hero-button-row a.hero-download{flex-direction:column;align-items:flex-start;gap:8px;position:relative;padding:15px 10px;min-height:107px}.hero-button-row a.hero-download .button-arrow{position:absolute;right:9px;top:12px}.hero-button-row a.hero-download .button-label{flex:none;font-size:12px}.button-icon{width:26px;height:26px}.hero-button-row a.hero-register{gap:12px}}
/* Center hero actions beneath the centered introduction. */
.hero-actions .hero-action-group{text-align:center}
.hero-actions .hero-action-group>p{text-align:center}
.hero-actions .hero-button-row{justify-content:center}
.hero-actions .hero-action-group:last-child .hero-button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;margin-inline:auto;gap:14px}
.hero-actions .hero-action-group:last-child .hero-button-row a{width:100%}
@media(max-width:650px){.hero-actions .hero-action-group:last-child .hero-button-row{grid-template-columns:minmax(0,1fr);max-width:340px;gap:10px}}
/* Pair every homepage download with a secondary platform guide link. */
.platform-cta{min-width:0;display:flex;flex-direction:column;gap:12px}
.hero-button-row .platform-cta>a.hero-download{width:100%}
.hero-button-row .platform-cta>a.platform-guide-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:3px 0;font-size:12px;font-weight:400;color:#c2d8ff;background:none;border:0;border-radius:0;box-shadow:none;text-decoration:underline;text-underline-offset:4px}
.hero-button-row .platform-cta>a.platform-guide-link:hover{color:white}
.hero-button-row .platform-guide-link span{font-size:15px}
.hero-download[href$="/android"]{background:linear-gradient(120deg,#e5facf,#bce7a5)!important;border-color:#c7edb2!important;color:#183c26!important}
.hero-download[href$="/ios"]{background:linear-gradient(120deg,#fafbff,#d9dfec)!important;border-color:#e5e9f3!important;color:#253046!important}
.hero-download[href$="/windows"]{background:linear-gradient(120deg,#e0f3ff,#a8d8fa)!important;border-color:#b9e2ff!important;color:#14529b!important}
@media(max-width:650px){.hero-button-row .platform-cta>a.platform-guide-link{font-size:10px;line-height:1.5;gap:4px;align-items:flex-start}.platform-cta{gap:8px}}
/* Homepage hero now contains only downloads; registration lives with account guidance. */
.hero .hero-actions .hero-action-group:first-child .hero-button-row{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:0}
.account-registration-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px;gap:14px;margin-top:25px}
.account-register{gap:14px;color:white}
.account-register[href$="#whatsapp"]{background:linear-gradient(120deg,#167644,#10613a);border-color:#449969}
.account-register[href$="#telegram"]{background:linear-gradient(120deg,#167cb3,#116294);border-color:#58a5d4}
.account-register:hover{filter:brightness(1.1)}
.account-register>span:first-of-type{flex:1}
@media(max-width:650px){.hero .hero-actions .hero-action-group:first-child .hero-button-row{gap:8px}.account-registration-actions{grid-template-columns:minmax(0,1fr)}}
/* Registration URLs use dummy destinations; preserve channel colors. */
.account-register[href$="/whatsapp"]{background:#167644;border-color:#449969;color:white}
.account-register[href$="/telegram"]{background:#167cb3;border-color:#58a5d4;color:white}
.account-register[href$="/whatsapp"]:hover{background:#1b8750}
.account-register[href$="/telegram"]:hover{background:#208dc7}
