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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #4a0072 0%, #6A1B9A 25%, #8A2BE2 50%, #9C27B0 75%, #BA55D3 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #F5F0E1;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: #F5F0E1;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.game-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar {
    background: rgba(28, 37, 38, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    border: 2px solid rgba(186, 85, 211, 0.3);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
    height: fit-content;
    position: sticky;
    top: 30px;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(186, 85, 211, 0.2);
}

.logo-small {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.logo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(186, 85, 211, 0.5);
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.3);
}

.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 15px #BA55D3;
}

.stats-panel {
    margin-bottom: 30px;
}

.main-stat {
    background: linear-gradient(135deg, rgba(186, 85, 211, 0.2), rgba(138, 43, 226, 0.1));
    border-radius: 16px;
    padding: 25px;
    border: 2px solid rgba(186, 85, 211, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(186, 85, 211, 0.3), transparent 70%);
    animation: rotate 20s linear infinite;
}

.stat-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #F5F0E1, #BA55D3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.secondary-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.secondary-stat {
    background: rgba(186, 85, 211, 0.15);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(186, 85, 211, 0.2);
    transition: all 0.3s ease;
}

.secondary-stat:hover {
    background: rgba(186, 85, 211, 0.25);
    transform: translateY(-2px);
}

.secondary-stat-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.secondary-stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.secondary-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #BA55D3;
}

.secondary-stat-label {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
}

.achievements-panel {
    margin-top: 30px;
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 0 10px #BA55D3;
    margin-bottom: 15px;
}

