/* =================== Reset + Dark Netflix Style =================== */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #141414;
    color: #ffffff;
    scroll-behavior: smooth;
  }
  
  /* =================== Header =================== */
  header {
    text-align: center;
    padding: 40px 20px 10px;
  }
  
  header h1 {
    color: #e50914;
    font-size: 2.2em;
    margin-bottom: 10px;
  }
  
  header p {
    font-size: 1.1em;
    color: #ccc;
  }
  
  /* =================== Profile Grid =================== */
  .profile-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    text-align: center;
  }

  
  .card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;  
  }
  
  .card-wrapper h2 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: white;
  }

  .card.small-card {
    display: block;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    background: #222;
    transition: transform 0.3s ease;
  }
  
  .card.small-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card.small-card:hover {
    transform: scale(1.05);
  }
  @media (max-width: 600px) {
    .card-container {
      width: 90vw;
    }
  
    .card {
      height: 40vw;
    }
  
    .card-title {
      font-size: 0.95rem;
    }
  }
  .about-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
  }
  
  .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e50914;
  }
  
  ul {
    list-style-type: square;
    padding-left: 20px;
  }
  
  .project {
    background-color: #1e1e1e;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
  }
  
  .project a {
    color: #e50914;
    text-decoration: none;
  }
  
  /* =================== Footer =================== */
  footer {
    text-align: center;
    padding: 20px;
    background: #1f1f1f;
    font-size: 0.9em;
    color: #aaa;
  }
  
  /* =================== Netflix Hero =================== */
  .netflix-hero {
    background-color: rgba(0, 0, 0, 0.6); 
    background-size: 400% 400%;
    animation: heroGradient 15s ease infinite;
    height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0px; /* Adjusted to remove extra space at the top */
  }
  
  @keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .link-wrapper {
    text-decoration: none;
    color: inherit;
    display: inline-block;
  }
  
  .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.25; /* You can adjust this */
  }


  .netflix-logo {
    padding-top:0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .netflix-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    padding: 4px;
    background: linear-gradient(#141414, #141414) padding-box,
                linear-gradient(45deg, #e50914, #ff6666) border-box;
    border: 5px solid transparent;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .netflix-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.7);
  }
  
  .netflix-name {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    color: #e50914;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0;
    transform: scaleY(1.1);
    transition: opacity 1.5s ease-in-out, transform 1s ease-in-out, text-shadow 0.3s ease-in-out;
  }
  .netflix-ALSname {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: #e50914;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    cursor: pointer;
    transform: scaleY(1.1);
    transition: opacity 1.5s ease-in-out, transform 1s ease-in-out, text-shadow 0.3s ease-in-out;
  }

  .netflix-ALSname.zoom {
    transform: scale(5);
    opacity: 0;
  } 

  body.loaded .netflix-name, .netflix-ALSname {
    opacity: 1;
    transform: scaleY(1.1);
  }
  
  .netflix-name, .netflix-ALSname :hover {
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.7), 0 0 20px rgba(229, 9, 20, 0.5);
  }
  @media (max-width: 600px) {
    .netflix-photo {
      width: 120px;
      height: 120px;
    }
  
    .netflix-ALSname {
      font-size: 2rem;
      letter-spacing: 1px;
    }
  
    .netflix-name {
      font-size: 0.8rem;
    }
  }
  
  .netflix-tagline {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.5s ease, transform 1.2s ease;
  }
  
  body.loaded .netflix-tagline {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =================== Typewriter Tagline =================== */
  .typewriter-text {
    font-family: monospace;
    color: #ccc;
    overflow: hidden;
    border-right: 2px solid #e50914;
    white-space: nowrap;
    width: 0;
    font-size: 1.2rem;
    margin-top: 10px;
    animation: typing 6s steps(40, end) forwards, blink 0.75s step-end infinite;
  }
  
  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #e50914; }
  }
  .typewriter2-text {
    font-family: monospace;
    color:rgba(204, 9, 9, 0.8);
    overflow: hidden;
    border-right: 2px solid #e50914;
    white-space: nowrap;
    width: 0;
    font-size: 1.2rem;
    margin-top: 10px;
    animation: typing 4s steps(40, end) forwards, blink 0.75s step-end infinite;
    animation-delay: 4s;
  }
  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #e50914; }

  }
  /* =================== Scroll Arrow =================== */
  .scroll-down {
    font-size: 2rem;
    color: #e50914;
    animation: bounce 2s infinite;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
  }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
  }
  
  /* =================== Fade In Zoom (Legacy Unused) =================== */
  @keyframes fadeInZoom {
    0% {
      opacity: 0;
      transform: scale(0.8);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* =================== Responsive =================== */
  @media (max-width: 768px) {
    .netflix-name {
      font-size: 3rem;
    }
  
    .netflix-photo {
      width: 150px;
      height: 150px;
    }
  }


  
  .containerin h1.zoom {
    transform: scale(5);
    opacity: 0;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .pages{
    background-color: #141414;
    font-family: Arial, sans-serif;
    color: white;
    overflow-x: hidden;
  }

  /* Navbar */
  .navbar {
    position: sticky; /* Instead of sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(20, 20, 20, 0.4); /* Transparent dark */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
  }


/* Left side: logo + nav links */
.left-nav {
display: flex;
align-items: center;
gap: 40px;
}

.logo {
border: 5px;;
font-size: 1.8rem;
font-weight: bold;
color: red;
text-transform: uppercase;
letter-spacing: 1px;
text-decoration: none;  
cursor: pointer;
}

.nav-links {
display: flex;
gap: 25px;
}

.nav-links a {
color: white;
text-decoration: none;
font-size: 1rem;
transition: color 0.3s ease;
}

.nav-links a:hover {
color: #b3b3b3;
}

/* Profile Image */
.profile-pic img {
width: 40px;
height: 40px;
object-fit: cover;
border-radius: 10px; /* <-- curved corners instead of full circle */
border: 2px solid white;
}
  /* Hero Section */
  .hero {
    position: relative;
    height: 75vh;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding-top: 0;
  }

  .hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-top: 0;
  }

  .hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    padding-left: 3rem;
  }

  .loading {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
  }

  .dots::after {
    content: '';
    display: inline-block;
    animation: dots 1.5s steps(4, end) infinite;
  }

  @keyframes dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
  }

  .btn-play {
    background-color: white;
    color: black;
  }

  .btn-info {
    background-color: rgba(109, 109, 110, 0.7);
    color: white;
  }

  /* Section Styling */

  .section {
    padding: 50rem;
    color: white;
    padding: 20px 50px;
    white-space: nowrap;
  }
  
  .card-row {
    padding-top: 20px;
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto; /* Enables horizontal scrolling */
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none; 
    -ms-overflow-style: none;
  }

  .card-row::-webkit-scrollbar {
    height: 8px;
  }

  .card-row::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 10px;
  }
  
  .card {
    position: relative;
    width: 320px;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
    flex: 0 0 auto; /* Prevent shrinking and allow scrolling */
  }
  

