/* Base Variables (Light Mode) */
:root {
    --background-color: #f4f4f4;
    --text-color: #333;
    --header-background: #1a1a2e;
    --button-background: #0077cc;
    --button-hover: #005fa3;
}

/* Dark Mode Variables */
body.dark-mode {
    --background-color: #121212;
    --text-color: #ffffff;
    --header-background: #333;
    --button-background: #ffcc00;
    --button-hover: #e6b800;
}

/* Global Styles */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Consistent sizing across elements */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--header-background);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

header .logo img {
    height: 50px; /* Sets logo height */
    max-width: 100%; /* Ensures responsiveness */
    object-fit: contain; /* Maintains aspect ratio */
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    margin: 0 10px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

/* Dark Mode Toggle */
nav ul li button.dark-mode-toggle {
    display: block; /* Places the button on a new line */
    margin-top: 5px; /* Adds space between the link and the button */
    background: var(--button-background);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
}

nav ul li button.dark-mode-toggle:hover {
    background: var(--button-hover);
}
/* Hero Section */
.hero {
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    height: auto;
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .btn {
    display: inline-block;
    background: var(--button-background);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: var(--button-hover);
}

/* Hero Gallery */
.hero-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-gallery img:hover {
    transform: scale(1.05); /* Slight enlargement on hover */
}

/* About Section */
.about {
    background-color: #f0f0f0;
    color: var(--text-color);
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 10px auto;
}

/* Members Section */
.members {
    background-color: #f0f0f0;
    color: var(--text-color);
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
}

.members h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.members .member-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.members .member-card {
    width: 200px;
    text-align: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.members .member-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.members .member-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.members .member-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

/* Dark Mode Adjustments */
body.dark-mode .hero {
    background: url('../images/hero-background-dark.jpg') no-repeat center center/cover;
}

body.dark-mode .about,
body.dark-mode .members {
    background-color: #1e1e1e;
    color: #ffffff;
}

body.dark-mode .members .member-card {
    background: #2b2b2b;
}

/* Footer */
footer {
    background-color: var(--header-background);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto; /* Keeps footer at the bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--button-hover);
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

footer .social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: var(--header-background);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

footer .social-icons a:hover {
    transform: scale(1.1);
    background-color: var(--button-hover);
}

body.dark-mode footer {
    background-color: #2b2b2b;
    color: #cccccc;
}
/* Responsive Design for Hero Gallery */
@media (max-width: 768px) {
    .hero-gallery {
        gap: 10px;
    }

    .hero-gallery img {
        width: 100px;
        height: 75px;
    }
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    nav ul li button.dark-mode-toggle {
        margin-top: 10px;
        padding: 8px 12px;
    }
}

/* About Us Page */
.about-us {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-us h1, .about-us h2 {
    text-align: center;
    margin-bottom: 20px;
}

.about-us p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-us ul {
    list-style: disc inside;
    margin: 20px 0;
}

.about-us ul li {
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensure it appears above other content */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: red;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

header.dark-mode {
    background-color: #333333;
}

.dark-mode .about-us ul li a {
    color: #ffcc00;
}

footer.dark-mode {
    background-color: #333333;
}

/* Scrollable Modals for Large Content */
.modal-content {
    max-height: 80%; /* Prevent modal from exceeding viewport height */
    overflow-y: auto; /* Add scroll for long content */
}

.modal-content {
    font-family: Arial, sans-serif; /* Clean, readable font */
    line-height: 1.6; /* Add spacing between lines */
    font-size: 16px; /* Adjust font size */
}
/* Full-Screen Modal Styles */
.modal-fullscreen {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto; /* Allows scrolling for large content */
}

.modal-fullscreen .modal-content {
    background-color: white;
    color: black;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.modal-fullscreen .close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-fullscreen .close-button:hover {
    color: red;
}

/* Dark Mode Adjustments for Modals */
body.dark-mode .modal-fullscreen .modal-content {
    background-color: #333;
    color: white;
}

body.dark-mode .modal-fullscreen .close-button {
    color: white;
}

body.dark-mode .modal-fullscreen .close-button:hover {
    color: #ff5555;
}

/* Member Card Hover Effect */
.member-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: scale(1.05); /* Slight enlargement */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add shadow for emphasis */
}

.member-card img {
    border-radius: 10px; /* Ensure consistent rounded edges */
    width: 100%; /* Ensure images scale properly */
    height: 150px; /* Enforce a consistent height */
    object-fit: cover; /* Ensures the images maintain aspect ratio */
}

/* Footer Styles */
footer {
    margin-top: auto;
    background-color: var(--header-background);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--button-hover);
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

footer .social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: var(--header-background);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

footer .social-icons a:hover {
    transform: scale(1.1);
    background-color: var(--button-hover);
}
/* Responsive Design for Hero Gallery */
@media (max-width: 768px) {
    .hero-gallery {
        gap: 10px;
    }

    .hero-gallery img {
        width: 100px;
        height: 75px;
    }
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    nav ul li button.dark-mode-toggle {
        margin-top: 10px;
        padding: 8px 12px;
    }
}

/* About Us Section */
.about-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    background: var(--light-background);
    color: var(--primary-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
}

.about-us h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-us p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-us ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.about-us ul li {
    display: inline-block;
    margin: 10px 15px;
}

.about-us ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.1rem;
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
}

.about-us ul li a:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .about-us h1 {
        font-size: 2rem;
    }

    .about-us p {
        font-size: 1rem;
    }

    .about-us ul li {
        display: block;
        margin: 10px 0;
    }
}

/* Scroll Down Animation Section */
.scroll-down {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh; /* Half of the viewport height */
    text-align: center;
    background: var(--header-background);
    color: white;
    font-size: 1.5rem;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Game Boxes */
.game-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 15px;
    background-color: white;
    color: var(--text-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.game-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.game-box p {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

.game-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Error Page */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-color);
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.error-page a {
    display: inline-block;
    background: var(--button-background);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.error-page a:hover {
    background: var(--button-hover);
}

/* Footer Fixed to Bottom for Short Pages */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

footer {
    margin-top: auto;
}

/* Meet Members Section */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.member-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.member-card img {
    border-radius: 10px;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.member-card h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
}

.member-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}
/* Member Modal */
.modal-fullscreen {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto; /* Allows scrolling for large content */
}

.modal-content {
    background-color: var(--background-color); /* Adapt to light/dark mode */
    color: var(--text-color); /* Adapt to light/dark mode */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.modal-content img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%; /* Circular image for profile */
    margin-bottom: 15px;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-content h4 {
    font-size: 1.2rem;
    color: var(--button-background); /* Button color for consistency */
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color); /* Adapt to light/dark mode */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--button-hover);
}

/* Privacy Policy & Terms Modal */
#privacy-policy-modal .modal-content,
#terms-of-service-modal .modal-content {
    max-width: 700px;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

#privacy-policy-modal h2,
#terms-of-service-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

#privacy-policy-modal p,
#terms-of-service-modal p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Ensure modal looks good in both light/dark modes */
body.dark-mode #privacy-policy-modal .modal-content,
body.dark-mode #terms-of-service-modal .modal-content {
    background-color: #2b2b2b;
    color: #fff;
}

body:not(.dark-mode) #privacy-policy-modal .modal-content,
body:not(.dark-mode) #terms-of-service-modal .modal-content {
    background-color: #f9f9f9;
    color: #333;
}
.back-button-container {
    display: flex;
    justify-content: center; /* Center the button */
    margin-top: 40px; /* Push the button further down */
  }
  
  .back-btn {
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  /* Light mode styles for the back button */
  body:not(.dark-mode) .back-btn {
    background-color: #007bff; /* Blue */
    color: #ffffff; /* White text */
    border-color: #0056b3; /* Darker blue border */
  }
  
  body:not(.dark-mode) .back-btn:hover {
    background-color: #0056b3; /* Darker blue */
    transform: scale(1.05); /* Slight zoom effect on hover */
  }
  
  /* Dark mode styles for the back button */
  body.dark-mode .back-btn {
    background-color: #ffd700; /* Yellow */
    color: #000000; /* Black text */
    border-color: #cca700; /* Darker yellow border */
  }
  
  body.dark-mode .back-btn:hover {
    background-color: #cca700; /* Darker yellow */
    transform: scale(1.05); /* Slight zoom effect on hover */
  }
/* Back button default style */
#back-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light mode back button */
body:not(.dark-mode) #back-button {
    background-color: #007bff; /* Blue */
    color: #fff; /* White text */
}

/* Dark mode back button */
body.dark-mode #back-button {
    background-color: #ffd700; /* Yellow */
    color: #000; /* Black text */
}
/* Login Section Styles */
.login-section {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 20px;
    margin: 40px auto;
    text-align: center;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .login-section h2 {
    margin-bottom: 15px;
    font-size: 24px;
  }
  
  .login-section label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: inherit;
  }
  
  .login-section input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--input-background);
    color: var(--input-text-color);
  }
  
  .login-section input::placeholder {
    color: var(--placeholder-color);
  }
  
  .login-section .btn {
    background-color: var(--button-background);
    color: var(--button-text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .login-section .btn:hover {
    background-color: var(--button-hover-background);
  }
  
  .error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 10px;
  }
  
  /* Dark Mode Overrides */
  body.dark-mode .login-section {
    background: var(--background-dark);
    color: var(--text-light);
  }
  
  body.dark-mode .login-section input {
    border: 1px solid var(--border-dark);
    background: var(--input-dark-background);
    color: var(--input-text-light);
  }
  
  body.dark-mode .login-section input::placeholder {
    color: var(--placeholder-dark);
  }
  
  body.dark-mode .login-section .btn {
    background-color: var(--button-dark-background);
    color: var(--button-text-light);
  }
  
  body.dark-mode .login-section .btn:hover {
    background-color: var(--button-hover-dark);
  }
  
  body.dark-mode .error-message {
    color: var(--error-dark-color);
  }
/* Light Mode Variables */
:root {
    --background-light: #f4f4f4;
    --text-dark: #333;
    --border-color: #ccc;
    --input-background: #fff;
    --input-text-color: #000;
    --placeholder-color: #aaa;
    --button-background: #ff9800;
    --button-text-color: #fff;
    --button-hover-background: #e68a00;
    --error-color: red;
  }
  
  /* Dark Mode Variables */
  body.dark-mode {
    --background-dark: #333;
    --text-light: #f4f4f4;
    --border-dark: #444;
    --input-dark-background: #555;
    --input-text-light: #fff;
    --placeholder-dark: #777;
    --button-dark-background: #444;
    --button-text-light: #fff;
    --button-hover-dark: #555;
    --error-dark-color: #ff6b6b;
  }
  @media (max-width: 768px) {
    .member-grid {
        grid-template-columns: 1fr; /* Stack members vertically */
    }
    .login-section {
        max-width: 100%; /* Fit the screen width */
    }
} 
/* General button styles */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .interactive-btn {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
  }
  
  /* Light mode styles */
  body:not(.dark-mode) .interactive-btn {
    background-color: #007bff; /* Blue */
    color: #ffffff; /* White */
    border-color: #0056b3; /* Darker blue border */
  }
  
  body:not(.dark-mode) .interactive-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slight zoom on hover */
  }
  
  /* Dark mode styles */
  body.dark-mode .interactive-btn {
    background-color: #ffd700; /* Yellow */
    color: #000000; /* Black text */
    border-color: #cca700; /* Darker yellow border */
  }
  
  body.dark-mode .interactive-btn:hover {
    background-color: #cca700; /* Darker yellow on hover */
    transform: scale(1.05); /* Slight zoom on hover */
  }
