body {
    font-family: Arial, sans-serif;
    background-color: #000;
}

.label {
    width: 100%;
    height: 25px;
    background-color: yellow;
    font-size: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.label-track {
    display: inline-flex;
}

.label-text {
    display: inline-block;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.bigfront{
    width:100%;
    height:100%;
    display: flex;

    position: relative;
    justify-content: center;
    color: rgb(27, 27, 27);
}

.mainimage {
    width: 40%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.mainimage img{
    width: 100%;
}

.center-top {
    position: absolute;
    top: 60px;
    font-size: 10rem;
    font-weight: bold;
    text-align: center;
    color: yellow;
      

}

.center-bottom {
    position: absolute;
    bottom: 60px;
    font-size: 10rem;
    font-weight: bold;
    text-align: center;
    color: yellow;
  
}

@keyframes horiz-flip {
  0%  { transform: scaleX(1);  animation-timing-function: step-end; }
  98% { transform: scaleX(-1); animation-timing-function: step-end; }
}

.bigleft {
    width: 30%;
    font-size: 1.6rem;
    text-align:justify;
    margin: 20px 0;
    animation: horiz-flip 4s linear infinite;
}

.bigright {
    width: 30%;
    font-size: 1.6rem;
    text-align:justify;
    margin: 20px 0;
    animation: horiz-flip 3.7s linear infinite;
}

.gallery {
    margin: 0 0 1rem 0;
    display:flex;
    gap: 1rem;
    
}

.galleryleft {
    width: 40%;
    height: auto;
    background-color: black;
    display: block;
    align-items: center;
    justify-content: center;
    overflow: hidden;
   
}

.uppercount {
    padding: 12px;
    font-size: 1.5rem;
    text-align: justify;
    color: rgb(255, 0, 217);
    transform: rotate(180deg);
}

.undercount {
    padding: 12px;
    font-size: 1.5rem;
    text-align: justify;
    color: rgb(255, 0, 217);
    transform: rotate(180deg);
}

.counter-wrap {
    display: flex;
    flex-direction: column;
    align-items: right;
    white-space: nowrap;
    margin: 48px 12px;
    transform: rotate(180deg);
}

.counter-label {
    font-size: 1.8rem;
    font-weight: 900;
    margin: -8px 0;
    color: rgb(255, 0, 217);
}

#gallery-counter {
    font-size: 4rem;
    font-weight: 700;
    color: rgb(255, 0, 217);
    font-variant-numeric: tabular-nums;
}

.galleryright {
    width: 100%;
    height:fit-content;
}

.galleryrow {
    width: 100%;
    height: 550px;
    display: flex;
}

.piece {
    width:33.3%;
    height: 550px;
    background-color: antiquewhite;
  
}

.piece img {
    width: 100%;
    height:550px;
}


.middlelabel {
    width: 100%;
    height: auto;
    border-top: solid 3px white;
    border-bottom: solid 3px white;
    justify-content: left;
    display: flex;
    align-items: stretch;
}

.midone {
    font-size: 50px;
    padding: 1rem;
    border-right: solid 3px white;
     background-color: yellow;
     font-weight: 800;
}

.midtwo {
    display: flex;
    font-size: 40px;
    flex: 1;
}

.midtwoleft {
    text-align: left;
    display: block;
   
}

.midtwoleftt {
    font-size: 40px;
    border-bottom: solid 2px white;
    padding: 0 10px 0 10px;
    color: white;
}

.midtwoleftb {
    font-size: 40px;
    padding: 0 10px 0 10px;
    color: white;
}

.midtworight {
 text-align: center;
 display: flex;
 font-size: 80px;
  border-left: solid 3px white;
  background-color: red;
  align-items: center;
  padding: 0 1.5rem;
  flex: 1;
  animation: dying-light 0.55s step-start infinite;
}

@keyframes dying-light {
  0%   { background-color: red; }
  8%   { background-color: #5a0000; }
  9%   { background-color: red; }
  15%  { background-color: red; }
  16%  { background-color: #000; }
  17%  { background-color: red; }
  25%  { background-color: #7a0000; }
  26%  { background-color: red; }
  33%  { background-color: red; }
  34%  { background-color: #1a0000; }
  35%  { background-color: red; }
  36%  { background-color: #000; }
  37%  { background-color: red; }
  50%  { background-color: red; }
  51%  { background-color: #3a0000; }
  52%  { background-color: red; }
  60%  { background-color: #000; }
  61%  { background-color: #6a0000; }
  62%  { background-color: red; }
  70%  { background-color: red; }
  71%  { background-color: #000; }
  72%  { background-color: red; }
  73%  { background-color: #000; }
  74%  { background-color: red; }
  85%  { background-color: #4a0000; }
  86%  { background-color: red; }
  93%  { background-color: #000; }
  94%  { background-color: red; }
  100% { background-color: red; }
}

/* ── Glitch overlay ── */
#glitch-overlay {
    position: fixed;
    z-index: 9999;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gy {
    position: absolute;
    font-size: 30vw;
    font-weight: 900;
    letter-spacing: -.05em;
    pointer-events: none;
    user-select: none;
}

#gy-r { color: #f00; mix-blend-mode: screen; opacity: .85; }
#gy-g { color: #0f0; mix-blend-mode: screen; opacity: .85; }
#gy-b { color: #00f; mix-blend-mode: screen; opacity: .85; }
#gy-m { color: #fff; }

#glitch-cv {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    image-rendering: pixelated;
}

.gs {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    will-change: transform;
    background: rgba(255, 255, 255, .07);
}

#gs0 { top: 18%; height: 70px; }
#gs1 { top: 48%; height: 90px; }
#gs2 { top: 74%; height: 60px; }

/* ── Nose-scan full overlay ── */
#nose-scan {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #000;
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#ns-s1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#ns-header {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: #444;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#ns-video-wrap {
    position: relative;
    width: 480px;
    height: 360px;
    border: 1px solid #222;
    overflow: hidden;
}
#ns-video {
    width: 480px;
    height: 360px;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.2);
    transform: scaleX(-1);
}
#ns-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
#ns-meta {
    margin-top: 4px;
    width: 480px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #333;
    text-transform: uppercase;
}
#ns-status {
    margin-top: 14px;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    min-height: 18px;
}
@keyframes ns-blink {
    0%,  49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.ns-blink { animation: ns-blink 0.7s step-start infinite; }
#ns-s2, #ns-s3 {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
}
#ns-case-box {
    padding: 24px 48px;
    border: 1px solid #fff;
    font-size: 18px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
}
#ns-s3 {
    align-items: flex-start;
    padding: 0 calc(50% - 240px);
    box-sizing: border-box;
}
#ns-s3-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: #444;
    margin-bottom: 8px;
    text-transform: uppercase;
}
#ns-search-bar {
    width: 480px;
    display: flex;
    border: 1px solid #fff;
}
#ns-search-prefix {
    padding: 10px 14px;
    font-size: 11px;
    color: #555;
    border-right: 1px solid #333;
    display: flex;
    align-items: center;
}
#ns-search-input {
    flex: 1;
    background: #000;
    border: none;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    padding: 10px 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    outline: none;
}
#ns-bar-wrap {
    width: 480px;
    height: 1px;
    background: #111;
    overflow: hidden;
    margin-bottom: 6px;
}
#ns-bar { height: 1px; width: 0%; background: #fff; }
#ns-search-status {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: #444;
    height: 14px;
    margin-bottom: 36px;
    text-transform: uppercase;
}
#ns-result { display: none; }
#ns-result-main {
    font-size: 17px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