.panel-title.big-title {
    font-size: 28px;
    text-shadow: 0 0 15px #BA55D3;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement-item {
    background: rgba(28, 37, 38, 0.5);
    border-radius: 12px;
    padding: 12px;
    border: 2px solid rgba(186, 85, 211, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item.locked {
    opacity: 0.4;
    filter: grayscale(1);
}

.achievement-item.unlocked {
    opacity: 1;
    filter: grayscale(0);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(28, 37, 38, 0.5));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.achievement-item-icon {
    font-size: 28px;
}

.achievement-item-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.achievement-item-progress {
    font-size: 16px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.click-zone {
    background: rgba(28, 37, 38, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    border: 2px solid rgba(186, 85, 211, 0.3);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
    text-align: center;
    animation: slideDown 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.click-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(186, 85, 211, 0.1), transparent 60%);
    animation: rotate 30s linear infinite;
}

.goat-wrapper {
    position: relative;
    display: inline-block;
}

.goat-clicker {
    position: relative;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.1s ease;
}

.goat-clicker:hover {
    transform: scale(1.05);
}

.goat-clicker:active {
    transform: scale(0.95);
}

.goat-main {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 10px solid rgba(186, 85, 211, 0.7);
    box-shadow: 0 16px 64px rgba(138, 43, 226, 0.5), 0 0 120px rgba(138, 43, 226, 0.4);
    background: rgba(28, 37, 38, 0.5);
    transition: all 0.3s ease;
    animation: megaBounceAndRotate 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes megaBounceAndRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    20% {
        transform: translateY(-20px) rotate(10deg) scale(1.02);
    }
    40% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    60% {
        transform: translateY(-10px) rotate(-5deg) scale(1.01);
    }
    80% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

.goat-clicker:hover .goat-main {
    animation: megaBounceAndRotate 3s ease-in-out infinite;
    box-shadow: 0 20px 80px rgba(138, 43, 226, 0.6), 0 0 140px rgba(138, 43, 226, 0.5);
    border-color: rgba(186, 85, 211, 1);
}

.goat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(186, 85, 211, 0.4), transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.click-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(186, 85, 211, 0.6);
    opacity: 0;
    animation: rippleEffect 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.progress-bar-container {
    margin-top: 30px;
}

.progress-bar {
    height: 12px;
    background: rgba(28, 37, 38, 0.5);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(186, 85, 211, 0.3);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8A2BE2, #BA55D3, #FF69B4, #BA55D3);
    background-size: 300% 100%;
    border-radius: 8px;
    transition: width 0.5s ease;
    animation: progressGradient 3s ease infinite;
    width: 0%;
}

@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 200% 50%; }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.upgrades-panel {
    background: rgba(28, 37, 38, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    border: 2px solid rgba(186, 85, 211, 0.3);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
}

.upgrades-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upgrade-item {
    background: rgba(186, 85, 211, 0.1);
    border: 2px solid rgba(186, 85, 211, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.upgrade-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8A2BE2, #BA55D3);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.upgrade-item:hover:not(.disabled)::before {
    transform: scaleY(1);
}

.upgrade-item:hover:not(.disabled) {
    transform: translateX(5px);
    background: rgba(186, 85, 211, 0.2);
    border-color: rgba(186, 85, 211, 0.6);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.3);
}

.upgrade-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(0.7);
}

.upgrade-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.upgrade-icon-large {
    font-size: 52px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(186, 85, 211, 0.3), rgba(138, 43, 226, 0.2));
    border-radius: 16px;
    border: 2px solid rgba(186, 85, 211, 0.4);
    flex-shrink: 0;
}

.upgrade-details h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #F5F0E1;
}

.upgrade-description {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.upgrade-stats {
    display: flex;
    gap: 15px;
}

.upgrade-bonus {
    background: rgba(186, 85, 211, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #F5F0E1;
}

.upgrade-owned {
    background: rgba(138, 43, 226, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #F5F0E1;
}

.upgrade-right {
    flex-shrink: 0;
}

.upgrade-price {
    background: linear-gradient(135deg, rgba(186, 85, 211, 0.4), rgba(138, 43, 226, 0.3));
    border-radius: 12px;
    padding: 15px 20px;
    border: 2px solid rgba(186, 85, 211, 0.5);
    transition: all 0.3s ease;
}

.upgrade-item:hover:not(.disabled) .upgrade-price {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.4);
}

.price-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #F5F0E1;
    text-shadow: 0 0 10px #BA55D3;
    text-align: center;
}

.price-currency {
    display: block;
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(28, 37, 38, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px 30px;
    border: 2px solid #FFD700;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5);
    transform: translateX(400px);
    transition: transform 0.5s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    font-size: 32px;
}

.notification-text {
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .game-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .game-wrapper {
        padding: 20px 15px;
    }

    .sidebar,
    .upgrades-panel {
        padding: 20px;
    }

    .goat-main {
        width: 200px;
        height: 200px;
    }

    .upgrade-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 15px;
    }

    .upgrade-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .upgrade-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-wrapper {
        gap: 20px;
        padding: 15px 10px;
    }

    .sidebar,
    .upgrades-panel {
        padding: 15px;
    }

    .goat-main {
        width: 150px;
        height: 150px;
    }

    .sidebar-title {
        font-size: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .upgrade-icon-large {
        font-size: 36px;
        width: 50px;
        height: 50px;
    }

    .upgrade-details h4 {
        font-size: 16px;
    }

    .upgrade-description {
        font-size: 12px;
    }

    .price-value {
        font-size: 20px;
    }

    .panel-title.big-title {
        font-size: 22px;
    }
}

.particle {
    position: absolute;
    background: rgba(186, 85, 211, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, rgba(28, 37, 38, 0.95), rgba(28, 37, 38, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(186, 85, 211, 0.5);
    box-shadow: 0 16px 64px rgba(138, 43, 226, 0.5);
    max-width: 500px;
    width: 90%;
    animation: slideDown 0.4s ease-out;
}

.scoreboard-content {
    max-width: 600px;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 0 20px #BA55D3;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 16px;
    opacity: 0.7;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(186, 85, 211, 0.2);
    border: 2px solid rgba(186, 85, 211, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #F5F0E1;
    font-size: 18px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(186, 85, 211, 0.4);
    transform: rotate(90deg);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#usernameInput {
    background: rgba(186, 85, 211, 0.1);
    border: 2px solid rgba(186, 85, 211, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: #F5F0E1;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
}

#usernameInput::placeholder {
    color: rgba(245, 240, 225, 0.5);
}

#usernameInput:focus {
    outline: none;
    border-color: rgba(186, 85, 211, 0.6);
    background: rgba(186, 85, 211, 0.15);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.login-btn {
    background: linear-gradient(135deg, #8A2BE2, #BA55D3);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: #F5F0E1;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.6);
}

.login-btn:active {
    transform: translateY(0);
}

.scoreboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.scoreboard-item {
    background: rgba(186, 85, 211, 0.1);
    border: 2px solid rgba(186, 85, 211, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.scoreboard-item:hover {
    background: rgba(186, 85, 211, 0.2);
    border-color: rgba(186, 85, 211, 0.5);
}

.scoreboard-rank {
    font-size: 24px;
    font-weight: 700;
    width: 40px;
    text-align: center;
}

.scoreboard-rank.gold {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.scoreboard-rank.silver {
    color: #C0C0C0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.6);
}

.scoreboard-rank.bronze {
    color: #CD7F32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.6);
}

.scoreboard-player {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
}

.scoreboard-score {
    font-size: 20px;
    font-weight: 700;
    color: #BA55D3;
    text-shadow: 0 0 10px rgba(186, 85, 211, 0.6);
}

.scoreboard-item.current-player {
    background: linear-gradient(135deg, rgba(186, 85, 211, 0.3), rgba(138, 43, 226, 0.2));
    border-color: rgba(186, 85, 211, 0.6);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.player-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.action-btn {
    background: rgba(186, 85, 211, 0.2);
    border: 2px solid rgba(186, 85, 211, 0.4);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    color: #F5F0E1;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(186, 85, 211, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.tab-btn:hover {
    background: rgba(186, 85, 211, 0.2);
    border-color: rgba(186, 85, 211, 0.5);
}

.tab-btn.active {
    background: linear-gradient(135deg, #8A2BE2, #BA55D3);
    border-color: rgba(186, 85, 211, 0.6);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.login-error {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    background: rgba(186, 85, 211, 0.08);
    border: 2px solid rgba(186, 85, 211, 0.25);
    border-radius: 14px;
    padding: 16px 20px;
    color: #F5F0E1;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: rgba(245, 240, 225, 0.45);
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: rgba(186, 85, 211, 0.7);
    background: rgba(186, 85, 211, 0.12);
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15), 0 0 20px rgba(138, 43, 226, 0.25);
    transform: translateY(-2px);
}

input[type="text"]:hover,
input[type="password"]:hover {
    border-color: rgba(186, 85, 211, 0.5);
    background: rgba(186, 85, 211, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #8A2BE2 0%, #BA55D3 50%, #9C27B0 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    color: #F5F0E1;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: gradientShift 4s ease infinite;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
    background-position: 100% 0;
}

.login-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.login-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.3), 0 10px 30px rgba(138, 43, 226, 0.5);
}

.login-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(186, 85, 211, 0.08);
    padding: 6px;
    border-radius: 16px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    color: rgba(245, 240, 225, 0.6);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(186, 85, 211, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover {
    color: #F5F0E1;
    background: rgba(186, 85, 211, 0.12);
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn.active {
    background: linear-gradient(135deg, #8A2BE2, #BA55D3);
    color: #F5F0E1;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    transform: scale(1.02);
}

.tab-btn.active::before {
    opacity: 0;
}

.login-error {
    margin-top: 20px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255, 82, 82, 0.15), rgba(255, 107, 107, 0.1));
    border: 2px solid rgba(255, 82, 82, 0.4);
    border-radius: 12px;
    color: #ff8a8a;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.login-error {
    display: none;
    margin-top: 20px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255, 82, 82, 0.15), rgba(255, 107, 107, 0.1));
    border: 2px solid rgba(255, 82, 82, 0.4);
    border-radius: 12px;
    color: #ff8a8a;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.login-error.show {
    display: block;
    animation: shake 0.4s ease;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    color: rgba(245, 240, 225, 0.6);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(186, 85, 211, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.tab-btn:hover {
    color: #F5F0E1;
    background: rgba(186, 85, 211, 0.12);
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn.active {
    background: linear-gradient(135deg, #8A2BE2, #BA55D3);
    color: #F5F0E1;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    transform: scale(1.02);
}

.tab-btn.active::before {
    opacity: 0;
}
