html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/*font-family: 'Barlow', sans-serif;
font-family: 'Play', sans-serif;*/
:root {
    --bg-opaque: rgba(31, 109, 98, 0.7);
    --bg-opaque-dark: rgba(8, 51, 51, .8);
    --concrete-raw: #b1b1b1;
    --concrete-white: #f1f1f1;
    --concrete-dark: #1B9B97;
    --moss-glow: #a3e635;
    --moss-deep: #14532d;
    --rust: #78350f;
    --void: #0a0c0b;
    --font-main: 'Inter', sans-serif;
    --font-mono: "Goldman", sans-serif;
    --high-color:#00FFEC;
    --high-color-hover:#B3FFF9  ;
    
    --head-color:#00FFEC;
    --txt-color:#B9DBE7;

    /* Grid colors */
    --grid-color: rgba(163, 230, 53, 0.15);
    --grid-color-bright: rgba(163, 230, 53, 0.3);
    --grid-glow: rgba(163, 230, 53, 0.05);

    /* Team A - Cyan/Blue */
    --team-a-primary: #0891b2;
    --team-a-secondary: #06b6d4;
    --team-a-glow: rgba(6, 182, 212, 0.3);
    --team-a-bg: #f0fdfa;
    --team-a-border: #0891b2;

    /* Team B - Orange/Amber */
    --team-b-primary: #ea580c;
    --team-b-secondary: #f97316;
    --team-b-glow: rgba(249, 115, 22, 0.3);
    --team-b-bg: #fff7ed;
    --team-b-border: #ea580c;
    
    --player-bg: #fff;
    --player-surface: #fff;
    --player-border: rgba(255,255,255,0.06);
    --player-accent: #1B9B97;
    --player-accent-glow: #1B9B97;
    --player-text: #e8e6f0;
    --player-text-dim: #6b6885;
    --player-progress-bg: rgba(255,255,255,0.08);
    --player-radius: 16px;
}


body {
    background-color: var(--void);
    color: var(--concrete-raw);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.4;
}

/* --- SVG Filters --- */
.noise-filter {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0.05;
    z-index: 9999;
}

/* --- Layout Utility --- */
.brutalist-border {
    border: 4px solid var(--concrete-dark);
    position: relative;
}

.eroded-edge {
    clip-path: polygon(0% 0%, 98% 2%, 100% 100%, 2% 98%, 0% 100%);
}

.verdant-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* --- Header --- */
nav {
    padding: 2rem;
    mix-blend-mode: difference;
    z-index: 100;
}

.nav-link {
    font-family: var(--font-mono);
    color: var(--moss-glow) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px var(--moss-glow);
}

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1c1a 0%, #0a0c0b 100%);
}

.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 0.8;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 2px var(--concrete-raw);
    text-transform: uppercase;
    position: relative;
}

.hero-title span {
    color: var(--concrete-raw);
    display: block;
}

.hero-title::after {
    content: "ECOHUB";
    position: absolute;
    top: 5px; left: 5px;
    color: var(--moss-glow);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
}

.hero-stats {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    font-family: var(--font-mono);
    text-align: right;
}

/* --- Sections --- */
.section-padding { padding: 10rem 0; }

