@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');

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

body {
    font-family: 'Tangerine', 'Brush Script MT', cursive, serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%),
                url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    position: relative;
}

/* screen1.svg apkārt visām */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('screen1.svg');
    background-size: 120% 140%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

/* middle.svg pa vidu starp player un dziesmas aprakstu */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-image: url('middle.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 5;
    pointer-events: none;
}

.container {
    background: rgba(20, 20, 30, 0.8);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 10;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

h1 {
    text-align: center;
    color: #d4af37;
    font-size: 56px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    text-align: center;
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #d4af37;
    font-size: 26px;
    margin-bottom: 8px;
    font-weight: 400;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1.5px solid #d4af37;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    font-family: 'Tangerine', 'Brush Script MT', cursive, serif;
    transition: all 0.3s;
}

input::placeholder {
    color: rgba(212, 175, 55, 0.4);
}

input:focus {
    outline: none;
    border-color: #f4d03f;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    background: rgba(0, 0, 0, 0.7);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 18px 0;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #d4af37;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-size: 24px;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 32px;
    font-family: 'Tangerine', 'Brush Script MT', cursive, serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

button:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

button:active {
    transform: translateY(0);
}

.links {
    text-align: center;
    margin-top: 20px;
}

.links a {
    color: #d4af37;
    text-decoration: none;
    font-size: 24px;
    display: inline-block;
    margin: 8px 10px;
    transition: color 0.3s;
    cursor: pointer;
}

.links a:hover {
    color: #f4d03f;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #d4af37;
    font-size: 22px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #d4af37;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.success-message {
    background: rgba(34, 139, 34, 0.2);
    border: 1px solid #228b22;
    color: #90ee90;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 25px;
    }

    h1 {
        font-size: 44px;
    }

    .subtitle {
        font-size: 24px;
    }

    label {
        font-size: 24px;
    }

    input {
        font-size: 18px;
    }

    button {
        font-size: 28px;
    }

    .links a {
        font-size: 22px;
    }
}
