:root {
        --bg: #050505;
        --dark: #0a0a0c;
        --text: #f0f0f5;
        --text-muted: #a0a0b0;
        --accent: #ffffff;
        --glow-strong: rgba(255, 255, 255, 0.8);
        --glow-intense: rgba(255, 255, 255, 0.6);
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: "Inter", system-ui, sans-serif;
        background: var(--bg);
        color: var(--text);
        line-height: 1.4;
        overflow-x: hidden;
        height: 100vh;
      }

      header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 1.2rem 4%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
        background: rgba(5, 5, 5, 0.75);
        backdrop-filter: blur(12px);
      }

      .logo {
        font-size: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #c0d4ff, #6a9aff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 0 0 15px var(--glow-strong);
        transition: transform 0.4s ease;
      }

      .logo:hover {
        transform: scale(1.12);
      }

      main {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 5rem 4% 3rem;
        max-width: 1600px;
        margin: 0 auto;
      }

      .hero {
        text-align: center;
        opacity: 0;
        transform: translateY(30px);
        transition: all 1.2s ease;
      }

      .hero.visible {
        opacity: 1;
        transform: translateY(0);
      }

      .hero h1 {
        font-family: "Orbitron", monospace;
        font-size: clamp(5rem, 12vw, 10rem);
        letter-spacing: -0.06em;
        background: linear-gradient(
          90deg,
          #ffffff,
          #ffffff,
          #ffffff,
          #ffffff,
          #ffffff
        );
        background-size: 400% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        line-height: 0.9;
        margin: 0;
        margin-left: 380px;
        animation: intenseShimmer 3.8s linear infinite,
          intenseGlow 1.8s ease-in-out infinite alternate,
          textShadowPulse 2.2s ease-in-out infinite;
        text-shadow: 0 0 20px var(--glow-strong), 0 0 40px var(--glow-intense);
      }

      .hero h1::before {
        content: "WARRIOR";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          90deg,
          #4a7cff,
          #00d4ff,
          #ff4da6,
          #ffaa00,
          #4a7cff
        );
        background-size: 400% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: intenseShimmer 3.8s linear infinite;
        z-index: -1;
        filter: blur(20px);
        opacity: 0.85;
      }

      @keyframes intenseShimmer {
        0% {
          background-position: 0% center;
        }

        100% {
          background-position: -400% center;
        }
      }

      @keyframes intenseGlow {
        0% {
          text-shadow: 0 0 20px var(--glow-strong), 0 0 40px var(--glow-intense);
        }

        100% {
          text-shadow: 0 0 45px var(--glow-strong), 0 0 90px var(--glow-intense),
            0 0 140px rgba(75, 75, 75, 0.5);
        }
      }

      @keyframes textShadowPulse {
        0%,
        100% {
          filter: brightness(1.1);
        }

        50% {
          filter: brightness(1.45) contrast(1.15);
        }
      }

      .tagline {
        font-size: 0.5rem;
        color: var(--text-muted);
        margin: 0.6rem 0 1rem;
        margin-bottom: -90px;
        text-shadow: 0 0 10px rgba(90, 140, 255, 0.3);
        transform: translateX(210px);
      }

      .content-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        flex-wrap: wrap;
      }

      .hero-card-wrapper {
        flex: 0 0 340px;
        perspective: 1400px;
      }

      .hero-card {
        position: relative;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
        transition: all 0.6s ease;
      }

      .hero-card:hover {
        transform: translateY(-20px) rotateX(4deg) rotateY(5deg);
        box-shadow: 0 50px 120px rgba(90, 140, 255, 0.3);
      }

      .hero-card img {
        width: 100%;
        display: block;
        filter: none;
        image-rendering: auto;
      }

      img {
        image-rendering: auto;
        backface-visibility: hidden;
        transform: translateZ(0);
      }

      .hero-card:hover .overlay {
        opacity: 1;
      }

      .overlay h2 {
        font-family: "Orbitron", monospace;
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
      }

      .overlay p {
        font-size: 0.95rem;
        color: #c0c0ff;
        margin-bottom: 1rem;
      }

      .btn-primary {
        padding: 0.7rem 1.6rem;
        background-color: rgb(255, 255, 255);
        color: black;
        text-decoration: none;
        font-weight: 600;
        border-radius: 50px;
        border: 2px solid black;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s;
        cursor: pointer;
        border: none;
      }

      .btn-primary:hover {
        background-color: white;
        color: black;
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
      }

      .products {
        flex: 1;
        max-width: 900px;
        display: flex;
        gap: 2rem;
        overflow-x: auto;
        padding: 1rem 0;
        scroll-behavior: smooth;
        scrollbar-width: thin;
      }

      .product-card {
        flex: 0 0 260px;
        height: 380px;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.4s;
        border: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
      }

      .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 50px rgba(90, 140, 255, 0.2);
      }

      .product-card canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        touch-action: none;
        z-index: 2;
        transition: opacity 0.6s ease;
      }

      .product-reveal {
        position: absolute;
        inset: 0;
        background: #111114;
        display: flex;
        flex-direction: column;
        z-index: 1;
      }

      .product-reveal img {
        width: 100%;
        height: 75%;
        object-fit: cover;
      }

      .product-info {
        padding: 1rem;
        text-align: center;
        flex: 1;
      }

      .product-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
      }

      .product-info p {
        color: var(--accent);
        font-weight: 600;
      }

      .scratch-hint {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #888;
        font-size: 0.9rem;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 3;
        font-family: "Orbitron", monospace;
        letter-spacing: 1px;
      }

      .product-card:hover .scratch-hint {
        opacity: 1;
      }

      .product-card.revealed .scratch-hint,
      .product-card.revealed canvas {
        opacity: 0;
      }

      .modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(6px);
        z-index: 200;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
      }

      .modal.show {
        display: flex;
      }

      .modal-content {
        background: var(--dark);
        border-radius: 16px;
        width: 100%;
        max-width: 1100px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 2.5rem;
        position: relative;
        border: 1px solid rgba(90, 140, 255, 0.15);
        box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
      }

      .close-btn {
        position: absolute;
        top: 1.2rem;
        right: 1.8rem;
        font-size: 2.5rem;
        color: #777;
        background: none;
        border: none;
        cursor: pointer;
        transition: color 0.3s;
      }

      .close-btn:hover {
        color: #ccc;
      }

      .modal h2 {
        font-family: "Orbitron", monospace;
        text-align: center;
        font-size: 2.2rem;
        letter-spacing: 2px;
        margin-bottom: 2.5rem;
        background: linear-gradient(90deg, #b8d0ff, #6a9fff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }

      .modal-products {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
      }

      .modal-product {
        flex: 0 0 280px;
        background: #0f0f12;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.06);
      }

      .modal-product img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
      }

      .modal-product-info {
        padding: 1.2rem;
        text-align: center;
      }

      .modal-product-info h3 {
        font-size: 1.35rem;
        margin-bottom: 0.4rem;
      }

      .modal-product-info p {
        color: var(--accent);
        font-weight: 600;
        font-size: 1.15rem;
      }

      .fixed-back-btn {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
        width: 50px;
        height: 50px;
        display: grid;
        place-items: center;
        background: rgba(10, 10, 20, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        color: #ffffff;
        font-size: 1.6rem;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
      }

      .fixed-back-btn:hover {
        transform: scale(1.15) rotate(-10deg);
        background: rgba(255, 255, 255, 0.3);
        color: white;
      }


      @media (min-width: 1024px) {
        .hero h1 {
          font-size: clamp(6rem, 7vw, 10rem);
        }

        .tagline {
          font-size: 2rem;
        }

        .content-wrapper {
          gap: 6rem;
        }

        .hero-card-wrapper {
          flex: 0 0 350px;
        }

        .hero-card {
          transform: scale(0.3rem);
        }

        .products {
          gap: 3rem;
        }

        .product-card {
          flex: 0 0 250px;
          height: 420px;
        }
      }

      @media (max-width: 1023px) {
        .content-wrapper {
          flex-direction: column;
          gap: 4rem;
        }

        .hero h1 {
          font-size: clamp(6rem, 12vw, 8rem);
        }

        .tagline {
          font-size: 1.8rem;
        }

        .hero-card-wrapper {
          flex: 0 0 320px;
          max-width: 90%;
          margin: 0 auto;
        }

        .products {
          justify-content: center;
        }

        .product-card {
          flex: 0 0 280px;
          height: 400px;
        }
      }

      @media (max-width: 767px) {
        header {
          padding: 1rem 5%;
        }

        .logo {
          width: 50px;
          height: 50px;
          font-size: 1.8rem;
        }

        main {
          padding: 7rem 5% 4rem;
          justify-content: flex-start;
        }

        .hero h1 {
          font-size: clamp(4.5rem, 14vw, 6.5rem);
          letter-spacing: -0.04em;
        }

        .tagline {
          font-size: 1.3rem;
          margin: 1rem 0 2.5rem;
        }

        .hero-card-wrapper {
          flex: 0 0 90%;
          max-width: 340px;
        }

        .hero-card {
          transform: none;
        }

        .products {
          gap: 1.8rem;
          padding: 0.5rem 0;
        }

        .product-card {
          flex: 0 0 80vw;
          height: 420px;
          max-width: 320px;
          margin: 0 auto;
        }

        .scratch-hint {
          font-size: 1rem;
        }

        .btn-primary {
          padding: 1rem 2rem;
          font-size: 1.1rem;
        }
      }

      @media (max-width: 480px) {
        .hero h1 {
          font-size: clamp(2.8rem, 5.2vw, 3.4rem);
          margin-left: -30% !important;
          text-align: center;
        }

        .tagline {
          font-size: 1rem;
          margin: 1.2rem 0 2.8rem !important;
          transform: none !important;
          margin-left: -33% !important;
          text-align: center;
        }

        main {
          padding: 5rem 5% 2rem;
        }

      .hero-card-wrapper { 
           max-width: 170px; 
           margin-left: 17%; 
      } 
      
      .product-card {
            flex: 0 0 100px;
            height: 280px;
            width: 180px;
      }


        .product-info {
          font-size: 0.7rem;
        }
        .product-info h3{
          font-size: 0.7rem;
        }
        .overlay p{
          font-size: 0.9rem;
        }
        .overlay h2{
          font-size: 1rem;
          margin-top: 10px;
        }
      }

      .volume-control {
        position: fixed;
        bottom: 50px;
        right: 20px;
        z-index: 1000;
        width: 50px;
        height: 50px;
        display: grid;
        place-items: center;
        background: rgba(10, 10, 20, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        color: #ffffff;
        font-size: 1.8rem;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
        transition: all 0.3s ease;
      }

      .volume-control:hover {
        transform: scale(1.15);
        background: rgba(90, 140, 255, 0.35);
        box-shadow: 0 10px 30px rgba(90, 140, 255, 0.4);
      }

      .volume-control.muted #volumeIcon {
        content: "\f1f7";
      }
