.premium-auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.premium-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.premium-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.premium-header h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.premium-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

.premium-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.premium-label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.premium-label i {
    color: #a5b4fc;
}

.premium-input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.premium-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.premium-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transform: translateY(-2px);
}

.premium-input:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Autofill fix for transparent inputs */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.premium-input-wrapper {
    position: relative;
    width: 100%;
}

.premium-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.premium-input:focus + .premium-input-icon,
.premium-input:focus ~ .premium-input-icon,
.premium-input:not(:placeholder-shown) ~ .premium-input-icon {
    color: #ffffff;
}

.premium-input-group {
    position: relative;
    display: flex;
    width: 100%;
}

/* Fix for phone select + input group */
.phone-group-wrapper {
    display: flex;
    gap: 10px;
}

.phone-select-wrapper {
    position: relative;
    flex: 0 0 140px;
}

.phone-select {
    width: 100%;
    padding: 14px 10px 14px 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.phone-select option {
    background: #333;
    color: #fff;
}

.phone-input-wrapper {
    flex: 1;
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
    padding: 0;
}

.password-toggle-btn:hover {
    color: #ffffff;
}

.premium-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.premium-btn::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;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.premium-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.premium-btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.premium-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
}

.premium-btn-register {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 12px;
    min-width: 140px;
}

.premium-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

.premium-btn-register:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.premium-alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: none;
    font-weight: 500;
}

.premium-alert-danger {
    background: rgba(220, 38, 38, 0.15);
    color: #ffcccc;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(5px);
}

.premium-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.premium-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.premium-otp-section {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.premium-status-text {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.premium-password-toggle {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-left: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 12px 16px;
    color: #718096;
    transition: all 0.3s ease;
}

.premium-password-toggle:hover {
    background: #edf2f7;
    color: #4a5568;
}

.premium-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .premium-form-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Tutorial Floating Button */
.tutorial-float-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    animation: float-btn 3s ease-in-out infinite;
}

.tutorial-float-btn:hover {
    transform: scale(1.05);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

@keyframes float-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Panda Interaction Styles */
#carrot {
    transition: opacity 0.3s, transform 0.5s;
    display: block; /* Default visible */
}

/* Chewing Animation */
@keyframes chew {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(2px) scaleY(0.9); }
}

.chewing #panda-mouth {
    animation: chew 0.5s infinite;
}

.chewing #carrot {
    animation: carrot-bob 0.5s infinite;
}

@keyframes carrot-bob {
    0%, 100% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(-5deg) translate(-2px, 2px); }
}

/* Kick/Throw Animation */
@keyframes flyAway {
    0% { transform: translate(0, 0) rotate(0); opacity: 1; }
    20% { transform: translate(-10px, 10px) rotate(-20deg); opacity: 1; } /* Wind up */
    100% { transform: translate(200px, -200px) rotate(720deg); opacity: 0; } /* Fly out */
}

.carrot-fly {
    animation: flyAway 0.8s forwards ease-in;
}

/* Smile Transition */
#panda-mouth {
    transition: d 0.3s ease;
}

/* Video Modal */
.video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.video-modal-content {
    width: 95%;
    max-width: 1000px;
    background: black;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-modal-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.slide-right-anim { animation: slideRight 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
@keyframes slideRight {
    0% { transform: translateX(0); opacity: 1; }
    40% { transform: translateX(50px); opacity: 1; } /* Wind up */
    100% { transform: translateX(400px); opacity: 0; } /* Zoom away */
}

/* Panda Styles */
.panda-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto -20px auto;
    position: relative;
    z-index: 10;
}
.panda-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.panda-hands .hand {
    transition: transform 0.3s ease-in-out;
}

/* Cover Eyes Animation */
.panda-hands.cover-eyes #hand-left {
    transform: translate(15px, -55px); /* Move up to cover left eye */
}
.panda-hands.cover-eyes #hand-right {
    transform: translate(-15px, -55px); /* Move up to cover right eye */
}

/* Peek Animation (One hand down) */
.panda-hands.peek #hand-left {
    transform: translate(15px, -55px); /* Keep covering left eye */
}
.panda-hands.peek #hand-right {
    transform: translate(0, 0); /* Remove hand from right eye */
}

.eye-ball {
    transition: transform 0.1s;
}

.glass-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 15px;
}
.guideline-list {
    list-style: none;
    padding: 0;
}
.guideline-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: start;
}
.guideline-list li i {
    margin-top: 4px;
}
