:root {
    --black: #0a0a0a;
    --dark: #111111;
    --red: #b84e2e;
    --orange: #ff6b00;
    --white: #f5f5f5;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* App Loader */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.app-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    text-align: center;
}

.hex-spinner {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.hex-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: hexSpin 2s linear infinite;
}

.hex-ring:nth-child(1) {
    animation-duration: 1.5s;
    border-top-color: var(--orange);
}

.hex-ring:nth-child(2) {
    animation-duration: 2s;
    animation-direction: reverse;
    border-top-color: var(--red);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.hex-ring:nth-child(3) {
    animation-duration: 1.8s;
    border-top-color: var(--orange);
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.hex-ring:nth-child(4) {
    animation-duration: 2.2s;
    animation-direction: reverse;
    border-top-color: var(--red);
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
}

@keyframes hexSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hex-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hexPulse 2s ease-in-out infinite;
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.loader-text {
    margin-top: 1rem;
}

.loader-hex {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--orange);
    animation: hexFlicker 1.5s ease-in-out infinite;
}

@keyframes hexFlicker {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero {
    background: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    opacity: 0.88;
        font-family: 'Orbitron', sans-serif;
}
canvas {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1;
    display: block;
        font-family: 'Orbitron', sans-serif;
}
.hero-content {
    padding: 2rem 0;
    background-image: url("./assets/images/TribeWarez.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    opacity: 0.8;

}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .hex-spinner {
        width: 120px;
        height: 120px;
    }

    .hex-text {
        font-size: 1.2rem;
    }

    .loader-hex {
        font-size: 0.9rem;
    }

    .hex-display {
        width: 90%;
        max-width: 350px;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin: 1rem auto;
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
}
.haze-blink {
  animation: hazeBlink 4s ease-in-out infinite;
  opacity: 0.85; /* Starting opacity (slightly transparent) */
}

@keyframes hazeBlink {
  0%, 100% {
    opacity: 0.85;
    filter: brightness(1) blur(0px);
  }
  50% {
    opacity: 1;
    filter: brightness(1.1) blur(1px);
  }
}
.red-gradient {
    background: linear-gradient(90deg, var(--red), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
    padding: 0 1rem;
}

.hex-display {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--orange);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 1rem auto;
    width: 88ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .hex-display {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

section {
    padding: 4rem 1rem;
    text-align: center;
}

.mission {
    background-color: var(--dark);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--red);
    transition: transform 0.3s;
    margin: 0.5rem;

}

.feature-card:hover {
    transform: translateY(-5px);
}

h2,
h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--orange);
}