.card:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  
}
  
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.5); /* Transparent dark overlay */
    z-index: 1;
  }
  
  .card-text {
    position: absolute;
    z-index: 2;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: #e50914; /* Netflix red */
    z-index: 2;
  }


  .hero-content {
    position: absolute;
    bottom: 20px;
    left: 40px;
    z-index: 2;
  }

  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .hero-content p {
    max-width: 500px;
    margin-bottom: 20px;
  }

  .hero-content button {
    padding: 10px 20px;
    margin-right: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
    .btn-play {
      background-color: white;
      color: black;
    }

    .btn-info {
      background-color: rgba(109, 109, 110, 0.7);
      color: white;
    }

    .btn-info {
      padding: 10px 20px;
      background-color: rgba(109, 109, 110, 0.7);
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      text-decoration: none;
      cursor: pointer;
      display: inline-block;
      transition: background-color 0.3s ease;
    }
    
    .btn-info:hover {
      background-color: rgba(109, 109, 110, 0.9);
    }
    


    .video-container {
      width: 100%;
      height: 60vh;
      background-color: #000;
      position: relative;
    }

    .video-container video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* View More Button */
    .view-more {
      display: block;
      text-align: center;
      margin: 20px auto;
      color: #ccc;
      font-size: 1.2rem;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .view-more:hover {
      color: #fff;
    }

    /* Info Section */
    .info-section {
      padding: 20px 50px;
      background-color: #1c1c1c;
    }

    .info-section h2 {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .info-meta {
      font-size: 0.95rem;
      color: #aaa;
      margin-bottom: 15px;
    }

    .info-desc {
      font-size: 1rem;
      line-height: 1.6;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .info-section {
        padding: 20px;
      }
      .info-section h2 {
        font-size: 1.5rem;
      }
    }

    header {
      padding: 20px 50px;
      background-color: #1c1c1c;
      font-size: 1.5rem;
      font-weight: bold;
      border-bottom: 2px solid #e50914;
    }

    .section {
      padding: 30px 50px;
    }

    .section h2 {
      font-size: 2rem;
      margin-bottom: 20px;
      color: #e50914;
    }

    .edcard-row {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: flex-start;
    }

    .edcard {
      background-color: #1e1e1e;
      width: 300px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
      transition: transform 0.3s ease;
    }

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

    .edcard-img {
      width: 100%;
      height: 180px;
      background-color: #333;
      background-size: cover;
      background-position: center;
    }

    .edcard-body {
      padding: 15px;
    }

    .edcard-title {
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .edcard-meta {
      font-size: 0.9rem;
      color: #aaaaaa;
      margin-bottom: 10px;
    }

    .edcard-desc {
      font-size: 0.95rem;
      line-height: 1.4;
      color: #dddddd;
    }

    @media (max-width: 768px) {
      .edcard-row {
        justify-content: center;
      }

      .edcard {
        width: 90%;
      }
    }

    .referee-card {
      position: relative;
      display: inline-block;
      margin: 20px 0;
      cursor: pointer;
      color: #2c3e50;
      font-weight: bold;
    }

    .referee-card:hover .referee-info {
      display: block;
    }

    .referee-info {
      display: none;
      position: absolute;
      top: 30px;
      left: 0;
      z-index: 5;
      background-color: #ffffff;
      border: 1px solid #ccc;
      padding: 15px;
      border-radius: 8px;
      width: 300px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      color: #333;
    }

    .referee-info a {
      color: #007BFF;
      text-decoration: none;
    }

    .referee-info a:hover {
      text-decoration: underline;
    }

    .info-section {
      padding: 50px 20px;
      max-width: 1000px;
      margin: auto;
    }

    .info-section h2 {
      font-size: 36px;
      color: #fff;
      margin-bottom: 20px;
    }

    .info-meta {
      font-style: italic;
      color: #bbb;
      margin-bottom: 30px;
    }

    .hobby-item {
      background-color: #1f1f1f;
      border-left: 5px solid #e50914;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 10px;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeSlideIn 0.8s ease forwards;
    }

    .hobby-item:nth-child(1) { animation-delay: 0.3s; }
    .hobby-item:nth-child(2) { animation-delay: 0.6s; }
    .hobby-item:nth-child(3) { animation-delay: 0.9s; }
    .hobby-item:nth-child(4) { animation-delay: 1.2s; }
    .hobby-item:nth-child(5) { animation-delay: 1.5s; }
    .hobby-item:nth-child(6) { animation-delay: 1.8s; }

    @keyframes fadeSlideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hobby-item span {
      font-size: 1.7rem;
      margin-right: 10px;
    }

    .game-intro {
      background-color: #1f1f1f;
      padding: 30px;
      border-radius: 10px;
      border-left: 5px solid #e50914;
      animation: fadeIn 1.5s ease forwards;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .game-intro p {
      font-size: 18px;
      line-height: 1.6;
    }

    .play-button {
      background-color: #e50914;
      color: white;
      border: none;
      padding: 15px 30px;
      font-size: 18px;
      border-radius: 5px;
      margin-top: 25px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .play-button:hover {
      background-color: #b0060f;
    }