:root {
    --bg: #fdfbf7;
    --primary: #2d3436;
    --accent: #d4a373;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg);
    font-family: 'Georgia', serif;
    color: var(--primary);
}

#floating-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    /* Responsive icon size, scales from 1.2rem up to original 2.2rem */
    font-size: clamp(1.2rem, 5vw, 2.2rem);
    opacity: 0.9;
    user-select: none;
    will-change: transform;
}

.content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    height: 100dvh;  /* handles mobile browser chrome */
    text-align: center;
    padding: 1rem;
}

.glass-card {
    background: rgba(243, 243, 243, 0.9);
    padding: 3rem;                /* original desktop padding */
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* original double shadow fixed into a single property */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03), 4px 5px 10px black;
    max-width: 500px;             /* a little bigger than original 420px */
    width: 100%;
    margin: 0 auto;
}

h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h5 {
    font-size: 0.85rem;
    font-weight: 400;
    color: #7f8c8d;
    margin: 8px 0 4px 0;
    letter-spacing: 0.5px;
}

h2 {
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 400;
    color: var(--accent);
    margin: 10px 0 20px 0;
    font-style: italic;
}

p {
    font-family: 'Arial', sans-serif;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    line-height: 1.7;
    color: #7f8c8d;
    margin: 0;
}

.divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 20px auto;
}

/* On small screens, reduce padding to avoid overflow */
@media (max-width: 480px) {
    .glass-card {
        padding: 1.5rem;
    }
    h1 {
        letter-spacing: 2px;
    }
}