/* GLOBAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Montserrat:wght@300;600&display=swap');

body {
    background-color: #0d0d0d;
    color: #4c3d2f; 
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    padding: 10px;
}

/* THE SHARED PARCHMENT CONTAINER */
.main-wrapper {
    background: url('parchment-bg.png') no-repeat center center;
    background-size: contain; 
    width: 95vw;
    max-width: 500px; /* Mobile width */
    height: 90vh; 
    margin: 20px auto;
    padding: 18% 15% 12% 15%; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden; 
}

.scroll-content {
    width: 100%;
    height: 100%; 
    overflow-y: auto;
    scrollbar-width: none; 
    display: flex;
    flex-direction: column;
}

h1, h2 { font-family: 'Playfair Display', serif; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; color: #1a2e26; }
.subtitle { font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.9em; opacity: 0.8; margin-bottom: 20px; }

/* Global Buttons & Links */
.btn-action { background: #1a2e26; color: white; border: none; padding: 15px; width: 100%; border-radius: 5px; font-weight: bold; cursor: pointer; text-transform: uppercase; margin-top: 20px; text-decoration: none; display: block; }
.return-link { margin-top: auto; padding-top: 20px; font-size: 0.7em; font-weight: 600; letter-spacing: 1px; color: #48a09a; text-decoration: none; text-transform: uppercase; }

/* DESKTOP RESPONSIVE BREAKPOINT */
@media screen and (min-width: 1024px) {
  .main-wrapper {
    max-width: 1100px;
    width: 85vw;
    background-size: 100% 100%; /* Stretches parchment horizontally */
    padding: 10% 14% 8% 14%; 
  }
}
