/* Base Variables */
:root {
    /* Extracted color scheme from welcome blade */
    --primary-color: #e73c7e;
    --secondary-color: #23a6d5;
    --accent-color: #ee7752;
    --accent-secondary: #23d5ab;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #f1c40f;
    --info-color: #3498db;
    --light-color: rgba(255, 255, 255, 0.9);
    --dark-color: #2c3e50;
    --body-bg: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    --body-color: white;

    /* Additional variables for the animated background */
    --gradient-animation-duration: 15s;
    --shape-animation-duration: 10s;
    --blur-effect: 10px;
    --card-bg: rgba(255, 255, 255, 0.1);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--body-bg);
    background-size: 400% 400%;
    animation: gradient var(--gradient-animation-duration) ease infinite;
    color: var(--body-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* Animated Background Shapes */
.shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float var(--shape-animation-duration) infinite;
}

.shape-1 {
    background: rgba(255, 0, 0, 0.4);
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
}

.shape-2 {
    background: rgba(0, 0, 255, 0.4);
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(100px, 100px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Layout Structure */
#site-header {
    position: relative;
    width: 100%;
    z-index: 10;
}

#site-content {
    flex: 1 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

#site-footer {
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

/* Glass Card Effect */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-effect));
    border-radius: 25px;
    padding: 2rem;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateZ(20px);
}

/* Container Modifications */
.container {
    max-width: 1200px;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-light { color: var(--light-color) !important; }
.text-dark { color: var(--dark-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }

/* Glow effect */
@keyframes glow {
    from { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color); }
    to { text-shadow: 0 0 10px #fff, 0 0 20px var(--primary-color), 0 0 30px var(--primary-color); }
}

.glow-text {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.8; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Float animation */
@keyframes float-element {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float-element 6s ease-in-out infinite;
}

/* Blink animation for status indicators */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.blink {
    animation: blink 1.5s infinite;
}
