/* General Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000216;
    color: white;
}

/* Header */
header {
    background: #020525;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    color: white;
    padding: 40px 20px;
    font-size: 2rem;
    text-align: center;
}

/* Typography */
h1 {
    font-size: 3rem;
    color: white;
    text-align: center;
    margin: 20px 0;
}

h2 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    text-decoration: underline;
    margin: 10px 0;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 5px 0;
}

.Sub-Title-Unit {
    text-decoration: underline;
}

.Rank {
    font-size: 1rem;
    font-weight: 500;
}

/* Text Elements */
p {
    text-align: center;
    padding: 0 20px;
    font-size: large;
}

.Underline {
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: #00aaff;
    font-weight: 700;
    transition: color 0.3s;
}

a:hover {
    color: #66d9ff;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    background: #020525;
}

.navigation {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
}

/* Layout Containers */
div {
    margin: auto;
    text-align: center;
}

.row-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.Spread {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

/* BOC Cards */
.BOC {
    background: #1f2d3d;
    border: 2px solid #2e4057;
    border-radius: 12px;
    width: 250px;
    padding: 15px;
    color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px; /* Set a fixed height */
    justify-content: space-between; /* Adjusts spacing between content */
}

.BOC h3, .BOC h4, .BOC button {
    margin: 5px 0;
}

.BOC:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
}

.BOC hr {
    width: 80%;
    border: 1px solid #00aaff;
    margin: 10px 0;
}

.BOC button {
    margin-top: 12px;
    padding: 10px 16px;
    background-color: #0a0f2b;
    color: white;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.BOC button:hover {
    background-color: #1c2541;
    border-color: #00aaff;
    color: #00aaff;
    transform: scale(1.05);
}

.BOC button:active {
    background-color: #081025;
    transform: scale(0.98);
}

/* Popup Styles */
.popup,
.popupHOF {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content,
.popupHOF-content {
    background: #1f2d3d;
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    border: 3px solid #00aaff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
}

.popupHOF-content {
    max-width: 600px;
    border-color: #8a5e00;
}

/* Popup Banner */
.popup-banner {
    width: 100%;
    height: 230px;
    background: #111827;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: white;
    transition: color 0.3s;
}

.close:hover {
    color: red;
}

/* Loader */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 6px solid #fff;
    border-top: 6px solid #00aaff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility */
.small {
    width: 20px;
    height: 20px;
}

footer {
    background-color: #020525;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
    border-top: 2px solid #00aaff;
    margin-top: 40px;
}

footer p {
    margin: 10px 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

footer a {
    color: #00aaff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #66d9ff;
}

.banner {
    display: flex;
    width: 100%;
    height: auto;
    background-color: #0a0f2c;
    color: white;
    flex-wrap: wrap;
  }

  .banner-section {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-width: 300px;
  }

  .banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .overlay h2 {
    font-size: 2em;
    margin: 0.2em 0;
  }

  .overlay p {
    font-size: 1em;
  }

  .video-link {
    margin-top: 10px;
    color: #ffd700;
    text-decoration: none;
  }

  .video-link:hover {
    text-decoration: underline;
  }

  form {
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 10px;
  }
  input, textarea {
    padding: 8px;
  }
  button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
  }
  
  form label {
    text-align: left;
    font-weight: 600;
  }
  
  form input, form textarea {
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #111;
    color: white;
  }
  
  form input::placeholder,
  form textarea::placeholder {
    color: #888;
  }
  
