/* Custom Styles */
:root {
    --primary-bg: #1a1b1f;
    --secondary-bg: #25262b;
    --accent-green: #00c853;
    --accent-green-hover: #00e676;
    --text-gray: #a1a1aa;
    --glow-color: rgba(0, 200, 83, 0.5);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: white;
    overflow-x: hidden;
}

.logo-box {
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 2px 8px;
    font-weight: 800;
    color: #fff;
    display: inline-block;
    background: #000;
    font-family: serif;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-link {
    color: #fff;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-link:hover {
    color: var(--accent-green);
}

.nav-btn-green {
    background-color: var(--accent-green);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.nav-btn-green:hover {
    background-color: var(--accent-green-hover);
}

.header-btn {
    background-color: var(--accent-green);
    color: white;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px var(--glow-color);
    transition: transform 0.2s, box-shadow 0.2s;
}
.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.7);
}

.hero-section {
    background-color: var(--secondary-bg);
    background: linear-gradient(180deg, #1a1b1f 0%, #25262b 100%); 
}

.hero-login-btn {
    background: linear-gradient(90deg, #00c853 0%, #00e676 100%);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.4);
    display: inline-block;
    margin-top: 20px;
}

.game-card {
    background: transparent;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    height: 280px;
    min-height: 280px;
}
.game-card:hover {
    transform: scale(1.05);
}
.game-card img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.game-card:hover img {
    transform: scale(1.05);
}
.play-btn {
    background-color: var(--accent-green);
    color: white;
    width: 100%;
    padding: 10px 0;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.play-btn:hover {
    background-color: var(--accent-green-hover);
}

/* FAQ Accordion Styles */
details > summary {
    list-style: none;
    cursor: pointer;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* SEO Content Styles - Automatic styling through selectors */
main > section:last-of-type > div > p:first-of-type {
    margin-bottom: 2.5rem;
    text-align: center;
    font-style: italic;
    color: var(--text-gray);
    font-size: 1rem;
}

/* Article styles */
article {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 3rem;
}

article h2 {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

article h3 {
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

article p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

article strong {
    font-weight: 600;
    color: white;
}

/* Images in article */
article img {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 0.5rem;
    display: block;
    max-width: 100%;
}

/* Lists */
article ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

article ol {
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

article ul li,
article ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

article ul li strong,
article ol li strong {
    font-weight: 600;
}

/* Tables */
article > div {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

article table {
    border: 1px solid #374151;
    border-radius: 0.5rem;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #374151;
    background-color: var(--secondary-bg);
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

article table thead tr {
    background-color: var(--primary-bg);
}

article table thead tr th {
    border: 1px solid #374151;
    padding: 0.75rem 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
}

article table tbody tr {
    background-color: var(--secondary-bg);
}

article table tbody tr:nth-child(even) {
    background-color: var(--primary-bg);
}

article table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

article table tbody tr td {
    border: 1px solid #374151;
    padding: 0.75rem 1rem;
    color: #d1d5db;
}

/* FAQ Section */
aside#faq {
    font-size: 1rem;
    color: #d1d5db;
}

aside#faq h2 {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

aside#faq details {
    margin-bottom: 1rem;
    background-color: var(--secondary-bg);
    border-radius: 0.5rem;
    overflow: hidden;
}

aside#faq details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    padding: 1rem;
    color: white;
    transition: color 0.3s;
}

aside#faq details summary:hover {
    color: var(--accent-green);
}

aside#faq details summary::-webkit-details-marker {
    display: none;
}

aside#faq details summary span:last-child {
    transition: transform 0.3s;
}

aside#faq details[open] summary span:last-child {
    transform: rotate(180deg);
}

aside#faq details[open] summary ~ * {
    animation: fadeIn 0.3s ease-in-out;
}

aside#faq details > div {
    color: var(--text-gray);
    padding: 1rem;
    padding-top: 0;
    border-top: 1px solid #374151;
    margin-top: 0.5rem;
}

aside#faq details > div strong {
    font-weight: 600;
    color: white;
}

.footer {
    background-color: #121212;
    border-top: 2px solid #d32f2f;
}
.footer-red-line {
    height: 2px;
    background-color: #d32f2f;
    width: 100%;
    margin: 20px 0;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1b1f; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::selection { background: var(--accent-green); color: white; }
