.site-header { color: #fff; background: #141421; }
.header-inner { display: flex; gap: 36px; align-items: center; min-height: 92px; }
.wordmark { display: inline-flex; align-items: baseline; color: #fff; font-size: 32px; font-weight: 900; font-style: italic; letter-spacing: -1.8px; line-height: 1; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.wordmark .wordmark-dot { font-size: 40px; margin-left: 2px; }
.wordmark:hover { text-decoration: none; }
.header-message { display: flex; flex: 1; justify-content: space-between; align-items: center; color: #494949; background: #f4f4f4; border-radius: 7px; padding: 9px 18px; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.header-message > span:last-child { font-size: 26px; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.account-link { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: 25px; color: var(--gold); }
.icon-button { border: 0; background: transparent; color: #fff; min-width: 44px; min-height: 44px; font-size: 24px; }
.mobile-menu { padding-block: 0 20px; }
.mobile-menu a { display: block; padding: 10px 0; }
.category-nav { border-bottom: 1px solid #45414d; background: #141421; color: #fff; }
.categories { display: flex; align-items: center; justify-content: center; gap: 64px; min-height: 82px; }
.categories a { display: flex; gap: 12px; align-items: center; padding-block: 16px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.categories img { object-fit: cover; border-radius: 50%; }
.top-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-top: 10px; }
.top-auth .button { min-height: 43px; font-size: 14px; }
.button-login { color: #171717; background: linear-gradient(145deg, #ffd700, #a5a4ac 55%, #ffd700); border: 1px solid #77727f; box-shadow: 0 3px 5px #0003; }
.button-register { color: #fff; background: linear-gradient(145deg, #112de1, #06039e 60%, #9e4b00); border: 1px solid #263ecb; box-shadow: 0 3px 5px #0003; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 448px); column-gap: 48px; grid-template-areas: "gallery heading" "gallery content" "faq information"; grid-template-rows: auto 1fr auto; padding-top: 40px; padding-bottom: 42px; }
.product-heading { grid-area: heading; margin-bottom: 22px; }
.gallery { grid-area: gallery; min-width: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-content: start; align-self: start; padding: 14px 14px 14px 0; background: #050c08; }
.gallery-stage { grid-column: 2; grid-row: 1; position: relative; min-width: 0; aspect-ratio: 1; border: 1px solid #455047; border-radius: 26px; overflow: hidden; background: #101713; }
.gallery-panel { width: 100%; height: 100%; }
.image-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #595959; background: #f1f1f1; border: 1px solid #e0e0e0; text-align: center; overflow: hidden; }
.hero-image { display: flex; aspect-ratio: 1; width: 100%; height: 100%; border: 0; border-radius: 0; }
.asset-image { width: 100%; object-fit: contain; }
.image-placeholder > span:not(.placeholder-symbol) { font-size: 15px; font-weight: 600; }
.image-placeholder small { font-size: 12px; color: #595959; }
.placeholder-symbol { font-size: 38px; color: #aaa; line-height: 1.2; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid #d9d9d9; border-radius: 50%; background: #fff; color: #444; font-size: 30px; line-height: 1; box-shadow: 0 2px 9px #0001; }
.gallery-arrow:hover { background: #faf5d8; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.favorite { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 27px; border: 1px solid #ddd; }
.favorite:hover { text-decoration: none; color: #9b7200; }
.gallery-counter { position: absolute; bottom: 12px; right: 16px; background: #fffd; padding: 3px 10px; color: #606060; border-radius: 12px; font-size: 11px; }
.gallery-thumbnails { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 0; grid-column: 1; grid-row: 1; }
.gallery-thumbnails button { width: 80px; height: 80px; flex: 0 0 auto; display: block; padding: 0; overflow: hidden; border: 1px solid #627065; border-radius: 18px; background: #101713; color: #ddd; transition: border-color .18s, box-shadow .18s; }
.gallery-thumbnails button:hover { border-color: #e8d46d; }
.gallery-thumbnails button[aria-pressed="true"] { border: 2px solid #ffd700; box-shadow: 0 0 0 1px #ffd70033; }
.thumbnail-image { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; border: 0; }
.thumbnail-image .placeholder-symbol { font-size: 25px; }
.thumbnail-image > span:not(.placeholder-symbol), .thumbnail-image small { display: none; }
.product-content { grid-area: content; min-width: 0; }
.product-label { font-size: 14px; margin-bottom: 12px; color: #555; }
.primary-auth { display: flex; gap: 10px; margin-bottom: 26px; }
.primary-auth .button { flex: 1; min-height: 51px; }
.intro-copy { font-size: 14px; line-height: 1.8; color: #444; }
.panel { overflow: hidden; border-radius: var(--radius); margin-top: 32px; border: 1px solid #b1a16b; }
.panel-heading { padding: 20px 18px; font-size: 17px; text-align: center; letter-spacing: .4px; background: linear-gradient(120deg, #38362c, #101010); color: var(--gold); border-bottom: 1px solid #7e703a; }
.panel-heading span { font-size: 13px; white-space: nowrap; }
.faq-box { grid-area: faq; align-self: center; background: linear-gradient(90deg, #eee5e0, #ffd700); box-shadow: 0 7px 20px #0002; color: #242424; }
.faq-box .panel-heading { background: #ffd700; color: #242424; border-bottom-color: #c9ae3b; }
.faq-box details { border-bottom: 1px solid #ffffff19; }
.faq-box summary { list-style: none; position: relative; padding: 17px 42px 17px 18px; cursor: pointer; font-size: 13px; font-weight: 650; min-height: 52px; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font-size: 20px; color: #514400; }
.faq-box details[open] summary::after { content: "−"; }
.faq-box summary:hover, .faq-box details[open] summary { background: #ffe460; }
.faq-box details p { padding: 14px 18px 20px; color: #333; background: #fff; font-size: 13px; line-height: 1.75; }
.faq-box .panel-foot { background: #fff8f5; }
.panel-foot { padding: 11px 16px; text-align: center; background: linear-gradient(100deg, #eae5d4, #f7d524); color: #483d15; font-size: 11px; }
.info-box { grid-area: information; background: #1a0703; }
.info-box table { width: 100%; border-collapse: collapse; font-size: 12px; }
.info-box th, .info-box td { border-bottom: 1px solid #ffffff17; padding: 12px 17px; text-align: left; color: #fff; vertical-align: top; }
.info-box th { font-weight: 500; width: 45%; color: #e8dfbe; }
.info-box td { font-weight: 600; }
.info-box tr:hover { background: #ffffff08; }
.information-banner { display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: #faf5d9; border: 1px solid #eee1a7; border-radius: 5px; font-size: 14px; color: #51481c; }
.information-banner > span { font-size: 30px; font-weight: 800; }
.secondary-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-block: 50px; }
.article-section { padding: 28px 24px; border: 1px solid #d5b800; border-radius: 12px; background: #f0eff5; box-shadow: 0 3px 6px #0001; }
.article-section > h2 { margin-bottom: 20px; font-size: 24px; }
.article-section > p { color: #555; font-size: 14px; line-height: 1.8; }
.number-machine { width: min(100%, 380px); margin: 30px auto 20px; padding: 25px 22px 18px; color: #fff; text-align: center; border-radius: var(--radius); border: 1px solid #ab8d21; background: radial-gradient(at 10% 0, #ffd70055, transparent 50%), linear-gradient(145deg, #ad940d, #1f2122 55%, #b59a15); box-shadow: 0 10px 25px #a88a142b; }
.number-machine h3 { font-size: 17px; letter-spacing: .8px; margin-bottom: 20px; }
.number-display { display: flex; gap: 10px; justify-content: center; padding: 12px; border: 1px solid #b796242e; border-radius: 12px; background: #101010; }
.ball { display: grid; place-items: center; width: 56px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(at 30% 30%, #ffe973, #ffc400 60%, #df9500); color: #312700; font-size: 28px; font-weight: 800; box-shadow: inset -3px -4px 6px #60480033, 0 2px 8px #0005; }
.ball.spinning { animation: spin .25s ease-in-out infinite alternate; }
@keyframes spin { to { transform: translateY(-4px) rotateY(40deg); } }
.generator-button { margin-top: 20px; color: #181500; background: var(--gold); min-width: 200px; }
.generator-button:disabled { opacity: .75; cursor: progress; }
.machine-note { font-size: 11px; color: #fff5d5; margin-top: 12px; }
.brand-seal { display: grid; place-items: center; padding-block: 12px; }
.brand-seal img { border-radius: 50%; }
.review-box { align-self: start; padding: 24px; border-radius: 12px; border: 1px solid #eee; box-shadow: 0 4px 20px #0000000a; }
.review-box > h2 { font-size: 20px; padding-left: 12px; border-left: 4px solid #4caf50; }
.review-note { font-size: 12px; color: #666; margin: 12px 0 20px; }
.review-card { display: flex; align-items: flex-start; gap: 12px; background: #f9f9f9; border-radius: 9px; padding: 17px 14px; margin-bottom: 12px; }
.review-avatar { display: grid; flex: 0 0 40px; height: 40px; place-items: center; background: #e3e9e3; color: #4c5c4c; border-radius: 50%; }
.review-card h3 { font-size: 13px; margin-bottom: 6px; }
.review-sample-label { display: inline-block; margin-bottom: 8px; padding: 2px 7px; border-radius: 4px; background: #e8ede8; color: #435043; font-size: 10px; line-height: 1.5; }
.review-card p { font-size: 12px; color: #666; line-height: 1.6; }
.review-footer { text-align: center; font-size: 11px; color: #777; margin-top: 16px; }
.markets { border-radius: 18px; padding: 34px 24px; background: radial-gradient(ellipse at top, #6e5c00, #090909 75%); border: 2px solid #e0bd00; box-shadow: 0 0 24px #bca00025; color: #fff; }
.markets > h2 { color: var(--gold); text-align: center; letter-spacing: 2px; font-size: 25px; margin-bottom: 28px; }
.market-list { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.market-card { min-width: 0; padding: 22px 14px; text-align: center; background: linear-gradient(#332a0cbb, #050505); border: 1px solid #a48b13; border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.market-card:hover { transform: translateY(-5px); box-shadow: 0 0 20px #ffd70033; }
.market-image { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 8px; background: #e8e7e3; border-color: #cbc9bf; }
.market-image .placeholder-symbol { font-size: 28px; }
.market-image > span:not(.placeholder-symbol) { font-size: 9px; }
.market-image small { font-size: 8px; }
.market-card h3 { font-size: 15px; }
.market-card > p { font-size: 11px; color: #e0d5a2; margin: 9px 0 16px; }
.additional-info { margin-block: 48px; padding-block: 12px; }
.additional-info h2 { font-size: 23px; margin-bottom: 22px; }
.additional-info h3 { font-size: 14px; margin-bottom: 10px; }
.topic-links { display: flex; gap: 12px; flex-wrap: wrap; }
.topic-links a { font-size: 12px; color: #544600; border-bottom: 1px solid #b6a75c; min-height: 36px; padding-block: 5px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; font-size: 13px; color: #555; }
#share-status { font-size: 12px; }
.site-footer { background: #191919; color: #bcbcbc; padding: 44px 0 140px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 35px; }
.footer-brand p { font-size: 12px; margin-top: 14px; }
.footer-main nav h2 { font-size: 14px; color: #fff; margin-bottom: 16px; }
.footer-main nav a { display: block; font-size: 12px; min-height: 32px; padding-block: 4px; }
.footer-bottom { display: flex; gap: 20px; justify-content: space-between; align-items: center; font-size: 11px; border-top: 1px solid #ffffff21; padding-top: 22px; }
.footer-bottom small { font-size: inherit; }
.floating-nav { position: fixed; z-index: 20; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(500px, calc(100% - 30px)); display: flex; align-items: center; gap: 4px; min-height: 74px; padding: 9px 8px; background: #100519f2; border: 1px solid #92701a; border-radius: 50px; color: var(--gold); box-shadow: 0 8px 30px #0006, 0 0 12px #c95e0740; backdrop-filter: blur(10px); }
.floating-nav > a, .floating-nav > span { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; font-size: 9px; font-weight: 650; min-height: 48px; text-align: center; }
.floating-nav > a > span, .floating-nav > span > span { font-size: 22px; line-height: 1; }
.floating-nav .floating-register { flex: 0 0 52px; width: 52px; height: 52px; margin: -30px 4px 0; border: 3px solid #190d1c; border-radius: 50%; background: linear-gradient(135deg, #443d1b, #ffd700); color: #201c08; box-shadow: 0 4px 16px #ffd70055; }
.floating-register > span { font-size: 26px !important; }
.floating-nav a:hover { text-decoration: none; color: #fff; }
.floating-nav .floating-register:hover { color: #000; }
.floating-nav .unavailable { color: #b6ac88; cursor: default; }
