/**
 * CS-HOSTING - Counter-Strike 1.6 Modern Gaming & Server Sales Stylesheet
 * Integrated with OrtamCS branding and live interactive control panel
 */

:root {
    --bg-darker: #080b10;
    --bg-dark: #0f1521;
    --bg-card: #151e2e;
    --bg-card-hover: #1c273c;
    --bg-glass: rgba(21, 30, 46, 0.85);
    
    --cs-gold: #e5a93c;
    --cs-gold-hover: #f5bc56;
    --cs-gold-glow: rgba(229, 169, 60, 0.35);
    
    --cs-orange: #ff7700;
    --cs-cyan: #00d2ff;
    --cs-cyan-glow: rgba(0, 210, 255, 0.35);
    
    --cs-green: #00e676;
    --cs-red: #ff3d00;
    
    --text-main: #f0f4f8;
    --text-muted: #8e9cb2;
    --text-dim: #5c687a;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(229, 169, 60, 0.4);
    
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --font-heading: 'Rajdhani', 'Segoe UI', sans-serif;
    --font-mono: 'Consolas', 'Courier New', monospace;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px var(--cs-gold-glow);
    --shadow-cyan: 0 0 25px var(--cs-cyan-glow);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(229, 169, 60, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom, #080b10 0%, #0c111a 100%);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Ticker Bar */
.announcement-bar {
    background: linear-gradient(90deg, #182030, #221a12, #182030);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    padding: 8px 0;
    color: #e2e8f0;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ticker-left {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-badge {
    background: var(--cs-orange);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ticker-text {
    color: #cbd5e1;
}

.ticker-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.ticker-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
}
.ticker-link:hover {
    color: var(--cs-gold);
}

/* Navbar */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: #fff;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--cs-gold-glow));
    border-radius: 8px;
}

.brand-title {
    background: linear-gradient(135deg, #fff 40%, var(--cs-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--cs-gold-glow);
}

.brand-title span {
    color: var(--cs-cyan);
    -webkit-text-fill-color: var(--cs-cyan);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(229, 169, 60, 0.12);
    border: 1px solid rgba(229, 169, 60, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-orange) 100%);
    color: #000;
    border-color: #f7a827;
    box-shadow: 0 4px 15px var(--cs-gold-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--cs-gold-hover) 0%, #ff8c1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.5);
    color: #000;
}

.btn-cyan {
    background: linear-gradient(135deg, #00d2ff 0%, #0088cc 100%);
    color: #000;
    border-color: #00e5ff;
    box-shadow: 0 4px 15px var(--cs-cyan-glow);
}
.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-color: var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-connect {
    background: #00c853;
    color: #000;
    font-weight: 800;
}
.btn-connect:hover {
    background: #00e676;
    color: #000;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 20%, rgba(229, 169, 60, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 169, 60, 0.15);
    border: 1px solid rgba(229, 169, 60, 0.4);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--cs-gold);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title span.glow-gold {
    color: var(--cs-gold);
    text-shadow: 0 0 25px var(--cs-gold-glow);
}

.hero-title span.glow-cyan {
    color: var(--cs-cyan);
    text-shadow: 0 0 25px var(--cs-cyan-glow);
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 30px;
    max-width: 540px;
}

.hero-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 35px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-feat-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.15);
    color: var(--cs-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Featured Server Widget (Right Column Hero) */
.featured-server-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.featured-server-widget:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
}

.widget-map-preview {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #0b0e14;
}

.widget-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-server-widget:hover .widget-map-img {
    transform: scale(1.05);
}

.widget-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 30, 46, 1) 0%, rgba(21, 30, 46, 0.4) 50%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.widget-map-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--cs-green);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cs-green);
    box-shadow: 0 0 8px var(--cs-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.map-name-pill {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(229, 169, 60, 0.3);
    color: var(--cs-gold);
    font-weight: 700;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.widget-server-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.widget-body {
    padding: 20px;
}

.widget-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.widget-stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.stat-val.gold { color: var(--cs-gold); }
.stat-val.green { color: var(--cs-green); }
.stat-val.cyan { color: var(--cs-cyan); }

/* Progress bar */
.player-bar-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-full);
    height: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid var(--border-color);
}

.player-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cs-green), var(--cs-gold));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.widget-ip-row {
    background: #090d14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.ip-text {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--cs-gold);
    font-size: 14px;
    user-select: all;
}

.widget-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Section Common */
.section {
    padding: 70px 0;
}

.section-darker {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--cs-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-highlight);
    box-shadow: 0 15px 35px var(--cs-gold-glow);
}

