.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Same beautiful theme classes */
.theme-1 { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%) !important; color: #2c2c2c !important; }
.theme-2 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%) !important; color: #2c2c2c !important; }
.theme-3 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; color: white !important; }
.theme-4 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%) !important; color: #2c2c2c !important; }
.theme-5 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important; color: #2c2c2c !important; }
.theme-6 { background: linear-gradient(135deg, #d3cce3 0%, #e9e4f0 100%) !important; color: #2c2c2c !important; }
.theme-7 { background: linear-gradient(135deg, #434343 0%, #000000 100%) !important; color: white !important; }
.theme-8 { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important; color: white !important; }
.theme-light { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important; color: #3c4043 !important; }

/* Text adjustments */
.theme-3 a, .theme-7 a, .theme-8 a { color: white !important; }
.theme-1 a, .theme-2 a, .theme-4 a, .theme-5 a, .theme-6 a, .theme-light a { color: #2c2c2c !important; }

/* Main Time Card */
.main-time-section {
    margin: 16px 0;
}

.main-time-card {
    padding: 48px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 1px 3px 1px rgba(60,64,67,.15);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.main-time-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.main-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.city-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.add-to-favorites {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.add-to-favorites:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.main-time-content {
    position: relative;
    z-index: 2;
}

.city-title {
    margin: 0 0 24px 0;
    font-size: 48px;
    font-weight: 300;
    font-family: 'Google Sans', sans-serif;
    letter-spacing: -2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-time {
    font-size: 72px;
    font-weight: 300;
    line-height: 0.9;
    margin-bottom: 8px;
    font-family: 'Google Sans', sans-serif;
    letter-spacing: -4px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.current-date {
    font-size: 20px;
    opacity: 0.9;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 24px;
}

.time-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
    font-family: 'Google Sans', sans-serif;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Time Info Grid */
.time-info-section {
    margin: 16px 0;
}

.time-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.info-card {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 3px 1px rgba(60,64,67,.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.info-card-header i {
    color: #ff6d01;
    font-size: 20px;
}

.info-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.info-value {
    font-size: 32px;
    font-weight: 300;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.info-detail {
    font-size: 14px;
    opacity: 0.8;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.info-detail i {
    color: #ff6d01;
}

/* Details Section */
.details-info-section {
    margin: 16px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.details-card {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 3px 1px rgba(60,64,67,.15);
    transition: all 0.3s ease;
}

.details-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.details-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.details-title i {
    color: #ff6d01;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Google Sans', sans-serif;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    opacity: 0.8;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.detail-value a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.detail-value a:hover {
    opacity: 0.8;
}

/* Section Titles */
.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3c4043;
}

.section-title i {
    color: #ff6d01;
}

/* Transitions */
.transitions-section {
    margin: 16px 0;
}

.transitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.transition-card {
    display: flex;
    gap: 16px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 3px 1px rgba(60,64,67,.15);
    transition: all 0.3s ease;
}

.transition-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.transition-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 109, 1, 0.1);
}

.transition-icon i {
    color: #ff6d01;
    font-size: 20px;
}

.transition-content {
    flex: 1;
}

.transition-date {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 4px;
}

.transition-type {
    font-size: 14px;
    color: #ff6d01;
    font-weight: 500;
    margin-bottom: 8px;
}

.transition-description,
.transition-time {
    font-size: 13px;
    opacity: 0.8;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 4px;
}

/* Nearby Cities */
.nearby-cities-section {
    margin: 16px 0;
}

.nearby-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.nearby-city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px 1px rgba(60,64,67,.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nearby-city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    text-decoration: none;
}

.nearby-city-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 109, 1, 0.1);
}

.nearby-city-icon i {
    color: #ff6d01;
    font-size: 16px;
}

.nearby-city-name {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 4px;
}

.nearby-city-distance {
    font-size: 12px;
    opacity: 0.8;
    font-family: 'Google Sans', sans-serif;
}

.nearby-city-distance i {
    color: #ff6d01;
}

/* Country Cities */
.country-cities-section {
    margin: 16px 0;
}

.country-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.country-city-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.country-city-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 109, 1, 0.1);
}

.country-city-icon i {
    color: #ff6d01;
    font-size: 14px;
}

.country-city-name {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.country-city-time {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 8px;
}

.country-city-diff {
    font-size: 12px;
    opacity: 0.8;
    font-family: 'Google Sans', sans-serif;
}

.country-city-diff i {
    color: #ff6d01;
}

/* Formats Section */
.formats-section {
    margin: 16px 0;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.format-card {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 3px 1px rgba(60,64,67,.15);
    transition: all 0.3s ease;
    text-align: center;
}

.format-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.format-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.format-header i {
    color: #ff6d01;
    font-size: 20px;
}

.format-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.format-value {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    background: rgba(255, 109, 1, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 109, 1, 0.2);
}

/* Tools Section */
.tools-section {
    margin: 40px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.tool-content{
    color: #ff6d01;
}
.tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 3px 1px rgba(60,64,67,.15);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    text-decoration: none;
}

.tool-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 109, 1, 0.1);
    flex-shrink: 0;
}

.tool-icon i {
    color: #ff6d01;
    font-size: 20px;
}

.tool-content {
    flex: 1;
}

.tool-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
}

.tool-content p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
    font-family: 'Google Sans', sans-serif;
}

/* All icons use #ff6d01 */
i {
    color: #ff6d01 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-time-card {
        padding: 32px 20px;
    }

    .current-time {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .city-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .time-meta {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .time-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .transitions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nearby-cities-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .country-cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 8px;
    }

    .formats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .current-time {
        font-size: 36px;
    }

    .city-title {
        font-size: 24px;
    }

    .main-time-card {
        padding: 24px 16px;
    }

    .info-card,
    .details-card,
    .format-card,
    .tool-card {
        padding: 16px;
    }

    .country-cities-grid {
        grid-template-columns: 1fr;
    }
}

