        /* Reset and base styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Creepster", system-ui;
            font-weight: 500;
            font-style: normal;
            background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
            color: #fff;
            line-height: 1.6;
            min-height: 100vh;
        }

        /* Header styles */
        header {
            background: rgba(0, 0, 0, 0.7);
            padding: 2rem;
            text-align: center;
            border-bottom: 3px solid #8a0303;
        }

        header h1 {
            font-size: 4.5rem;
            color: #e33b3b;
            text-shadow: 0 0 15px #ff0000;
            margin-bottom: 0.5rem;
        }


        /* Main content */
        main {
            max-width: 1200px;
            margin:  auto;
            padding: 2rem;
        }

        .welcome {
            text-align: center;
            margin-bottom: 3rem;
        }

        .welcome h2 {
            color: #EB5B00;
            font-size: 2.75rem;
            margin-bottom: 1rem;
        }
        .welcome p {
            font-size: 1.25rem;
        }

/* make the card a positioning context */
        .game-card { 
            position: relative; 
            overflow: hidden; 
            font-size: 1.75rem;
        }

/* hidden by default; covers the whole card */
        .play-overlay{
            position: absolute;
            top:0;
            right:0;
            bottom:0;
            left: 0;
            display: grid;
            place-items: center;
            background: rgba(0,0,0,.45);       /* dim the card */
            opacity: 0;
            transform: scale(.98);
            transition: opacity .25s ease, transform .25s ease;
        }

/* show on hover/focus */
        .has-play:hover .play-overlay,
        .has-play:focus-within .play-overlay{
            opacity: 1;
            transform: scale(1);
        }

/* the small circular play button */
        .play-circle{
            width: 80px;
            height: 80px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: #8a0303;
            box-shadow: 0 6px 18px rgba(0,0,0,.35);
            transition: transform .15s ease, background .15s ease;
        }

        .play-overlay:hover .play-circle{ 
            background:#ff6b6b; 
            transform: scale(1.05); 
        }

/* white triangle, nudged right for optical centering */
        .play-circle svg{
            width: 46%;
            height: 46%;
            fill: #fff;
            transform: translateX(6%);
        }

        .game-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            border: 2px solid #444;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
          
        }
    
        .game-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(255, 107, 107);
            border-color: #ff6b6b;
        }
    
        .game-card h3 {
            color: #ff6b6b;
            margin-bottom: 1rem;
        }

        .game-card p {
            margin-bottom: 1.5rem;
            color: #ccc;
        }

        
        /* Footer */
        footer {
            background: rgba(0, 0, 0, 0.8);
            text-align: center;
            padding: 2rem;
            margin-top: 3rem;
            border-top: 1px solid #444;
            font-size: 1.5rem ;
        }
      
        /* Responsive design */
        @media (max-width: 768px) {
            .main-nav ul {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            header h1 {
                font-size: 2rem;
            }
            
            .game-grid {
                grid-template-columns: 1fr;
            }
        }