/* 
==========================================================================
   The Petrovs - Georgi's Pages - Main Stylesheet
==========================================================================
   - Centralized CSS for all pages under /georgi/
   - Implements a dark/light theme framework using CSS variables.
   - Default theme is dark. Enable light theme by adding `data-theme="light"` to the <html> or <body> tag.
==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700&display=swap');

/* 
--------------------------------------------------------------------------
   THEME & COLOR VARIABLES
--------------------------------------------------------------------------
*/

:root {
    /* DEFAULT DARK THEME */
    color-scheme: dark;

    /* Primary accent (from screenshot) and its RGB for rgba overlays */
    --primary: #90CAF9;
    --primary-rgb: 144, 202, 249;

    /* Secondary / supporting accent (from screenshot) */
    --secondary: #9095F9;

    /* Surfaces and background */
    --background: #121212; /* page background */
    --surface: #1E1E1E;    /* elevated surface (cards, headers) */
    --surface-contrast: #232323; /* for borders or subtle depth */

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;

    /* Interactive Element Colors */
    --link-color: var(--primary);
    --button-bg: var(--primary);
    --button-text: #000000;

    /* Overlays for hover/focus states */
    --overlay-hover: 0.04;
    --overlay-focus: 0.12;
    --overlay-pressed: 0.10;

    /* Shadows & Borders */
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.65);
    --shadow-md: 0 6px 18px rgba(0,0,0,0.7);
    --border-color: rgba(255, 255, 255, 0.1);

    /* UI Defaults */
    --radius: 8px;
}

/* NAVBAR / HEADER */
.site-header {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    padding: 18px 20px;
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(6px);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap; /* allow brand and links to wrap on narrow viewports */
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
}

.nav-brand .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.18), rgba(144,202,249,0.08));
    display: inline-block;
    border: 2px solid rgba(var(--primary-rgb),0.12);
}

/* Brand image / logo placeholders */
.brand-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    display: inline-block;
}
.brand-logo {
    width: 36px;
    height: 36px;
    /* border-radius: 8px; */
    background-size: cover;
    background-position: center;
    display: none; /* shown only when .use-logo is enabled on .nav-brand */
    /* border: 2px solid rgba(var(--primary-rgb),0.12); */
}

/* Toggle which brand display is active.
   Default: show the profile image. Add class `use-logo` to `.nav-brand` to show the logo instead. */
.nav-brand .brand-img { display: inline-block; }
.nav-brand.use-logo .brand-img { display: none; }
.nav-brand.use-logo .brand-logo { display: inline-block; }

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex: 1 1 auto; /* allow links to take available space */
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 180ms ease, color 180ms ease, transform 120ms ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background-color: rgba(var(--primary-rgb), 0.06);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    /* On narrow screens allow links to wrap below the brand and center them */
    .nav-links { flex-basis: 100%; justify-content: center; margin-top: 8px; }
}

