* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-color: #FF66CC rgba(255, 255, 255, 0.1);
}

@font-face {
    font-family: 'Shag-Lounge';
    src: url('../fonts/Shag-Lounge.otf') format('opentype');
}

@font-face {
    font-family: 'RobotoVariable';
    src: url('../fonts/Roboto/Roboto-VariableFont.ttf') format('truetype');
}

@font-face {
  font-family: 'Material_Symbols_Rounded';
  src: url('../fonts/MaterialSymbolsRounded/MaterialSymbolsRounded.ttf') format('truetype-variations');
}

body {
    font-family: 'Shag-Lounge', sans-serif;
    overflow-x: hidden;
    background: #111;
    color: white;
    position: relative;
    z-index: 0;
}

.fade-in-on-load {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Loading Screen */

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loading-screen.hidden {
  display: none;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50%;
  height: 50%;
  margin-bottom: 1rem;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 40px;
  color: white;
}

/* Background */

.parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.layer {
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x;
    width: 100%;
}

.layer1 {
    height: 105vh;
    background-image: url('../img/bg/1.webp');
    z-index: 1;
}

.layer2 {
    height: 76vh;
    background-image: url('../img/bg/2.webp');
    top: 25vh;
    z-index: 2;
}

.layer3 {
    height: 75vh;
    background-image: url('../img/bg/3.webp');
    top: 35vh;
    z-index: 3;
}

.gradient {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-image: url('../img/bg/gradient.webp');
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
    z-index: 4;
    pointer-events: none;
}

/* Navegation bar */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    z-index: 10;
}

.navbar .nav-logo {
    height: 50px;
    pointer-events: none;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-left: 5px;
    gap: 5px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00FFFF;
}

.pink-link a {
    color: #FF66CC !important;
}

.login-btn {
    margin-left: auto;
    padding: 8px 28px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    display: flex;
    align-items: center;
}

.login-btn .login-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-left: -6px;
    margin-right: 4px;
    vertical-align: middle;
    background-image: url('../img/person0.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.login-btn:hover {
    color: #ff4f4f;
    transform: scale(1.07);
}

.login-btn:hover .login-icon {
    background-image: url('../img/person2.svg');
}

/* Back Button */

.back {
    display: none;
    position: fixed;
    top: 100px;
    left: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid white;
    border-radius: 20px;
    padding: 10px 40px;
    width: 220px;
    color: white;
    font-size: 30px;
    text-align: center;
    z-index: 9;
    font-family: 'Shag-Lounge', sans-serif;
    transition: transform 0.2s, color 0.3s, border-color 0.3s;
}

.back:hover {
    color: #00FFFF;
    border-color: #00FFFF;
    cursor: pointer;
    transform: scale(1.04);
}

/* Sidebar */

.sidebar {
    display: block;
    position: fixed;
    top: 100px;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.400);
    border: 3px solid white;
    border-radius: 20px;
    padding: 20px;
    width: 220px;
    z-index: 9;
    text-align: center;
}

.scrollable-content {
    height: calc(100% - 60px);
    overflow-y: auto;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 10px;
    padding-right: 10px;
    scrollbar-width: thin;
}

.sidebar h2 {
    font-size: 35px;
    color: #FF66CC;
    margin-bottom: 20px;
    font-weight: normal;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #383838;
    font-size: 25px;
    color: white;
    transition: color 0.3s;
    cursor: pointer;
}

.sidebar li:hover {
    color: #00FFFF;
}

.sidebar li.active {
    color: #FF66CC;
}

/* Notifications */

#notification-container {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 99999;
    pointer-events: none;
}

.notification {
    background: rgba(0,0,0,0.85);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 18px;
    padding: 18px 38px;
    margin: 0 24px 12px 24px;
    font-size: 25px;
    box-shadow: 0px 0px 10px rgb(0, 0, 0);
    min-width: 750px;
    max-width: 90vw;
    text-align: center;
    pointer-events: all;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.3s, transform 0.3s;
}

.notification.show {
    opacity: 1;
    transform: translateY(0px);
}

/* Footer */

.site-footer {
    width: 100%;
    background: rgba(0,0,0,0.85);
    color: #fff;
    text-align: center;
    padding: 30px 0 20px 0;
    font-size: 20px;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.site-footer a {
    color: #FF66CC;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #00FFFF;
    text-decoration: underline;
}

.footer-social {
    margin: 8px 0;
}

.footer-icon {
    width: 48px;
    margin: 0 6px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.footer-icon:hover {
    transform: scale(1.15);
}

/* Mobile Warning */
.mobile-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(64, 64, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  font-size: 25px;
}

.mobile-modal.hidden {
  display: none;
}

.mobile-modal-content {
    background: #000000e6;
    color: #fff;
    border: 4px solid #fff;
    border-radius: 30px;
    padding: 40px;
    max-width: 520px;
    text-align: center;
}

.mobile-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.mobile-modal-actions button {
  font-size: 20px;
  padding: 10px 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #FF66CC;
  color: #000000;
  font-family: inherit;
}

.mobile-modal-actions button#mobile-leave-btn {
  background: #444;
  color: #ffffff;
}