        @font-face {
            font-family: 'AnomineseV4';
            src: url('/img/AnomineseV4-Regular.woff') format('woff');
        }

        .anominese-font,
        .anominese-font button,
        .anominese-font .play-button,
        .anominese-font .tf2-server-status,
        .anominese-font .toggle-button,
        .anominese-font .modal-content,
        .anominese-font .embed-code,
        .anominese-font .copy-button,
        .anominese-font input,
        .anominese-font .player-list,
        .anominese-font .schedule-table {
            font-family: 'AnomineseV4', 'Courier New', monospace !important;
        }

        body {
            margin: 0;
            padding: 0 10px 40px 10px; /* Add padding to prevent content from being cut off */
            font-family: 'Courier New', monospace;
            background-color: #000;
            color: #0f0;
            /* Remove flex display for mobile scroll to work */
            min-height: 100vh;
            overflow-x: hidden; /* Prevent horizontal scroll */
            overflow-y: auto; /* Enable vertical scrolling */
        }
        
        .container {
            text-align: center;
            position: relative;
            z-index: 2;
            padding-top: 20px; /* Add top padding */
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
        }
        
        h1 {
            font-size: 2rem; /* Smaller font size for mobile */
            margin-bottom: 1rem;
            text-shadow: 0 0 10px #0f0;
            animation: glitch 1s infinite alternate;
            word-wrap: break-word; /* Prevent text overflow */
            padding: 0 10px;
        }
        
        .message {
            font-size: 1.2rem; /* Smaller font size for mobile */
            margin-bottom: 2rem;
        }
        
        .static {
            position: fixed; /* Fixed position instead of absolute */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.15),
                rgba(0, 0, 0, 0.15) 1px,
                transparent 1px,
                transparent 2px
            );
            opacity: 0.2;
            z-index: 1;
            pointer-events: none;
        }
        
        .code {
            font-family: 'Courier New', monospace;
            background-color: rgba(0, 50, 0, 0.3);
            padding: 1rem;
            border-radius: 5px;
            margin: 2rem auto 0 auto;
            max-width: 90%;
        }

        /* Responsive play buttons */
        .play-button {
            background-color: #0f0;
            color: #000;
            border: none;
            padding: 10px 20px;
            font-family: 'Courier New', monospace;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.3s;
        }
        
        .play-button:hover {
            background-color: #00ff00;
            box-shadow: 0 0 15px #0f0;
            transform: scale(1.05);
        }

		.play-button[href*="discord.gg"]:hover {
			background-color: #7289DA !important;
			box-shadow: 0 0 20px rgba(88, 101, 242, 0.8) !important;
			transform: translateY(-2px) scale(1.05) !important;
		}
		.play-button[href*="discord.gg"]:hover span {
			transform: scale(1.05);
		}
		.play-button[href*="discord.gg"]:active {
			transform: translateY(1px) scale(0.98) !important;
		}

		.play-button[href*="youtube.com"]:hover,
		.play-button[href*="youtube.com/@"]:hover {
			background-color: #FF2222 !important;
			box-shadow: 0 0 20px rgba(255, 0, 0, 0.8) !important;
			transform: translateY(-2px) scale(1.05) !important;
		}
		.play-button[href*="youtube.com"]:hover span,
		.play-button[href*="youtube.com/@"]:hover span {
			transform: scale(1.05);
		}
		.play-button[href*="youtube.com"]:active,
		.play-button[href*="youtube.com/@"]:active {
			transform: translateY(1px) scale(0.98) !important;
		}

        /* Fixing slideshow for mobile */
        .slideshow-container {
            position: relative;
            width: 100%;
            max-width: 560px;
            margin: 20px auto;
        }

        .slideshow {
            position: relative;
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9; /* Maintain aspect ratio */
            overflow: hidden;
            border-radius: 5px;
            background-color: #000;
        }

        .slides {
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img, .slide iframe {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            width: 100%;
            height: 100%;
            transition: opacity 0.3s ease;
        }

        .lazy-image:not([src]) {
            opacity: 0;
            background: #2c2c2c;
            min-height: 200px;
            position: relative;
        }

        .lazy-image:not([src])::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 40px;
            height: 40px;
            margin: -20px 0 0 -20px;
            border: 4px solid #0f0;
            border-top-color: transparent;
            border-radius: 50%;
            animation: loading-spinner 1s linear infinite;
        }

        @keyframes loading-spinner {
            to {
                transform: rotate(360deg);
            }
        }

        .slide-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 255, 0, 0.2);
            color: #0f0;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 0.3s;
            z-index: 10;
        }

        .slide-nav:hover {
            background-color: rgba(0, 255, 0, 0.4);
        }

        .slide-nav.prev {
            left: 10px;
        }

        .slide-nav.next {
            right: 10px;
        }

        .slide-counter {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: #0f0;
            padding: 5px 10px;
            border-radius: 10px;
            font-size: 14px;
        }

        /* Add styles for the open image button */
        .open-image-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            color: #0f0;
            border: 1px solid #0f0;
            border-radius: 4px;
            padding: 5px 8px;
            font-size: 12px;
            cursor: pointer;
            z-index: 20;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .slide:hover .open-image-btn {
            opacity: 1;
        }

        /* Media queries for different screen sizes */
        @media screen and (max-width: 600px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .slideshow-container {
                max-width: 95%;
            }
            
            .code {
                padding: 0.7rem;
            }
            
            .play-button {
                font-size: 1rem;
                padding: 8px 15px;
            }
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
        }
        
        @keyframes glitch {
            0% {
                transform: translate(2px, 0) skew(0deg);
            }
            20% {
                transform: translate(-2px, 0) skew(0deg);
            }
            40% {
                transform: translate(0, 0) skew(0deg);
            }
            60% {
                transform: translate(2px, 0) skew(0deg);
            }
            80% {
                transform: translate(-2px, 0) skew(0deg);
            }
            100% {
                transform: translate(0, 0) skew(0deg);
            }
        }
        
        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        /* Fix for potential animation bugs */
        * {
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }
        
        .hidden-text {
            color: rgba(0, 255, 0, 0.1);
            position: absolute;
            font-size: 0.8rem;
            bottom: 10px;
            right: 10px;
        }

        /* Footer links and text */
        .credits, .server-info, .join-anomalous-materials, .watch-interloper-arg {
            margin-top: 15px;
            font-size: 0.9rem;
            word-wrap: break-word;
            max-width: 100%;
        }
        
        a {
            color: rgb(193, 163, 225);
            text-decoration: underline;
            word-wrap: break-word;
        }

        /* Game containers */
        #gameContainer, #chessContainer, #angryBirdsContainer {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 100;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            overflow-y: auto;
        }

        .close-game-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #ff0000;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 5px 10px;
            cursor: pointer;
            font-family: 'Courier New', monospace;
            z-index: 101;
        }

        .game-inner {
            transform: scale(0.8);
            margin: 0 auto;
            max-width: 100%;
        }

        #chessBoard, #angryBirdsGame {
            width: 90%;
            max-width: 600px;
            height: auto;
            margin-top: 50px;
        }

        /* Papa's Freezeria Container */
        #freezeriaContainer {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 100;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            overflow-y: auto;
        }

        #DuckLife4Container {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 100;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            overflow-y: auto;
        }

        #freezeriaGame {
            width: 90%;
            max-width: 800px;
            height: auto;
            margin-top: 50px;
        }

        .tf2-server-status {
            background-color: rgba(0, 50, 0, 0.3);
            border: 1px solid #0f0;
            border-radius: 5px;
            padding: 15px;
            margin: 20px auto;
            width: 90%;
            max-width: 560px;
            text-align: center;
            font-family: 'Courier New', monospace;
            color: #0f0;
            box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
        }
        
        .tf2-server-status h2 {
            font-size: 1.5rem;
            margin-top: 0;
            margin-bottom: 10px;
            text-shadow: 0 0 5px #0f0;
            animation: glitch 1s infinite alternate;
        }
        
        .tf2-server-status-online {
            border: 1px solid #0f0;
        }
        
        .tf2-server-status-offline {
            border: 1px solid #f00;
        }
        
        .player-list {
            text-align: left;
            margin-top: 10px;
            max-height: 150px;
            overflow-y: auto;
            background-color: rgba(0, 20, 0, 0.5);
            padding: 5px;
            border-radius: 3px;
        }
        
        .player-item {
            padding: 2px 5px;
            display: flex;
            justify-content: space-between;
        }
        
        .player-item:nth-child(odd) {
            background-color: rgba(0, 50, 0, 0.3);
        }

        .player-header {
            color: #0f0;
            font-weight: bold;
            border-bottom: 1px solid #0f0;
            padding-bottom: 5px;
            margin-bottom: 5px;
            background-color: rgba(0, 50, 0, 0.5) !important;
        }

        .toggle-button {
            background: none;
            border: 1px solid #0f0;
            color: #0f0;
            padding: 5px 10px;
            cursor: pointer;
            font-family: 'Courier New', monospace;
            font-size: 0.8rem;
            transition: all 0.3s ease;
            display: block;  /* Make button block level */
            margin: 10px auto;  /* Center the button */
        }

        .toggle-button:hover {
            background-color: rgba(0, 255, 0, 0.1);
        }

        .toggle-button.active {
            background-color: #0f0;
            color: #000;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
        }

        .modal-content {
            background-color: #000;
            margin: 10% auto;
            padding: 15px;
            border: 1px solid #0f0;
            width: 60%;
            max-width: 400px;
            position: relative;
            color: #0f0;
            font-family: 'Courier New', monospace;
        }

        .close-modal {
            color: #0f0;
            float: right;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            margin-top: -5px;
        }

        .close-modal:hover {
            color: #00ff00;
        }

        .embed-code {
            background-color: rgba(0, 50, 0, 0.3);
            padding: 10px;
            margin: 8px 0;
            border: 1px solid #0f0;
            white-space: pre-wrap;
            word-wrap: break-word;
            font-size: 0.9rem;
        }

        .copy-button {
            background-color: #0f0;
            color: #000;
            border: none;
            padding: 8px 15px;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            cursor: pointer;
            margin-top: 8px;
        }

        .copy-button:hover {
            background-color: #00ff00;
        }

        .clickable-image {
            cursor: pointer;
            transition: transform 0.2s;
        }

        .clickable-image:hover {
            transform: scale(1.05);
        }


        .schedule-table {
            margin-top: 15px;
            text-align: left;
            max-height: 200px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #0f0 #000;
            padding-right: 5px; /* Add some padding to prevent content from touching scrollbar */
        }

        /* Add styles for time format toggle */
        .time-format-toggle {
            cursor: pointer;
            color: #0f0;
            text-decoration: underline;
            margin-bottom: 10px;
            display: inline-block;
        }

        .time-format-toggle:hover {
            color: #00ff00;
        }

        /* Add styles for hour format toggle */
        .hour-format-toggle {
            cursor: pointer;
            color: #0f0;
            text-decoration: underline;
            margin-bottom: 10px;
            margin-left: 15px;
            display: inline-block;
        }

        .hour-format-toggle:hover {
            color: #00ff00;
        }

        /* Custom scrollbar for Webkit browsers (Chrome, Safari, etc.) */
        .schedule-table::-webkit-scrollbar {
            width: 10px;
            background: transparent;
        }

        .schedule-table::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.8);
            border: 1px solid #0f0;
            border-radius: 5px;
            box-shadow: inset 0 0 6px rgba(0, 255, 0, 0.2);
        }

        .schedule-table::-webkit-scrollbar-thumb {
            background: linear-gradient(45deg, #0f0, #00ff00);
            border: 1px solid #0f0;
            border-radius: 5px;
            box-shadow: 0 0 8px #0f0;
            transition: all 0.3s ease;
        }

        .schedule-table::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(45deg, #00ff00, #0f0);
            box-shadow: 0 0 12px #0f0;
            cursor: pointer;
        }

        .schedule-table::-webkit-scrollbar-corner {
            background: #000;
            border: 1px solid #0f0;
        }

        /* Firefox scrollbar styling */
        .schedule-table {
            scrollbar-width: thin;
            scrollbar-color: #0f0 #000;
        }

        /* Add a subtle animation to the scrollbar thumb */
        @keyframes scrollbarGlow {
            0% { box-shadow: 0 0 8px #0f0; }
            50% { box-shadow: 0 0 12px #0f0; }
            100% { box-shadow: 0 0 8px #0f0; }
        }

        .schedule-table::-webkit-scrollbar-thumb {
            animation: scrollbarGlow 2s infinite;
        }
		*::-webkit-scrollbar {
			width: 14px;
			height: 14px;
		}
		
		*::-webkit-scrollbar-track {
			background: rgba(0, 0, 0, 0.8);
			border-left: 1px solid rgba(0, 255, 0, 0.2);
		}
		
		*::-webkit-scrollbar-thumb {
			background: rgba(0, 255, 0, 0.3);
			border-radius: 7px;
			border: 2px solid rgba(0, 0, 0, 0.8);
		}
		
		*::-webkit-scrollbar-thumb:hover {
			background: rgba(0, 255, 0, 0.5);
			box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
		}
		
		*::-webkit-scrollbar-corner {
			background: rgba(0, 0, 0, 0.8);
		}
		
		/* Firefox scrollbar styling for all elements */
		* {
			scrollbar-width: thin;
			scrollbar-color: rgba(0, 255, 0, 0.3) rgba(0, 0, 0, 0.8);
		}