/* General Initialization and Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Containers */
.nav-container, .hero, .content-section, .footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

.text-center {
    text-align: center;
}

/* Sticky/Fixed Navbar */
.navbar {
    background-color: #ffffff;
    width: 100%;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}
/* Navigation grouping updates */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px; /* Leaves clean breathing space between Pulsar text and Login */
}

/* New Login Button Styling */
.btn-login {
    color: #666666; /* Clean neutral color */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-login:hover {
    color: #000000; /* Darkens naturally on hover */
}
/* Button Configurations */
.btn-small {
    background-color: #3b4e1d; /* Your deep green color caught from screenshots */
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.btn-small:hover {
    background-color: #2c3b15;
}

.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}
.btn-large {
    display: inline-block;
    background-color: #e5ecd1; /* Light green tint matching background design */
    color: #2b3a16;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}
.btn-large:hover {
    opacity: 0.9;
}

/* Hero Section Formatting */
.hero {
    text-align: center;
    padding: 60px 40px 40px 40px;
}
.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 50px;
}
.hero-logo {
    max-width: 180px;
    height: auto;
}

/* Taglines & Headers */
.tagline {
    font-size: 0.8rem;
    color: #7b8e5c;
    font-weight: 500;
    margin-bottom: 12px;
}
.section-heading {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
}

/* Features Grid Splitters */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
}
.feature-card {
    background: #ffffff;
    text-align: left;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    color: #000000;
}
.feature-card p {
    font-size: 0.9rem;
    color: #8c8c8c;
}
.icon-wrapper {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Specs Text Adjustment */
.specs-text {
    font-size: 1rem;
    color: #8c8c8c;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Grid & Subtle Shadows */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eaeaea;
    margin-top: 40px;
    background-color: #ffffff;
}

.pricing-column {
    background: #ffffff;
    padding: 0 20px;
    border-right: 1px solid #f0f0f0;
}
.pricing-column:last-child {
    border-right: none;
}

/* Ultimate Card Highlight Box Shadow */
.ultimate-card {
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    /* Clean subtle shadow element from the comparisons design */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.04), 0px 1px 3px rgba(0, 0, 0, 0.02);
    padding: 20px;
    margin: -20px 0; /* Brings the card outwards visually */
    z-index: 2;
}

.column-header {
    padding: 20px 0;
    text-align: center;
}
.tier-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Colors extracted from comparison images */
.color-ultimate { color: #ff3b30; }
.color-standard { color: #666666; }
.color-premium { color: #c4b039; }

/* Grid List Layouts */
.features-list {
    list-style: none;
    margin-top: 10px;
}
.features-list li {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    padding: 16px 12px;
    border-top: 1px solid #f7f7f7;
    display: flex;
    align-items: center;
}
.features-list li .check {
    color: #000000;
    font-weight: bold;
    margin-right: 10px;
}
.features-list li .cross {
    color: #b3b3b3;
    margin-right: 10px;
}

/* Footer Element Links */
.footer {
    border-top: 1px solid #f5f5f5;
    margin-top: 100px;
    font-size: 0.85rem;
    color: #7a8d5c; /* Sage green typography color */
    font-weight: 500;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Responsive Scaling Breakpoints */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .pricing-table { grid-template-columns: 1fr; gap: 40px; }
    .pricing-column { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 20px 0; }
    .ultimate-card { margin: 0; }
    .hero-title { font-size: 3.5rem; }
}
/* ==========================================================================
   AUTH / LOGIN PAGE SPECIFIC STYLES 
   ========================================================================== */

/* Fullscreen flex wrapper targeting only the login file */
.auth-body {
    background-color: #fafafa; /* Subtle off-white matte background */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* The sleek floating authorization card container */
.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px; /* Constrains it perfectly so it never looks oversized */
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    /* Soft premium depth shadow */
    box-shadow: 0px 14px 40px rgba(0, 0, 0, 0.03), 0px 2px 4px rgba(0, 0, 0, 0.01);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: #000000;
}

.auth-header p {
    font-size: 0.85rem;
    color: #8c8c8c;
    line-height: 1.4;
}

/* Interactive Input Box Configurations */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-wrapper-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #f9f9f9;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    color: #000000;
    transition: all 0.2s ease;
}

/* Smooth active state borders */
.auth-form input[type="password"]:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #3b4e1d; /* Matches your landing page green accent brand color */
    box-shadow: 0 0 0 3px rgba(59, 78, 29, 0.08);
}

/* Premium styled submit button replacing the giant rectangle block */
.btn-auth-submit {
    width: 100%;
    background-color: #3b4e1d; /* Elegant Pulsar green */
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    text-align: center;
}

.btn-auth-submit:hover {
    background-color: #2c3b15;
}

.btn-auth-submit:active {
    transform: scale(0.99); /* Gives tactile button press response */
}

/* Bottom help subtext */
.auth-footer-note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    text-align: center;
}

