@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Indie Flower', cursive;
    color: #213b26;
}

body {
    background: url('https://videos.openai.com/vg-assets/assets%2Ftask_01jvfvn1xrexvb8b2jt9581y1q%2F1747510352_img_3.webp?st=2025-05-17T18%3A27%3A54Z&se=2025-05-23T19%3A27%3A54Z&sks=b&skt=2025-05-17T18%3A27%3A54Z&ske=2025-05-23T19%3A27%3A54Z&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skoid=3d249c53-07fa-4ba4-9b65-0bf8eb4ea46a&skv=2019-02-02&sv=2018-11-09&sr=b&sp=r&spr=https%2Chttp&sig=TnS4GW1LVHWN8YbnNy7ITCQDN3oE4c5xc4putvnJ3mc%3D&az=oaivgprodscus') center center no-repeat fixed;
    background-size: 100vw auto;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 8px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.glitch-wrapper {
    position: relative;
    transform: scale(2);
    z-index: 2;
}

.glitch-text {
    font-family: 'Permanent Marker', cursive;
    font-size: 3.2rem;
    font-weight: bold;
    color: #ac6822;
    letter-spacing: 2px;
    text-shadow:
        0 2px 8px #213b26cc,
        0 4px 16px #7e551f99,
        0 8px 24px #00000055;
    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 0.5em;
    background: none;
    border: none;
    animation: none;
    filter: blur(0.2px);
}

.glitch-text::before,
.glitch-text::after {
    display: none;
    content: none;
}

.enter-btn {
    position: fixed;
    left: 50%;
    bottom: 35vh;
    transform: translateX(-50%);
    z-index: 100;
    margin-top: 0;
    font-size: 1.3rem;
    font-family: 'Permanent Marker', cursive;
    font-weight: bold;
    padding: 14px 40px;
    background: #ac6822;
    color: #fff;
    border: 2.5px solid #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px 0 #213b2644, 0 1.5px 0 #7e551f;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, border 0.3s;
    opacity: 1;
    animation: none;
}

.enter-btn:hover {
    background: #7e551f;
    color: #ac6822;
    border: 2.5px solid #ac6822;
    box-shadow: 0 6px 24px 0 #213b2666, 0 2px 0 #ac6822;
}

.enter-btn:active {
    filter: none;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    animation: scan 6s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes glitch-anim {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes glitch-anim2 {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(5px, 5px);
    }
    40% {
        transform: translate(5px, -5px);
    }
    60% {
        transform: translate(-5px, 5px);
    }
    80% {
        transform: translate(-5px, -5px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }
    10% {
        transform: skew(0deg);
    }
    11% {
        transform: skew(5deg);
    }
    12% {
        transform: skew(0deg);
    }
    20% {
        transform: skew(0deg);
    }
    21% {
        transform: skew(-5deg);
    }
    22% {
        transform: skew(0deg);
    }
    100% {
        transform: skew(0deg);
    }
}

@keyframes scan {
    0% {
        top: -100px;
    }
    100% {
        top: 100%;
    }
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(33, 59, 38, 0.55); /* #213b26 with 55% opacity */
    z-index: 2;
    pointer-events: none;
}

.intro-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(33,59,38,0.25);
    z-index: 10;
    transition: opacity 1s ease;
}

.main-content {
    display: block;
    position: relative;
    width: 100vw;
    min-height: 100vh;
    z-index: 5;
    padding: 48px 24px;
    background: linear-gradient(120deg, #ac6822 0%, #6a743d 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(33,59,38,0.15);
    margin: 0 auto;
    max-width: 700px;
    box-sizing: border-box;
}

.main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 18px;
    color: #213b26;
    text-shadow: 1px 1px 6px #7e551f33;
}

.main-content p {
    font-size: 1.2rem;
    color: #213b26;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px 0 rgba(33,59,38,0.08);
    margin-top: 12px;
}

.recording-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 7;
    pointer-events: none;
}

.recording-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #ac6822;
    border-radius: 10px;
}

