/* =====================================================
   VOLTBREW HOME / HERO
   Product image is integrated with the dark stage using
   edge masking, layered amber light, and a grounded shadow.
===================================================== */

.hero-section {
    min-height: 100vh;
    min-height: 780px;
    display: flex;
    align-items: center;
    padding: 112px 0 76px;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 73% 48%, rgba(255, 191, 0, .075), transparent 34%),
        radial-gradient(ellipse at 12% 75%, rgba(255, 212, 0, .035), transparent 34%),
        linear-gradient(115deg, #080808 0%, #0b0b0b 54%, #080808 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .42;
    background:
        linear-gradient(90deg, transparent 0 49.8%, rgba(255, 212, 0, .08) 50%, transparent 50.2%) 0 0 / 110px 110px,
        linear-gradient(0deg, transparent 0 49.8%, rgba(255, 212, 0, .06) 50%, transparent 50.2%) 0 0 / 110px 110px;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.hero-grid {
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr 1fr;
    gap: clamp(25px, 4vw, 70px);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 4;
    padding: 35px 0;
}

.hero-title {
    font-size: clamp(68px, 8vw, 112px);
    text-shadow: 0 8px 35px rgba(0, 0, 0, .45);
}

.hero-title span {
    text-shadow: 0 0 28px rgba(255, 212, 0, .14);
}

.hero-slogan {
    font-size: clamp(29px, 3.6vw, 46px);
    letter-spacing: -.5px;
}

.hero-description {
    max-width: 490px;
}

.hero-microdata {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 36px;
    color: #777;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1.3px;
}

.hero-microdata span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-microdata i {
    width: 13px;
    height: 13px;
    color: var(--yellow);
}

.hero-visual {
    min-height: 650px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.hero-energy-field {
    position: absolute;
    z-index: -3;
    width: min(100%, 610px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 198, 0, .13) 0%, rgba(255, 184, 0, .055) 27%, rgba(255, 184, 0, .018) 48%, transparent 70%);
    filter: blur(13px);
    animation: energyBreath 5s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    z-index: -2;
    width: 55%;
    height: 65%;
    border-radius: 50%;
    background: rgba(255, 190, 0, .13);
    filter: blur(95px);
    transform: translateY(3%);
}

.hero-orbit {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 51%;
    border: 1px solid rgba(255, 212, 0, .32);
    border-radius: 50%;
    pointer-events: none;
}

.hero-orbit-outer {
    width: min(94%, 520px);
    aspect-ratio: 1.35 / 1;
    transform: translate(-50%, -50%) rotateX(62deg);
    animation: orbitRotate 24s linear infinite;
}

.hero-orbit-inner {
    width: min(76%, 410px);
    aspect-ratio: 1.35 / 1;
    border-color: rgba(255, 212, 0, .14);
    transform: translate(-50%, -50%) rotateX(62deg) rotateZ(28deg);
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 14px 3px rgba(255, 212, 0, .55);
}

.hero-orbit::before { top: 15%; left: 12%; }
.hero-orbit::after { bottom: 15%; right: 12%; }

.hero-product-stage {
    position: relative;
    width: min(100%, 500px);
    height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-product-backlight {
    position: absolute;
    width: 48%;
    height: 78%;
    top: 10%;
    left: 26%;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 196, 0, .16), transparent);
    filter: blur(45px);
    z-index: -1;
}

.hero-product {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bottleFloat 5.5s ease-in-out infinite;
    z-index: 2;
}

.hero-product img {
    display: block;
    width: auto;
    height: min(630px, 78vh);
    max-width: 100%;
    object-fit: contain;

    /*
      The source image has a dark studio vignette rather than
      transparency. Side masking softly fades that vignette
      into the page's #080808 background without removing the label.
    */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 17%,
        #000 83%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 17%,
        #000 83%,
        transparent 100%
    );

    filter:
        drop-shadow(0 22px 24px rgba(0, 0, 0, .62))
        drop-shadow(0 0 22px rgba(255, 187, 0, .13));
}

.hero-product-shadow {
    position: absolute;
    z-index: -1;
    width: 52%;
    height: 24px;
    bottom: 3%;
    left: 24%;
    border-radius: 50%;
    background: rgba(0, 0, 0, .9);
    box-shadow:
        0 0 22px 8px rgba(255, 177, 0, .13),
        0 0 70px 18px rgba(255, 177, 0, .08);
    filter: blur(12px);
}

