/* style.css - v2.1 (British English & Premium Polish) */

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

html {
    scroll-behavior: smooth;
    background-color: #0F0F0F;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Increased line-height for better readability on large screens */
    line-height: 1.6;
}

/* Headings: Tighter letter spacing, slightly more line height */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #333; }
::-webkit-scrollbar-thumb:hover { background: #FFC928; }

/* Backgrounds: Added subtle grid */
.bg-grid-pattern {
    background-image: linear-gradient(to right, #262626 1px, transparent 1px),
                      linear-gradient(to bottom, #262626 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

/* Component: Premium Card/Button Hovers */
.hover-lift {
    transition: all 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

/* Component: Subtle Border/Grid Overlay for Cards */
.card-premium {
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    background-color: #161616; /* Slightly lighter than base */
}
.card-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}
.card-content {
    position: relative;
    z-index: 1;
}

/* Utility: Text Selection */
::selection { background-color: #FFC928; color: #000; }

/* Utility: Nav Divider */
.nav-divider {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}