/* Loading Screen Overlay */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(36, 34, 34); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  /* Game Controller Image */
  .controller-icon {
    width: 150px;
    height: auto;
    animation: spinPause 3s infinite ease-in-out;
  }
  
  /* Loading Text */
  #loading-screen p {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    letter-spacing: 1.5px;
    text-align: center;
  }
  
  /* Animation for Spinning and Pausing */
  @keyframes spinPause {
    0%, 25% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(720deg); /* Fast spin */
    }
    75% {
      transform: rotate(720deg); /* Pause */
    }
    100% {
      transform: rotate(0deg);
    }
  }
  
  /* Hide Loading Screen */
  #loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  #privacy-policy-page-btn {
    background-color: var(--primary-color); /* Adjust for light/dark mode */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
  }
  
  #privacy-policy-page-btn:hover {
    background-color: var(--hover-color); /* Slightly darker or lighter shade */
  }
/* Button Styling */
#privacy-policy-page-btn, 
#terms-of-service-page-btn {
    background-color: var(--primary-color); /* Primary color for light/dark mode */
    color: #ffffff; /* Ensure contrast with background */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
    font-size: 1rem; /* Adjust font size for readability */
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
#privacy-policy-page-btn:hover, 
#terms-of-service-page-btn:hover {
    background-color: var(--hover-color); /* Complementary hover color */
    transform: scale(1.05); /* Subtle zoom effect */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Add depth on hover */
}

/* Dark Mode Styling */
body.dark-mode #privacy-policy-page-btn, 
body.dark-mode #terms-of-service-page-btn {
    background-color: var(--dark-primary-color); /* Dark mode primary */
    color: #ffffff;
}

body.dark-mode #privacy-policy-page-btn:hover, 
body.dark-mode #terms-of-service-page-btn:hover {
    background-color: var(--dark-hover-color); /* Dark mode hover */
}

        
