:root { --ark-wood-dark: #14110f; --ark-wood-mid: #29231e; --ark-gold: #eab308; --ark-gold-soft: #fde047; --ark-cream: #fefce8; --ark-sky: #0ea5e9; --ark-glass-dark: rgba(20, 17, 15, 0.76); --ark-glass-border: rgba(250, 204, 21, 0.32); } .ark-page-hero { background: linear-gradient(135deg, #1c1917 0%, #0f172a 100%); color: #fefce8; padding: 1.1rem 1rem; border-radius: 0 0 20px 20px; border-bottom: 2px solid rgba(234, 179, 8, 0.45); } .ark-page-hero__inner { max-width: 1080px; margin: 0 auto; } .ark-page-hero__top-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; } .ark-page-hero__badge { display: inline-block; background: rgba(234, 179, 8, 0.16); color: var(--ark-gold-soft); border: 1px solid rgba(234, 179, 8, 0.4); border-radius: 9999px; padding: 0.22rem 0.7rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.6px; } .ark-back-link { color: #cbd5e1; font-size: 0.8rem; font-weight: 700; text-decoration: none; padding: 0.2rem 0.55rem; border-radius: 8px; border: 1px solid rgba(148, 163, 184, 0.3); } .ark-page-hero__title { font-size: clamp(1.3rem, 3.5vw, 1.95rem); font-weight: 900; color: var(--ark-gold); margin: 0 0 0.25rem 0; letter-spacing: -0.4px; } .ark-page-hero__subtitle { color: #cbd5e1; font-size: clamp(0.82rem, 2vw, 0.95rem); margin: 0 0 0.75rem 0; line-height: 1.42; max-width: 740px; } @media (max-width: 640px) { .ark-page-hero__subtitle { display: none; } } .ark-hero-toolbar { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; } .ark-control-pill { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(15, 23, 42, 0.72); padding: 0.28rem 0.65rem; border-radius: 9999px; border: 1px solid rgba(224, 195, 140, 0.3); } .ark-control-pill label { font-size: 0.72rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.4px; } .ark-control-pill select { background: transparent; color: var(--ark-gold-soft); border: none; font-weight: 800; font-size: 0.8rem; cursor: pointer; outline: none; } .ark-control-pill select option { background: #1c1917; color: #fefce8; } .ark-content-container { max-width: 1120px; margin: 0 auto; padding: 0.65rem 0.5rem 2.5rem 0.5rem; } .ark-game-wrapper { position: relative; width: 100%; background: var(--ark-wood-dark); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(234, 179, 8, 0.28); user-select: none; -webkit-user-select: none; display: flex; flex-direction: column; } .ark-game-wrapper * { box-sizing: border-box; } .ark-game-wrapper:fullscreen, .ark-game-wrapper:-webkit-full-screen, .ark-game-wrapper.is-fullscreen { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-width: 100vw !important; max-height: 100dvh !important; margin: 0 !important; border-radius: 0 !important; border: none !important; z-index: 999999 !important; } .ark-hud-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.42rem 0.65rem; background: #181411; border-bottom: 1px solid rgba(234, 179, 8, 0.25); color: #fefce8; gap: 0.4rem; z-index: 30; } .ark-hud-metrics { display: flex; align-items: center; gap: 0.55rem; background: rgba(255, 255, 255, 0.05); padding: 0.25rem 0.65rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.74rem; font-weight: 700; color: #cbd5e1; } .ark-hud-metric { display: inline-flex; align-items: center; gap: 0.24rem; white-space: nowrap; } .ark-hud-metric strong { color: var(--ark-gold-soft); font-weight: 800; } .ark-metric-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ark-gold); box-shadow: 0 0 6px var(--ark-gold); } @media (max-width: 480px) { .ark-hud-metric--hide-xs { display: none; } } .ark-hud-actions { display: flex; align-items: center; gap: 0.3rem; } .ark-icon-btn { height: 34px; min-width: 34px; padding: 0 0.5rem; border-radius: 9px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #f8fafc; display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; font-size: 0.74rem; font-weight: 700; cursor: pointer; transition: all 0.15s ease; touch-action: manipulation; } .ark-icon-btn:hover, .ark-icon-btn:active { background: rgba(255, 255, 255, 0.16); border-color: var(--ark-gold); } .ark-icon-btn--gold { background: rgba(234, 179, 8, 0.18); border-color: rgba(234, 179, 8, 0.5); color: var(--ark-gold-soft); } .ark-icon-btn--primary { background: rgba(14, 165, 233, 0.2); border-color: rgba(56, 189, 248, 0.45); color: #7dd3fc; } .ark-icon-btn--danger { color: #fca5a5; } @media (max-width: 680px) { .ark-icon-btn__label { display: none; } .ark-icon-btn { padding: 0; width: 34px; } } .ark-canvas-stage { position: relative; width: 100%; height: clamp(460px, 72vh, 660px); background: #0c192c; overflow: hidden; } .ark-game-wrapper.is-fullscreen .ark-canvas-stage, .ark-game-wrapper:fullscreen .ark-canvas-stage { flex: 1; height: 100%; max-height: none; } #babylon-ark-canvas { width: 100%; height: 100%; display: block; outline: none; touch-action: none; } .ark-mission-Banner { position: absolute; top: 0.6rem; left: 0.6rem; right: 0.6rem; max-width: 540px; margin: 0 auto; background: rgba(20, 17, 15, 0.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(250, 204, 21, 0.35); border-radius: 14px; padding: 0.42rem 0.75rem; color: #fefce8; z-index: 20; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32); } .ark-mission-banner__top { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; margin-bottom: 0.15rem; } .ark-act-pill { background: rgba(234, 179, 8, 0.22); color: #fde047; padding: 0.1rem 0.48rem; border-radius: 6px; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.3px; text-transform: uppercase; } .ark-verse-tag { font-size: 0.68rem; color: #e2e8f0; font-weight: 700; opacity: 0.9; } .ark-mission-banner__text { margin: 0; font-size: clamp(0.76rem, 2vw, 0.85rem); line-height: 1.32; color: #f8fafc; font-weight: 600; } .ark-cubit-meter { position: absolute; top: 4.5rem; left: 50%; transform: translateX(-50%); background: var(--ark-glass-dark); backdrop-filter: blur(8px); border: 1.5px solid var(--ark-gold); border-radius: 12px; padding: 0.4rem 0.85rem; color: #fefce8; min-width: 230px; z-index: 22; } .ark-cubit-meter__title { font-size: 0.72rem; font-weight: 800; color: var(--ark-gold-soft); margin-bottom: 0.25rem; display: flex; justify-content: space-between; gap: 0.5rem; } .ark-cubit-meter__track { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.12); border-radius: 999px; overflow: hidden; } .ark-cubit-meter__fill { height: 100%; width: 100%; background: linear-gradient(90deg, #22c55e, #eab308); transition: width 0.15s ease; } .ark-cubit-meter__fill.is-offtrack { background: linear-gradient(90deg, #ef4444, #f97316); } .ark-carpenter-inspector { position: absolute; top: 4.4rem; right: 0.65rem; width: min(280px, 88%); background: rgba(20, 17, 15, 0.88); backdrop-filter: blur(10px); border: 1.5px solid rgba(250, 204, 21, 0.55); border-radius: 14px; padding: 0.7rem 0.85rem; color: #fff8e7; z-index: 24; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); } .ark-carpenter-inspector__header { margin-bottom: 0.25rem; } .ark-carpenter-inspector__badge { font-size: 0.66rem; font-weight: 800; text-transform: uppercase; background: rgba(234, 179, 8, 0.22); color: #fde047; padding: 0.14rem 0.45rem; border-radius: 5px; } .ark-carpenter-inspector__species { font-size: 0.92rem; font-weight: 800; color: #fde047; margin: 0 0 0.25rem 0; } .ark-carpenter-inspector__acoustic { font-size: 0.76rem; line-height: 1.35; padding: 0.35rem 0.5rem; border-radius: 8px; background: rgba(255, 255, 255, 0.07); margin-bottom: 0.45rem; } .ark-carpenter-inspector__actions { display: flex; gap: 0.4rem; } .ark-carpenter-btn { flex: 1; padding: 0.42rem 0.5rem; border-radius: 8px; border: 1px solid rgba(234, 179, 8, 0.5); background: linear-gradient(135deg, #ca8a04 0%, #854d0e 100%); color: #fff; font-weight: 800; font-size: 0.74rem; cursor: pointer; } .ark-carpenter-btn--chalk { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); border-color: #4ade80; } .ark-interact-prompt { position: absolute; bottom: 8.6rem; left: 50%; transform: translateX(-50%); background: rgba(20, 17, 15, 0.88); backdrop-filter: blur(8px); color: #fef08a; border: 1.5px solid #eab308; padding: 0.42rem 0.95rem; border-radius: 9999px; font-weight: 800; font-size: 0.82rem; z-index: 25; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; } .ark-interact-prompt__key { width: 22px; height: 22px; border-radius: 6px; background: #eab308; color: #1c1917; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; flex-shrink: 0; } .ark-dialogue-box { position: absolute; bottom: 8.4rem; left: 50%; transform: translateX(-50%); width: min(580px, 92%); background: rgba(20, 17, 15, 0.9); backdrop-filter: blur(10px); border: 1.5px solid rgba(224, 195, 140, 0.65); border-radius: 14px; padding: 0.6rem 0.8rem; color: #fff8e7; z-index: 26; display: flex; align-items: center; gap: 0.65rem; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55); } .ark-dialogue-box__avatar { width: 38px; height: 38px; border-radius: 10px; background: rgba(234, 179, 8, 0.18); border: 1px solid rgba(234, 179, 8, 0.5); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; } .ark-dialogue-box__content { flex: 1; min-width: 0; } .ark-dialogue-box__speaker { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.12rem; } .ark-dialogue-box__speaker strong { color: #fde047; font-size: 0.78rem; } .ark-dialogue-box__role { font-size: 0.66rem; color: #cbd5e1; opacity: 0.85; } .ark-dialogue-box__text { font-size: 0.78rem; line-height: 1.36; color: #f8fafc; margin: 0; } .ark-dialogue-box__close { background: rgba(234, 179, 8, 0.22); border: 1px solid rgba(234, 179, 8, 0.55); color: #fde047; border-radius: 8px; padding: 0.3rem 0.55rem; font-size: 0.72rem; font-weight: 800; cursor: pointer; flex-shrink: 0; } .ark-floating-touch-hud { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.75rem 1rem 0.9rem 1rem; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; z-index: 24; } @media (min-width: 1025px) and (hover: hover) and (pointer: fine) { .ark-floating-touch-hud { display: none; } .ark-dialogue-box, .ark-interact-prompt { bottom: 1.25rem; } } .ark-joystick-zone { width: 112px; height: 112px; position: relative; pointer-events: auto; touch-action: none; display: flex; align-items: center; justify-content: center; } .ark-joystick-base { width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.72) 100%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 2px solid rgba(255, 255, 255, 0.24); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.08); position: relative; display: flex; align-items: center; justify-content: center; } .ark-joystick-arrows { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); pointer-events: none; } .ark-joystick-stick { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fde047 0%, #ca8a04 80%); border: 2px solid rgba(255, 255, 255, 0.75); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); position: absolute; transform: translate3d(0, 0, 0); transition: transform 0.05s linear; pointer-events: none; } .ark-joystick-zone.is-active .ark-joystick-base { border-color: rgba(250, 204, 21, 0.65); } .ark-gamepad-cluster { display: flex; align-items: flex-end; gap: 0.75rem; pointer-events: auto; } .ark-pad-circle { width: 64px; height: 64px; border-radius: 50%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #fff; cursor: pointer; touch-action: manipulation; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.35); transition: transform 0.1s ease, box-shadow 0.1s ease; } .ark-pad-circle--jump { background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.85), rgba(3, 105, 161, 0.92)); border: 2px solid rgba(125, 211, 252, 0.75); margin-bottom: 0.2rem; } .ark-pad-circle--action { width: 72px; height: 72px; background: radial-gradient(circle at 30% 30%, rgba(234, 179, 8, 0.92), rgba(161, 98, 7, 0.95)); border: 2px solid rgba(254, 240, 138, 0.85); margin-bottom: 1.35rem; } .ark-pad-circle:active, .ark-pad-circle.is-pressed { transform: scale(0.92); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); } .ark-pad-circle__badge { position: absolute; top: -4px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: #0f172a; border: 1.5px solid rgba(255, 255, 255, 0.6); font-size: 0.65rem; font-weight: 900; display: flex; align-items: center; justify-content: center; color: #f8fafc; } .ark-pad-circle__sub { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.2px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .ark-modal-overlay { position: absolute; inset: 0; background: rgba(12, 10, 9, 0.84); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 0.85rem; z-index: 60; } .ark-modal-overlay.is-open { display: flex; } .ark-modal-card { background: #1c1917; border: 1.5px solid var(--ark-gold); border-radius: 18px; max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 1.2rem; color: #fefce8; position: relative; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65); } .ark-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #57534e; background: #292524; color: #e7e5e4; cursor: pointer; font-weight: 800; } .ark-modal-header { margin-bottom: 0.85rem; } .ark-modal-header h3 { font-size: 1.2rem; color: var(--ark-gold-soft); margin: 0.3rem 0 0.2rem 0; } .ark-modal-header p { font-size: 0.84rem; color: #cbd5e1; margin: 0; } .ark-phases-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.7rem; margin-top: 0.65rem; } .ark-phase-card { background: #292524; border: 1px solid #44403c; border-radius: 12px; padding: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; } .ark-phase-card.is-completed { border-color: #22c55e; background: rgba(20, 83, 45, 0.25); } .ark-phase-card.is-current { border-color: var(--ark-gold); } .ark-phase-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; color: #a8a29e; font-weight: 700; } .ark-phase-card__title { font-weight: 800; color: #fef08a; font-size: 0.9rem; } .ark-phase-card__question { font-size: 0.78rem; color: #e7e5e4; background: rgba(0, 0, 0, 0.28); padding: 0.4rem 0.55rem; border-radius: 8px; border-left: 3px solid var(--ark-gold); margin-top: 0.2rem; } .ark-footer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.85rem; margin-top: 1rem; } .ark-info-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1rem; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04); } .ark-info-card h4 { margin: 0 0 0.35rem 0; color: #1e293b; font-size: 0.92rem; } .ark-info-card p { margin: 0; color: #475569; font-size: 0.82rem; line-height: 1.48; } .ark-modal-card--victory { max-width: 390px; max-height: none; overflow: visible; padding: 1.15rem 1.25rem; border: 2px solid var(--ark-gold); background: linear-gradient(180deg, #1c1917 0%, #171412 100%); } .ark-victory-simple { display: flex; flex-direction: column; align-items: stretch; gap: 0.65rem; text-align: center; } .ark-victory-simple__icon { font-size: 1.9rem; line-height: 1; } .ark-victory-simple__title { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ark-gold-soft); } .ark-victory-simple__subtitle { font-size: 0.88rem; color: #e7e5e4; font-weight: 600; margin-bottom: 0.1rem; } .ark-guardian-form { display: flex; flex-direction: row; align-items: stretch; gap: 0.5rem; } .ark-guardian-form__input { flex: 1; min-width: 0; min-height: 44px; padding: 0.55rem 0.8rem; border-radius: 10px; border: 1.5px solid #78716c; background: #0c0a09; color: #ffffff; font-size: 0.95rem; font-weight: 600; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .ark-guardian-form__input::placeholder { color: #78716c; font-weight: 400; } .ark-guardian-form__input:focus { border-color: var(--ark-gold); box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25); } .ark-guardian-form__btn { min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 10px; border: none; background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); color: #1c1917; font-weight: 800; font-size: 0.92rem; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, filter 0.15s ease; } .ark-guardian-form__btn:hover { filter: brightness(1.08); } .ark-guardian-form__btn:active { transform: scale(0.97); } .ark-guardian-feedback { font-size: 0.82rem; font-weight: 700; padding: 0.45rem 0.7rem; border-radius: 8px; } .ark-guardian-feedback.is-success { background: rgba(20, 83, 45, 0.65); border: 1px solid #22c55e; color: #bbf7d0; } .ark-guardian-feedback.is-error { background: rgba(127, 29, 29, 0.65); border: 1px solid #f87171; color: #fecaca; } .ark-honor-roll-section { background: rgba(12, 10, 9, 0.55); border: 1px solid #44403c; border-radius: 12px; padding: 0.8rem 0.9rem; } .ark-honor-roll-section__header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; } .ark-honor-roll-section__header h4 { margin: 0; font-size: 0.92rem; color: #fef08a; } .ark-honor-roll-section__sub { font-size: 0.72rem; color: #a8a29e; font-weight: 700; text-transform: uppercase; } .ark-honor-roll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 0.55rem; max-height: 210px; overflow-y: auto; padding-right: 0.2rem; } .ark-honor-card { background: #292524; border: 1px solid rgba(234, 179, 8, 0.35); border-radius: 10px; padding: 0.5rem 0.65rem; display: flex; align-items: center; gap: 0.55rem; } .ark-honor-card__rank { font-size: 1.25rem; line-height: 1; } .ark-honor-card__body { display: flex; flex-direction: column; min-width: 0; } .ark-honor-card__name { font-size: 0.86rem; color: #fefce8; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ark-honor-card__meta { font-size: 0.72rem; color: #fde047; } .ark-honor-roll-empty { grid-column: 1 / -1; text-align: center; padding: 0.75rem; font-size: 0.82rem; color: #a8a29e; font-style: italic; } .ark-victory-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-top: 0.25rem; } .ark-victory-btn { width: 100%; min-height: 42px; padding: 0.55rem 1rem; border-radius: 10px; font-size: 0.88rem; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; transition: transform 0.15s ease, filter 0.15s ease; } .ark-victory-btn--primary { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: #ffffff; border: 1.5px solid #86efac; box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35); } .ark-victory-btn--secondary { background: #292524; color: #fef08a; border: 1.5px solid var(--ark-gold); } .ark-victory-btn:hover { filter: brightness(1.08); } .ark-victory-btn:active { transform: scale(0.98); } .ark-honor-roll-banner { margin-top: 1.15rem; background: linear-gradient(135deg, #1c1917 0%, #292524 100%); border: 1.5px solid rgba(234, 179, 8, 0.55); border-radius: 16px; padding: 1.1rem 1.25rem; color: #fefce8; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12); } .ark-honor-roll-banner__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; } .ark-honor-roll-banner__title { margin: 0.25rem 0 0.2rem 0; font-size: 1.12rem; color: #fef08a; } .ark-honor-roll-banner__desc { margin: 0; font-size: 0.83rem; color: #d6d3d1; } .ark-story { position: absolute; inset: 0; z-index: 70; display: none; background: #05080d; overflow: hidden; opacity: 0; transition: opacity 0.6s ease; } .ark-story.is-open { display: block; animation: arkStoryFadeIn 0.8s ease forwards; } .ark-story.is-closing { animation: arkStoryFadeOut 0.7s ease forwards; } @keyframes arkStoryFadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes arkStoryFadeOut { from { opacity: 1; } to { opacity: 0; } } .ark-story__frame { position: absolute; inset: 0; } .ark-story__layer { position: absolute; inset: -4%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 1.4s ease; will-change: transform, opacity; } .ark-story__layer.is-visible { opacity: 1; } .ark-story__layer--kb-in-left { animation: arkKbInLeft 22s ease-out forwards; } .ark-story__layer--kb-in-right { animation: arkKbInRight 22s ease-out forwards; } .ark-story__layer--kb-in-center { animation: arkKbInCenter 22s ease-out forwards; } .ark-story__layer--kb-out { animation: arkKbOut 22s ease-out forwards; } .ark-story__layer--kb-rise { animation: arkKbRise 22s ease-out forwards; } @keyframes arkKbInLeft { from { transform: scale(1.02) translate(1.5%, 0); } to { transform: scale(1.14) translate(-2%, -1%); } } @keyframes arkKbInRight { from { transform: scale(1.03) translate(-1.5%, 0); } to { transform: scale(1.15) translate(2%, -1%); } } @keyframes arkKbInCenter { from { transform: scale(1.0); } to { transform: scale(1.12); } } @keyframes arkKbOut { from { transform: scale(1.16); } to { transform: scale(1.02); } } @keyframes arkKbRise { from { transform: scale(1.12) translate(0, 2.5%); } to { transform: scale(1.04) translate(0, -1.5%); } } .ark-story__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.78) 100%); } .ark-story__weather { position: absolute; inset: -10% -10% 0 -10%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; } .ark-story__weather--drizzle, .ark-story__weather--storm, .ark-story__weather--window-rain { background-image: repeating-linear-gradient(103deg, rgba(210, 228, 255, 0.0) 0px, rgba(210, 228, 255, 0.0) 7px, rgba(210, 228, 255, 0.22) 8px, rgba(210, 228, 255, 0.0) 9px), repeating-linear-gradient(97deg, rgba(210, 228, 255, 0.0) 0px, rgba(210, 228, 255, 0.0) 13px, rgba(210, 228, 255, 0.16) 14px, rgba(210, 228, 255, 0.0) 15px); background-size: 120px 220px, 180px 300px; animation: arkRainFall 0.55s linear infinite; } .ark-story__weather--drizzle { opacity: 0.45; } .ark-story__weather--storm { opacity: 0.9; animation-duration: 0.35s; } .ark-story__weather--window-rain { opacity: 0.18; animation-duration: 0.9s; } @keyframes arkRainFall { from { background-position: 0 0, 0 0; } to { background-position: -40px 220px, -50px 300px; } } .ark-story__weather--sunrays { opacity: 1; background: radial-gradient(ellipse at 70% 10%, rgba(255, 226, 150, 0.45) 0%, rgba(255, 226, 150, 0) 55%); animation: arkSunPulse 6s ease-in-out infinite alternate; } @keyframes arkSunPulse { from { opacity: 0.55; } to { opacity: 1; } } .ark-story__weather--clear { opacity: 0; } .ark-story__flash { position: absolute; inset: 0; pointer-events: none; background: rgba(225, 235, 255, 0.85); opacity: 0; } .ark-story__flash.is-flashing { animation: arkLightning 0.9s ease-out; } @keyframes arkLightning { 0% { opacity: 0; } 8% { opacity: 0.55; } 16% { opacity: 0.08; } 24% { opacity: 0.4; } 100% { opacity: 0; } } .ark-story__top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.9rem; z-index: 2; } .ark-story__progress { flex: 1; display: flex; gap: 0.3rem; } .ark-story__seg { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; } .ark-story__seg i { display: block; height: 100%; width: 0; background: #fde047; } .ark-story__seg.is-done i { width: 100%; } .ark-story__seg.is-active i { animation: arkSegFill 16s linear forwards; } @keyframes arkSegFill { from { width: 0; } to { width: 100%; } } .ark-story__skip { min-height: 36px; padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.45); color: #ffffff; font-size: 0.78rem; font-weight: 700; cursor: pointer; white-space: nowrap; } .ark-story__caption { position: absolute; left: 50%; bottom: 1rem; transform: translate(-50%, 12px); width: min(92%, 760px); padding: 0.85rem 1rem 0.75rem; border-radius: 16px; background: rgba(12, 10, 9, 0.72); border: 1px solid rgba(253, 224, 71, 0.35); backdrop-filter: blur(6px); color: #fefce8; opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; z-index: 2; } .ark-story__caption.is-shown { opacity: 1; transform: translate(-50%, 0); } .ark-story__meta { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; flex-wrap: wrap; } .ark-story__chapter { font-size: 0.74rem; font-weight: 800; color: #fde047; text-transform: uppercase; letter-spacing: 0.04em; } .ark-story__ref { font-size: 0.72rem; color: #d6d3d1; font-weight: 700; } .ark-story__text { margin: 0; font-size: clamp(0.88rem, 2.3vw, 1.06rem); line-height: 1.5; font-weight: 600; } .ark-story__actions { display: flex; justify-content: flex-end; margin-top: 0.5rem; } .ark-story__next { min-height: 38px; padding: 0.4rem 1rem; border-radius: 10px; border: none; background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); color: #1c1917; font-weight: 800; font-size: 0.86rem; cursor: pointer; } @media (max-width: 600px) { .ark-story__caption { bottom: 0.5rem; padding: 0.65rem 0.75rem 0.6rem; } .ark-story__text { font-size: 0.86rem; } } @media (prefers-reduced-motion: reduce) { .ark-story__layer, .ark-story__weather { animation: none !important; } }