/* Header elevation/transparent variants */
.site-header--elevated {
    background-color: var(--surface);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

.site-header--transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

[data-theme='light'] {
    /* LIGHT THEME */
    color-scheme: light;

    /* Primary accent */
    --primary: #6200ee;
    --primary-rgb: 98, 0, 238;

    /* Secondary / supporting accent */
    --secondary: #018786;

    /* Surfaces and background */
    --background: #f5f5f5;
    --surface: #ffffff;
    --surface-contrast: #eeeeee;

    /* Text colors */
    --text-primary: #212121;
    --text-secondary: #424242;
    --text-muted: #757575;
    
    /* Interactive Element Colors */
    --link-color: var(--primary);
    --button-bg: var(--primary);
    --button-text: #ffffff;

    /* Overlays for hover/focus states */
    --overlay-hover: 0.04;
    --overlay-focus: 0.12;
    --overlay-pressed: 0.16;
    
    /* Shadows & Borders */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --border-color: #e0e0e0;
}

/* 
--------------------------------------------------------------------------
   GLOBAL & ELEMENT STYLES
--------------------------------------------------------------------------
*/

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

body {
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
p { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 1rem; }
a { color: var(--link-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { text-decoration: underline; }
.project-link, .project-link:hover, .project-link h3, .project-link p { text-decoration: none; }
.portfolio-page-title { text-align: center; }
ul, ol { list-style-position: inside; padding-left: 20px; }
li { margin-bottom: 10px; }

/* 
--------------------------------------------------------------------------
   LAYOUT & CONTAINER STYLES
--------------------------------------------------------------------------
*/

.container {
    width: 100%;
    max-width: 960px; /* Wider default for content pages */
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

/* Specific container for the links page */
.container-links {
    max-width: 680px;
}

header.main-header {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

nav.main-nav a {
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Main content area: full-viewport width by default, background-level
   content centered via an inner `.container`. Add `surface-elev` to
   give it a surface background and pair with `elevation-1/2` as needed. */
main.content-area {
    position: relative;
    left: 50%;
    right: 50%;
    /* compensate for page horizontal padding (body has 20px left/right) */
    margin-left: calc(-50vw + 20px);
    margin-right: calc(-50vw + 20px);
    width: calc(100vw - 40px);
    box-sizing: border-box;
    padding-top: 40px;
    padding-bottom: 40px;
    /* horizontal padding prevents touching viewport edges */
    padding-left: 20px;
    padding-right: 20px;

    /* Default: background-level (no surface or elevation) */
    background-color: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* When a `.container` is placed inside the content area it will be centered */
main.content-area > .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0; /* container handles width only; padding is on the content-area */
}

/* Convenience: surface variant for content area, still allows elevation classes */
main.content-area.surface-elev {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

section {
    margin-bottom: 40px;
}

.footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 40px 20px 20px;
    width: 100%;
}

/* 
--------------------------------------------------------------------------
   COMPONENT STYLES
--------------------------------------------------------------------------
*/

/* General Purpose Button */
.button {
    display: inline-block;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.button:disabled {
    background-color: #bdc3c7; /* Consider theming this */
    cursor: not-allowed;
}


/* Link Button (for Links page) */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 32px;
    background-color: var(--surface);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    border-radius: var(--radius);
    transition: transform 180ms ease, box-shadow 180ms ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.link-button::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(var(--primary-rgb), 0);
    opacity: 1;
    transition: background 160ms ease;
    border-radius: inherit;
}

.link-button:hover::after,
.link-button:focus-visible::after {
    background: rgba(var(--primary-rgb), var(--overlay-focus));
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.link-button:focus-visible {
    outline: none;
    border-color: var(--primary);
}

.link-button:active::after {
    background: rgba(var(--primary-rgb), var(--overlay-pressed));
}

/* Make link buttons lift like project cards for visual consistency */
.link-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

/* Profile section (for Links page) */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.28);
}

/*
--------------------------------------------------------------------------
   LAYOUT UTILITIES: Full-bleed / Full-width content
   Use `.content-fullwidth` or `.full-bleed` on a block to have it span
   the full viewport width while preserving internal padding.
--------------------------------------------------------------------------
*/

.full-bleed,
.content-fullwidth {
    position: relative;
    left: 50%;
    right: 50%;
    /* compensate for page horizontal padding (body has 20px left/right) */
    margin-left: calc(-50vw + 20px);
    margin-right: calc(-50vw + 20px);
    width: calc(100vw - 40px);
    box-sizing: border-box;
    /* keep some horizontal padding so content doesn't touch the viewport edge */
    padding-left: 20px;
    padding-right: 20px;
}

/* A helper that keeps an inner centered container inside a full-bleed block */
.full-bleed > .container,
.content-fullwidth > .container {
    max-width: 1200px; /* override as needed per section */
    margin: 0 auto;
}

/*
--------------------------------------------------------------------------
   ELEVATION UTILITIES
   Two elevation levels that can be combined with any surface element to
   add visual depth. Apply `.elevation-1` or `.elevation-2` to elements.
--------------------------------------------------------------------------
*/

.elevation-0 { box-shadow: none !important; border: 1px solid transparent; }
.elevation-1 {
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.02);
}
.elevation-2 {
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Small helper that pairs surface look with elevation utilities */
.surface-elev {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* Ensure full-bleed elements don't cause horizontal scroll on small screens */
@media (max-width: 480px) {
    .full-bleed, .content-fullwidth { margin-left: -20px; margin-right: -20px; left: 0; right: 0; width: calc(100% + 40px); }
}

.profile-placeholder {
    display: none;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.28);
}

.profile-name {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Portfolio Cards */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* fixed card width, max 3 columns; center the whole row */
    justify-content: center;
    max-width: calc(3 * 260px + 2 * 20px);
    margin: 0 auto;
}

.portfolio-card {
    background-color: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.portfolio-card h3 {
    color: var(--text-primary);
    text-decoration: none;
}
.portfolio-card:hover h3,
.portfolio-card:focus-within h3 {
    text-decoration: none;
    color: var(--primary);
}
.portfolio-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.portfolio-card:hover p {
    text-decoration: none;
}
/* Ensure anchor-wrapped cards don't inherit global `a:hover` styles.
   Only the heading should underline and recolor on hover/focus. */
.portfolio-link,
.portfolio-link * {
    color: inherit;
    text-decoration: none;
}
.portfolio-link:hover,
.portfolio-link:focus {
    color: inherit;
    text-decoration: none;
}
.portfolio-link:hover h3,
.portfolio-link:focus-within h3 {
    /* Only underline and color the title on hover/focus */
    text-decoration: none;
    color: var(--primary);
}
.portfolio-link p {
    color: var(--text-secondary);
}
.portfolio-link:hover p,
.portfolio-link:focus-within p {
    text-decoration: none !important;
    color: var(--text-secondary) !important;
}

/* Also ensure base styles when anchors are nested inside/outside the card */
.portfolio-link h3,
.portfolio-link p,
.portfolio-card h3,
.portfolio-card p {
    text-decoration: none;
    color: var(--text-primary);
}

/* Project page template styles (minimal, reusable) */
.project-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}
.project-title {
    font-size: 3rem;
    margin-bottom: 48px;
    text-align: center;
}
.project-hero {
    text-align: center;
    margin-bottom: 18px;
}
.project-hero img {
    max-width: 100%;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto;
}
.caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.project-section {
    margin-bottom: 28px;
}
.project-media {
    /* Use a responsive grid so we can center the top image and place
       the bottom image and final text side-by-side on wider viewports. */
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    width: 100%;
}
.project-media > * { width: 100%; }
.project-media:has(> :nth-child(4)) > :nth-child(1) { 
    justify-self: center; 
}
.project-media img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
/* .project-media .media-content { } */

@media (min-width: 720px) {
    .project-media { grid-template-columns: 1fr 1fr; }
    /* SCENARIO 1: 4 Items Present (Top Image + Text + Bottom Image + Text) */
    .project-media:has(> :nth-child(4)) > :nth-child(1) { grid-column: 1 / -1; justify-self: center; max-width: 60%; }
    .project-media:has(> :nth-child(4)) > :nth-child(2) { grid-column: 1 / -1; }
    .project-media:has(> :nth-child(4)) > :nth-child(3) { grid-column: 1 / 2; }
    .project-media:has(> :nth-child(4)) > :nth-child(4) { grid-column: 2 / 3; }

    /* SCENARIO 2: 3 Items Present (No Top Image: Text + Bottom Image + Text) */
    .project-media:not(:has(> :nth-child(4))) > :nth-child(1) { grid-column: 1 / -1; }
    .project-media:not(:has(> :nth-child(4))) > :nth-child(2) { grid-column: 1 / 2; }
    .project-media:not(:has(> :nth-child(4))) > :nth-child(3) { grid-column: 2 / 3; }
}

/* Collage for project pages */
.collage {
    --gap: 12px;
    /* Use flex so rows with fewer items are centered individually (like project cards) */
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    align-items: stretch;
    justify-content: center;
    /* Cap to five columns worth of width, center the whole block */
    max-width: calc(5 * 220px + 4 * var(--gap));
    margin: 0 auto;
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px
}

/* Make each collage tile a fixed width so flex rows center correctly */
.collage > a { flex: 0 0 220px; width: 220px; display: block; }

/* Make elevated project sections span full viewport width while keeping inner content centered */
.elevated-section.surface-elev {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: calc(-50vw + 20px);
    margin-right: calc(-50vw + 20px);
    width: calc(100vw - 40px);
    box-sizing: border-box;
    padding: 20px;
    border-radius: var(--radius);
}

/* Lightweight CSS-only lightbox using :target for inline image viewing without JS */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 24px;
}
.lightbox:target { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.lightbox .close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
}

/* Make the first image stand out on larger screens */
@media (min-width: 720px) {
    /* .collage {
        /* keep visual row height behavior for tiles when using flex; set a visual hint */
        /* fallback: nothing required here for flex-based collage */
    /* } */
    .collage > a img { height: 160px; object-fit: cover; }
}

/* Hidden-by-default action buttons for project pages */
.project-actions {
    display: none; /* hidden by default */
    gap: 12px;
    margin-top: 12px;
}
.project-actions.show {
    display: flex;
    align-items: center;
}

@media (max-width: 900px) {
    .project-media { flex-direction: column; }
    .project-media img { max-width: 100%; width: 100%; }
}

@media (min-width: 720px) {
    /* Vertically center the bottom-left image and the final text on the right */
    .project-media > :nth-child(3),
    .project-media > :nth-child(4) {
        align-self: center;
    }
    .project-media > :nth-child(4) { display: flex; align-items: center; }
}
/* 
.cards-section,
.projects-section {
    padding: 40px 0;
}
.cards-section h2,
.projects-section h2 {
    margin-bottom: 18px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.card {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.card h3 {
    margin-bottom: 12px;
} */
.projects-grid, .portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    /* cap width to three columns so rows with fewer items are centered */
    max-width: calc(3 * 260px + 2 * 16px);
    margin: 0 auto;
}

/* Ensure cards are fixed width inside the flex grid so rows center when incomplete.
   Support anchors wrapping the card (`.portfolio-link`) as well as the article-only pattern. */
.projects-grid > .project-card,
.projects-grid > .project-link,
.portfolio-grid > .portfolio-link,
.portfolio-grid > .portfolio-card {
    flex: 0 0 260px;
    width: 260px;
    display: block;
}

@media (max-width: 900px) {
    .projects-grid, .portfolio-grid {
        /* two columns on medium screens */
        max-width: calc(2 * 260px + 1 * 16px);
    }
}

@media (max-width: 640px) {
    .projects-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }
    .nav-links {
        justify-content: center;
        gap: 10px;
    }
}

/* 
--------------------------------------------------------------------------
   UTILITY STYLES (Images, etc.)
--------------------------------------------------------------------------
*/

/* Responsive image */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Centered content */
.align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* 
--------------------------------------------------------------------------
   ANIMATIONS & RESPONSIVE DESIGN
--------------------------------------------------------------------------
*/

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    body { padding: 10px; }
    header.main-header { padding: 20px; }
    h1 { font-size: 2em; }
    main.content-area { padding: 20px; }
    nav.main-nav a { display: inline-block; margin: 5px 10px; }
    .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container-links { max-width: 100%; }
    .profile-image,
    .profile-placeholder { width: 80px; height: 80px; }
    .profile-name { font-size: 1.5rem; }
    .profile-bio { font-size: 0.9375rem; }
    .link-button { padding: 18px 28px; font-size: 0.9375rem; }
}

/* 
--------------------------------------------------------------------------
   PRINT STYLES
--------------------------------------------------------------------------
*/
@media print {
    :root {
        --background: #ffffff;
        --surface: #ffffff;
        --text-primary: #000000;
        --text-secondary: #000000;
        --border-color: #000000;
    }
    body {
        background-color: white;
        color: black;
    }

    .link-button, .project-card, header.main-header, main.content-area {
        border: 2px solid black;
        box-shadow: none;
    }
}

/* 
--------------------------------------------------------------------------
   DEVELOPMENT & PLACEHOLDER STYLES
--------------------------------------------------------------------------
*/
.dev-wrapper {
    max-width: 960px; /* Aligns with .container */
    margin: 36px auto 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    text-align: center;
}

.dev-banner {
    width: 100%;
    padding: 28px 26px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--button-text); /* Usually black or white, good contrast */
    font-weight: 700;
    font-size: 1.5rem; /* Slightly reduced for balance */
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.dev-action {
    display: inline-block;
    text-decoration: none;
    margin-top: 6px;
    padding: 12px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-primary);
    font-weight: 700;
    border: 1px solid var(--border-color);
    transition: background-color 160ms ease;
}

.dev-action:hover {
    background: var(--surface-contrast);
    color: var(--text-primary);
}

.dev-action:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .dev-banner { font-size: 1.2rem; padding: 18px 16px; }
    .dev-action { padding: 10px 18px; }
}
