/* ============================================================
   GOLDEN BITCOIN V13 — V12 REFINED
   Same product architecture, upgraded iconography and interface.
   ============================================================ */
:root{
 --v13-surface:#0a0e15;--v13-surface-2:#101622;--v13-edge:rgba(255,255,255,.095);
 --v13-edge-hot:rgba(255,217,120,.26);--v13-soft-shadow:0 22px 70px rgba(0,0,0,.30);
 --v13-icon-bg:linear-gradient(145deg,rgba(141,107,255,.16),rgba(94,211,179,.07));
}
.v13-refined{background:
 radial-gradient(circle at 12% -2%,rgba(107,59,222,.13),transparent 28%),
 radial-gradient(circle at 88% 2%,rgba(94,211,179,.075),transparent 25%),
 linear-gradient(180deg,#030406,#05070b 56%,#020304)}
.ui-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ui-icon.sm{width:14px;height:14px}.ui-icon.lg{width:22px;height:22px}
.icon-badge{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--v13-edge);border-radius:14px;background:var(--v13-icon-bg);color:var(--gold-2);box-shadow:inset 0 1px rgba(255,255,255,.035)}
.icon-badge.market{color:var(--gold-2);background:linear-gradient(145deg,rgba(225,173,61,.16),rgba(247,147,26,.06))}
.icon-badge.official{color:var(--mint-2);background:linear-gradient(145deg,rgba(94,211,179,.15),rgba(107,59,222,.05))}
.icon-badge.social{color:#b9d2ff;background:linear-gradient(145deg,rgba(123,164,216,.15),rgba(107,59,222,.05))}
.icon-badge.community{color:#d7c4ff;background:linear-gradient(145deg,rgba(181,144,255,.16),rgba(94,211,179,.05))}

/* Navigation: same V12 hierarchy, clearer active and mobile states */
.v12-header{background:linear-gradient(180deg,rgba(3,4,7,.92),rgba(3,4,7,.68));border-bottom:1px solid rgba(255,255,255,.055);backdrop-filter:blur(22px) saturate(125%)}
.v12-header .nav{min-height:74px}.v12-header .brand img{filter:drop-shadow(0 0 16px rgba(225,173,61,.18))}
.v12-header .desktop-nav{gap:19px}.v12-header .desktop-nav>a{padding:10px 0;position:relative}
.v12-header .desktop-nav>a:before{content:"";position:absolute;left:50%;right:50%;bottom:2px;height:1px;background:linear-gradient(90deg,var(--gold),var(--mint));transition:.25s}
.v12-header .desktop-nav>a:hover:before,.v12-header .desktop-nav>a.active:before{left:0;right:0}
.hamak-symbol-mini{width:27px!important;height:23px!important;padding:2px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.08);overflow:hidden}
.hamak-symbol-mini img{width:100%;height:100%;object-fit:contain;filter:none!important}
.live-link{padding-inline:9px!important;border:1px solid rgba(94,211,179,.13);border-radius:999px;background:rgba(94,211,179,.035)}
.brief-link{box-shadow:0 8px 24px rgba(225,173,61,.10)}
.menu-button{width:44px;height:44px;border:1px solid var(--v13-edge)!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important;display:none;place-items:center}
.menu-button span{width:18px!important;height:1.5px!important;border-radius:2px;background:#fff!important;transition:.25s!important}
body.menu-open .menu-button span:nth-child(1){transform:translateY(6px) rotate(45deg)}body.menu-open .menu-button span:nth-child(2){opacity:0}body.menu-open .menu-button span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Dock: replace glyphs with coherent SVG */
.v13-refined .mobile-dock{padding:8px 9px!important;border-radius:22px!important;background:rgba(5,8,12,.93)!important;border-color:rgba(255,255,255,.10)!important;box-shadow:0 22px 60px rgba(0,0,0,.45)!important}
.v13-refined .mobile-dock a{min-height:49px;border-radius:15px;transition:.22s}
.v13-refined .mobile-dock a.active{background:linear-gradient(145deg,rgba(225,173,61,.11),rgba(107,59,222,.08));color:#fff!important}
.dock-icon{display:grid!important;place-items:center;width:24px;height:24px;color:#8b97a7}
.dock-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mobile-dock a.active .dock-icon{color:var(--gold-2)}.hamak-dock img{width:25px;height:20px;object-fit:contain}

/* Unified card and panel finish */
.v12-live-card,.v12-dashboard-card,.topic-room,.watch-card,.franchise-grid>div,.v12-engine-detail,.v12-svg-wrap,.community-form,.ask-form,.community-poll,.moderation-card,.watch-feature,.v11-command,.v11-deck,.chart-card,.cockpit,.timeline-item,.journal-card{
 border-color:var(--v13-edge)!important;background:linear-gradient(155deg,rgba(15,20,30,.96),rgba(5,8,13,.985))!important;box-shadow:var(--v13-soft-shadow)!important;position:relative;isolation:isolate}
.v12-live-card:before,.v12-dashboard-card:before,.topic-room:before,.watch-card:before,.v12-engine-detail:before,.v11-command:before,.chart-card:before{
 content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(255,217,120,.14),transparent 34%,rgba(94,211,179,.08));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}
.v12-live-card,.v12-dashboard-card,.topic-room,.watch-card{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.v12-live-card:hover,.v12-dashboard-card:hover,.topic-room:hover,.watch-card:hover{transform:translateY(-4px);border-color:rgba(255,217,120,.20)!important;box-shadow:0 28px 78px rgba(0,0,0,.34)!important}

/* Integrated card headings / icons */
.v13-card-label{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#c5ced9}
.v13-card-label>span:last-child{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#7f8b9b;font-weight:760}
.v12-live-card>small{display:none!important}.v12-dashboard-card header{min-height:50px}.v12-dashboard-card header .eyebrow{margin:0}.v12-dashboard-card .v13-header-icon{margin-right:4px}

/* Source chips receive an actual semantic icon */
.source-chip{min-height:29px;padding:6px 10px!important;font-weight:760;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.source-chip .ui-icon{width:13px;height:13px}.source-chip.official{background:linear-gradient(90deg,rgba(94,211,179,.085),rgba(94,211,179,.025))}.source-chip.market{background:linear-gradient(90deg,rgba(225,173,61,.09),rgba(247,147,26,.025))}.source-chip.social{background:linear-gradient(90deg,rgba(123,164,216,.09),rgba(107,59,222,.025))}.source-chip.community{background:linear-gradient(90deg,rgba(181,144,255,.09),rgba(94,211,179,.025))}

/* Buttons */
.button,.btn{position:relative;overflow:hidden;gap:9px!important}.button:after,.btn:after{content:"";width:15px;height:15px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5'/%3E%3C/svg%3E");opacity:.75;transition:transform .2s}.button.gold:after,.btn.primary:after{filter:brightness(.2)}.button:hover:after,.btn:hover:after{transform:translateX(3px)}
.button[type=submit]:after,.btn[type=submit]:after{display:none}

/* Homepage deck and tabs */
.v11-tabs,.v11-page-tabs{padding:7px!important;border:1px solid var(--v13-edge);border-radius:18px;background:rgba(5,8,13,.7);gap:5px!important}
.v11-tabs button{display:inline-flex!important;align-items:center;gap:8px!important;min-height:42px!important;border-radius:13px!important;padding:9px 13px!important}
.v11-tabs button .ui-icon{color:#7f8b9a}.v11-tabs button.active .ui-icon{color:var(--gold-2)}
.v11-pillar{border-radius:24px!important;overflow:hidden;border:1px solid var(--v13-edge)!important}.v11-pillar>div{padding:17px!important}

/* Live dashboard polish */
.v12-live-grid{gap:15px!important}.v12-live-card{border-radius:24px!important;padding:19px!important}.v12-live-card h3{font-size:22px!important}
.v12-dashboard-grid{gap:16px!important}.v12-dashboard-card{border-radius:26px!important;padding:20px!important}
.live-kpi-grid>div{border-radius:18px!important;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.008))!important}.live-kpi-grid b{letter-spacing:-.03em}
.feed-item{border-radius:18px!important;padding:13px!important}.feed-item:hover{border-color:rgba(255,217,120,.16)}

/* Community: remove placeholder-style letter icons */
.community-node{border-color:rgba(255,255,255,.14)!important;background:linear-gradient(145deg,#101521,#080b11)!important}.community-node svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7}.community-node img{width:38px;height:28px;object-fit:contain}
.topic-room .room-icon{width:48px!important;height:48px!important;border-radius:16px!important;color:var(--gold-2)!important;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px rgba(255,255,255,.035)}.topic-room .room-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.topic-room h3{font-size:20px!important}.topic-room>span:last-child{display:inline-flex;margin-top:12px;padding:6px 9px;border-radius:999px;background:rgba(141,107,255,.06);color:#a89bbf!important;font-size:10px!important}

/* Watch */
.watch-feature{border-radius:28px!important;padding:22px!important}.video-frame{box-shadow:0 22px 60px rgba(0,0,0,.34)}.watch-tabs{padding:6px;border:1px solid var(--v13-edge);border-radius:18px;background:rgba(5,8,13,.72);width:max-content;max-width:100%;overflow-x:auto;flex-wrap:nowrap!important}.watch-tabs button{border-radius:13px!important;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.watch-card div{padding:17px!important}

/* Hamak model: preserve V12 model, refine controls and information hierarchy */
.hamak-lockup[src*="hamak-logo-exact-dark"]{width:min(420px,90%);height:auto;object-fit:contain;filter:none!important}
.v12-engine-app{border:1px solid var(--v13-edge);border-radius:28px;background:linear-gradient(160deg,rgba(12,16,24,.92),rgba(4,7,11,.98));box-shadow:var(--v13-soft-shadow);padding:18px!important}
.v12-model-toolbar{padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.06)}
.mode-switch{padding:5px;border:1px solid var(--v13-edge);border-radius:16px;background:rgba(5,8,13,.72)}.mode-switch button{border:0!important;border-radius:12px!important;display:flex;align-items:center;gap:7px}.mode-switch button.active{background:linear-gradient(90deg,rgba(107,59,222,.18),rgba(225,173,61,.10))!important;box-shadow:inset 0 0 0 1px rgba(255,217,120,.13)}
.model-status{padding:8px 11px;border:1px solid rgba(94,211,179,.14);border-radius:999px;background:rgba(94,211,179,.035)}
.v12-svg-wrap{border-radius:26px!important}.v12-engine-svg{filter:saturate(1.03) contrast(1.02)}
.v12-engine-detail{border-radius:26px!important;padding:22px!important}.engine-detail-top{padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.06)}
.v13-stage-icon{margin:15px 0 7px;width:50px;height:50px;border-radius:17px}.v12-engine-detail h2{font-size:43px!important;letter-spacing:-.035em}
.v12-stage-live{border-radius:17px!important}.v12-engine-controls button{display:inline-flex;align-items:center;gap:7px!important;border-radius:13px!important;min-height:40px}.v12-stage-rail{gap:9px!important}.v12-stage-rail button{flex-basis:150px!important;border-radius:16px!important;padding:9px!important;grid-template-columns:36px 1fr!important}.v12-stage-rail button strong{width:35px!important;height:35px!important;border-radius:12px!important}.v12-stage-rail button strong svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.v12-stage-rail button.active strong{color:var(--gold-2);background:linear-gradient(145deg,rgba(225,173,61,.15),rgba(107,59,222,.10))}
.engine-node{transition:opacity .25s,transform .25s!important}.engine-node.active{transform:translateY(-2px)}

/* Forms */
.community-form,.ask-form,.premium-signup{border-radius:26px!important}.community-form input,.community-form select,.ask-form input,.ask-form textarea,.premium-signup input,.premium-signup select{border-radius:14px!important;background:#070b12!important;border-color:rgba(255,255,255,.10)!important;transition:border-color .2s,box-shadow .2s}.community-form input:focus,.community-form select:focus,.ask-form input:focus,.ask-form textarea:focus,.premium-signup input:focus,.premium-signup select:focus{outline:none;border-color:rgba(255,217,120,.34)!important;box-shadow:0 0 0 3px rgba(225,173,61,.07)}

/* Exact Hamak logo in footer/header contexts */
.footer img[src*="hamak-logo-exact"],.site-footer img[src*="hamak-logo-exact"]{filter:none!important}

@media(max-width:1080px){
 .menu-button{display:grid!important}.desktop-nav{gap:5px!important}.desktop-nav>a{display:flex!important;align-items:center;gap:11px;min-height:44px;padding:10px 12px!important;border-radius:13px}.desktop-nav>a:hover,.desktop-nav>a.active{background:rgba(255,255,255,.035)}.desktop-nav .nav-ui-icon{display:block!important;color:#8d98a7}.desktop-nav>a.active .nav-ui-icon{color:var(--gold-2)}
}
@media(min-width:1081px){.desktop-nav .nav-ui-icon{display:none!important}}
@media(max-width:720px){
 .v12-engine-app{padding:10px!important;border-radius:22px}.v12-model-toolbar{display:grid!important;gap:10px}.mode-switch{display:grid!important;grid-template-columns:1fr 1fr}.model-status{width:max-content;max-width:100%}.v12-stage-rail{bottom:82px!important;border:1px solid var(--v13-edge)}.v12-stage-rail button{flex-basis:136px!important}.v12-live-card,.v12-dashboard-card{border-radius:22px!important}.watch-feature{padding:14px!important}.community-orbit{filter:drop-shadow(0 20px 50px rgba(0,0,0,.35))}
}
@media(prefers-reduced-motion:reduce){.button:after,.btn:after{transition:none}}

.v12-live-card:after,.v12-dashboard-card:after,.topic-room:after,.watch-card:after,.v12-engine-detail:after,.chart-card:after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(320px circle at var(--mx,-100px) var(--my,-100px),rgba(255,217,120,.045),transparent 60%);pointer-events:none;z-index:-1}