.package-card.featured {
    border-color: var(--cs-gold);
    background: linear-gradient(180deg, rgba(229, 169, 60, 0.08) 0%, var(--bg-card) 100%);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--cs-gold), var(--cs-orange));
    color: #000;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px var(--cs-gold-glow);
}

.pkg-header {
    margin-bottom: 20px;
}

.pkg-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.pkg-tagline {
    font-size: 13px;
    color: var(--text-muted);
    min-height: 40px;
}

.pkg-price-wrap {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.pkg-price {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    color: var(--cs-gold);
    line-height: 1;
}

.pkg-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.pkg-fps-badge {
    display: inline-block;
    background: rgba(0, 230, 118, 0.15);
    color: var(--cs-green);
    font-weight: 700;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-top: 8px;
}

.pkg-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pkg-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.pkg-feat-icon {
    color: var(--cs-gold);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

/* LGSL Server Table */
.lgsl-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.lgsl-filter-bar {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(229, 169, 60, 0.2);
    border-color: var(--cs-gold);
    color: #fff;
}

.server-search-box {
    position: relative;
    min-width: 240px;
}

.server-search-input {
    width: 100%;
    background: #090d14;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.server-search-input:focus {
    border-color: var(--cs-gold);
}

.lgsl-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.lgsl-table th {
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.lgsl-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    vertical-align: middle;
}

.lgsl-row {
    transition: background-color 0.2s ease;
}

.lgsl-row:hover {
    background-color: var(--bg-card-hover);
}

.server-cell-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.server-map-thumb {
    width: 75px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    background-color: #0b0e14;
}

.server-meta-name {
    font-weight: 700;
    color: #fff;
    font-size: 14.5px;
    margin-bottom: 3px;
}

.server-meta-ip {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cs-gold);
}

.mod-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 210, 255, 0.15);
    color: var(--cs-cyan);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.map-pill {
    font-family: var(--font-mono);
    font-size: 13px;
    color: #cbd5e1;
}

.player-count-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
}

.player-numbers {
    font-weight: 700;
    color: #fff;
    font-size: 13px;
}

.ping-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cs-green);
}

.server-action-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--cs-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-cyan);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--cs-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.feature-box-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.feature-box-desc {
    color: var(--text-muted);
    font-size: 14px;
}

/* Real Interactive Web Control Panel UI Mockup */
.live-panel-mockup {
    background: #090d14;
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    overflow: hidden;
}

.panel-mockup-header {
    background: #0f1624;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.panel-mockup-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-mockup-brand span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}

.panel-mockup-tabs {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.panel-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.panel-tab-btn:hover, .panel-tab-btn.active {
    background: rgba(229, 169, 60, 0.2);
    color: var(--cs-gold);
}

.panel-mockup-body {
    padding: 20px;
}

.panel-tab-content {
    display: none;
}

.panel-tab-content.active {
    display: block;
}

/* Console Terminal in Mockup */
.mockup-console-window {
    background: #05080c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12.5px;
    padding: 14px;
    height: 220px;
    overflow-y: auto;
    color: #a0aec0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.console-line-time { color: #64748b; }
.console-line-info { color: var(--cs-cyan); }
.console-line-success { color: var(--cs-green); }
.console-line-warn { color: var(--cs-gold); }
.console-line-user { color: #fff; font-weight: 700; }

.mockup-console-input-row {
    display: flex;
    gap: 8px;
}

.mockup-console-input {
    flex: 1;
    background: #05080c;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    outline: none;
}
.mockup-console-input:focus {
    border-color: var(--cs-gold);
}

/* Plugin switches in Mockup */
.mockup-plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.mockup-plugin-card {
    background: #0c121e;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-toggle-btn {
    background: rgba(0, 230, 118, 0.2);
    border: 1px solid var(--cs-green);
    color: var(--cs-green);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mockup-toggle-btn.off {
    background: rgba(255, 61, 0, 0.2);
    border-color: var(--cs-red);
    color: var(--cs-red);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
}
.modal-close:hover { color: #fff; }

.modal-body {
    padding: 20px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: #090d14;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--cs-gold);
}

/* Toast Notification */
.toast-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--cs-gold);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), var(--shadow-glow);
    z-index: 9999;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    background: #06090e;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 13.5px;
}
.footer-link:hover {
    color: var(--cs-gold);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .panel-showcase { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-features-list { grid-template-columns: 1fr; }
    .lgsl-table th:nth-child(3), .lgsl-table td:nth-child(3),
    .lgsl-table th:nth-child(5), .lgsl-table td:nth-child(5) {
        display: none;
    }
}
