/* Homepage-only atmosphere. Content and navigation stay usable without this layer. */
.f-world-hero{isolation:isolate;overflow:hidden;padding-bottom:28px;background:#0c0812}
.f-world-hero .f-hero-art{z-index:-3;background:linear-gradient(180deg,#09061126 0%,#0b081055 48%,#0c0812 100%),url(/resources/fate-reborn/media/fate-eclipse-citadel.png) center 38%/cover;opacity:1}
.f-world-veil{position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,#0c0819aa 0%,#100a1a35 43%,transparent 72%),linear-gradient(90deg,#07060b66,transparent 25%,transparent 75%,#07060b66)}
.f-world-sky{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:0;transition:opacity 1s}
.f-world-hero[data-atmosphere="on"] .f-world-sky{opacity:1}
.f-world-aura{position:absolute;inset:4% 5% 10%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 27% 38%,#a955df30,transparent 48%),radial-gradient(ellipse at 78% 47%,#536ed82a,transparent 48%);opacity:.6}
.f-world-orbit{position:absolute;left:50%;top:190px;width:min(590px,94vw);aspect-ratio:1;border:1px solid #c8a0e63b;border-radius:50%;transform:translate(-50%,-50%);z-index:-1;pointer-events:none;box-shadow:0 0 80px #ad69c30b,inset 0 0 80px #ad69c30b}
.f-world-orbit::before,.f-world-orbit::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.f-world-orbit::before{inset:26px;border:1px dashed #d5bbdc29}
.f-world-orbit::after{inset:58px;border:1px solid #d8b98d2b}
.f-world-hero .f-forge-layout{position:relative;z-index:1;width:min(1040px,calc(100% - 40px));padding:48px 0 24px}
.f-world-hero .f-hero-crest{width:clamp(255px,27vw,350px);margin-bottom:16px;filter:drop-shadow(0 8px 24px #000c)}
.f-world-hero h2{font-size:clamp(2.4rem,4.8vw,4.4rem);line-height:1.13;letter-spacing:.015em;margin:0 0 22px;color:#f2eade;font-weight:700}
.f-world-hero h2 em{color:#ebd0a7;text-shadow:0 0 35px #b8886130}
.f-world-hero .f-hero-lead{color:#e0d5e5;max-width:640px;font-size:1.125rem;line-height:1.75}
.f-world-hero .f-actions{margin-top:28px}
.f-world-hero .f-hero-baseline{z-index:1;width:min(1040px,calc(100% - 48px));margin-top:0;background:#0b0810d9;border-color:#99729a66}
.f-world-control-row{position:relative;z-index:2;display:flex;justify-content:flex-end;width:min(1370px,calc(100% - 48px));margin:14px auto -44px;min-height:44px}
.f-world-motion{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #87678e;border-radius:3px;color:#e5d2ec;background:#130d1be8;font:500 .875rem/1.5 var(--f-body,"DM Sans",sans-serif);cursor:pointer}
.f-world-motion[hidden]{display:none}
.f-world-motion:hover{border-color:#d5b1e7;background:#25162d;color:#fff0fc}
.f-world-motion:disabled{cursor:default}
.f-world-paths{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:27px 0 4px}
.f-world-paths a{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:48px;padding:11px 15px;border:1px solid #88708a77;background:#120d1cbf;border-radius:3px;color:#dbcede;font-size:.875rem;line-height:1.5}
.f-world-paths a:hover,.f-world-paths a:focus-visible{background:#34203ee8;border-color:#cfaddd;color:#fff0dc}
.f-world-paths svg{width:20px;height:20px;flex-shrink:0;stroke:#d5b78a;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.f-home .f-explore{border-color:#87638c;box-shadow:0 16px 65px #0005}
.f-home .f-explore-tabs{background:#0d0913;padding:14px;gap:8px;border-bottom:1px solid #755279}
.f-home .f-explore-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:94px;padding:14px 8px;position:relative;line-height:1.4;font-size:.875rem}
.f-tab-sigil{width:27px;height:27px;stroke:#bda0cf;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.f-home .f-explore-tabs button[aria-selected="true"]{border-color:#d9b78b;background:radial-gradient(ellipse at 50% 0,#ae6fc354,transparent 80%),#28192f;color:#fff0da;box-shadow:inset 0 -2px #c9a574}
.f-home .f-explore-tabs button[aria-selected="true"] .f-tab-sigil{stroke:#f0d1a4;filter:drop-shadow(0 0 7px #d5ac7b55)}
.f-home .f-explore-panel{--world-accent:#a78bd2;position:relative;background:radial-gradient(ellipse at 100% 0,#8a4caf20,transparent 65%)}
.f-home #explore-panel-seasons{--world-accent:#a7c6ac;background:radial-gradient(ellipse at 100% 0,#5c997323,transparent 65%)}
.f-home #explore-panel-builds{--world-accent:#e3c29a;background:radial-gradient(ellipse at 100% 0,#bd8c4c20,transparent 65%)}
.f-home #explore-panel-events{--world-accent:#dfacac;background:radial-gradient(ellipse at 100% 0,#b1596723,transparent 65%)}
.f-home #explore-panel-skills{--world-accent:#9dbfd3;background:radial-gradient(ellipse at 100% 0,#437d9b25,transparent 65%)}
.f-home #explore-panel-rewards{--world-accent:#e4d0a3;background:radial-gradient(ellipse at 100% 0,#98714022,transparent 65%)}
.f-home .f-explore-intro{border-bottom:1px solid #81608b55;padding-bottom:26px}
.f-home .f-explore-intro .f-eyebrow{color:var(--world-accent)}
.f-home .f-explore-card{position:relative;border-color:#72547b;background:linear-gradient(135deg,#27182cbd,#110d19);transition:border-color .25s,background .25s,box-shadow .25s}
.f-home .f-explore-card:hover,.f-home .f-explore-card:focus-within{border-color:var(--world-accent);background:linear-gradient(135deg,#33203abf,#140f1d);box-shadow:inset 0 0 30px #b580d00a}
.f-home .f-explore-card::before{content:"";position:absolute;top:12px;left:12px;width:12px;height:12px;border-left:1px solid var(--world-accent);border-top:1px solid var(--world-accent);opacity:.6;pointer-events:none}
.f-home .f-explore-card h4{padding-top:3px}
.f-home .f-raid{box-shadow:0 20px 70px #0005}
.f-home .f-raid-details[open]{border-color:#bc97cb}
.f-home .f-showcase-tabs button[aria-selected="true"]{box-shadow:inset 0 -2px #d5b17d}
.f-world-active .f-world-aura{animation:f-world-breathe 16s ease-in-out infinite alternate}
.f-world-active .f-world-orbit::before{animation:f-world-orbit-turn 100s linear infinite}
.f-world-enabled .f-explore-panel:not([hidden]){animation:f-world-arrive .32s ease-out both}
@keyframes f-world-breathe{from{opacity:.35}to{opacity:.85}}
@keyframes f-world-orbit-turn{to{transform:rotate(360deg)}}
@keyframes f-world-arrive{from{opacity:.45}to{opacity:1}}
@media(max-width:1000px){.f-world-control-row{margin-bottom:0}.f-world-hero .f-forge-layout{padding-top:8px}.f-world-orbit{top:200px}.f-home .f-explore-tabs button{min-height:82px}}
@media(max-width:700px){.f-world-hero{padding-bottom:20px}.f-world-hero .f-hero-art{background-position:76% center}.f-world-control-row{width:calc(100% - 28px);margin-top:8px}.f-world-motion{font-size:.875rem;min-height:44px;padding:9px 12px}.f-world-hero .f-forge-layout{width:calc(100% - 32px);padding:5px 0 22px}.f-world-hero h2{font-size:clamp(2.25rem,8vw,3.15rem)}.f-world-hero .f-hero-lead{font-size:1rem;line-height:1.65}.f-world-orbit{top:185px}.f-world-paths{gap:7px;margin-top:22px}.f-world-paths a{padding:10px 12px;min-height:46px;font-size:.875rem}.f-world-hero .f-hero-baseline{width:calc(100% - 28px)}.f-home .f-explore-tabs{padding:8px;gap:6px}.f-home .f-explore-tabs button{min-height:74px;flex-direction:row;gap:8px;padding:12px 8px}.f-tab-sigil{width:22px;height:22px;flex-shrink:0}}
@media(max-width:400px){.f-world-paths{display:grid;grid-template-columns:minmax(0,1fr);width:min(290px,100%);margin-inline:auto}.f-world-paths a{justify-content:flex-start;padding-left:28px}.f-home .f-explore-tabs button{font-size:.875rem}.f-tab-sigil{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.f-world-hero *,.f-world-hero *::before,.f-world-hero *::after,.f-home .f-explore-panel{animation:none!important;transition:none!important}.f-world-sky{display:none}}

/* Lead with Mobile on the homepage. The shared Mobile guide keeps its layout. */
.f-home main > section.f-home-mobile-lead {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  margin: clamp(16px, 2vw, 28px) auto;
  padding: clamp(26px, 4vw, 56px);
  gap: clamp(26px, 5vw, 68px);
  background: radial-gradient(ellipse at 80% 36%, #322048, #100b18 68%);
}
.f-home-mobile-lead .f-mobile-feature-copy h1 {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 1.05;
  margin: 0 0 20px;
}
.f-home-mobile-lead .f-mobile-feature-copy > p:not(.f-eyebrow) {
  color: #e2d5e8;
  line-height: 1.65;
}
.f-home-mobile-lead .f-mobile-feature-art {
  border-color: #af8db277;
}
@media (max-width: 780px) {
  .f-home main > section.f-home-mobile-lead {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(16px, 5vw, 34px);
  }
  .f-home-mobile-lead .f-mobile-feature-copy h1 {
    font-size: clamp(2.15rem, 8.5vw, 3.45rem);
  }
}
@media (max-width: 440px) {
  .f-home-mobile-lead .f-actions > a { width: 100%; }
}