.recording-corner.tl { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.recording-corner.tr { top: 18px; right: 18px; border-left: none; border-bottom: none; }
.recording-corner.bl { bottom: 18px; left: 18px; border-right: none; border-top: none; }
.recording-corner.br { bottom: 18px; right: 18px; border-left: none; border-top: none; }

.vhs-static {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    opacity: 0.02;
    background: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif') repeat;
    mix-blend-mode: lighten;
    animation: staticMove 4.5s steps(10) infinite;
    filter: none !important;
}

@keyframes staticMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.vhs-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 4;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 1px,
            transparent 1.5px,
            transparent 8px
        );
    animation: none;
    mix-blend-mode: lighten;
    filter: none;
}

.vhs-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 60%, rgba(33,59,38,0.5) 100%);
}

.vhs-timestamp {
    position: fixed;
    bottom: 40px;
    left: 48px;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 6px #000, 0 0 2px #fff;
    opacity: 0.7;
    z-index: 6;
}

.vhs-rec {
    position: fixed;
    top: 40px;
    left: 48px;
    color: #ff3b3b;
    font-size: 1.1rem;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 6px #000, 0 0 2px #fff;
    opacity: 0.85;
    z-index: 6;
}

.vhs-effect,
.vhs-static {
    filter: none !important;
}

.vhs-record-dot {
    position: fixed;
    top: 44px;
    right: 48px;
    width: 16px;
    height: 16px;
    background: #ff3b3b;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px #ff3b3b99;
    z-index: 6;
    animation: blinkRec 1s steps(1) infinite;
    border: 2px solid #fff;
}

@keyframes blinkRec {
    0%, 60% { opacity: 1; }
    61%, 100% { opacity: 0.2; }
}

.graffiti-title {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Indie Flower', cursive;
    font-size: 5rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    text-shadow:
        0 2px 8px #213b26cc,
        0 4px 16px #7e551f99,
        0 8px 24px #00000055;
    -webkit-text-stroke: 2px #fff;
    text-stroke: 2px #fff;
    text-transform: uppercase;
    z-index: 10;
    filter: blur(0.2px);
    pointer-events: none;
    user-select: none;
}

.enter-btn {
    position: fixed;
    left: 50%;
    bottom: 35vh;
    transform: translateX(-50%);
    z-index: 100;
    margin-top: 0;
    font-size: 1.3rem;
    font-family: 'Permanent Marker', cursive;
    font-weight: bold;
    padding: 14px 40px;
    background: #ac6822;
    color: #fff;
    border: 2.5px solid #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px 0 #213b2644, 0 1.5px 0 #7e551f;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, border 0.3s;
    opacity: 1;
    animation: none;
}

@media (max-width: 600px) {
  html, body {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }
  body {
    font-size: 16px;
    padding: 0;
    min-height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    flex-direction: column;
  }
  .graffiti-title {
    font-size: 3rem !important;
    position: relative;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 18vh;
    margin-bottom: 1.2rem;
    padding: 0 10px;
    text-align: center;
    word-break: break-word;
    -webkit-text-stroke: 1.5px #fff;
    text-stroke: 1.5px #fff;
    z-index: 10;
    display: block;
  }
  .enter-btn {
    width: 80vw !important;
    position: relative;
    left: 50%;
    bottom: auto;
    top: auto;
    transform: translateX(-50%);
    font-size: 1.2rem !important;
    padding: 16px 0 !important;
    border-radius: 14px;
    margin-bottom: 8vh;
    margin-top: 0.2rem;
    z-index: 10;
    display: block;
  }
  .recording-frame,
  .bg-overlay,
  .vhs-static,
  .vhs-effect,
  .vhs-vignette {
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
    min-width: 0;
    min-height: 0;
    max-width: 100vw;
    max-height: 100vh;
  }
  .recording-corner {
    width: 24px;
    height: 24px;
    border-width: 2px;
    border-radius: 6px;
  }
  .recording-corner.tl, .recording-corner.tr {
    top: 8px;
  }
  .recording-corner.tl, .recording-corner.bl {
    left: 8px;
  }
  .recording-corner.tr, .recording-corner.br {
    right: 8px;
  }
  .recording-corner.bl, .recording-corner.br {
    bottom: 8px;
  }
  .vhs-timestamp, .vhs-rec {
    font-size: 0.9rem;
    left: 16px;
    bottom: 16px;
    top: auto;
  }
  .vhs-rec {
    top: 16px;
    left: 16px;
  }
  .vhs-record-dot {
    top: 20px;
    right: 16px;
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }
}