img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
    /* disables right-click save etc. */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    background-color: #171616;
    color: #fff;
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100%;
    justify-content: space-between;
    /* vertically centered */
    user-select: none;
    /* disables text selection */
    -webkit-user-select: none;
    /* Safari, Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

/* ===== Container ===== */
.container {
    width: 100%;
    min-width: 320px;
    max-width: 400px;
    padding: 40px 30px;
    margin: 40px auto;
    background: #1f1f1f;
    border-radius: 15px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.7);
    color: #fff;
    transition: all 0.3s ease;
}

.container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #f1c40f;
    font-size: 1.8rem;
}

.container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container form .nameS {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.container form .nameS input {
    width: 100%;
}

.container form input,
.container form select {
    padding: 14px 15px;
    border: 1px solid #333;
    border-radius: 10px;
    background: #161616;
    color: #fff;
    font-size: 15px;
    transition: 0.3s;
}

.container form select {
    -webkit-appearance: none;
    /* Safari, Chrome */
    -moz-appearance: none;
    /* Firefox */
    appearance: none;
}

.container form input:focus,
.container form select:focus {
    border-color: #f1c40f;
    outline: none;
    box-shadow: 0 0 8px #f1c40f66;
}

/* ===== Password Toggle & Strength ===== */
.password-container {
    position: relative;
    width: 100%;
}

#password {
    width: 100%;
    padding-right: 45px;
    /* space for toggle icon */
    box-sizing: border-box;
}

#togglePassword {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #f1c40f;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Password strength bar */
.password-strength {
    height: 6px;
    width: 100%;
    border-radius: 6px;
    background: #333;
    margin-top: 5px;
    overflow: hidden;
}

.password-strength span {
    display: block;
    height: 100%;
    width: 0%;
    background: red;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 6px;
}

/* ===== Submit Button ===== */
.container form button.submitButton {
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #f1c40f, #d4ac0d);
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.container form button.submitButton:hover {
    background: linear-gradient(90deg, #d4ac0d, #b7950b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.container .link {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.container .link a {
    color: #f1c40f;
    text-decoration: none;
}

/* Disabled state belli olsun */
#submitBtn:disabled {
    background: #555;
    color: #000;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enabled state */
#submitBtn:not(:disabled) {
    background: linear-gradient(90deg, #f1c40f, #d4ac0d);
    color: #000;
    cursor: pointer;
}

/* Privacy Polisy Check Button */

.terms-container {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    /* responsive */
}

.terms-label {
    display: inline;
    /* metin gibi akış */
    cursor: pointer;
}

.terms-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    /* metinle hizala */
    accent-color: #007bff;
    margin-right: 5px;
}

.terms-link,
.privacy-link,
.cookies-link {
    text-decoration: underline;
    color: #007bff;
    transition: color 0.2s;
}

.terms-link:hover,
.privacy-link:hover,
.cookies-link:hover {
    color: #0056b3;
}

/* ===== Hero Section ===== */
.containerRow {
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    margin: 60px auto;
}

.hero-body {
    text-align: center;
    background-color: #171616;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.hero-body h1 {
    margin-bottom: 20px;
    color: #ffcc00;
    font-size: 1.2rem;
    line-height: 1.3;
}

.image-container-2 img {
    width: 400px;
    max-width: 100%;
    margin: 50px 0 20px 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        max-width: 300px;
    }

    .container h2 {
        font-size: 1.6rem;
    }

    .container form input,
    .container form select,
    .container form button.submitButton {
        font-size: 14px;
        padding: 12px;
    }

    #togglePassword {
        font-size: 1rem;
        right: 10px;
    }

    .image-container-2 img {
        width: 300px;
    }

    .hero-body h1 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }

    .container h2 {
        font-size: 1.4rem;
    }

    .container form input,
    .container form select,
    .container form button.submitButton {
        font-size: 13px;
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 20px 10px;
    }

    #togglePassword {
        right: 8px;
    }
}

/* ===== Error Message ===== */
.error-message {
    background-color: #ff0040ff;
    color: #ffdddd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 10px;
    text-align: start;
}

/* ===== Spotlights ===== */
.spotlight {
    position: fixed;
    top: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 200, 0.6) 0%, rgba(255, 255, 200, 0.1) 70%, transparent 100%);
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(20px);
    animation: moveLight 8s infinite alternate ease-in-out;
    z-index: 20;
}

.spotlight1 {
    left: -150px;
    animation-delay: 0s;
}

.spotlight2 {
    right: 0px;
    animation-delay: 4s;
}

/* Default animation (short distance for mobile) */
@keyframes moveLight {
    0% {
        transform: translateY(20%) translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(40%) translateX(100px);
        opacity: 0.7;
    }

    100% {
        transform: translateY(60%) translateX(0);
        opacity: 0.5;
    }
}

/* Rules */

.rules {
    display: none;
    margin-top: 10px;
    background: #222;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
}

.rule {
    display: flex;
    align-items: center;
    margin: 4px 0;
    color: #aaa;
}

.rule.valid {
    color: limegreen;
}

.rule i {
    margin-right: 8px;
}

/* Tablet & above: wider movement */
@media (min-width: 768px) {
    @keyframes moveLight {
        0% {
            transform: translateY(20%) translateX(0);
            opacity: 0.4;
        }

        50% {
            transform: translateY(50%) translateX(250px);
            opacity: 0.75;
        }

        100% {
            transform: translateY(80%) translateX(0);
            opacity: 0.5;
        }
    }
}

/* Desktop large screens: fully centered */
@media (min-width: 1200px) {
    @keyframes moveLight {
        0% {
            transform: translateY(20%) translateX(0);
            opacity: 0.4;
        }

        50% {
            transform: translateY(50%) translateX(400px);
            opacity: 0.8;
        }

        100% {
            transform: translateY(80%) translateX(0);
            opacity: 0.5;
        }
    }
}