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

html,
body {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  line-height: 1.6;
  background: linear-gradient(90deg,
      rgba(5, 40, 90, 1) 0%,
      rgba(30, 34, 82, 1) 100%);
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Override Bootstrap container max-width for larger screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Header & Navigation */
header {
  color: #fff;
  padding: 0;
}

.navbar {
  background: transparent !important;
  padding: 1rem 0;
}

.navbar-brand {
  padding: 0;
}

.logo {
  background-image: url('images/ubettor-logo.svg');
  width: 200px;
  height: 50px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.navbar-nav .nav-link {
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0.5rem;
  padding: 0.5rem !important;
  font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
  color: #0099FF !important;
}

/* Custom hamburger menu for mobile */
.navbar-toggler {
  border: 1px solid #fff;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: invert(1);
}

.auth-buttons a {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 400;
  border-radius: 4px;
  display: inline-block;
}

.login {
  color: #fff;
  border: 1px solid #fff;
}

.login:hover {
  background-color: #fff;
  color: #1b273c;
  text-decoration: none;
}

.signup {
  background: linear-gradient(45deg, #8937EA, #2E5DEB);
  color: #fff;
}

.signup:hover {
  background: linear-gradient(45deg, #7028d1, #1e4dda);
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background-color: #000;
  background-image: url('images/hero-bg.jpg');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 5rem 1rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 30px;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero .container {
  width: 100%;
}

.hero .row {
  min-height: 300px;
  align-items: center;
}

.hero h1 {
  font-size: 4.25rem;
  line-height: 4.25rem;
  margin-bottom: 1rem;
  color: #0099FF;
  text-align: left;
}

.hero h1 span {
  color: #fff;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 0 2rem 0;
  text-align: left;
}

.cta-button {
  background: linear-gradient(45deg, #8937EA, #2E5DEB);
  padding: 0.75rem 2rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(45deg, #7028d1, #1e4dda);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 3rem 0;
}

.feature {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.feature span {
  font-size: 1rem;
  font-weight: 400;
  display: block;
  margin-top: 0.5rem;
}

.feature-box {
  width: 200px;
  height: 90px;
  background: linear-gradient(45deg, #2484C6, #7454A3);
  border-radius: 10px;
  margin: 0 auto 1rem auto;
  max-width: 100%;
}

.feature-box div {
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
}

#ft-1 {
  background-image: url('images/ub-shapes1.svg');
}

#ft-2 {
  background-image: url('images/ub-shapes2.svg');
}

#ft-3 {
  background-image: url('images/ub-shapes3.svg');
}

#ft-4 {
  background-image: url('images/ub-shapes4.svg');
}

/* Footer */
footer {
  border-top: 2px;
  border-bottom: 2px;
  border-left: 0;
  border-right: 0;
  border-style: solid;
  border-image: linear-gradient(45deg, #8937EA, #2E5DEB) 1;
  padding: 3rem 1rem 1rem 1rem;
  text-align: center;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  color: #f1f1f1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-bottom span {
  color: #999;
  /*border-right: 1px solid #999;*/
  padding: 0 1.5rem;
}

.footer-bottom span:last-child {
  border-right: none;
}

#disclaimer {
  font-size: 0.8rem;
  color: #ccc;
  margin-top: 2rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .logo {
    width: 150px;
    height: 38px;
  }
  .nav-item {
    text-align: center;
    font-size: 1.25rem;
  }
  .hero {
    background-size: cover;
    background-position: top center;
    padding: 0;
    border-radius: 0;
  }

  .hero .container {
    width: 100%;
    max-width: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    padding: 10rem 1rem 1rem 1rem;
    margin: 200px 0 0 0;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 3rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
  }

  .hero p {
    text-align: center;
    max-width: none;
    margin: 20px 40px;
  }

  .auth-buttons {
    margin-top: 1rem;
    justify-content: center;
  }

  .auth-buttons a {
    margin: 0 0.25rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .feature-box {
    width: 200px;
    height: 120px;
  }

  .feature-box div {
    background-size: 60px;
  }

  .footer-bottom span {
    padding: 0 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .logo {
    width: 120px;
    height: 30px;
  }

  .footer-bottom span {
    display: block;
    border-right: none;
    padding: 0.25rem 0;
  }

  .footer-bottom span:last-child {
    border-bottom: none;
  }

  .footer-links ul {
    padding-bottom: 1rem;
  }
}

/* Signup Modal Styles */
.signup-modal-content {
  background: linear-gradient(135deg, 
    rgba(27, 39, 60, 0.98) 0%, 
    rgba(30, 34, 82, 0.98) 100%);
  border: 2px solid;
  border-image: linear-gradient(45deg, #8937EA, #2E5DEB) 1;
  border-radius: 15px;
  color: #fff;
}

.signup-modal-content .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.signup-modal-content .modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0099FF;
}

.signup-modal-content .modal-body {
  padding: 2rem 1.5rem;
}

.signup-modal-content .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.signup-modal-content .text-muted {
  color: rgba(255, 255, 255, 0.7) !important; 
}

.signup-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem;
}

.signup-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #0099FF;
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(0, 153, 255, 0.25);
}

.signup-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.form-check-label {
  color: #fff;
}

.form-check-input:checked {
  background-color: #0099FF;
  border-color: #0099FF;
}

.form-check-input:focus {
  border-color: #0099FF;
  box-shadow: 0 0 0 0.25rem rgba(0, 153, 255, 0.25);
}

.signup-btn {
  background: linear-gradient(45deg, #8937EA, #2E5DEB);
  border: none;
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  background: linear-gradient(45deg, #7028d1, #1e4dda);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 8px;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.text-info {
  color: #0099FF !important;
  text-decoration: none;
}

.text-info:hover {
  color: #0077cc !important;
  text-decoration: underline;
}

/* Modal backdrop enhancement */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Blur effect for page content when modal is open */
body.modal-open .main-content {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.main-content {
  transition: filter 0.3s ease;
}

@media (max-width: 767.98px) {
  .signup-modal-content .modal-body {
    padding: 1.5rem 1rem;
  }
  
  .signup-modal-content .modal-header,
  .signup-modal-content .modal-footer {
    padding: 1rem;
  }
}

/* Content Pages Styles */
.page-content {
  padding: 4rem 0;
  min-height: 60vh;
}

.content-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.page-title {
  color: #0099FF;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.content-body {
  color: #fff;
  line-height: 1.8;
}

.content-body h2 {
  color: #0099FF;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  border-bottom: 2px solid rgba(0, 153, 255, 0.3);
  padding-bottom: 0.5rem;
}

.content-body h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
}

.content-body p {
  margin-bottom: 1rem;
}

.content-body ul {
  margin: 1rem 0 1rem 2rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

.content-body a {
  color: #0099FF;
  text-decoration: none;
}

.content-body a:hover {
  color: #0077cc;
  text-decoration: underline;
}

.support-resources {
  background: rgba(0, 153, 255, 0.1);
  border-left: 4px solid #0099FF;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

/* Footer link styling */
footer a {
  color: #f1f1f1;
  text-decoration: none;
}

footer a:hover {
  color: #0099FF;
  text-decoration: underline;
}

.footer-bottom a {
  color: #999;
}

.footer-bottom a:hover {
  color: #0099FF;
}

@media (max-width: 991.98px) {
  .page-content {
    padding: 2rem 0;
  }
  
  .content-card {
    padding: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .content-card {
    padding: 1.5rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .content-body h2 {
    font-size: 1.25rem;
  }
}
.footer-social {
  text-align: center;
}

.footer-social-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.7;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.social-link {
  display: inline-flex;
  color: #ffffff; 
  line-height: 0;
  transition: color 0.2s ease;
  padding: 0.5rem !important;
}

.social-icon {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

/* Hover color (only affects clickable links) */
.social-link:not(.inactive):hover {
  color: rgb(0, 95, 200);
}

/* Inactive icons: same white color, no pointer behavior */
.social-link.inactive {
  cursor: default;
}