:root {
    --bg-dark: #0d0f1a;
    --bg-darker: #08090e;
    --text-light: #e2e8f0;
    --primary: #fbbf24; /* Gold */
    --accent: #3b82f6; /* Blue */
}

/* Core page setup */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Lilita One', cursive;
    background: var(--bg-dark);
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

/* Header --------------------------------------------------------------*/
.page-header {
    text-align: center;
    margin: 2rem 0 1.5rem;
}

.page-header h1 {
    font-size: 3rem;
    margin: 0 0 0.25rem;
    color: var(--primary);
    text-shadow: 3px 3px 0 #000;
}

.page-header h2 {
    font-size: 1.375rem;
    margin: 0;
    color: var(--primary);
    text-shadow: 2px 2px 0 #000;
}

/* Container -----------------------------------------------------------*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

/* Search bar ----------------------------------------------------------*/
.search-bar {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1 1 280px;
    max-width: 400px;
    padding: 0.875rem 1rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 10px;
    background: #2f2f37;
    color: #fff;
}

.search-bar button,
.search-bar .header-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    transition: background 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.search-bar button:hover,
.search-bar .header-btn:hover {
    background: #2563eb;
}

/* Metric buttons ------------------------------------------------------*/
.metric-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.metric-buttons button {
    padding: 0.5rem 1.125rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    transition: background 0.2s ease;
}

.metric-buttons button:hover {
    background: #2563eb;
}

.metric-buttons button.active {
    background: var(--primary);
    color: #222;
}

/* Canvas --------------------------------------------------------------*/
.canvas-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    max-width: 100vw;
}

#profile-image-canvas {
    width: 100%;
    max-width: 1200px; /* Make it much bigger */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
}

/* Loading text */
#image-generator-loading {
    text-align: center;
    font-size: 1.25rem;
    color: var(--primary);
}

/* Controls ------------------------------------------------------------*/
.controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.controls a,
.controls button {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

#download-image-link {
    background: #22c55e;
    color: #fff;
}
#download-image-link:hover {
    background: #16a34a;
}

#copy-image-button {
    background: var(--primary);
    color: #222;
}
#copy-image-button:hover {
    background: #eab308;
}

/* Misc overrides ------------------------------------------------------*/
.notification {
    font-size: 1rem;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .page-header h1 {
        font-size: 2.25rem;
    }

    .canvas-wrapper {
        max-width: 100vw;
    }
    #profile-image-canvas {
        max-width: 100vw;
    }
} 