/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: #fff;
}

hr {
    padding: 5px;
    border-top: 2px solid #343A40;
    border-bottom: #343A40;
    border-right: #343A40;
}
/* Navbar */
.navbar {
    background-color: #1a1a1a;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo a {
    font-size: 24px;
    color: cyan;
    text-decoration: none;
    font-family: 'russo_one', sans-serif;
    font-weight: bold;
    white-space: nowrap;
}

/* Navbar Search - Next to Logo */
.navbar-search {
    flex: 0 1 380px;
    min-width: 280px;
}

.navbar-search-form {
    display: flex;
    gap: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 136, 255, 0.1));
    border-radius: 30px;
    padding: 5px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
}

.navbar-search-form:focus-within {
    border-color: #00ffff;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 136, 255, 0.15));
    transform: translateY(-1px);
}

.navbar-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    padding: 11px 20px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.navbar-search-input::placeholder {
    color: rgba(0, 255, 255, 0.5);
    font-weight: 400;
}

.navbar-search-btn {
    background: linear-gradient(135deg, #28fcd6, #1fc9b0);
    border: none;
    color: white;
    padding: 11px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(40, 252, 214, 0.3);
}

.navbar-search-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(40, 252, 214, 0.5);
    background: linear-gradient(135deg, #28fcd6, #24e0bd);
}

.navbar-search-btn:active {
    transform: scale(1.02);
}

.navbar-search-btn svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
}

.mobile-menu-btn svg {
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: cyan;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin: 20px 0;
}

.hero-image {
    width: 100%;
    max-height: 700px;
    object-fit: cover;
}

/* Authentication Buttons */
.auth-buttons {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.auth-btn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 15px;
    border: 1px solid cyan;
    border-radius: 4px;
    background-color: transparent;
    transition: 0.3s ease;
}

.auth-btn:hover {
    background-color: cyan;
    color: black;
}

/* Topbar Section */
.topbar {
    text-align: center;
    margin-top: 40px;
}

@font-face {
    font-family: 'russo_one';
    src: url('/static/fonts/Russo_One.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.topbar h1 {
    font-size: 2.3em;
    color: cyan;
    margin-bottom: 9px;
    font-family: 'russo_one', sans-serif; /* Use Izmir font */
}

/* font-family: 'Izmir', sans-serif; */

.topbar p {
    font-size: 1.3em;
    color: #ffffff;
}

/* Mods Section */
.mods-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Cards Wrapper */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 30px; /* Space between cards */
    padding: 20px;
}

