/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Refined Dark Theme Palette --- */
:root {
    --bg-primary: #101214;
    --bg-secondary: #1a1d20; /* Default container background */
    --bg-alt: #101214;       /* Alternative container background (same as body) */
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --accent-primary: #4a90e2;
    --accent-secondary: #3a7ac0;
    --accent-luxury: #c8a46e;
    --border-color: #282c30;
    --border-alt-color: #383c40; /* Border for alt background */
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glow-color-primary: rgba(74, 144, 226, 0.4);
    --glow-color-luxury: rgba(200, 164, 110, 0.4);
    --texture-opacity: 0.03;
}

/* Basic Reset & Body Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Subtle Background Texture */
body.with-texture::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"><path fill="%23ffffff" fill-opacity="1" d="M1 3h1v1H1V3zm2-2h1v1H3V1z"></path></svg>');
    background-repeat: repeat;
    opacity: var(--texture-opacity);
    z-index: -1;
    pointer-events: none;
}

/* Typography Refinements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.6rem; }
h3 { font-size: 1.6rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease-out;
}

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

.text-link {
    position: relative;
    display: inline-block;
}
.text-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--accent-secondary);
    transition: width .3s ease;
}
.text-link:hover::after {
    width: 100%;
    left: 0;
    background: var(--accent-secondary);
}
