/* Universal Reset & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
    background-color: #ffffff; /* Clean White Background */
    color: #333333;
    line-height: 1.8;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
a { text-decoration: none; color: #b91c1c; font-weight: 600; transition: color 0.3s ease; }
a:hover { color: #7f1d1d; text-decoration: underline; }

/* Images */
img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 25px auto; 
    border-radius: 12px; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); 
    border: 1px solid #f1f5f9;
}
.brand-img { height: 50px; width: auto; margin: 0; box-shadow: none; border-radius: 0; border: none; }

/* Header Styling */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 5%;
    border-bottom: 2px solid #fee2e2;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.header-auth { display: flex; gap: 15px; }
.btn-red-header {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff !important;
    padding: 10px 25px;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.2);
    letter-spacing: 0.5px;
}
.btn-red-header:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(185, 28, 28, 0.3); text-decoration: none; }

/* Main Container */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 50px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f8fafc;
}

/* Typography & Headings */
h1, h2, h3, h4 { color: #1e293b; margin-bottom: 20px; margin-top: 40px; line-height: 1.3; font-weight: 800; }
h1 { font-size: 2.8rem; text-align: center; color: #b91c1c; border-bottom: 2px solid #fecaca; padding-bottom: 15px; margin-bottom: 30px;}
h2 { font-size: 2.1rem; border-left: 6px solid #ef4444; padding-left: 18px; }
h3 { font-size: 1.5rem; color: #7f1d1d; }
p { margin-bottom: 22px; font-size: 1.15rem; color: #475569; text-align: justify; }
ul, ol { margin-left: 25px; margin-bottom: 25px; color: #475569; font-size: 1.15rem; }
li { margin-bottom: 12px; }

/* Custom Highlighting for specific games */
.game-highlight {
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}
.game-highlight h3 { margin-top: 0; color: #b91c1c; }

/* Buttons */
.btn {
    display: block;
    width: fit-content;
    margin: 35px auto;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    color: #fff !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-red { background: linear-gradient(135deg, #ef4444, #991b1b); box-shadow: 0 6px 15px rgba(153, 27, 27, 0.3); }
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(153, 27, 27, 0.4); text-decoration: none; }
.btn-telegram { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 6px 15px rgba(29, 78, 216, 0.3); }
.btn-telegram:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.4); text-decoration: none;}

/* Footer */
.bottom-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 50px 20px;
    margin-top: 60px;
    border-top: 5px solid #b91c1c;
}
.footer-links { margin-top: 25px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.footer-links a { color: #f87171; font-weight: 600; font-size: 1.1rem; }
.footer-links a:hover { color: #ffffff; }

/* Mobile Optimizations */
@media (max-width: 768px) {
    .top-header { flex-direction: column; gap: 15px; padding: 15px; }
    .header-auth { width: 100%; justify-content: center; flex-wrap: wrap; gap: 10px; }
    .btn-red-header { padding: 10px 15px; font-size: 1rem; width: 100%; text-align: center;}
    .container { padding: 25px 15px; margin: 15px; border-radius: 12px; }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.6rem; padding-left: 12px; }
    p, ul, ol { font-size: 1.05rem; text-align: left; }
    .btn { width: 100%; padding: 16px; font-size: 1.1rem; }
    img { margin: 15px auto; }
}
