/* Core Document Styling Reset with Blur Background Effect */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
    min-height: 100vh;
    background-color: #17181c; /* Backup dark color while image loads */

    /* 1. Points to your exact file name and extension with connected text formatting */
    background-image: linear-gradient(rgba(23, 24, 28, 0.85), rgba(23, 24, 28, 0.85)), url('bg.png');

    /* 2. Keeps the image centered and locking to the screen size */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Professional Top Header Navigation Menu Layout */
.portal-nav {
    background-color: #111113;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    border-bottom: 1px solid #25262b;
}

.portal-nav .logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 2px;
}

.portal-nav .nav-links a {
    color: #bcbcc2;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
    transition: color 0.2s;
}

.portal-nav .nav-links a:hover {
    color: #ffffff;
}

/* Main Screen Hero Layout Alignment */
.hero-container {
    text-align: center;
    max-width: 1000px;
    margin: 80px auto 0 auto;
    padding: 20px;
}

.hero-title {
    font-size: 32px;
    font-weight: bold;
    color: #e2e2e8;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* Buttons Alignment Structures */
.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Base button properties */
.btn {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 35px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

/* Transparent outline layout buttons */
.btn-outline {
    border: 2px solid #4a4b50;
    background-color: #111113;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #25262b;
    border-color: #62636a;
}

/* Filled Gold Accent Layout Button */
.btn-filled {
    background-color: #a47e3c; /* Official layout gold hue */
    color: #ffffff;
    border: none;
    padding: 14px 50px;
}

.btn-filled:hover {
    background-color: #bd934a;
}
/* SEO Content Section Styling */
.seo-content-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    background-color: #1e2026; /* Dark slate background box */
    border-radius: 10px;
    border: 1px solid #2b2d35;
    line-height: 1.6;
}

.seo-content-section h2 {
    color: #d4af37; /* Accent Gold */
    font-size: 24px;
    margin-bottom: 15px;
}

.seo-content-section h3 {
    color: #e2e2e8;
    font-size: 18px;
    margin-top: 25px;
}

.seo-content-section p {
    color: #bcbcc2;
    font-size: 15px;
}

.seo-content-section ul {
    color: #bcbcc2;
    padding-left: 20px;
    font-size: 15px;
}

.seo-content-section li {
    margin-bottom: 10px;
}

/* Compliance Disclaimer Footer Layout */
.compliance-footer {
    background-color: #111113;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #25262b;
    margin-top: 80px;
}

.age-badge {
    display: inline-block;
    background-color: #d32f2f; /* Alert red */
    color: white;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
}

.compliance-footer p {
    color: #62636a;
    font-size: 13px;
    max-width: 700px;
    margin: 5px auto;
}
/* Custom Header Navbar Logo Properties Scaling */
.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;        /* Fixes the height line neatly inside your header bar */
    width: auto;         /* Automatically scales the width proportionally */
    max-width: 160px;    /* Safeguards wide banner logos from expanding excessively */
    object-fit: contain; /* Ensures the graphic never gets squished or warped */
}
/* Custom Sizing for Your Premium Square Logo Asset */
.main-portal-logo {
    width: 180px;            /* Controls the visual size of the logo */
    height: 180px;
    border-radius: 16px;     /* Smooths out the corners beautifully */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); /* Adds a deep premium shadow underneath */
    margin-bottom: 25px;     /* Separates the logo from your text title */
    object-fit: cover;
    display: inline-block;
}
/* Styling for Referral Invitation Code Notification Banner */
.promo-code-box {
    background-color: #22242a;
    border: 2px dashed #d4af37; /* Gold accent borders */
    padding: 15px;
    max-width: 520px;
    margin: 0 auto 30px auto;
    border-radius: 8px;
    text-align: center;
}

.promo-code-box p {
    margin: 0;
    color: #e2e2e8;
    font-size: 15px;
}

.highlight-code {
    color: #000000;
    background-color: #d4af37; /* Gold highlight block */
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 18px;
    margin-left: 5px;
    letter-spacing: 1px;
    display: inline-block;
}
/* Container to force the two boxes side-by-side or stacked on mobile */
.telegram-channels-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 750px;
    margin: 40px auto;
    padding: 0 15px;
}

/* Individual Channel Panels Layout */
.tg-box {
    background-color: #1a1b1f;
    border: 1px solid #2d3037;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tg-box p {
    color: #bcbcc2;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0 20px 0;
}

/* Small Identification Labels */
.channel-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    align-self: center;
}

.channel-badge.game-theme {
    background-color: #1c3644;
    color: #229ed9;
}

.channel-badge.agent-theme {
    background-color: #3b321c;
    color: #d4af37;
}

/* Dual Color Theme Buttons Layout */
.btn-tg {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 25px;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-tg:active {
    transform: scale(0.98);
}

/* Player Button - Telegram Blue */
.btn-tg.blue-theme {
    background-color: #229ed9;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(34, 158, 217, 0.2);
}

.btn-tg.blue-theme:hover {
    background-color: #1d8ec4;
}

/* Agent Button - Premium Matte Gold */
.btn-tg.gold-theme {
    background-color: #d4af37;
    color: #000000;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.btn-tg.gold-theme:hover {
    background-color: #b5942b;
}
/* Clean Grid Design for App Details Table */
.details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    background-color: #111113; /* Matches deep dark scheme layouts */
}

.details-table td {
    padding: 12px 15px;
    border: 1px solid #2d3037; /* Clean, subtle border grid lines */
    color: #bcbcc2;
}

/* Make left columns slightly brighter for visual layout anchor */
.details-table tr td:first-child {
    color: #e2e2e8;
    width: 40%;
}

/* Optional: Adds a subtle background highlight to alternating rows */
.details-table tr:nth-child(even) {
    background-color: #17181c;
}
/* FAQs Block Layout Styling */
.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 30px;
    line-height: 1.6;
}

.faq-section h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: bold;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.faq-item p {
    color: #bcbcc2;
    font-size: 15px;
    margin-top: 0;
}
/* Center all main text section headings and tables */
.seo-content-section h2, .seo-content-section h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Center the app details table block on the screen */
.details-table {
    margin: 25px auto !important; /* Forces the table block to center horizontally */
    max-width: 600px;             /* Keeps the table width crisp and perfectly readable */
}

/* Optional: Centers the text values inside the table cells themselves */
.details-table td {
    text-align: center;
}
/* Styling for Footer Legal Policy Links Row */
.footer-policy-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    flex-wrap: wrap; /* Automatically wraps links neatly on mobile phone screen layouts */
}

.footer-policy-links a {
    color: #3a86ff; /* Clean light blue link color matching your screenshot sample */
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: color 0.2s, text-decoration 0.2s;
}

.footer-policy-links a:hover {
    color: #d4af37; /* Changes to a nice gold accent color when hovering your mouse */
    text-decoration: underline;
}

.copyright-text {
    margin-top: 15px !important;
    opacity: 0.6;
}