.auth-footer-note p {
    font-size: 0.75rem;
    color: #b3b3b3;
    line-height: 1.5;
}

/* Mobile responsive fixes */
@media (max-width: 480px) {
    .auth-card {
        padding: 25px 20px;
    }
}
/* ==========================================================================
   PULSE CRIMSON SLATE COMPLETE SYSTEM DESIGN
   ========================================================================== */

.dash-body {
    /* Rich obsidian base background with a very subtle, deep crimson ambient glow at the bottom right */
    background: radial-gradient(circle at 85% 90%, #1e0909 0%, #0a0b0d 65%);
    background-color: #0a0b0d;
    color: #f5f6f8;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Styling Section */
.dash-sidebar {
    width: 260px;
    background-color: #101216;
    border-right: 1px solid rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    z-index: 10;
}

.logo-text-dash {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #ffffff, #ff3b30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-menu {
    margin-top: 40px;
    flex: 1;
}

.menu-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    margin-top: 25px;
    font-weight: 600;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.menu-item:hover, .menu-item:target {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.02);
}

/* Master Panel Container View Switching Handlers */
.dash-content-wrapper {
    margin-left: 260px;
    flex: 1;
    position: relative;
}

.dash-view-panel {
    display: none; 
    padding: 50px;
}

.dash-view-panel:first-child { display: block; }
#dashboard:target { display: block; }
#games:target { display: block; }

#dashboard:target ~ #games { display: none; }
#games:target ~ #dashboard { display: none; }

/* IDEA 3: SPLIT CONTENT HEADER SYSTEM */
.content-header-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.welcome-text {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 8px;
}

.highlight-rank {
    color: #ff3b30;
    text-shadow: 0 0 25px rgba(255, 59, 48, 0.3);
}

.sub-welcome {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

/* Top-Right Profile Node Container styles */
.header-profile-node {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 30px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot-green {
    width: 7px;
    height: 7px;
    background-color: #4cd964;
    border-radius: 50%;
    box-shadow: 0 0 8px #4cd964;
}

.status-tag-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.avatar-placeholder {
    width: 28px;
    height: 28px;
    background-color: #ff3b30;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dynamic Performance Matrix Grid Counters */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #101216;
    border: 1px solid rgba(255, 255, 255, 0.01);
    padding: 24px;
    border-radius: 12px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.stat-badge {
    font-size: 0.7rem;
    background-color: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.stat-badge.success {
    background-color: rgba(76, 217, 100, 0.1);
    color: #4cd964;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* IDEA 1: DUAL CHANNEL WORKSPACE CONFIGURATION LAYOUT */
.dashboard-workspace-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr; /* 60% Left, 40% Right asymmetric layout split */
    gap: 24px;
}

.config-card {
    background-color: #101216;
    border-radius: 14px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.01);
}

.config-card h3, .meta-status-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.config-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
}

.config-form {
    display: flex;
    gap: 15px;
}

.input-wrapper-dash {
    flex: 1;
}

.dash-input {
    width: 100%;
    background-color: #161920;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dash-input:focus {
    outline: none;
    border-color: #ff3b30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.12);
}

.btn-dash-action {
    background-color: #ff3b30;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-dash-action:hover {
    background-color: #d62f27;
}

/* Right Status Profile Metadata Card Layout elements */
.meta-status-card {
    background-color: #101216;
    border-radius: 14px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 12px;
}

.meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-label {
    color: rgba(255, 255, 255, 0.35);
}

.meta-value {
    font-weight: 600;
    color: #ffffff;
}

.tier-gradient {
    color: #ff3b30;
    text-shadow: 0 0 15px rgba(255, 59, 48, 0.2);
}

.status-active {
    color: #4cd964;
}

/* ==========================================================================
   GAMES BACKEND SHIELD VIEW SHELLS
   ========================================================================== */
.games-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.btn-refresh-panel {
    background-color: #161920;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.btn-refresh-panel:hover {
    background-color: #1c2029;
    color: #ffffff;
}

.search-toolbar-container { margin-bottom: 30px; }
.search-input-wrapper { position: relative; width: 100%; }
.search-icon-glass { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 0.95rem; opacity: 0.4; }

.games-search-bar {
    width: 100%;
    background-color: #101216;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 14px 16px 14px 46px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.games-search-bar:focus { outline: none; border-color: #ff3b30; }

.empty-games-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    background-color: #101216;
    border: 1px dashed rgba(255, 255, 255, 0.04);
    border-radius: 14px;
}

.empty-illustration { font-size: 3.5rem; margin-bottom: 20px; opacity: 0.3; }
.empty-games-placeholder h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.empty-games-placeholder p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.4); max-width: 440px; }
.system-status { font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); font-weight: 500; }

/* Desktop Scaling Rules overrides */
@media (max-width: 1150px) {
    .dashboard-workspace-grid { grid-template-columns: 1fr; }
}
