:root {
    --heading-glow-intensity: 15px; /* Change this one number to alter glow everywhere */
}

/* Basic styles for the background image */
.main-background-image {
background: url('/images/main/main_bg_01.webp') no-repeat top center;
background-size: cover; /* Zoom out by increasing the size slightly */
background-attachment: fixed;
background-position: center;

height: auto; /* Allow it to grow with content */
min-height: 100vh; /* makes sure image is behind overlay page content */
width: 100vw; /* Full viewport width */

color: white; /* Ensure text is readable over the image */
/* overflow: hidden; */
display: flex;
flex-direction: column;

text-align: center;
}

/* Base Styles */
*{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
background-color: 
#0a0a0a;
color: #fff;
overflow-x: hidden;
}

.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}

/* Styles for the content overlay */
.overlay-content {
position: relative;
top: 0;
padding-top: 100px;
padding-bottom: 100px;
background-color: var(--page-overlay-color, rgba(0, 0, 0, 0.85)); /* Semi-transparent background for better readability */
border-radius: 10px;
width: 100%; /* Ensure it's mobile-friendly */
max-width: 1200px;
margin: 0 auto;
box-shadow: 0 0 40px var(--accent-glow-color, rgba(0,0,0,0.5));
}

.login-overlay-content {
position: relative;
align-items: center;
top: 2vh;
background-color: rgba(0, 0, 0, 0.75); /* Semi-transparent background for better readability */
border-radius: 10px;
width: 100%; /* Ensure it's mobile-friendly */
max-width: 1200px;
margin: 0 auto;
padding: 0px;
margin-top: calc(100vh *(1.7 / 3));
}

.main-title {
font-family: GGTitle, Arial, sans-serif;
color: 
#FFA500;
font-size: 3em; /* Equivalent to 32px */

text-align: center;
position: relative;
z-index: 2;
margin: 20px auto;
}

/* Common Button Styles */
.btn {
display: inline-block;
padding: 15px 30px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
font-size: 16px;
}

.btn-primary {
background-color: 
#FFC107;
color: #000;
border: 2px solid 
#FFC107;
}

.btn-primary
 {
background-color: 
#e0aa00;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
background-color: transparent;
color: 
#FFC107;
border: 2px solid 
#FFC107;
}

.btn-secondary
 {
background-color: rgba(255, 193, 7, 0.2);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Basic button styles */
button {
background-color: #ffcc00; /* Adjust this to match your branding */
border: none;
padding: 10px 20px;
color: black;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
}

button
 {
background-color: 
#ffaa00; /* Adjust hover color to match your branding */
}

/* Section Styling */
.section-title {
font-size: 36px;
font-weight: 700;
text-align: center;
margin-bottom: 60px;
color: #FFC107;
position: relative;
}

.hero-logo-text {
  --heading-glow-intensity: 7.5px; /* Change this one number to alter glow everywhere */
  font-family: 'GGTitle', Arial, sans-serif;
  font-weight: 800;
  color: var(--colour-orange, #FFC107);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  display: block;
  filter: drop-shadow(0 0 var(--heading-glow-intensity) rgba(255, 193, 7, 0.6));
  text-shadow: 0 0 calc(var(--heading-glow-intensity) / 2) rgba(0, 0, 0, 0.8);
}

.section-title:not(.hero-logo-text)::after {
content: '';
display: block;
width: 80px;
height: 4px;
background-color: #FFC107;
margin: 20px auto 0;
}

/* Call to Action (Start Your Journey / Create Guild) */
.create-guild-section {
    text-align: center;
    padding: 100px 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.create-guild-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.create-guild-button {
    background-color: #FFC107;
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.create-guild-button:hover {
    background-color: #e0aa00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 40px 0;
    margin-top: 0;
    border-top: 1px solid #111;
    width: 100%;
}

.footer-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    letter-spacing: 1px;
}


.footer-content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 40px;
}

.footer-column {
flex: 1;
min-width: 200px;
margin-bottom: 30px;
}

.footer-column h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 20px;
color: #FFC107;
}

.footer-menu {
list-style: none;
}

.footer-menu li {
margin-bottom: 10px;
}

.footer-menu a {
color: #ccc;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-menu a
 {
color: #FFC107;
}

.social-icons {
display: flex;
gap: 15px;
}

.social-icon {
width: 40px;
height: 40px;
background-color: #333;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #FFC107;
text-decoration: none;
transition: all 0.3s ease;
}

.social-icon
 {
background-color: #FFC107;
color: #111;
transform: translateY(-3px);
}

.copyright {
text-align: center;
padding-top: 30px;
border-top: 1px solid #333;
color: #999;
font-size: 14px;
}

/* Forms */
.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
margin-bottom: 8px;
color: #ddd;
font-weight: 600;
}

.form-control {
width: 100%;
padding: 12px 15px;
border-radius: 5px;
border: 1px solid #333;
background-color: #222;
color: #fff;
font-size: 16px;
transition: border-color 0.3s ease;
}

.form-control
 {
outline: none;
border-color: #FFC107;
}

.form-text {
font-size: 14px;
color: #999;
margin-top: 5px;
}

.form-btn {
width: 100%;
padding: 12px;
border-radius: 5px;
background-color: #FFC107;
color: #000;
border: none;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}

.form-btn
 {
background-color: #e0aa00;
}

.form-footer {
text-align: center;
margin-top: 20px;
font-size: 14px;
color: #999;
}

.form-footer a {
color: #FFC107;
text-decoration: none;
}

.form-footer a
 {
text-decoration: underline;
}

/* Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
z-index: 1000;
overflow: auto;
animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.modal-content {
background-color: #1a1a1a;
border-radius: 10px;
max-width: 400px;
margin: 100px auto;
padding: 30px;
position: relative;
animation: slideDown 0.4s ease;
}

@keyframes slideDown {
from { transform: translateY(-50px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}

.close-modal {
position: absolute;
top: 15px;
right: 15px;
font-size: 24px;
color: #999;
cursor: pointer;
transition: color 0.3s ease;
}

.close-modal
 {
color: #FFC107;
}

.modal-title {
font-size: 24px;
font-weight: 700;
margin-bottom: 20px;
color: #FFC107;
text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
.hero-title {
font-size: 42px;
}

.hero-subtitle {
    font-size: 20px;
}
}

@media (max-width: 768px) {
.main-title {
font-size: 1.125em; /* Equivalent to 18px */
}

.nav-menu {
    display: none;
}

.section-title {
    font-size: 30px;
}
}

@media (max-width: 600px) {
.overlay-content {
width: 100%;
padding: 10px;
}

button {
    width: 100%;
}
}

@media (max-width: 480px) {
.section-title {
font-size: 24px;
}

.auth-buttons {
    display: none;
}
}

