:root {
    --primary: #ff9800;
    --primary-glow: rgba(255, 152, 0, 0.4);
    --secondary: #ff5722;
    --background: #0b0c10;
    --text: #ffffff;
    --text-muted: #949ba4;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1c2c 0%, #0b0c10 100%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: move 20s infinite alternate;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: #f57c00;
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

/* Floating Bottles Animation */
.bottle {
    position: absolute;
    bottom: -300px;
    background-image: url('fanta-bottle.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: floatUp infinite linear;
}

.bottle-1 {
    width: 60px;
    height: 180px;
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bottle-2 {
    width: 80px;
    height: 240px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: 4s;
    filter: blur(1px);
    /* Reduced blur */
}

.bottle-3 {
    width: 50px;
    height: 150px;
    left: 65%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.bottle-4 {
    width: 90px;
    height: 270px;
    left: 85%;
    animation-duration: 22s;
    animation-delay: 8s;
    filter: blur(1.5px);
}

.bottle-5 {
    width: 70px;
    height: 210px;
    left: 45%;
    animation-duration: 16s;
    animation-delay: 12s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(-15deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-120vh) rotate(25deg);
        opacity: 0;
    }
}

/* Carbonation Bubbles Animation */
.bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 152, 0, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.4);
    z-index: 0;
    animation: bubbleUp infinite ease-in;
}

.bubble-1 {
    width: 10px;
    height: 10px;
    left: 15%;
    animation-duration: 5s;
    animation-delay: 0s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    left: 25%;
    animation-duration: 7s;
    animation-delay: 1s;
}

.bubble-3 {
    width: 8px;
    height: 8px;
    left: 45%;
    animation-duration: 4s;
    animation-delay: 2s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    left: 60%;
    animation-duration: 6s;
    animation-delay: 0.5s;
}

.bubble-5 {
    width: 20px;
    height: 20px;
    left: 75%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.bubble-6 {
    width: 14px;
    height: 14px;
    left: 85%;
    animation-duration: 5.5s;
    animation-delay: 1.5s;
}

.bubble-7 {
    width: 9px;
    height: 9px;
    left: 35%;
    animation-duration: 4.5s;
    animation-delay: 2.5s;
}

.bubble-8 {
    width: 18px;
    height: 18px;
    left: 55%;
    animation-duration: 6.5s;
    animation-delay: 0.2s;
}

@keyframes bubbleUp {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) scale(1.5);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card:hover {
    transform: translateY(-5px);
}

.header {
    text-align: center;
    margin-bottom: 35px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.header h1 span {
    color: var(--primary);
}

.header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px 15px 48px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

input:focus+i {
    color: var(--primary);
}

.btn-primary {
    width: 100%;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    padding: 18px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #f57c00;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary .loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s infinite linear;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-message {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.status-success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.status-error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Button Group & Secondary Button */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-secondary {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.toast {
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 24px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    font-size: 1.2rem;
}

.toast-success {
    border-left: 4px solid #4caf50;
}

.toast-success i {
    color: #4caf50;
}

.toast-error {
    border-left: 4px solid #f44336;
}

.toast-error i {
    color: #f44336;
}