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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #780606;
    color: #ffffff;
    margin: 0;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding-top: 20px;
}

.banners-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    max-width: 936px; /* 468px * 2 + 15px gap */
    margin: 30px auto 5px;
    background: rgba(10, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(150, 0, 0, 0.1);
    box-sizing: border-box;
}

@media (min-width: 500px) {
    .banners-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 15px;
        max-width: 960px;
        margin: 30px auto 5px;
    }
    
    .banner {
        width: 100%;
        max-width: 468px;
    }
    
    .banner:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .banners-container {
        width: calc(100% - 30px);
    }
}

.banner {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(200, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 468px;
    height: 60px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.banner:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    margin: 0 auto;
    max-width: 468px;
}

@media (max-width: 499px) {
    .banner {
        height: auto;
        min-height: 60px;
    }
    
    .banner img {
        height: auto;
        max-height: 60px;
    }
}

.ad-button-container {
    text-align: center;
    margin: 10px 0 20px;
}

.ad_on_amn_btn {
    display: inline-block;
    background-color: #8b0000;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    border: 1px solid #ff4444;
    transform: translateY(0);
}

.ad_on_amn_btn:hover {
    background-color: #a30000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3) !important;
    border-color: #ff6666 !important;
}

body {
  font-family: Arial, sans-serif;
  background-color: #780606;
  color: #ffffff;
  margin: 0;
  margin-bottom: 100px;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  position: relative;
  top: -45%;
  padding: 5px;
}

h1 {
  text-align: center;
  font-family: 'Main', sans-serif;
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 1rem;
}

h2 {
  margin-bottom: 1rem;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

textarea,
input {
  border-radius: 4px;
  background-color: #ffffff;
  border: 1px solid #2F2F2F;
  outline: none;
  padding: 10px;
  font-size: 17px;
}

.center {
  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.center-placeholder {
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s;
}

.popup {
  margin: 70px auto;
  padding: 35px;
  border-radius: 5px;
  width: 45%;
  position: relative;
  background-color: #6c0606;
  color: #ffffff;
  text-shadow: none;
}

.popup h2 {
  font-family: Tahoma, Arial, sans-serif;
}

.popup .content {
  max-height: 30%;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
}

.popup .close:hover {
  color: #e5e5e5;
}

#pop-toggle:checked~#popup.overlay {
  visibility: visible;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 700px) {
  .popup {
    width: 70%;
  }
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.5rem;
}

.pagination {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination .prev,
.pagination .next {
  text-decoration: none;
  color: #ffffff;
}

.pagination .prev.disabled {
  color: #cfcfcf;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination .page-numbers {
  min-width: 80px;
  text-align: center;
  font-family: monospace;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  text-align: left;
}

hr {
  border: 0;
  border-top: 1px dashed;
}

label {
  font-weight: bold;
}

time {
  font-family: monospace;
  font-size: 15px;
}

form table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

form table thead {
  display: none;
}

form table tbody tr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

form table tbody tr td {
  flex: 1 1 auto;
  min-width: 150px;
  box-sizing: border-box;
}

form table tbody tr td input button {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  height: 2rem;
}

@media (max-width: 600px) {

  form table tbody tr td {
    flex: 1 1 100%;
  }

}

select {
  background: #780606;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  padding: 10px;
  font-size: 12px;
  border-radius: 4px;
  border: none;
  background-color: #780606;
}

select:hover {
  background-color: #013856;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #780606;
  padding: 0.5em 1em;
  margin-bottom: 2rem;
}

.navbar-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 2em;
}

#navbar-menu-toggle {
  display: none;
}

.navbar-hamburger {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.navbar-search-form {
  display: flex;
  align-items: stretch;
}

.navbar-search-form input {
  padding: 0.4em;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.navbar-search-form button {
  background: #555;
  border: none;
  color: #fff;
  padding: 0.4em 0.7em;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

.navbar-search-form input,
.navbar-search-form button {
  box-sizing: border-box;
}

.navbar-links {
  list-style: none;
  display: flex;
  margin-left: auto;
}

.navbar-links li {
  position: relative;
}

.navbar-links .active>a {
  background: #555;
  border-radius: 4px;
}

.navbar-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 0.5em 1em;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.navbar-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.navbar-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  min-width: 150px;
  list-style: none;
}

.navbar-dropdown:hover .navbar-dropdown-content {
  display: block;
}

.navbar-dropdown-content li a {
  padding: 0.5em 1em;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .navbar-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0;
    cursor: pointer;
    color: #fff;
    position: relative;
    font-size: 1.5rem;
  }

  .navbar-hamburger::before {
    content: "\2630";
    /* â˜° */
  }

  #navbar-menu-toggle:checked+.navbar-hamburger::before {
    content: "\2716";
    /* âœ– */
  }

  #navbar-menu-toggle:checked~.navbar-links {
    display: flex;
  }

  .navbar-dropdown:hover .navbar-dropdown-content {
    display: block;
  }

  .navbar-dropdown-content {
    display: block;
    position: static;
    background: #333;
    margin-left: 0;
    padding-left: 1em;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #780606;
    margin-top: 0.5em;
    margin-left: 0;
    padding-left: 0;
  }

  .navbar-links li a {
    border-top: 0.5px solid #ffffff;
  }
}

