/* Kudlio retro palette — matches the iOS app (KudlioPalette.swift) */
:root {
    --bg:             #141412;
    --bg2:            #1f1c14;
    --panel:          #29261a;
    --panel2:         #38301f;
    --border:         #917040;
    --text-primary:   #f2e3c2;
    --text-secondary: #c9a96e;
    --accent:         #e89235;
    --accent-glow:    #fab84a;
    --rust:           #994833;
    --olive:          #3d4029;
}

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

body {
    background: linear-gradient(to bottom, var(--bg), var(--olive), var(--bg2));
    color: var(--text-primary);
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.logo {
    font-size: 48px;
    letter-spacing: 8px;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(232, 146, 53, 0.3);
    margin-bottom: 8px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Panels */
.panel {
    background: var(--panel);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.panel h2 {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.panel p {
    margin-bottom: 12px;
}

.panel p:last-child {
    margin-bottom: 0;
}

/* Friends list */
.friends-list {
    list-style: none;
}

.friends-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--panel2);
}

.friends-list li:last-child {
    border-bottom: none;
}

.friend-name {
    color: var(--accent-glow);
    font-weight: bold;
}

.friend-type {
    color: var(--text-secondary);
}

/* How it works */
.how-it-works {
    list-style: none;
    counter-reset: steps;
}

.how-it-works li {
    counter-increment: steps;
    padding: 8px 0 8px 32px;
    position: relative;
}

.how-it-works li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    width: 24px;
    text-align: center;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

a:hover {
    border-bottom-color: var(--accent);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

footer nav {
    margin-bottom: 12px;
}

.sep {
    color: var(--text-secondary);
    margin: 0 12px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 12px;
}