/* Card Styles */
.card {
    background: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Card Content */
.card-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* Left Side: Image */
.image_container {
    width: 100%;
    height: 150px;
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side: Info */
.info {
    padding: 20px;
    text-align: center;
}

/* Title */
.title span {
    font-size: 18px;
    font-weight: bold;
    color: cyan;
    margin-bottom: 10px;
    display: block;
}

/* Description */
.description p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    min-height: 70px; /* Ensure consistent height for description */
}

/* Action Button */
.action {
    margin-top: 10px;
}

.view-mods-button {
    padding: 10px 20px;
    background-color: cyan;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-mods-button:hover {
    background-color: #00ffffcc;
}

/* New Section */
.new-section {
    padding: 40px;
    background-color: #121212;
}

.section-title {
    font-size: 28px;
    color: cyan;
    text-align: center;
    margin-bottom: 30px;
}

/* New Cards Wrapper */
.new-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust card width dynamically */
    gap: 20px; /* Space between cards */
    padding: 20px;
}

/* New Card Styles */
.new-card {
    background: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 300px; /* Limit card width */
    margin: 0 auto; /* Center cards */
}

.new-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Image Container */
.new-card .image_container {
    width: 100%;
    height: 180px; /* Adjust height for better proportions */
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-card .image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image fits properly */
}

/* Info Section */
.new-card .info {
    padding: 15px;
    text-align: center;
}

.new-card .title span {
    font-size: 18px;
    font-weight: bold;
    color: cyan;
    margin-bottom: 10px;
    display: block;
}

.new-card .description p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Action Button */
.new-card .action {
    margin-top: 10px;
}

.new-card .view-mods-button {
    padding: 10px 20px;
    background-color: cyan;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: light;
    transition: background-color 0.3s ease;
}

.new-card .view-mods-button{
  font-weight: 630;
  font-size: 14px;
}

.new-card .view-mods-button:hover {
    background-color: #00ffffcc;
}

/* Cards Wrapper */
.cards-wrapper {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card Styles */
.card {
    background: #1c1c1c;
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Card Content */
.card-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* Left Side: Image */
.image_container {
    width: 31%;
    height: 305px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side: Info */
.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding: 44px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

/* Title */
.title span {
    font-size: 27px;
    font-weight: bold;
    color: cyan;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

/* Description */
.description p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Action Button */
.action {
    display: flex;
    justify-content: center; /* Center the button horizontally */
    margin-top: 20px;
}

.download-button {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background-color: cyan;
    color: black;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.download-button:hover {
    background-color: #00ffffcc;
}

.download-button .button-icon {
    margin-left: 8px;
}

.download-svg {
    width: 20px;
    height: 20px;
    fill: black;
}

/* view more  */
.view-more-button {
    padding: 1.3em 3em;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    text-decoration: none; /* REMOVE underline */  
    
      
}

/* .view-more-button {
    padding: 10px 20px;
    background-color: gray;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    transform: translateY(-1px);

} */

.view-more-button:hover {
    background-color: cyan;
  box-shadow: 0px 15px 20px rgba(46, 229, 214, 0.4);
  color: black;
  transform: translateY(-7px);
}



/* Footer */
/* footer {
    text-align: center;
    padding: 11px;
    
    background-color: #1a1a1a;
    font-size: 14px;
    color: #aaa;
} */

/* slider  */
/* .slide-section {
    min-height: 40vh;
    display:grid;
    place-items: center;
} */

/* .slider {
    height: 250px;
    margin: auto;
    position:relative;
    width: 99%;
    display: grid;
    place-items: center;
    overflow: hidden;
} */

/* .slide-track {
    display: flex;
    width: calc(250px * 18);
    animation: scroll 40s linear infinite;  
} */

/* .slide-track:hover {
    animation-play-state: paused;
} */

/* @keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 9));
    }
} */

/* .slide {
    height: 200px;
    width: 250px;
   display: flex;
   align-items: center;
   padding: 8px;
   perspective: 100px;
} */

/* img {
   width : 101%;
   transition: transform 1s;
} */

/* img:hover {
    transform: translateZ(10px);
} */

/* gradiant shadow  */

/* .slide-card::before,
.slide-card::after {
    background: linear-gradient(to right, rgba(42, 42, 42, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: '';
    height: 96%;
    position: absolute;
    width: 11%;
    z-index: 1;
} */

/* .slide-card::before {
    left: 0;
    top: 0;

} */

/* .slide-card::after {
    right: 0;
    top: 0;
    transform : rotatez(180deg);
} */

/* Switch Container */
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
  cursor: pointer;
  vertical-align: middle; /* Align with text */
  top: -3px; /* Slightly move it upwards */
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider1 {
  --background: #2a2a2a;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  transition: 0.5s;
  border-radius: 30px;
}

.slider1:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  border-radius: 50%;
  left: 10%;
  bottom: 19%;
  box-shadow: inset 8px -4px 0px 0px #ececd9, -4px 1px 4px 0px #dadada;
  background: var(--background);
  transition: 0.5s;
}

.decoration {
  position: absolute;
  content: "";
  height: 2px;
  width: 2px;
  border-radius: 50%;
  right: 20%;
  top: 11%;
  background: #e5f041e6;
  backdrop-filter: blur(10px);
  transition: all 0.5s;
  box-shadow: -7px 10px 0 #e5f041e6, 8px 15px 0 #e5f041e6, -17px 1px 0 #e5f041e6,
    -20px 10px 0 #e5f041e6, -7px 23px 0 #e5f041e6, -15px 25px 0 #e5f041e6;
}

input:checked ~ .decoration {
  transform: translateX(-20px);
  width: 10px;
  height: 10px;
  background: white;
  box-shadow: -12px 0 0 white, -6px 0 0 1.6px white, 5px 15px 0 1px white,
    1px 17px 0 white, 10px 17px 0 white;
}

input:checked + .slider1 {
  background-color: #5494de;
}

input:checked + .slider1:before {
  transform: translateX(100%);
  box-shadow: inset 15px -4px 0px 15px #efdf2b, 0 0 10px 0px #efdf2b;
}

/* Ad Section Styling */
.ad-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #1a1a1a;
    /* border-top: 1px solid #495057; */
    border-bottom: 2px solid #212529;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Common ad box style */
.ad-box {
    width: 300px;
    height: 250px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Responsive Ad Blocks */
.ad-desktop {
    display: block;
}

.ad-mobile {
    display: none;
}

/* Show mobile and hide desktop on small screens */
@media (max-width: 768px) {
    .ad-desktop {
        display: none;
    }
    .ad-mobile {
        display: block;
    }
}

/* Sticky Top Ad */
.sticky-ad {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
    text-align: center;
    z-index: 9999;
    pointer-events: none; /* Prevent accidental clicks */
}

/* new cards section */

.mods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust card width */
    gap: 20px;
}

.mod-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 15px; /* Reduce padding */
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 300px; /* Limit card width */
    margin: 0 auto; /* Center cards */
}

.mod-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mod-name {
    font-size: 16px; /* Slightly reduce font size */
    font-weight: 600;
    margin-bottom: 8px;
}

.mod-description {
    font-size: 13px; /* Adjust font size */
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.4; /* Improve readability */
    text-align: justify; /* Align text properly */
}

.mod-version {
    font-size: 12px; /* Adjust font size */
    color: #94a3b8;
    margin-bottom: 12px;
}

.download-btn {
    background-color: cyan;
    border: none;
    padding: 7px 95px; /* Adjust button padding */
    border-radius: 8px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px; /* Adjust button font size */
}

.mods_icons {
    width: 100%; /* Full width of the container */
    height: 200px; /* Fixed height for consistent layout */
    object-fit: cover; /* Crop and fit the image */
    border-radius: 8px; /* Optional: Rounded corners */
    aspect-ratio: 270/200; /* Force a consistent aspect ratio */
}

.mod-card .download-btn:hover {
    background-color: #00ffffcc;
}

.mods-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #111;

}

/* Footer Section */
.footer {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

/* Footer Buttons */
.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-btn {
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 15px;
    /* border: 1px solid cyan; */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-btn:hover {
    /* background-color: cyan; */
    color: black;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Copyright Text */
.footer-copyright {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* body,
input,
button {
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
} */

/* body {
  color: hsl(0, 0%, 100%);
} */

input,
button {
  border: none;
  outline: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== LOGIN ===============*/
.login {
  position: relative;
  height: 100vh;
  display: grid;
  align-items: center;
}

.login__img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.container {
  position: relative;
  background-color: hsla(0, 0%, 10%, 0.1);
  border: 2px solid white;
  margin-inline: 1.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.login__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.login__content,
.login__box {
  display: grid;
}

.login__content {
  row-gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.login__box {
  grid-template-columns: max-content 1fr;
  align-items: center;
  column-gap: 0.75rem;
  border-bottom: 2px solid hsl(0, 0%, 100%);
}

.login__icon,
.login__eye {
  font-size: 1.25rem;
}

.login__input {
  width: 100%;
  padding-block: 0.8rem;
  background: none;
  color: hsl(0, 0%, 100%);
  position: relative;
  z-index: 1;
}

.login__box-input {
  position: relative;
}

.login__label {
  position: absolute;
  left: 0;
  top: 13px;
  font-weight: 500;
  transition: top 0.3s, font-size 0.3s;
}

.login__eye {
  position: absolute;
  right: 0;
  top: 18px;
  z-index: 10;
  cursor: pointer;
}

.login__box:nth-child(2) input {
  padding-right: 1.8rem;
}

.login__check,
.login__check-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login__check {
  margin-bottom: 1.5rem;
}

.login__check-label,
.login__forgot,
.login__register {
  font-size: 0.813rem;
}

.login__check-group {
  column-gap: 0.5rem;
}

.login__check-input {
  width: 16px;
  height: 16px;
}

.login__forgot {
  color: cyan;
}

.login__forgot:hover {
  text-decoration: underline;
}

.login__button {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 100%);
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.login__button:hover {
  background-color: cyan;
  color: black;
}

.login__register {
  text-align: center;
}

.login__register a {
  color: cyan;
  font-weight: 500;
}

.login__register a:hover {
  text-decoration: underline;
}

/* Input focus move up label */
.login__input:focus + .login__label {
  top: -12px;
  font-size: 0.813rem;
}

/* Input focus sticky top label */
.login__input:not(:placeholder-shown).login__input:not(:focus) + .login__label {
  top: -12px;
  font-size: 0.813rem;
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 576px) {
  .login {
    justify-content: center;
  }

  .container {
    width: 400px;
    padding: 4rem 3rem 3.5rem;
    border-radius: 1.5rem;
  }

  .login__title {
    font-size: 2rem;
  }
}


/*=============== REGISTER ===============*/
.register {
    position: relative;
    height: 100vh;
    display: grid;
    align-items: center;
  }
  
  .register__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .container {
    position: relative;
    background-color: hsla(0, 0%, 10%, 0.1);
    border: 2px solid white;
    margin-inline: 1.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
  }
  
  .register__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
  }
  
  .register__content,
  .register__box {
    display: grid;
  }
  
  .register__content {
    row-gap: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .register__box {
    grid-template-columns: max-content 1fr;
    align-items: center;
    column-gap: 0.75rem;
    border-bottom: 2px solid hsl(0, 0%, 100%);
  }
  
  .register__icon {
    font-size: 1.25rem;
  }
  
  .register__input {
    width: 100%;
    padding-block: 0.8rem;
    background: none;
    color: hsl(0, 0%, 100%);
    position: relative;
    z-index: 1;
  }
  
  .register__box-input {
    position: relative;
  }
  
  .register__label {
    position: absolute;
    left: 0;
    top: 13px;
    font-weight: 500;
    transition: top 0.3s, font-size 0.3s;
  }
  
  .register__button {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: hsl(0, 0%, 100%);
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .register__button:hover {
    background-color: cyan;
    color: black;
  }
  
  .register__login {
    text-align: center;
  }
  
  .register__login a {
    color: cyan;
    font-weight: 500;
  }
  
  .register__login a:hover {
    text-decoration: underline;
  }
  
  /* Input focus move up label */
  .register__input:focus + .register__label {
    top: -12px;
    font-size: 0.813rem;
  }
  
  /* Input focus sticky top label */
  .register__input:not(:placeholder-shown).register__input:not(:focus) + .register__label {
    top: -12px;
    font-size: 0.813rem;
  }
  
  /*=============== BREAKPOINTS ===============*/
  /* For medium devices */
  @media screen and (min-width: 576px) {
    .register {
      justify-content: center;
    }
  
    .container {
      width: 400px;
      padding: 4rem 3rem 3.5rem;
      border-radius: 1.5rem;
    }
}

/* User Info Styling */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: white; /* Icon color */
    padding-bottom: 3.5px; /* Adjust icon position */
}

.user-name {
    font-weight: bold;
    color: cyan; /* Username color */
    font-size: 1rem;
}

.edit-button {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.delete-button {
    background-color: #f44336;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ==================== ADMIN PANEL STYLING ==================== */

/* Admin Panel Container */
.admin-panel {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #fff;
    min-height: 100vh;
}

/* Admin Header */
.admin-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.admin-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #00ffff 0%, #00b8d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Add Buttons */
.add-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.add-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #00ffff 0%, #00b8d4 100%);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, #00b8d4 0%, #00ffff 100%);
}

.add-button svg {
    stroke-width: 3;
}

/* Admin Section */
.admin-section {
    margin-bottom: 60px;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 184, 212, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    color: #00ffff;
    margin: 0;
    font-weight: 700;
}

.section-header svg {
    stroke-width: 2.5;
}

.item-count {
    background: rgba(0, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Admin Card */
.admin-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.admin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Card Thumbnail */
.card-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #0a0a0a;
    position: relative;
    flex-shrink: 0;
}

.card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.admin-card:hover .card-thumbnail img {
    transform: scale(1.08);
}

/* Card Content */
.admin-card .card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card Title - First Line */
.admin-card .card-title {
    font-size: 1.15rem;
    color: #00ffff;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 45px;
    word-break: break-word;
}

/* Card Group ID - Second Line */
.admin-card .card-group-id {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 6px;
    max-width: 100%;
}

.admin-card .card-group-id svg {
    flex-shrink: 0;
    stroke: #00ffff;
    stroke-width: 2;
    min-width: 14px;
}

.admin-card .group-id-text {
    font-size: 0.85rem;
    color: #00ffff;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Remove card description if exists */
.admin-card .card-description {
    display: none;
}

/* Card Meta */
.card-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-badge,
.meta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.meta-link:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.meta-badge svg,
.meta-link svg {
    stroke-width: 2;
}

/* Card Actions */
.admin-card .card-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.admin-card .action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.admin-card .edit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: 1px solid transparent;
}

.admin-card .edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.admin-card .delete-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: 1px solid transparent;
}

.admin-card .delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
}

.admin-card .action-btn svg {
    stroke-width: 2.5;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.3) 20%, 
        rgba(0, 255, 255, 0.5) 50%, 
        rgba(0, 255, 255, 0.3) 80%, 
        transparent 100%
    );
    margin: 60px 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 20px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 45px;
    justify-content: center;
}

.page-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.page-btn.active {
    background: linear-gradient(135deg, #00ffff 0%, #00b8d4 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    border-color: transparent;
}

.page-dots {
    color: #666;
    padding: 0 5px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-header h1 {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }

    .pagination {
        gap: 8px;
    }

    .page-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-width: 40px;
    }
}

/* ==================== ADD VIDEO/MOD FORM STYLING ==================== */

.form-container {
  max-width: 650px;
  margin: 40px auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.form-container h1 {
  text-align: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #00ffff 0%, #00b8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-container form {
  background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-container label {
  color: #00ffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
}

.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  border-color: #00ffff;
  background-color: rgba(0, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

.form-container textarea {
  min-height: 120px;
  resize: vertical;
}

.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #666;
  font-style: italic;
}

/* Custom File Upload Button */
.form-container input[type="file"] {
  padding: 12px;
  border: 2px dashed rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
}

.form-container input[type="file"]:hover {
  border-color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
}

.form-container input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #00ffff 0%, #00b8d4 100%);
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.form-container input[type="file"]::file-selector-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.form-container button {
  margin-top: 10px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #00ffff 0%, #00b8d4 100%);
  color: #000;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.form-container button:hover {
  background: linear-gradient(135deg, #00b8d4 0%, #00ffff 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.5);
}

.form-container button:active {
  transform: translateY(-1px);
}

/* Form Field Wrapper */
.form-container form > * {
  animation: slideInUp 0.5s ease forwards;
  opacity: 0;
}

.form-container form > *:nth-child(1) { animation-delay: 0.1s; }
.form-container form > *:nth-child(2) { animation-delay: 0.15s; }
.form-container form > *:nth-child(3) { animation-delay: 0.2s; }
.form-container form > *:nth-child(4) { animation-delay: 0.25s; }
.form-container form > *:nth-child(5) { animation-delay: 0.3s; }
.form-container form > *:nth-child(6) { animation-delay: 0.35s; }
.form-container form > *:nth-child(7) { animation-delay: 0.4s; }
.form-container form > *:nth-child(8) { animation-delay: 0.45s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add floating labels effect */
.form-container .form-field {
  position: relative;
  margin-bottom: 25px;
}

.form-container .form-field input:focus + label,
.form-container .form-field textarea:focus + label,
.form-container .form-field input:not(:placeholder-shown) + label,
.form-container .form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-28px) scale(0.85);
  color: #00ffff;
}

hr {
  padding: 5px;
  border-top: 2px solid #343A40;
  border-bottom: #343A40;
  border-right: #343A40;
  border-left: #343A40;
}

/* Search Bar Styling */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
  flex-wrap: wrap;
}

.search-container {
  flex: 0 1 400px;
  max-width: 500px;
}

.search-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 8px;
  border: 2px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.search-form:focus-within {
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-btn {
  background: linear-gradient(135deg, #00ffff, #28fcd6);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

.search-results-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid #00ffff;
}

.search-results-text strong {
  color: #00ffff;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  grid-column: 1 / -1;
}

/* Responsive for search */
@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-container {
    flex: 1;
    max-width: 100%;
  }
  
  .page-header .section-title {
    font-size: 1.8rem;
  }
}

/* Checkbox Styling for Featured Mods */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 15px;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 10px;
  border: 2px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
}

.checkbox-wrapper input[type="checkbox"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #00ffff;
  margin: 0;
}

.checkbox-wrapper label {
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"]:checked + label {
  color: #00ffff;
  font-weight: 600;
}

/* Empty State Styling */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.empty-icon {
  margin-bottom: 30px;
  opacity: 0.3;
}

.empty-icon svg {
  stroke: #00ffff;
}

.empty-title {
  font-size: 2rem;
  color: #00ffff;
  margin-bottom: 15px;
  font-weight: 700;
}

.empty-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  line-height: 1.6;
}

.back-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #00ffff, #0088ff);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

/* Responsive navbar search */
@media (max-width: 992px) {
  .navbar-search {
    min-width: 200px;
    flex: 0 1 250px;
  }
  
  .navbar-left {
    gap: 15px;
  }
  
  /* Cards - 3 per row on tablets */
  .new-cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 15px;
  }
  
  .new-card {
    max-width: 100%;
  }
  
  /* Featured mods - 3 per row on tablets */
  .mods-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 12px;
  }
  
  .navbar-container {
    flex-wrap: nowrap;
    gap: 8px;
  }
  
  .navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  
  .logo a {
    font-size: 16px;
    white-space: nowrap;
  }
  
  /* Search bar mobile optimization - flexible for all phones */
  .navbar-search {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
  
  .navbar-search-form {
    padding: 2px;
    border-radius: 18px;
    min-width: 0;
  }
  
  .navbar-search-input {
    font-size: 12px;
    padding: 7px 10px;
    min-width: 0;
  }
  
  .navbar-search-input::placeholder {
    font-size: 11px;
  }
  
  .navbar-search-btn {
    padding: 7px 10px;
    border-radius: 16px;
    flex-shrink: 0;
  }
  
  .navbar-search-btn svg {
    width: 15px;
    height: 15px;
  }
  
  /* Show hamburger menu on mobile */
  .mobile-menu-btn {
    display: block;
    flex-shrink: 0;
    padding: 6px;
  }
  
  .mobile-menu-btn svg {
    width: 22px;
    height: 22px;
  }
  
  /* Hide nav links by default on mobile */
  .nav-links {
    position: fixed;
    top: 50px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 50px);
    background: #1a1a1a;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    align-items: flex-start;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow-y: auto;
    margin-left: 0;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .nav-links a:hover {
    background: rgba(0, 255, 255, 0.1);
  }
  
  .user-info {
    flex-direction: row;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 8px;
  }
  
  /* Hero and Topbar - Mobile */
  .topbar {
    padding: 18px 12px;
  }
  
  .topbar h1 {
    font-size: 1.8rem;
  }
  
  .topbar p {
    font-size: 0.9rem;
  }
  
  .hero-section {
    height: 220px;
  }
  
  .hero-image {
    height: 220px;
    object-fit: cover;
  }
  
  /* Latest Video Card - Mobile (full width) */
  .cards-wrapper {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 15px;
  }
  
  .card {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .card-content {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  
  .card .image_container {
    width: 100%;
    height: 180px;
  }
  
  .card .info {
    padding: 15px;
    width: 100%;
    text-align: center;
  }
  
  .card .title {
    margin-bottom: 10px;
  }
  
  .card .title span {
    font-size: 1.1rem;
    display: block;
    line-height: 1.3;
  }
  
  .card .description {
    margin-bottom: 12px;
  }
  
  .card .description p {
    font-size: 0.85rem;
    line-height: 1.4;
    min-height: auto;
    text-align: center;
  }
  
  .card .action {
    margin-top: 8px;
  }
  
  .card .download-button,
  .card .action a {
    padding: 10px 20px;
    font-size: 0.85rem;
    display: inline-block;
  }
  
  /* Explore More Videos - 2 per row on mobile */
  .new-cards-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 8px !important;
  }
  
  .new-card {
    max-width: 100% !important;
  }
  
  .new-card .image_container {
    height: 120px;
  }
  
  .new-card .info {
    padding: 8px;
  }
  
  .new-card .title {
    font-size: 0.85rem;
  }
  
  .new-card .title span {
    font-size: 0.85rem;
    line-height: 1.2;
  }
  
  .new-card .description p {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  
  .new-card .view-mods-button,
  .new-card .btn {
    padding: 7px 10px;
    font-size: 0.75rem;
  }
  
  /* Featured Mods - 2 per row on mobile */
  .mods-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 8px !important;
  }
  
  .mod-card {
    max-width: 100% !important;
    padding: 8px;
  }
  
  .mod-name {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  
  .mod-description {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  .mod-version {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }
  
  .download-btn {
    padding: 7px 12px !important;
    font-size: 0.75rem;
  }
  
  .mods_icons {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  
  /* Section Titles */
  .section-title {
    font-size: 1.3rem;
    padding: 8px 12px;
  }
  
  /* View More Button */
  .view-more-button {
    padding: 9px 22px;
    font-size: 0.8rem;
  }
  
  .action {
    padding: 8px;
  }
  
  /* Footer Mobile Optimization */
  .footer {
    padding: 18px 10px;
  }
  
  .footer-buttons {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 8px;
  }
  
  .footer-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .social-icons {
    gap: 22px;
    margin-bottom: 15px;
  }
  
  .social-link {
    width: 34px;
    height: 34px;
  }
  
  .footer-copyright {
    font-size: 10px;
    padding: 0 12px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  /* Very small phones - ultra compact */
  .navbar {
    padding: 8px 10px;
  }
  
  .navbar-left {
    gap: 6px;
  }
  
  .logo a {
    font-size: 14px;
  }
  
  .navbar-search-input {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .navbar-search-input::placeholder {
    font-size: 10px;
  }
  
  .navbar-search-btn {
    padding: 6px 8px;
  }
  
  .navbar-search-btn svg {
    width: 13px;
    height: 13px;
  }
  
  .mobile-menu-btn {
    padding: 5px;
  }
  
  .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .topbar {
    padding: 15px 10px;
  }
  
  .topbar h1 {
    font-size: 1.5rem;
  }
  
  .topbar p {
    font-size: 0.8rem;
  }
  
  .hero-section {
    height: 180px;
  }
  
  .hero-image {
    height: 180px;
  }
  
  .card .image_container {
    height: 150px;
  }
  
  .card .info {
    padding: 12px;
  }
  
  .card .title span {
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .card .description p {
    font-size: 0.78rem;
    line-height: 1.3;
  }
  
  .card .download-button,
  .card .action a {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
  
  .new-cards-wrapper {
    gap: 8px !important;
    padding: 6px !important;
  }
  
  .new-card .image_container {
    height: 100px;
  }
  
  .new-card .info {
    padding: 6px;
  }
  
  .new-card .title span {
    font-size: 0.78rem;
    line-height: 1.2;
  }
  
  .new-card .description p {
    font-size: 0.65rem;
    line-height: 1.2;
  }
  
  .new-card .view-mods-button,
  .new-card .btn {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
  
  .mods-container {
    gap: 8px !important;
    padding: 6px !important;
  }
  
  .mod-card {
    padding: 6px;
  }
  
  .mod-name {
    font-size: 0.78rem;
    margin-bottom: 5px;
  }
  
  .mod-description {
    font-size: 0.65rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }
  
  .mod-version {
    font-size: 0.62rem;
    margin-bottom: 6px;
  }
  
  .download-btn {
    padding: 6px 10px !important;
    font-size: 0.7rem;
  }
  
  .mods_icons {
    max-height: 85px;
    margin-bottom: 6px;
  }
  
  .section-title {
    font-size: 1.1rem;
    padding: 6px 10px;
  }
  
  .view-more-button {
    padding: 7px 18px;
    font-size: 0.75rem;
  }
  
  .action {
    padding: 6px;
  }
  
  /* Footer - Extra Small Phones */
  .footer {
    padding: 15px 8px;
  }
  
  .footer-buttons {
    gap: 6px;
    padding: 0 6px;
  }
  
  .footer-btn {
    font-size: 10px;
    padding: 5px 8px;
  }
  
  .social-icons {
    gap: 18px;
    margin-bottom: 12px;
  }
  
  .social-link {
    width: 30px;
    height: 30px;
  }
  
  .footer-copyright {
    font-size: 9px;
    padding: 0 10px;
  }
}

@media (max-width: 360px) {
  /* Extra small screens (old phones) */
  .logo a {
    font-size: 13px;
  }
  
  .navbar-search-input {
    font-size: 10px;
    padding: 5px 7px;
  }
  
  .navbar-search-input::placeholder {
    font-size: 9px;
  }
  
  .navbar-search-btn {
    padding: 5px 7px;
  }
  
  .navbar-search-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .topbar h1 {
    font-size: 1.3rem;
  }
  
  .topbar p {
    font-size: 0.75rem;
  }
  
  .hero-section {
    height: 150px;
  }
  
  .hero-image {
    height: 150px;
  }
  
  .card .image_container {
    height: 130px;
  }
  
  .card .info {
    padding: 10px;
  }
  
  .card .title span {
    font-size: 0.9rem;
  }
  
  .card .description p {
    font-size: 0.72rem;
  }
  
  .card .download-button,
  .card .action a {
    padding: 7px 15px;
    font-size: 0.75rem;
  }
  
  .new-card .image_container {
    height: 85px;
  }
  
  .mods_icons {
    max-height: 75px;
  }
  
  .section-title {
    font-size: 1rem;
  }
}

