/* ChubbyPuppy.ai — Custom Styles */

body {
    background: linear-gradient(135deg, #e0f2fe 0%, #fce7f3 50%, #fff1f2 100%);
    overflow-x: hidden;
    color: #4A3D54;
}

/* Liquid Glass Design System */
.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px 0 rgba(161, 217, 255, 0.25);
}

.glass-button {
    background: linear-gradient(135deg, #FF9ECE 0%, #FF7EB9 100%);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.glass-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.glass-button:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.glass-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 158, 206, 0.5);
}

.glass-button:active {
    transform: scale(0.95);
}

/* Background blobs */
.blob-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,158,206,0.6) 0%, rgba(255,158,206,0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    top: -100px;
    left: -100px;
    z-index: -1;
    animation: float 8s infinite alternate;
}

.blob-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(161,217,255,0.6) 0%, rgba(161,217,255,0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    bottom: 10%;
    right: -150px;
    z-index: -1;
    animation: float 10s infinite alternate-reverse;
}

.blob-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,222,106,0.5) 0%, rgba(255,222,106,0) 70%);
    border-radius: 50%;
    filter: blur(35px);
    top: 40%;
    left: 20%;
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #fce7f3; }
::-webkit-scrollbar-thumb { background: #FF9ECE; border-radius: 10px; border: 3px solid #fce7f3; }
::-webkit-scrollbar-thumb:hover { background: #FF7EB9; }

/* XP Bar */
.xp-bar-container {
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    border: 2px solid white;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFDE6A, #FFA337);
    border-radius: 20px;
    width: 65%;
    transition: width 1s ease-in-out;
    position: relative;
}

.xp-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    border-radius: 20px;
}

/* Waitlist Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(74, 61, 84, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 60px rgba(161, 217, 255, 0.3);
    border-radius: 2rem;
    padding: 2.5rem;
    max-width: 440px;
    width: 90%;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 158, 206, 0.3);
    background: rgba(255, 255, 255, 0.7);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #4A3D54;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus {
    border-color: #FF9ECE;
    box-shadow: 0 0 0 4px rgba(255, 158, 206, 0.15);
}

.modal-input::placeholder {
    color: #b0a3b8;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 200;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    color: #065f46;
    box-shadow: 0 8px 25px rgba(110, 231, 183, 0.4);
}

.toast.error {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #991b1b;
    box-shadow: 0 8px 25px rgba(252, 165, 165, 0.4);
}

/* Mobile Nav Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 60;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A3D54;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: #FF9ECE;
}
