/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Header */
.header {
    margin-bottom: 3rem;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffb347, #ffd700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: honeyGlow 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    letter-spacing: 2px;
}

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

.subtitle {
    font-size: 1.4rem;
    color: #b8b8b8;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Status Section */
.status-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

/* Clock Container */
.clock-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clock::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.8s;
}

.clock:hover::before {
    left: 100%;
}

.clock:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.4);
}

.time {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
}

.date {
    font-size: 1.2rem;
    color: #b8b8b8;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Bot Status */
.bot-status {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.bot-status:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.2);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
}

.status-dot.offline {
    background: #f44336;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.6);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.status-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

.bot-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: #ffd700;
    width: 30px;
    text-align: center;
}

.info-item span {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.feature-icon i {
    font-size: 2rem;
    color: #1a1a2e;
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 1px;
}

.feature p {
    color: #b8b8b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7289da;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(114, 137, 218, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(114, 137, 218, 0.3);
    transition: all 0.3s ease;
}

.feature-link:hover {
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.5);
    transform: translateX(5px);
    color: #ffffff;
}

.feature-link i {
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(3px);
}

/* Footer */
.footer {
    margin-top: 5rem;
    padding: 2.5rem;
    color: #888;
    font-size: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.footer i {
    color: #ff6b6b;
    animation: heartbeat 2s infinite;
}

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

/* Responsive design */
@media (max-width: 1200px) {
    .status-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .clock {
        padding: 2rem;
    }
    
    .time {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        padding: 2rem;
    }
    
    .bot-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .time {
        font-size: 2.5rem;
    }
    
    .date {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .time {
        font-size: 2rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

/* Selection styling */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #ffffff;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Status update animation */
@keyframes statusUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Command count loading state */
.commands-loading {
    opacity: 0.7;
    font-style: italic;
}
