@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --bg-color: #f4f6f8;
    --primary-color: #0f2c5c;
    --primary-hover: #0a2046;
    --accent-color: #00a3e0;
    --text-color: #333333;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

/* Container */
.main-container {
    width: 100%;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
}

/* Header */
.site-header {
    text-align: center;
    margin-bottom: 2rem;
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0 6px;
    border-radius: 4px;
    margin-right: 4px;
}

/* Hero / Jumbotron Replacement */
.card-hero {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.card-hero p {
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.hero-link {
    color: white;
    background-color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
    display: inline-block;
}

.hero-link:hover {
    background-color: var(--primary-hover);
}

/* OS Logos */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.logo-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.logo-item img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.card-stat {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.2s;
}

.card-stat:hover {
    box-shadow: var(--shadow-md);
}

.card-stat h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.card-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Enter Button Card */
.card-cta {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 20px -3px rgba(0,0,0,0.15);
    background-color: var(--primary-hover);
}

.card-cta h2 {
    font-size: 1.8rem;
    margin: 0;
    margin-bottom: 0.5rem;
}

.card-cta p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-muted);
}