@media (max-width: 400px) {
  .navbar-search-form input {
    width: 100px;
  }
}

.search-container {
  display: flex;
  align-items: center;
  width: auto;
  padding: 0 10px;
}

.search-box {
  display: flex;
  align-items: center;
  width: 50vw;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  padding: 5px 15px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  gap: 10px;
}

.search-box input {
  border: none;
  outline: none;
  flex-grow: 1;
  padding: 10px;
  font-size: 16px;
}

.icon-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.icon-button img {
  width: 24px;
  height: 24px;
}

.add-button {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-icon {
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 768px) {

  .search-container {
    width: 100%;
  }

  .search-container input[type="text"] {
    width: calc(100% - 80px);
    max-width: calc(100% - 80px);
  }

  .search-box {
    width: 100%;
  }

}

.custom-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #000000;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 1rem;
  margin: 0 2rem;
  margin-bottom: 20px;
  margin-right: 70px;
  margin-left: 70px;
  border-color: #ffffff;
}

@media screen and (max-width: 768px) {

  .custom-card {
    margin-right: 25px;
    margin-left: 25px;
  }

}

.custom-form {
  background-color: #6c0606;
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 65vw;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  border: 0.5px solid;
}

.custom-form h2 {
  margin-top: 0;
  color: #ffffff;
}

.custom-form label {
  display: block;
  margin: 10px 0 5px;
  color: #ffffff;
}

.custom-form select,
.custom-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.custom-result-item {
  display: block;
  margin-bottom: 1.5rem;
  border: 2px solid #ffffff;
  border-radius: 4px;
  background-color: #6c0606;
  position: relative;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-result-item-inner {
  padding: 1.25rem;
  display: block;
  position: relative;
  z-index: 1;
  transition: all 0.2s ease;
  min-height: 100%;
  box-sizing: border-box;
}

.custom-result-item:hover {
  background-color: #8b0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  border-color: #ffffff;
  text-decoration: none;
}

.custom-result-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #ffffff;
}

.custom-result-url {
  color: #ff9999;
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  word-break: break-all;
}

.custom-result-description {
  margin: 0;
  color: #f0f0f0;
  line-height: 1.5;
}

.custom-result-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

@media (max-width: 768px) {

  .custom-form {
    max-width: 90vw;
  }

}

.custom-panel {
  display: flex;       
  flex-wrap: wrap;    
  justify-content: center; 
  gap: 20px;
}

.custom-panel-section {
  flex: 1 1 300px;
  max-width: 400px;
  margin: 0 auto;
  border: 0.5px solid #ccc; 
  border-radius: 5px;
  padding: 20px;
  box-sizing: border-box;
}

.search-navbar {
  display: flex;
  padding: 10px 20px;
  background-color: #6c0606;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.search-navbar-logo {
  width: 90px;
  height: 90px;
}

.custom-results {
  margin-top: 4rem;
  padding: 20px;
}

h2.custom-result-title {
  margin: 0 0 4px 1px;
  padding: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: bold;
  color: #ffffff;
}

.custom-result-title a {
  color: inherit;
  text-decoration: none;
  display: block;
  margin: 0;
  padding: 0;
}

.custom-result-url {
  margin: 0 0 4px 1px;
  padding: 0;
  font-size: 14px;
  color: #d4d4d4;
  word-wrap: anywhere;
  line-height: 1.4;
}

