:root {
    --primary-color: #4A90E2;
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --card-hover: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
header {
    background-color: var(--light-bg);
    padding: 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: var(--primary-color);
}
header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 10px auto 0;
}
header.hero {
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
}
header.hero h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
}
header.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 1.5rem auto 2.5rem;
    opacity: 0.9;
}
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}
nav .links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}
nav .links a:hover {
    color: var(--primary-color);
}
.intro-text {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #555;
}
.cta-button {
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.cta-button:hover {
    transform: scale(1.05);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.doc-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}
.doc-card h2 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.doc-card p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    flex-grow: 1;
}
.read-more {
    margin-top: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
}
h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
}
h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
}
p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
.image-placeholder {
    background-color: var(--light-bg);
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 3rem 1rem;
    text-align: center;
    color: #888;
    font-weight: bold;
    margin: 1.5rem 0;
    display: block;
}
.pro-tip {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}
.game-block {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.game-block h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}
.header-section {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}
.security-box {
    background-color: #fff1f2;
    border-left: 4px solid #e11d48;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.feature-card h4 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--primary-color);
}
.feature-box {
    background-color: #e9f5ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}
.highlight-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}
#cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default, slides up */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color, #E0E0E0);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    box-sizing: border-box;
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color, #333333);
}
.cookie-content {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}
.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.cookie-content a {
    color: var(--primary-color, #4A90E2);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}
.btn-cookie {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}
.btn-accept {
    background-color: var(--primary-color, #4A90E2);
    color: #ffffff;
}
.btn-accept:hover {
    background-color: #357ABD;
}
.btn-reject {
    background-color: var(--light-bg, #F8F9FA);
    color: #666666;
    border: 1px solid #ccc;
}
.btn-reject:hover {
    background-color: #e2e2e2;
}
/* Responsive layout for wider screens */
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .cookie-buttons {
        width: auto;
        flex-shrink: 0;
    }
}
.img-container {
    margin: 2.5rem 0;
    text-align: center;
}
.img-container img {
    width: 260px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}
.img-row {
    display: flex;
    gap: 1.5rem;
    
    /* This enables the horizontal scroll! */
    overflow-x: auto; 
    
    /* Align items to the left so they don't get cut off when scrolling */
    justify-content: flex-start; 
    
    /* Add padding so the box-shadows don't get clipped by the overflow */
    padding: 1rem 0.5rem; 
}

/* Prevent images inside the scrolling row from shrinking */
.img-row img {
    flex: 0 0 auto; 
}

/* Optional: Make the scrollbar look clean and modern */
.img-row::-webkit-scrollbar {
    height: 8px;
}
.img-row::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.img-row::-webkit-scrollbar-thumb {
    background: #cccccc; 
    border-radius: 4px;
}
.img-row::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa; 
}

.img-caption {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
    font-style: italic;
}

/* On larger desktop screens, center the row if it doesn't need to scroll */
@media (min-width: 900px) {
    .img-row {
        justify-content: center;
    }
}
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}
footer a { 
    color: #555; 
    margin: 0 10px; 
}