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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

main {
    padding: 30px;
}

.status-card,
.feature-card,
.demo-card,
.notification-card,
.update-card,
.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.status-card h2,
.feature-card h2,
.demo-card h2,
.notification-card h2,
.update-card h2,
.info-card h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

#status-indicator,
#notification-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.indicator,
.notification-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.indicator.online {
    background: #4caf50;
}

.indicator.offline,
.notification-indicator.denied {
    background: #f44336;
}

.notification-indicator.granted {
    background: #4caf50;
}

.notification-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn.secondary {
    background: #764ba2;
}

.btn.secondary:hover {
    background: #654a8f;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.update-card {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border: 2px solid #f39c12;
    animation: updatePulse 2s infinite;
}

.update-card h2 {
    color: #e17055;
}

.update-message {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #333;
}

@keyframes updatePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(243, 156, 18, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    min-width: 80px;
    text-align: center;
}

.btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.info-card p {
    margin: 10px 0;
    font-size: 1.1rem;
}

footer {
    background: #f8f9fa;
    text-align: center;
    padding: 20px;
    color: #666;
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    main {
        padding: 20px;
    }
}