/* assets/css/ocp-style.css */

:root {
    --bg: #05060a;
    --bg-alt: #111320;
    --card-bg: #141826;
    --text: #f5f5f5;
    --muted: #b3b8c4;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --gold-dark: #A07830;
    --danger: #ff4d4f;
    --success: #4caf50;
    --accent: #4c6fff;
    --radius-lg: 14px;
    --radius-md: 10px;
    --transition-fast: 0.2s ease-out;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.04);
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

.site-header {
    background: #ffffff !important;
}


/* Header background white and layout */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* adjust or remove */
}

/* Ensure content under header still sits on dark background */
.site-main {
    background: #05060B; /* or your existing page bg */
}

/* Logo sizing and alignment */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-img {
    height: 40px;      /* adjust to taste: 32–48px works well */
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1rem;
    font-weight: 600;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top, #15192b 0, #05060a 55%, #000 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(22px);
    background: linear-gradient(120deg, rgba(5, 6, 10, 0.88), rgba(9, 11, 22, 0.88));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: radial-gradient(circle at 20% 0, var(--gold-light), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 14px;
    color: #05060a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.7);
}

.brand-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--muted);
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    margin-left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.main-nav a:hover {
    color: var(--gold-light);
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(201, 168, 76, 0.06);
}

/* Main section */

.site-main {
    padding: 26px 0 40px;
}

.hero {
    margin-bottom: 22px;
}

.hero-title {
    font-size: 26px;
    font-weight: 650;
    letter-spacing: 0.02em;
    margin: 4px 0 6px;
}

.hero-subtext {
    font-size: 13px;
    color: var(--muted);
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* App grid */

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.app-card {
    position: relative;
    background: radial-gradient(circle at 0 0, rgba(201, 168, 76, 0.08), rgba(10, 12, 22, 0.98));
    border-radius: var(--radius-lg);
    padding: 16px 15px 15px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out, background 0.18s ease-out;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(201, 168, 76, 0.8);
    background: radial-gradient(circle at 10% 0, rgba(201, 168, 76, 0.16), rgba(8, 10, 20, 0.98));
}

.app-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(76, 111, 255, 0.16);
    color: #c5d1ff;
    border: 1px solid rgba(76, 111, 255, 0.6);
    margin-bottom: 8px;
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
}

.app-desc {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 12px;
    min-height: 38px;
}

.app-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-open-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
    border: none;
    color: #05060a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.75);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.app-open-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.85);
    filter: brightness(1.03);
}

.app-open-link span {
    font-size: 14px;
}

.app-code {
    font-size: 11px;
    color: rgba(179, 184, 196, 0.8);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 0 18px;
    background: linear-gradient(180deg, rgba(5, 6, 10, 0.96), rgba(0, 0, 0, 1));
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .brand-text {
        display: none;
    }
    .site-main {
        padding-top: 18px;
    }
    .hero-title {
        font-size: 22px;
    }
    .hero-subtext {
        font-size: 12px;
    }
    .app-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
