:root {
    --bg-main: #0a0a0c;
    --bg-card: #151518;
    --bg-code: #1e1e24;
    --text-main: #e2e2e2;
    --text-muted: #a0a0a0;
    --accent: #d35400; /* Conan Exiles style orange/rust */
    --accent-hover: #e67e22;
    --code-comment: #6a9955;
    --code-section: #c586c0;
    --code-key: #9cdcfe;
    --code-value: #ce9178;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Subtle background pattern */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg'); /* Change to your actual file name */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 60px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;    
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.subtitle {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.card {
    background-color: rgba(21, 21, 24, 0.45); /* Nearly opaque dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(211, 84, 0, 0.3);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Code Section */
.code-section {
    background-color: rgba(21, 21, 24, 0.85); /* Nearly opaque dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.code-header h2 {
    color: #fff;
}

button {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: var(--accent-hover);
}

/* Mac-like terminal window */
.code-window {
    background-color: var(--bg-code);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.window-controls {
    background-color: #2d2d30;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.window-controls span:nth-child(1) { background-color: #ff5f56; }
.window-controls span:nth-child(2) { background-color: #ffbd2e; }
.window-controls span:nth-child(3) { background-color: #27c93f; }

pre {
    padding: 20px;
    overflow-x: auto;
}

code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

/* Syntax Highlighting Classes applied by JS */
.ini-comment { color: var(--code-comment); }
.ini-section { color: var(--code-section); font-weight: bold; }
.ini-key { color: var(--code-key); }
.ini-value { color: var(--code-value); }

#toggle-ui-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: rgba(21, 21, 24, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(211, 84, 0, 0.5);
}

.ui-hidden {
    display: none !important;
}