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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Blur Circles */
body::before {
    content: '';
    position: fixed;
    top: 10%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: float1 20s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: 15%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(134, 239, 172, 0.4), transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    animation: float2 25s ease-in-out infinite;
    z-index: 0;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -60px) scale(1.15); }
    66% { transform: translate(-40px, 40px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 50px) scale(0.85); }
    66% { transform: translate(40px, -40px) scale(1.2); }
}

.support-header {
    margin-top: 40px;
    color: #e0e7ff;
    position: relative;
    z-index: 1;
}

body form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    padding: 40px;
    border-radius: 24px;
    width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 48px 0 rgba(31, 38, 135, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

.label {
    padding: 10px;
    color: #e0e7ff;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.input {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    height: 45px;
    width: 75%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    color: #e0e7ff;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.input:focus {
    border-color: rgba(167, 139, 250, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.input::placeholder {
    color: rgba(224, 231, 255, 0.4);
}

.biginput {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    height: 250px;
    width: 80%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    color: #e0e7ff;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.biginput:focus {
    border-color: rgba(167, 139, 250, 0.6);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.button {
    height: 50px;
    width: 140px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(134, 239, 172, 0.2));
    color: #e0e7ff;
    border: 1px solid rgba(167, 139, 250, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(134, 239, 172, 0.4));
    border-color: rgba(167, 139, 250, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(167, 139, 250, 0.3);
}

.heading {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    height: 150px;
    margin-left: 0;
    padding-left: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
    position: relative;
    z-index: 2;
}

.top-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav {
    display: inline-block;
    margin-right: 50px;
    margin-left: 100px;
    margin-top: 10px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.heading img {
    margin-left: 90px;
    padding: 0;
    line-height: 1.5;
    filter: drop-shadow(0 2px 8px rgba(167, 139, 250, 0.3));
}

.heading p {
    margin: 0;
    padding: 0;
    line-height: 2;
    font-size: 17px;
    color: #e0e7ff;
}

.heading a {
    text-decoration: none;
    font-size: 16px;
    color: #c4b5fd;
    transition: all 0.3s ease;
    margin-right: 20px;
    position: relative;
}

.heading a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #86efac);
    transition: width 0.3s ease;
}

.heading a:hover {
    color: #86efac;
}

.heading a:hover::after {
    width: 100%;
}

.header {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    padding: 0;
    color: #e0e7ff;
}

.register-button {
    margin-top: 15px;
    text-align: center;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 10px;
    cursor: pointer;
    margin-right: 10px;
    width: 120px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #e0e7ff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-button:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.2);
}

.login-button {
    text-align: center;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid rgba(134, 239, 172, 0.4);
    border-radius: 10px;
    cursor: pointer;
    margin-right: 10px;
    background: linear-gradient(135deg, rgba(134, 239, 172, 0.3), rgba(167, 139, 250, 0.2));
    backdrop-filter: blur(10px);
    width: 120px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e7ff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: linear-gradient(135deg, rgba(134, 239, 172, 0.4), rgba(167, 139, 250, 0.3));
    border-color: rgba(134, 239, 172, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 239, 172, 0.3);
}

.success-message {
    margin-top: 20px;
    padding: 16px 24px;
    background: rgba(134, 239, 172, 0.15);
    border: 1px solid rgba(134, 239, 172, 0.3);
    border-radius: 12px;
    color: #86efac;
    backdrop-filter: blur(10px);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@media only screen and (max-width: 1080px) {
    .heading {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px;
    }
    .top-bar {
        flex-direction: column;
        align-items: center;
    }
    .top-bar-btn {
        margin-top: 10px;
    }
    .heading img {
        margin: 0;
        width: 150px;
        height: auto;
    }
    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }
    .nav a {
        margin: 5px 0;
    }
    body form {
        width: 90%;
        padding: 30px 20px;
    }
    .input, .biginput {
        width: 90%;
    }
}