﻿:root {
    --button-back-color: #000;
    --button-fore-color: #fff;
    --maxw: 900px;
    --content-pad: clamp(16px, 5vw, 60px);
}

/* Base layout - Locked to viewport to keep banner stationary */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Prevents the whole page from scrolling */
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container + banner - Stationary at the top */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    flex-shrink: 0; /* Ensures the banner doesn't compress */
}

.banner {
    width: 100%;
    height: auto;
    display: block;
}

/* Main content - Scrollable area */
.main {
    flex: 1; /* Occupies the remaining vertical space */
    overflow-y: auto; /* Enables scrolling within this section */
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px var(--content-pad);
    box-sizing: border-box;
    font-size: clamp(16px, 1.9vw, 19px);
    /* Text remains left-justified by default */
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 1.5vw, 30px);
    margin-top: 12px;
    margin-bottom: 0;
    line-height: 1.25;
    color: var(--button-back-color);
}

p {
    text-align:center;
    font-weight:bold;
}

/* CTA button */
.styled-button {
    display: block;
    width: min(560px, 82%);
    margin: 30px auto;
    background-color: var(--button-back-color);
    color: var(--button-fore-color);
    border: 2px solid var(--button-back-color);
    padding: 14px 0;
    border-radius: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}

    .styled-button:hover {
        transform: translateY(-2px);
        box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.35);
    }

/* Domain List - Centered buttons, no bullets, equi-width */
.domain-list {
    list-style-type: none; /* Removes bullets */
    margin: 20px 0;
    padding: 0;
    width: 100%;
}

    .domain-list li {
        display: flex;
        justify-content: center; /* Centers the button within the list item */
        margin-bottom: 12px;
    }

.domain-btn {
    width: 80%; /* Equi-width at 80% of the main div */
    font-size: 1.1rem;
    padding: 0.6rem 0.8rem;
    border-radius: 9999px;
    border: 1px solid #555;
    background: #111;
    color: #f5f5f5;
    cursor: pointer;
    text-align: center;
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background 0.1s;
}

    .domain-btn:hover {
        background: #222;
        box-shadow: 0 3px 8px rgba(0,0,0,0.35);
        transform: translateY(-1px);
    }

/* Popup preview window */
.domain-preview-popup {
    position: absolute;
    z-index: 9999;
    background: #050505;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    max-width: 340px;
    max-height: 220px;
    overflow: hidden;
    border: 1px solid #333;
}

    .domain-preview-popup img {
        display: block;
        max-width: 100%;
        max-height: 100%;
    }

/* Reduced motion settings */
@media (prefers-reduced-motion: reduce) {
    .styled-button, .domain-btn {
        transition: none;
    }
}
