/* platforms.css (7 Dec 2026, v2) - /platforms/ uses the Ventures "website directory" cards (.ven-web).
   Only the page-specific bits live here. */
.plf-dir li { scroll-margin-top: 110px; background: linear-gradient(180deg, #FFFFFF, #FBFAF7); }
.plf-dir a { min-height: 170px; padding: 24px 16px 20px; }
.plf-dir .ven-web__body b { font-size: 17px; }
.plf-dir .ven-web__body i { overflow-wrap: anywhere; }
/* full rows: 4 per row on desktop, 2 on tablet and phone (8 and 32 cards divide evenly) */
@media (max-width: 639.98px) {
  .ven-web.plf-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plf-dir a { min-height: 150px; padding: 18px 8px 16px; gap: 10px; }
  .plf-dir .ven-web__icon { font-size: 34px; }
  .plf-dir .ven-web__body b { font-size: 14.5px; }
  .plf-dir .ven-web__body i { font-size: 10px; letter-spacing: 0; }
}
/* owner 7 Dec 2026: six cards in one row on a desktop screen (4 on a tablet, 2 on a phone) */
@media (min-width: 1100px) {
  .ven-web.plf-dir { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .plf-dir a { min-height: 160px; padding: 22px 10px 18px; gap: 12px; }
  .plf-dir .ven-web__icon { font-size: 38px; }
  .plf-dir .ven-web__body b { font-size: 15.5px; }
  .plf-dir .ven-web__body i { font-size: 10.5px; letter-spacing: .02em; }
}
@media (min-width: 640px) and (max-width: 1099.98px) {
  .ven-web.plf-dir { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .plf-dir a { padding: 20px 8px 16px; }
  .plf-dir .ven-web__body b { font-size: 14.5px; }
  .plf-dir .ven-web__body i { font-size: 10px; letter-spacing: 0; }
}

/* cards the owner wants listed without a link (7 Dec 2026) */
.plf-dir a:not([href]) { cursor: default; }

/* ===== 3D hub look (7 Dec 2026, owner: "is page pe 3D hub skill apply karo fully") =====
   Big 3D icons on pale glossy tiles, lifted cards, one 3D object in the hero, sparkle + glow. Light only. */
.plf-dir li { --tile: #fdf0cf; --glow: rgba(214, 160, 40, .55); position: relative; transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease; }
.plf-dir li:nth-child(6n+2) { --tile: #dfeaff; --glow: rgba(59, 130, 246, .5); }
.plf-dir li:nth-child(6n+3) { --tile: #d9f7e6; --glow: rgba(16, 185, 129, .5); }
.plf-dir li:nth-child(6n+4) { --tile: #ebe2ff; --glow: rgba(124, 58, 237, .48); }
.plf-dir li:nth-child(6n+5) { --tile: #d7f4fb; --glow: rgba(8, 145, 178, .5); }
.plf-dir li:nth-child(6n+6) { --tile: #ffe1ef; --glow: rgba(219, 39, 119, .46); }
.plf-dir a { position: relative; overflow: hidden; border-radius: inherit; }
.plf-dir .ven-web__icon, .plf-dir li:nth-child(n) .ven-web__icon {
  width: 84px; height: 84px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 26px; font-size: 40px; line-height: 1; filter: none;
  background: linear-gradient(160deg, #ffffff 0%, var(--tile) 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -8px 12px rgba(20, 33, 61, .06), 0 2px 0 rgba(20, 33, 61, .05), 0 16px 22px -12px var(--glow);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.plf-dir .sw3d { width: 78px; height: 78px; margin-top: -12px; object-fit: contain; filter: drop-shadow(0 9px 8px rgba(20, 33, 61, .24)); }
/* light sweep across the card */
.plf-dir a::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 65%);
  transform: translateX(-60%); transition: transform .6s ease, opacity .3s ease; }
@media (hover: hover) {
  .plf-dir li:hover { transform: translateY(-7px); box-shadow: inset 0 1px 0 #fff, 0 3px 6px rgba(20, 33, 61, .08), 0 30px 44px -22px var(--glow), 0 26px 40px -26px rgba(20, 33, 61, .35); }
  .plf-dir li:hover .ven-web__icon { transform: translateY(-5px) rotate(-5deg) scale(1.07); }
  .plf-dir a[href]:hover::after { opacity: 1; transform: translateX(60%); }
}
/* hero: one 3D object, glow and sparkles */
.plt-hero .ab-hero__panel { position: relative; overflow: hidden; }
.plt-hero .ab-hero__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(3px 3px at 12% 30%, rgba(201, 168, 76, .9), transparent 70%), radial-gradient(2px 2px at 22% 72%, rgba(59, 130, 246, .8), transparent 70%),
    radial-gradient(3px 3px at 78% 24%, rgba(236, 72, 153, .7), transparent 70%), radial-gradient(2px 2px at 88% 66%, rgba(201, 168, 76, .9), transparent 70%),
    radial-gradient(2px 2px at 66% 82%, rgba(124, 58, 237, .7), transparent 70%), radial-gradient(2px 2px at 36% 16%, rgba(16, 185, 129, .7), transparent 70%); }
.plf-hero3d { display: block; width: 132px; height: 132px; margin: 0 auto 6px; object-fit: contain; position: relative;
  filter: drop-shadow(0 18px 16px rgba(20, 33, 61, .22)) drop-shadow(0 0 26px rgba(201, 168, 76, .35)); animation: plf-float 6s ease-in-out infinite; }
@keyframes plf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 900px) {
  .plt-hero.plf-has3d .ab-hero__panel { min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
  .plt-hero.plf-has3d .plf-hero3d { position: absolute; right: max(5vw, calc(50% - 470px)); top: 50%; margin: -95px 0 0; width: 190px; height: 190px; }
}
@media (max-width: 639.98px) {
  .plf-dir .ven-web__icon, .plf-dir li:nth-child(n) .ven-web__icon { width: 68px; height: 68px; border-radius: 22px; font-size: 32px; }
  .plf-dir .sw3d { width: 64px; height: 64px; margin-top: -10px; }
  .plf-hero3d { width: 104px; height: 104px; }
}
@media (prefers-reduced-motion: reduce) { .plf-hero3d { animation: none; } .plf-dir li, .plf-dir .ven-web__icon, .plf-dir a::after { transition: none; } }
