:root {
    --primary-color: #3498db;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.container {
    max-width: 1000px;
    margin: -50px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    flex: 1;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.card-image {
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

footer {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    position: relative;
}

.cache-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 8px;
    background-color: #e0e0e0;
    color: #555;
    font-size: 0.8rem;
    border-radius: 4px;
    font-family: monospace;
}

.flag-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #dff9fb;
    border: 2px dashed #3498db;
    color: #2c3e50;
    font-family: monospace;
    font-size: 1.2rem;
    word-break: break-all;
}
