html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #0c0c0c; /* your theme's base color */
  }
  
  
  body {
    background-color: #0c0c0c;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
  }
  
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

/* Reset default styles and set the font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

/* Full-screen background styling */
body {
    background: url('images/doom-style-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    color: #fff;
    text-align: center;
    position: relative;
}

/* Dark overlay to enhance readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Header with game title and navigation */
header {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 2;
}

/* Game title with glowing effect */
.game-title {
    font-size: 2.5rem;
    color: #ff4500;
    text-shadow: 2px 2px 10px rgba(255, 69, 0, 0.8);
}

/* Navigation menu styling */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff4500;
}

/* Section layout - full height for immersive experience */
.hero, .gameplay, .about {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero section with background image */
.hero {
    background: url('images/fantasy-endless-hole-landscape.jpg') no-repeat center center/cover;
}

/* Gameplay section styling */
.gameplay {
    background: url('images/pexels-mayday-1365795.jpg') no-repeat center center;
   
    transition: transform 0.3s ease-in-out;
}

.gameplay:hover {
    transform: scale(1.05);
}

/* About section styling */
.about {
    background: url('images/3d-fantasy-scene.jpg') no-repeat center center/cover;
}

/* Headings with glowing effect */
h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(255, 69, 0, 0.8);
}

/* Paragraphs with max width for readability */
p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Button styling for interaction */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #ff4500;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0px 0px 10px rgba(255, 69, 0, 0.8);
}

.btn:hover {
    background: #d63031;
    transform: scale(1.2);
}
/* Style the gameplay video */
.game-video {
    margin-top: 20px;
    margin-bottom: 40px;
    border: 3px solid #ff4500; /* Doom-style border */
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 69, 0, 0.8);
    transition: transform 0.3s ease-in-out;
}

/* Hover effect for video */
.game-video:hover {
    transform: scale(1.05);
}
/* Gameplay Video Section - matches landing theme */
.gameplay-videos {
    padding: 80px 20px;
    background-color: #0c0c0c;
    text-align: center;
    border-top: 2px solid #aa0000;
    border-bottom: 2px solid #aa0000;
  }
  
  .section-heading {
    font-size: 46px;
    color: #ff3c00;
    margin-bottom: 90px;
    margin-top: 40px;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif; /* Or match your main font */
    text-shadow: 0 0 6px rgba(255, 60, 0, 0.6);
  }
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 60px;
    max-width: 1300px;
    max-height: 1300px;
    margin: 0 auto;
  }
  
  .video-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(255, 60, 0, 0.2);
    
  }
  
  .video-item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 60, 0, 0.4);
  }
  
  .game-video {
    width: 100%;
    height: max-content;
    display: block;
  }
  
  .video-title {
    font-size: 15px;
    color: #ccc;
    padding: 12px 10px;
    background-color: #111;
    margin: 0;
    font-weight: 400;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  .card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
    z-index: 2;
  }
  
  .game-card {
    width: 280px;
    height: 380px;
    background-color: #1a1a1a;
    color: #fff;
    border: 2px solid #ff4500;
    border-radius: 12px;
    perspective: 1000px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 60, 0, 0.4);
    transition: transform 0.4s ease-in-out;
    position: relative;
  }
  
  .game-card:hover {
    transform: scale(1.05);
  }
  
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .card-front {
    background-color: #1a1a1a;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(255, 69, 0, 0.5);
  }
  
  .card-back {
    background-color: #111;
    color: #ddd;
    transform: rotateY(180deg);
    font-size: 16px;
    line-height: 1.5;
  }
  
  .game-card.opened .card-front {
    transform: rotateY(180deg);
  }
  
  .game-card.opened .card-back {
    transform: rotateY(0deg);
  }
  .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .game-card {
    width: 100%;
    height: 350px;
    perspective: 1200px;
    cursor: pointer;
  }
  
  .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .game-card.flipped .card-inner {
    transform: rotateY(180deg);
  }
  
  .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 2px solid #ff4500;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    box-shadow: 0 0 15px rgba(255, 60, 0, 0.4);
    font-family: 'Orbitron', sans-serif;
    transition: box-shadow 0.3s;
  }
  
  .card-front {
    font-size: 22px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(255, 69, 0, 0.6);
  }
  
  .card-back {
    transform: rotateY(180deg);
    font-size: 16px;
    background-color: #111;
    color: #ddd;
  }
    