/* =========================================
   1. VARIABLES & RESET
   ========================================= */
    :root {
        --gold-primary: #c6a667;
        --gold-light: #e5cf9a;
        --bg-black: #000;
        --text-white: #fff;
        --title-font: 'Baskervville', serif;
        --body-font: 'Raleway', sans-serif;
        --transition-speed: 0.5s ease all;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        background:
        radial-gradient(circle at top, rgba(216,177,120,0.17), transparent 35%),
        var(--bg-black);
        color: var(--text-white);
        font-family: var(--body-font);
        -webkit-font-smoothing: antialiased;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-x: hidden;
    }

	main {
		height: 100%;
		width: 100%;
		overflow: hidden;
	}

    .content {
      position: relative;
      z-index: 1;
    }

/* =========================================
   II. LAYOUT
   ========================================= */

.onboarding-container {
    width: 100%;
    max-width: 430px;
    padding: 32px 28px;
    margin: 0 auto;
    text-align: center;
}

.step-view {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.step-view.active {
    display: block;
    opacity: 1;
}

/* =========================================
    III. BRAND ELEMENTS
   ========================================= */

.crest {
    width: 120px;
    height: 100px;
    margin: 0 auto 20px;
    background-image: url('/images/Spencer-Crest-Gold.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.shield {
    width:92px;
    height:92px;

    margin:0 auto 22px;

    background-image:url('/images/Favicon-Gold.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.cursive-title {
    font-family: 'Parisienne', cursive;
    color: var(--gold-primary);
    width: 90%;
    max-width: 334px;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.4;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 14px;
    margin-left: 50%;
    text-align: center;
    transform: translateX(-50%);
    
}

.cursive-title span {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 600;
    letter-spacing: 1px;
}

.title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-primary);
    width: 90%;
    max-width: 334px;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.4;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 14px;
    margin-left: 50%;
    text-align: center;
    transform: translateX(-50%);
}

.divider {
    width: 40px;
    height: 1px;
    margin: 15px auto 18px;
    background: var(--gold-primary);
    opacity: 0.8;
}

.subheader {
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--gold-primary);
    line-height: 1.6;
    letter-spacing: 1px;
    margin-left: 50%;
    text-align: center;
    transform: translateX(-50%);
    width: 90%;
    max-width: 334px;
}

.subheader span {
    text-wrap: nowrap;
}

/* =========================================
   IV. COMPONENTS
   ========================================= */

a {
    text-decoration: none;
}

.button {
    display: block;
    width: 240px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 7px;
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    background: linear-gradient(to bottom, #d8bb7c 0%, #c6a667 45%, #b7924d 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none; /* Prevents clicking */
    filter: grayscale(0.5);
}

.button:hover {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.footer {
    margin-top: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer span {
    position: relative;
    top: -5px;
}