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

:root {
    --fluorescent-cyan: #38f2f1ff;
    --moonstone: #03bdd6ff;
    --robin-egg-blue: #00d4d8ff;
    --aero: #00b8dcff;
    --robin-egg-blue-2: #00c6dbff;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #f0f0f0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--robin-egg-blue);
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("images/background.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.glass-nav {
    position: absolute;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    width: 100%;
    border-bottom: 3px solid transparent;
}

.logo-nav img {
    max-width: 80px;
    height: auto;
}

.nav-links {
    display: none;
}

.nav-links a {
    margin: 0 10px;
    padding: 5px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: white;
    font-size: 3rem;
}

button {
    background-image: linear-gradient(144deg, var(--fluorescent-cyan), var(--aero) 50%, var(--robin-egg-blue));
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    padding: 3px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 400;
    margin-left: 20px;
    min-width: 140px;
}

.terms-header {
    padding-top: 120px;
    text-align: center;
    margin-bottom: 2rem;
}

.terms-header h1 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 6vw, 6rem);
    color: #fff;
    text-shadow: 0 0 10px var(--moonstone), 0 0 20px var(--moonstone);
}

.terms-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.terms-container h2 {
    color: var(--fluorescent-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.terms-container h2:first-child {
    margin-top: 0;
}

.terms-container h3 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.terms-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(240, 240, 240, 0.9);
    font-size: 1rem;
}

.terms-container ul, .terms-container ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: rgba(240, 240, 240, 0.9);
}

.terms-container li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.glass-footer {
    padding: 20px 5%;
    text-align: center;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: auto;
}

@media (min-width: 1200px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        gap: 30px;
        align-items: center;
    }

    .nav-links a {
        font-size: 1.25rem;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: var(--fluorescent-cyan);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    .nav-links a:hover::after {
        transform: scaleX(0.75);
        transform-origin: bottom left;
    }

    .hamburger-menu {
        display: none;
    }
    
    .terms-header h1 {
        font-size: 6rem;
    }
    
    .terms-container {
        padding: 60px;
    }
}

@media (max-width: 767px) {
    .background-container {
        background-attachment: scroll;
    }
    .terms-header h1 {
        font-size: 3rem;
    }
    .terms-container {
        padding: 20px;
        width: 95%;
    }
}
