.platforms-page {
    min-height: 100vh;
    color: #f7f9ff;
    background: radial-gradient(circle at 10% 18%, rgba(0, 216, 255, .12), transparent 28%), radial-gradient(circle at 88% 30%, rgba(149, 55, 255, .16), transparent 32%), linear-gradient(145deg, #020716, #041226 48%, #07051d);
}

.platforms-overview { position: relative; padding: 54px 0 28px; overflow: hidden; }
.platforms-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image: linear-gradient(rgba(73, 148, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(73, 148, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
    pointer-events: none;
}
.platforms-overview .container { position: relative; z-index: 1; }

.platforms-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(380px, .95fr);
    gap: 20px;
    align-items: stretch;
}

.network-intro, .latest-platform-card, .overview-highlights article {
    border: 1px solid rgba(91, 148, 255, .2);
    background: linear-gradient(145deg, rgba(8, 20, 47, .92), rgba(4, 10, 29, .97));
    box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 24px 70px rgba(0, 0, 20, .28);
}

.network-intro { padding: clamp(28px, 4vw, 46px); border-radius: 24px; }
.overview-label { color: #55edc3; font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.network-intro h1 { max-width: 780px; margin: 18px 0 16px; font-size: clamp(40px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -.055em; }
.network-intro > p { max-width: 760px; margin-top: 9px; color: #b2bedb; font-size: 16px; line-height: 1.75; }

.network-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.network-stats div { min-width: 0; padding: 17px 18px; border: 1px solid rgba(82, 144, 255, .2); border-radius: 15px; background: rgba(3, 8, 27, .58); transition: .25s ease; }
.network-stats div:hover { transform: translateY(-3px); border-color: rgba(78, 226, 255, .52); }
.network-stats span, .overview-highlights span { display: block; color: #7f8db8; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.network-stats strong { display: block; margin-top: 8px; overflow: hidden; color: #fff; font-size: 25px; text-overflow: ellipsis; white-space: nowrap; }

.latest-platform-card { position: relative; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border-color: rgba(52, 220, 188, .28); border-radius: 24px; }
.latest-platform-card::after { content: ""; position: absolute; top: -80px; right: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(38, 211, 192, .14); filter: blur(36px); pointer-events: none; }
.latest-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.latest-online { display: flex; align-items: center; gap: 7px; color: #63efc2; font-size: 10px; font-weight: 900; }
.latest-online i { width: 7px; height: 7px; border-radius: 50%; background: #56f1c0; box-shadow: 0 0 12px #56f1c0; }

.latest-platform-logo { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 145px; margin: 18px 0 14px; overflow: hidden; border: 1px solid rgba(83, 224, 219, .14); border-radius: 18px; background: radial-gradient(circle, rgba(31, 217, 206, .12), transparent 68%), rgba(3, 10, 29, .55); }
.latest-platform-logo img { display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; transition: transform .35s ease, filter .35s ease; }
.latest-platform-card:hover .latest-platform-logo img { transform: scale(1.04); filter: brightness(1.08) saturate(1.08); }
.latest-platform-logo b { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 20px; background: linear-gradient(135deg, #58edc6, #24a6db); font-size: 34px; }

.latest-platform-card h2 { position: relative; z-index: 1; margin: 0; font-size: 34px; letter-spacing: -.04em; }
.latest-platform-card > p { position: relative; z-index: 1; min-height: 52px; margin-top: 7px; color: #9eaccd; font-size: 15px; line-height: 1.65; }
.latest-platform-actions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.latest-platform-button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 13px; color: #03131e; background: linear-gradient(115deg, #4ce8c1, #34bdd8); box-shadow: 0 12px 28px rgba(40, 206, 196, .18); font-size: 14px; font-weight: 900; transition: .25s ease; }
.latest-login-button { background: linear-gradient(115deg, #ffd14b, #ff9a20); box-shadow: 0 12px 28px rgba(255, 166, 31, .16); }
.latest-platform-button:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 18px 34px rgba(40, 206, 196, .28); }

.latest-platform-info { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.latest-platform-info div { min-width: 0; padding: 12px; border: 1px solid rgba(89, 147, 255, .17); border-radius: 12px; background: rgba(5, 11, 31, .62); }
.latest-platform-info span { display: block; color: #7885a9; font-size: 11px; }
.latest-platform-info strong { display: block; margin-top: 5px; overflow: hidden; color: #fff; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }

.overview-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.overview-highlights article { padding: 22px; border-radius: 18px; transition: .25s ease; }
.overview-highlights article:hover { transform: translateY(-5px); border-color: rgba(72, 216, 255, .5); box-shadow: 0 20px 45px rgba(0, 0, 30, .34), 0 0 22px rgba(39, 185, 255, .1); }
.overview-highlights strong { display: block; margin-top: 8px; color: #fff; font-size: 25px; }
.overview-highlights p { margin-top: 8px; color: #8f9cbd; font-size: 14px; line-height: 1.65; }

.platforms-catalog { padding: 38px 0 110px; }
.platforms-page-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); align-items: end; gap: 40px; margin-bottom: 26px; }
.platforms-page-heading h2 { margin-top: 8px; font-size: clamp(38px, 4.2vw, 56px); letter-spacing: -.05em; }
.platforms-page-heading p { color: #929fbe; font-size: 15px; line-height: 1.7; }
.platforms-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platforms-page-grid .platform-card { min-height: 540px; }
.platforms-page-grid .platform-logo { width: 100%; height: 190px; }
.platforms-page-grid .platform-logo img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }

.platforms-empty { padding: 70px 24px; border: 1px solid rgba(63, 133, 255, .24); border-radius: 20px; text-align: center; background: rgba(5, 10, 43, .82); }
.platforms-empty strong { font-size: 24px; }
.platforms-empty p { margin-top: 10px; color: #8f9abe; font-size: 15px; }

@media (max-width: 1050px) {
    .platforms-intro-grid { grid-template-columns: 1fr; }
    .platforms-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .platforms-overview { padding-top: 34px; }
    .network-intro, .latest-platform-card { padding: 22px; border-radius: 19px; }
    .network-intro h1 { font-size: 40px; }
    .network-stats, .overview-highlights, .latest-platform-info { grid-template-columns: 1fr; }
    .latest-platform-logo { height: 170px; }
    .latest-platform-actions { grid-template-columns: 1fr; }
    .platforms-page-heading { grid-template-columns: 1fr; gap: 12px; }
    .platforms-page-grid { grid-template-columns: 1fr; }
}

.platforms-page-grid .platform-card .platform-logo {
    width: 100%;
    height: 190px;
    min-height: 190px;
}

.platforms-page-grid .platform-card .platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}