* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;  
    justify-content: center; 
    z-index: 9999;
}

.modal-box h1 {
  margin-top: 0;      
  margin-bottom: 24px; 
  font-size: 1.5rem;   
}

.hidden {
    display: none !important;
}

.btn-cancel {
    background-color: #e5e7eb; 
    color: #111827; 
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-cancel:hover {
    background-color: #d1d5db; 
}

/* Agree Button */
.btn-agree {
    background-color: #2563eb; 
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-agree:hover {
    background-color: #1d4ed8; 
    transform: scale(1.03); 
}

.modal-box {
    position: relative;
    max-width: 500px;
    width: 90%;
    background-color: rgba(14, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 5px;
    padding: 40px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: center; 
    gap: 48px; 
    margin-top: 20px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.login-btn {
    position: relative;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: transparent;
    color: #fff;
    font-weight: bold;
    overflow: hidden;
}

.login-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.login-btn:hover::after {
    width: 100%;
}


.center-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-box {
    position: relative;
    max-width: 500px;
    width: 90%;
    background-color: rgba(14, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 5px;
    padding: 40px;
    text-align: center;
}

.center-box h2 {
    margin-bottom: 15px;
}

.center-box p {
    margin-bottom: 25px;
}

#background {
  position: fixed;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  border-radius: 5px;
  overflow: hidden;
  z-index: -1;
  background-color: #000;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.bg-layer.visible {
  opacity: 1;
}

#background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
}

#logout-btn {
  background-color: #c33;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
#logout-btn:hover {
  background-color: #a11;
}

#verifyBtn {
    padding: 10px 18px;
    border: none;
    border-radius: 2px;
    background-color: #246b7c;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

#verifyBtn:hover {
    background-color: #1197cc;
}

.site-footer {
  text-align: left;
  padding: 1rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.05); /* light gray background */
  font-size: 0.6rem;
  color: #444;
}

.site-footer a.footer-link {
  color: #0a84ff;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a.footer-link:hover {
  text-decoration: underline;
}
