        html {
            scroll-behavior: smooth;
        }
        @font-face {
            font-family: 'Snowstorm';
            src: url('fonts/Snowstorm.otf') format('opentype');
            font-weight: bold;
            font-style: normal;
        }



        body {
            margin: 0;
            font-family: monospace;
            background-color: #fffaf0;
            position: relative;
            padding: 0;
            min-height: 100vh;
        }

        .topbar {
            position: fixed;
            top: 0;
            left: 10%;
            width: 80%;
            height: 60px;
            background-color: rgb(0);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            outline: thick dashed black;
            box-shadow: 15px 15px 0px #202020;
            z-index: 1000;
            border-radius: 20px;
            margin-right: auto;
        }

        .topbar a {
            color: #000000;
            text-decoration: none;
            padding: 10px 20px;
            background-color: rgb(0);
            border-radius: 5px;
            font-weight: bold;
            box-shadow: 10px 10px 0px #202020;
            transition: background 0.3s;
            outline: thick dashed black;
        }

        .topbar a:hover {
            background-color: #a6ffc3;
        }
        .topbar a:active {
            transform: translate(4px, 4px); box-shadow: 0px 0px 0px #000;
        }

        .section {
            min-height: 85vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 60px 20px;
            font-size: 3rem;
            color: #000000;
            background: none;
            border: none;
            box-sizing: border-box;
        }

        .texture-rectangle {
            position: relative;
            width: 100%;
            max-width: 1000px;
            height: 524px;
            margin: 30px auto;
            box-sizing: border-box;
            border-radius: 20px;
            background-color: #4376dc;
            background-size: 40px 40px;
            box-shadow: 0 4px 20px rgba(0, 51, 153, 0.15);
            background-image:
                linear-gradient(to right, rgb(0 0 0 / 0.15) 4px, transparent 4px),
                linear-gradient(to bottom, rgb(0 0 0 / 0.15) 4px, transparent 4px);
            overflow: visible;
            display: flex;
            align-items: center;
            padding: 15px;
        }


            .btn-icon {
              width: 48px;
              height: 48px;
        }

        .texture-rectangle .image-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: smoothFlyIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
        }

        .texture-rectangle img {
            width: 70%;
            height: 70%;
            object-fit: contain;
            transition: opacity 0.4s ease-in-out;
        }

        .texture-rectangle .img-base {
            position: relative;
            z-index: 1;
        }

        .texture-rectangle .img-hover {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            opacity: 0;
        }

        .texture-rectangle:hover .img-hover {
            opacity: 1;
        }
        .texture-rectangle:hover .img-base {
            opacity: 0;
        }


        @keyframes smoothFlyIn {
            from {
                transform: translate(-100vw, 0);
                opacity: 0;
            }
            to {

                transform: translate(-180px, 0);
                opacity: 1;
            }
        }


        .shelf {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr) !important;
            width: 100%;
            box-sizing: border-box;
            background-color: #9e7b55;
            align-items: center;
            justify-content: center;
            border: 4px solid #64492c;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            padding: 15px;
        }
        .shelf1 {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr) !important;
            width: 100%;
            box-sizing: border-box;
            align-items: center;
            justify-content: center;
            padding: 15px;


            background-color: #0b0b0b;
            background-image:

                linear-gradient(rgba(255, 0, 128, 0.3) 0%, rgba(255, 0, 128, 0.3) 10%, transparent 10%, transparent 100%),
                linear-gradient(90deg, rgba(0, 255, 255, 0.4) 0%, rgba(0, 255, 255, 0.4) 15%, transparent 15%, transparent 100%),
                repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 4px),
                linear-gradient(45deg, transparent 45%, rgba(0, 255, 0, 0.25) 45%, rgba(0, 255, 0, 0.25) 55%, transparent 55%),
                linear-gradient(135deg, transparent 40%, rgba(100, 0, 255, 0.3) 40%, rgba(100, 0, 255, 0.3) 50%, transparent 50%);


            background-size: 100% 40px, 150px 100%, 100% 4px, 300px 300px, 250px 250px;
            background-repeat: repeat-y, repeat-x, repeat, repeat, repeat;


            animation: glitch-bg 0.4s infinite steps(2);


            border: 4px solid #00ffff;
            box-shadow:
                0 0 15px rgba(0, 255, 255, 0.5),
                inset 0 0 15px rgba(255, 0, 128, 0.5);
            border-radius: 20px;
        }

        @keyframes glitch-bg {
            0% {
                background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
                filter: hue-rotate(0deg) contrast(1.2);
            }
            25% {
                background-position: 20px -50px, -30px 10px, 0 2px, 50px -20px, 10px 40px;
                filter: hue-rotate(90deg) saturate(1.5);
            }
            50% {
                background-position: -10px 20px, 40px -40px, 0 -1px, -30px 60px, -20px -10px;
                filter: hue-rotate(180deg) brightness(1.3);
            }
            75% {
                background-position: 5px -10px, -15px 30px, 0 0, 10px -10px, 40px 15px;
                filter: hue-rotate(270deg) contrast(1.5);
            }
            100% {
                background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
                filter: hue-rotate(360deg) contrast(1.2);
            }
        }

        .shelf2 {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr) !important;
            width: 100%;
            box-sizing: border-box;
            background-color: #4976ff;
            align-items: center;
            justify-content: center;
            border: 8px solid #ffffff;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            padding: 15px;
        }
        .shelf3 {
            display: grid !important;
            grid-template-columns: 1fr !important;
            width: 100%;
            box-sizing: border-box;
            background-color: #c52020;

            align-items: center;
            justify-items: center;

            border: 8px solid #ff5d5d;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            padding: 15px;
        }

        .bookcase {
            width: 100%;
            max-width: 1000px;
            margin: 30px auto;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .shelf-btn {
            width: 100%;
            height: 100%;
            min-height: 160px;
            margin: 0;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: 1px solid #001a4d;
            border-radius: 24px;
            transform: scale(0.93);
            background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.03) 100%
            );
            box-shadow:
                0 4px 12px rgba(0, 0, 0, 0.15),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
            color: #ffffff;
            font-family: system-ui, -apple-system, sans-serif;
            font-size: 15px;
            font-weight: 500;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            transition: all 0.25s ease;
        }
        .shelf-btn:hover {
            transform: scale(0.96);
            background: rgba(255, 255, 255, 0.25);
        }
        .shelf-1tn{
            justify-self: center;
            display: flex;
            justify-content: center;
            border: 8px solid #000000;
            background: transparent;
            outline: none;
            font-family: 'Snowstorm', sans-serif;
            font-size: 54px;
            box-shadow: 15px 15px 0px rgb(2 2 2 / 0.33);
        }
        button {
          cursor: pointer;
        }

        div {
          cursor: help;
        }

        input {
          cursor: not-allowed;
        }

        p {
          cursor: zoom-in;
        }

        .shelf-1tn:hover {
          border: 8px solid #2e343c;
          color: #2e343c;
          box-shadow: 15px 15px 0px #202020;
        }
        .list-item a {
            color: #0066cc;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .list-item a i {
            color: #000000;
            margin-right: 5px;
        }

        .list-item a:hover {
            color: #ff0055;
            text-decoration: underline;
        }
        button {
          margin: 20px;
        }
        .custom-btn {
          width: 130px;
          height: 40px;
          color: #fff;
          border-radius: 5px;
          padding: 10px 25px;
          font-family: 'Lato', sans-serif;
          font-weight: 500;
          background: transparent;
          cursor: pointer;
          transition: all 0.3s ease;
          position: relative;
          display: inline-block;
          box-shadow: inset 2px 2px 2px 0px rgba(255,255,255,.5),
                      7px 7px 20px 0px rgba(0,0,0,.1),
                      4px 4px 5px 0px rgba(0,0,0,.1);
          outline: none;
        }
        .btn-1 {
          background: rgb(6,14,131);
          background: linear-gradient(0deg, rgba(6,14,131,1) 0%, rgba(12,25,180,1) 100%);
          border: none;
        }
        .btn-1:hover {
           background: rgb(0,3,255);
           background: linear-gradient(0deg, rgba(0,3,255,1) 0%, rgba(2,126,251,1) 100%);
        }

        .retro-icon {
            position: absolute;
            width: 32px;
            height: 32px;
            user-select: none;
            pointer-events: none;
            z-index: -10;
            image-rendering: pixelated;
        }
        .texture-rectangle .text-block {
            position: absolute;
            top: 0;
            right: 0;
            width: 45%;
            height: 100%;
            box-sizing: border-box;
            padding: 40px 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-end;
            z-index: 5;


            animation: smoothFlyInRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
        }


        .text-large {
            margin: 0;
            font-size: 2.5rem;
            font-weight: 900;
            color: #ffffff;
            text-align: right;
            text-transform: uppercase;
            font-family: monospace;
        }


        .text-small {
            margin: 0;
            font-size: 1.1rem;
            font-weight: normal;
            color: #ffffff;
            text-align: right;
            font-family: monospace;
            max-width: 90%;
        }

        @keyframes smoothFlyInRight {
            from {
                transform: translate(100vw, 0);
                opacity: 0;
            }
            to {
                transform: translate(0, 0);
                opacity: 1;
            }
        }
        @media (max-width: 768px) {
            .topbar {
                width: 100% !important;
                max-width: 98% !important;
                margin: 10px auto !important;
                padding: 5px !important;
                display: flex !important;
                flex-direction: row !important;
                justify-content: space-between !important;
                align-items: center !important;
                gap: 4px !important;
                box-sizing: border-box !important;
            }

            .topbar button,
            .topbar .btn,
            .topbar a {
                padding: 4px 8px !important;
                font-size: 11px !important;
                min-width: auto !important;
                width: auto !important;
                letter-spacing: -0.3px;
            }

            .topbar img {
                max-width: 30px !important;
                height: auto !important;
            }


            .shelf, .shelf1, .shelf2 {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 10px;
                padding: 10px;
            }

            .shelf-btn {
                min-height: 120px;
                font-size: 14px;
                border-radius: 16px;
            }

            .shelf .shelf-btn:nth-child(5),
            .shelf1 .shelf-btn:nth-child(5),
            .shelf2 .shelf-btn:nth-child(5) {
                grid-column: span 2;
            }

            .shelf-1tn {
                font-size: 32px;
                width: 90%;
                box-shadow: 8px 8px 0px rgb(2 2 2 / 0.33);
            }
            #end.section {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                text-align: center !important;
                width: 100% !important;
                box-sizing: border-box !important;
                padding: 20px 10px !important;
                gap: 15px !important;
            }


            #end.section img#m {
                max-width: 180px !important;
                width: 100% !important;
                height: auto !important;
                margin-bottom: 0 !important;
            }


            #end.section .list-container {
                padding: 0 !important;
                margin: 0 !important;
                list-style: none !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 12px !important;
                align-items: flex-start !important;
            }


            #end.section .list-item a {
                font-size: 18px !important;
                display: flex !important;
                align-items: center !important;
                gap: 8px !important;
            }

        }


