* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    perspective: 1000px;
}

.dog-container {
    width: 380px;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.dog-container:hover {
    transform: rotateY(5deg) rotateX(2deg);
}

.dog-head {
    width: 200px;
    height: 160px;
    background: #f8d7a8;
    border-radius: 50% 50% 40% 40%;
    position: absolute;
    top: 20px;
    left: 90px;
    border: 4px solid #d4a574;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.dog-ear-left, .dog-ear-right {
    width: 30px;
    height: 70px;
    background: linear-gradient(45deg, #d4a574, #e6b98a);
    border-radius: 50% 20% 70% 30%;
    position: absolute;
    top: -20px;
    border: 3px solid #b8860b;
}

.dog-ear-left {
    left: 20px;
    transform: rotate(-20deg);
}

.dog-ear-right {
    right: 20px;
    transform: rotate(20deg);
}

.dog-snout {
    width: 60px;
    height: 35px;
    background: #f8d7a8;
    border-radius: 50%;
    position: absolute;
    top: 80px;
    left: 70px;
    border: 3px solid #d4a574;
}

.dog-nose {
    width: 20px;
    height: 18px;
    background: #2c1810;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 20px;
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.3);
}

.dog-eyes {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 100px;
}

.eye-left, .eye-right {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    border: 3px solid #333;
    position: absolute;
    overflow: hidden;
}

.eye-left {
    left: 0;
}

.eye-right {
    right: 0;
}

.pupil-left, .pupil-right {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 8px;
    transition: all 0.3s ease;
    animation: blink 4s infinite;
}

@keyframes blink {
    0%, 90%, 100% { height: 12px; }
    95% { height: 2px; }
}

.dog-mouth {
    width: 40px;
    height: 20px;
    border: 3px solid transparent;
    border-bottom-color: #333;
    border-radius: 0 0 30px 30px;
    position: absolute;
    top: 105px;
    left: 80px;
}

.login-form {
    width: 300px;
    background: rgba(255,255,255,0.95);
    padding: 40px 30px;
    border-radius: 25px;
    position: absolute;
    top: 200px;
    left: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

.dog-tail {
    width: 25px;
    height: 60px;
    background: linear-gradient(45deg, #d4a574, #e6b98a);
    border-radius: 50% 20% 0 50%;
    position: absolute;
    top: 100px;
    right: -10px;
    transform: rotate(30deg);
    animation: wag 2s infinite ease-in-out;
}

@keyframes wag {
    0%, 100% { transform: rotate(30deg); }
    50% { transform: rotate(50deg); }
}

.dog-paws {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
}

.paw-left, .paw-right {
    width: 35px;
    height: 30px;
    background: #d4a574;
    border-radius: 50%;
    border: 3px solid #b8860b;
    position: relative;
}

.paw-left:before, .paw-right:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #f8d7a8;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    box-shadow: 12px 5px 0 #f8d7a8, 5px 15px 0 #f8d7a8;
}