:root {
    --primary-color: #ff5722;
    --secondary-color: #ff9800;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #4caf50;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1518895949257-7621c3c786d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.header h1 {
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.result-card {
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: none;
    transition: transform 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.result-time {
    background-color: var(--dark-color);
    color: white;
    padding: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.result-image {
    background-color: white;
    padding: 2rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.time-tabs {
    background-color: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.time-tab {
    cursor: pointer;
    transition: all 0.3s;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin: 0 0.3rem;
    text-align: center;
}

.time-tab:hover {
    background-color: var(--light-color);
}

.time-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--light-color);
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.badge-premium {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #2c3e50;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .header {
        padding: 2.5rem 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .time-tab {
        padding: 0.5rem 1rem;
        margin: 0.2rem;
        font-size: 0.9rem;
    }

    .result-image {
        padding: 1rem;
        min-height: 180px;
    }
}