#ns-result-sub {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #555;
}

/* ── Scan card ── */
#sc-card {
    background: #000 !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    color: #fff;
}
#sc-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#sc-card canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#sc-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    padding: 24px;
    box-sizing: border-box;
}
#sc-idle-title {
    font-size: 2rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    color: rgb(255, 0, 217);
}
#sc-idle-sub {
    font-size: 16px;
    letter-spacing: .12em;
    color: #666;
}
#sc-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 9px 12px;
    background: rgba(0, 0, 0, .78);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
}
#sc-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
}
#sc-case {
    font-size: 16px;
    letter-spacing: .25em;
    color: #666;
    margin-bottom: 22px;
    text-transform: uppercase;
}
#sc-verdict {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1;
    color: rgb(255, 0, 217);
}
#sc-sub {
    font-size: 16px;
    letter-spacing: .06em;
    color: #666;
}


.cn-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    cursor: pointer;
}

.cn-title-item {
    font-size: 1rem;
    color: white;
}

.cn-title-item:hover {
    font-weight: bold;
}

.cn-titles-reveal {
    display: none;
}

.cn-titles.is-revealed {
    background: #FFE500;
    justify-content: center;
    padding: 3rem 1rem;
}

.cn-titles.is-revealed .cn-title-item {
    display: none;
}

.cn-titles.is-revealed .cn-titles-reveal {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: black;
}


	
.bottombox {
		width: 100%;
		background: #000;
		overflow: hidden;
		white-space: nowrap;
	}
.bb-track {
		display: inline-flex;
		animation: bb-scroll 45s linear infinite;
		}
.bottombox:hover .bb-track {
		animation-play-state: paused;
		}
.bb-item {
		font-size: max(32px, 2vw);
		color: yellow;
		text-transform: uppercase;
		padding: -.4em 0;
		white-space: nowrap;
	}
	@keyframes bb-scroll {
		from { transform: translateX(0); }
		to   { transform: translateX(-50%); }
	}