.hero-spec {
    top: 17%;
    right: -2%;
    z-index: 5;
    min-width: 160px;
    background: rgba(8, 8, 8, .76);
    border: 1px solid rgba(255, 212, 0, .65);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .35), 0 0 22px rgba(255, 212, 0, .07);
    backdrop-filter: blur(12px);
    padding: 15px 17px;
    line-height: 1.8;
}

.hero-spec-label {
    display: block;
    color: var(--yellow);
    font: 700 9px monospace;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.hero-spec > strong {
    color: #fff;
    font-size: 10px;
    letter-spacing: .8px;
    margin-bottom: 7px;
}

.hero-spec div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font: 9px monospace;
    color: #999;
}

.hero-spec div b {
    color: #eee;
    font-weight: 600;
}

.hero-spec .hero-spec-status {
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    border-top: 1px solid rgba(255, 212, 0, .2);
    margin-top: 9px;
    padding-top: 8px;
    color: var(--yellow);
}

.hero-spec-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #37d98b;
    box-shadow: 0 0 8px #37d98b;
}

.hero-electro {
    position: absolute;
    z-index: 4;
    bottom: 9%;
    left: -1%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--yellow);
    font: 9px monospace;
    letter-spacing: 1px;
    opacity: .78;
}

.hero-electro span {
    color: #777;
    font-size: 8px;
    margin-bottom: 3px;
}

.hero-electro strong {
    font-weight: 400;
}

.hero-stage-caption {
    position: absolute;
    bottom: 2%;
    right: 2%;
    display: flex;
    gap: 12px;
    color: #666;
    font: 8px monospace;
    letter-spacing: 1.5px;
}

.hero-stage-caption span:first-child {
    color: var(--yellow);
}

.hero-bottom-line {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    color: #555;
    font: 8px monospace;
    letter-spacing: 2px;
    pointer-events: none;
}

.hero-circuit {
    position: absolute;
    width: 180px;
    height: 220px;
    opacity: .25;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 49%, rgba(255, 212, 0, .7) 50%, transparent 51%) 0 0 / 55px 55px,
        linear-gradient(0deg, transparent 49%, rgba(255, 212, 0, .7) 50%, transparent 51%) 0 0 / 55px 55px;
    mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.hero-circuit-left {
    left: -75px;
    top: 18%;
    transform: rotate(25deg);
}

.hero-circuit-right {
    right: -75px;
    bottom: 12%;
    transform: rotate(-25deg);
}

@keyframes bottleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(.5deg); }
}

@keyframes energyBreath {
    0%, 100% { opacity: .65; transform: scale(.94); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotateX(62deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(62deg) rotateZ(360deg); }
}

@media (max-width: 1000px) {
    .hero-spec { right: -1%; }
    .hero-electro { left: 0; }
    .hero-product-stage { height: 590px; }
    .hero-product img { height: min(580px, 72vh); }
}

@media (max-width: 800px) {
    .hero-section {
        min-height: auto;
        padding: 125px 0 75px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .hero-content { padding: 15px 0 0; }
    .hero-visual { min-height: 570px; margin-top: 0; }
    .hero-product-stage { height: 550px; }
    .hero-product img { height: min(535px, 65vh); }
    .hero-spec { top: 8%; right: 0; }
    .hero-electro { bottom: 7%; left: 1%; }
    .hero-stage-caption { bottom: 1%; }
    .hero-bottom-line { bottom: 15px; }
}

@media (max-width: 500px) {
    .hero-section { padding-top: 110px; padding-bottom: 65px; }
    .hero-title { font-size: clamp(58px, 17vw, 76px); }
    .hero-title span { letter-spacing: 9px; }
    .hero-visual { min-height: 465px; }
    .hero-product-stage { height: 455px; }
    .hero-product img { height: min(445px, 60vh); }
    .hero-spec { top: 3%; right: -2%; min-width: 132px; padding: 10px; }
    .hero-spec div { font-size: 8px; }
    .hero-electro { font-size: 8px; bottom: 6%; }
    .hero-orbit-outer { width: 100%; }
    .hero-orbit-inner { width: 82%; }
    .hero-microdata { gap: 10px; font-size: 8px; }
    .hero-bottom-line { font-size: 7px; letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-product, .hero-energy-field, .hero-orbit-outer {
        animation: none !important;
    }
}
