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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
    opacity: 0.8;
}

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

/* Page Content Animation */
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInFromTop 1s ease-out;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

/* Button Styles */
#button, #spotify-button,#tracker-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInFromBottom 1s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#button::before, #spotify-button::before,#tracker-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

#button:hover::before, #spotify-button:hover::before,#tracker-button:hover::before {
    left: 100%;
}

#button:hover, #spotify-button:hover,#tracker-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
}

#button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Click Animation */
@keyframes buttonClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

#button.clicked {
    animation: buttonClick 0.2s ease;
}

/* Slide Animations */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

#button, #spotify-button,#tracker-button {
    animation: slideInFromBottom 1s ease-out 0.6s both, float 3s ease-in-out 2s infinite;
}

/* Page Transition */
.page-transition {
    animation: fadeOut 0.5s ease-out;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Website Page Specific Styles */
.website-page {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Back Button Styles */
#back-button {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    border: none;
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 30px;
    right: 30px;
    overflow: hidden;
    animation: slideInFromBottom 1s ease-out 0.9s both;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1000;
}

#back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

#back-button:hover::before {
    left: 100%;
}

#back-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #44a08d, #4ecdc4);
}

#back-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Admin Button Styles */
#adminbtn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 30px;
    left: 30px;
    overflow: hidden;
    animation: slideInFromBottom 1s ease-out 1.2s both;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1000;
}

#adminbtn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
}

#adminbtn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    #button, #back-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}