.custom-result-description {
  margin: 0 0 0 1px;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
  padding: 0;
}

.custom-result-public-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.custom-result-private-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

.generic-custom-button {
  background-color: #a70d0d;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  width: 50%;
  box-sizing: border-box;
}

.generic-custom-button:hover {
  background-color: #870b0b;
}

.red-custom-button {
  background-color: #f44336;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
}

.red-custom-button:hover {
  background-color: #d32f2f;
}

.reports-results {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.reports-result-item {
  position: relative;
  background: linear-gradient(135deg, #6c0606, #6c0606);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 0.5px solid;
}

.reports-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.reports-result-private-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

.reports-result-private-button a {
  color: #ffffff;
}

.reports-result-reason {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  color: #ff2200;
}

.reports-result-website-link {
  margin: 0.6rem 0;
  color: #eee;
  word-wrap: break-word;
  font-weight: 600;
}

.reports-result-website-link a {
  color: #ffd700;
  text-decoration: underline;
}

.reports-result-website-link a:hover {
  color: #ffbb33;
  text-decoration: none;
}

.reports-result-description {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}


@media (max-width: 600px) {
  .reports-result-item {
    padding: 16px;
  }

  .reports-result-reason {
    font-size: 1rem;
  }

  .reports-result-description {
    font-size: 0.85rem;
  }
}

.slide-show {
  width: 45%;
  height: 11vh;
  overflow: hidden;
  position: relative;
  border: 1px solid #ffffff;
  box-sizing: border-box;
  margin: 2rem auto;
}

@media (max-width: 600px) {
  .slide-show {
    width: 65%;
  }
}

.slide-show-container {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slideAnimation 6s infinite;
}

.slide-show-container a {
  width: 33.33%;
  flex-shrink: 0;
}

.slide-show-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

@keyframes slideAnimation {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(0);
  }
  37.5% {
    transform: translateX(-33.33%);
  }
  50% {
    transform: translateX(-33.33%);
  }
  62.5% {
    transform: translateX(-66.66%);
  }
  75% {
    transform: translateX(-66.66%);
  }
  87.5% {
    transform: translateX(-33.33%);
  }
  100% {
    transform: translateX(0);
  }
}

.site-header {
background-color: #6c0606;
padding: 10px 0;
text-align: center;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
width: 100%;
}

.header-message p {
color: #fff;
margin: 0 auto;
font-size: 16px;
font-weight: 500;
padding: 8px 0;
max-width: 800px;
}

.header-message p::before {
margin-right: 8px;
vertical-align: middle;
}

/* Navigation Styles */
.main-nav {
background-color: #8a0a0a;
padding: 18px 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links {
list-style: none;
margin: 0 auto;
padding: 0;
display: flex;
justify-content: center;
gap: 25px;
max-width: 800px;
}

.nav-links a {
color: #fff;
text-decoration: none;
font-size: 15px;
font-weight: 500;
padding: 5px 10px;
border-radius: 4px;
transition: all 0.3s ease;
}

.nav-links a:hover {
background-color: rgba(255, 255, 255, 0.1);
}

.banners-container {
    margin-bottom: 5rem;  
    padding-bottom: 2rem;
}
.site-footer {
    background-color: #5a0000;
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #8b0000;
    width: 100%;
    flex-shrink: 0;
}

.footer-container {
    padding: 1rem;
}

.copyright {
    color: #ffffff;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.about-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: 'Main', sans-serif;
    line-height: 1.2;
}

.about-description {
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    text-align: center;
}
        
.about-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
}

.about-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Main', sans-serif;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.2rem;
  }
  
  .about-description {
    font-size: 1rem;
  }
}

.about-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.about-section {
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffffff;
}

.about-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
  top: 0;
}

.about-section a {
  color: #ff9e9e;
  text-decoration: none;
}

.about-section a:hover {
  text-decoration: underline;
}

.highlight {
  color: #ff9e9e;
  font-weight: bold;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background-color: #5a0000;
  padding: 1.5rem;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-title {
  color: #ff9e9e;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.feature-desc {
  color: #e0e0e0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }
  
  .about-subtitle {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-section {
  padding: 3rem 0;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ff4444;
}

.feature-title {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-desc {
  color: #e0e0e0;
  font-size: 1rem;
}