.slab {
    background: var(--concrete-dark);
    padding: 4rem;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.slab:hover {
  /*  transform: translateY(-10px);*/
}

.section-label {
    font-family: var(--font-mono);
    color: var(--moss-glow);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.crack-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L20 25 L15 40 L30 45 L25 60 L40 70' stroke='rgba(255,255,255,0.05)' fill='none'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
}

/* --- Buttons --- */
.btn-brutalist {
    background: var(--moss-glow);
    color: var(--void);
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 1.5rem 3rem;
    border: none;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-brutalist:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(163, 230, 53, 0.4);
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 4rem 0;
    background: #050505;
}

.data-stream {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    opacity: 0.4;
    white-space: nowrap;
    overflow: hidden;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#teamName{
    padding:8px;
}
/* === LOGIN PAGE === */
.login-card {
    position: relative;
    background: rgba(8, 51, 51, 0.9);
    border: 2px solid var(--high-color);
    padding: 0;
    overflow: hidden;
    box-shadow:
        0 0 60px rgba(0, 255, 236, 0.2),
        0 0 100px rgba(0, 255, 236, 0.08),
        inset 0 0 40px rgba(0, 255, 236, 0.03);
    animation: loginGlow 3s ease-in-out infinite;
}

@keyframes loginGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 255, 236, 0.2), inset 0 0 40px rgba(0, 255, 236, 0.03); }
    50%       { box-shadow: 0 0 70px rgba(0, 255, 236, 0.35), inset 0 0 40px rgba(0, 255, 236, 0.06); }
}

/* Corner brackets */
.login-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--high-color);
    border-style: solid;
    border-width: 0;
    z-index: 10;
}
.login-corner.tl { top: -2px;  left: -2px;  border-top-width: 3px; border-left-width: 3px; }
.login-corner.tr { top: -2px;  right: -2px; border-top-width: 3px; border-right-width: 3px; }
.login-corner.bl { bottom: -2px; left: -2px;  border-bottom-width: 3px; border-left-width: 3px; }
.login-corner.br { bottom: -2px; right: -2px; border-bottom-width: 3px; border-right-width: 3px; }

/* Scanline sweep */
.login-scanline {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 236, 0.15), transparent);
  
    pointer-events: none;
    z-index: 5;
}
@keyframes loginScan {
    0%   { top: -3px; }
    100% { top: 100%; }
}

/* Header */
.login-header {
    background: rgba(0, 255, 236, 0.08);
    border-bottom: 2px solid rgba(0, 255, 236, 0.2);
    padding: 1.5rem 2rem;
}

.login-system-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2rem;
    color: rgba(0, 255, 236, 0.6);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.login-title {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--high-color);
    letter-spacing: 0.3rem;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 0 20px rgba(0, 255, 236, 0.5);
}

.login-subtitle {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(0, 255, 236, 0.4);
    letter-spacing: 0.15rem;
    margin: 0;
}

/* Body */
.login-body {
    padding: 2rem;
}

/* Field */
.login-field {
    margin-bottom: 2rem;
}

.login-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2rem;
    color: var(--high-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.login-input {
    width: 100%;
    background: rgba(0, 255, 236, 0.04);
    border: none;
    border-bottom: 2px solid rgba(0, 255, 236, 0.3);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.05rem;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.login-input:focus {
    border-bottom-color: var(--high-color);
    box-shadow: 0 2px 0 var(--high-color);
}

.login-stream {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(0, 255, 236, 0.5);
    letter-spacing: 0.1rem;
    margin-top: 0.5rem;
    animation: streamBlink 1.2s steps(1) infinite;
}

@keyframes streamBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

/* Submit Button */
.login-btn {
    width: 100%;
    background: var(--high-color);
    color: var(--void);
    border: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.25rem;
    padding: 1.1rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s ease;
}

.login-btn:hover {
    background: var(--high-color-hover);
    box-shadow: 0 0 30px rgba(0, 255, 236, 0.5);
    transform: translateY(-2px);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(0);
}

/* Hint */
.login-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 255, 236, 0.04);
    border-left: 3px solid rgba(0, 255, 236, 0.4);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(0, 255, 236, 0.6);
    letter-spacing: 0.05rem;
    margin-bottom: 1.5rem;
}

.login-hint-icon {
    color: var(--high-color);
    flex-shrink: 0;
}

/* ESC label */
.login-esc {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.15rem;
}
@media (max-width: 768px) {
    .hero-title { font-size: 5rem; }
    .slab { padding: 2rem; }
    .hero-stats { position: relative; bottom: 0; right: 0; margin-top: 2rem; text-align: left; }
}
