
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Libre+Baskerville:wght@400;700&display=swap');


/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================
   BODY
========================== */

body {

    background: #f4ead8;

    color: #2b1d17;

    font-family: "Libre Baskerville", serif;

    min-height: 100vh;

    line-height: 1.6;

}


/* Paper texture */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    background:
    radial-gradient(rgba(70,45,30,.08) 1px, transparent 1px);

    background-size: 8px 8px;

    opacity: .35;

    pointer-events: none;

}



/* ==========================
   HEADER
========================== */


.site-header {

    text-align: center;

    padding: 35px 20px 20px;

}


.club-logo {

    width: 130px;

    margin-bottom: 15px;

}


.site-header h1 {

    font-family: "Cormorant Garamond", serif;

    font-size: 3rem;

    color: #3b1f2b;

}


.site-header p {

    color: #6b2638;

    font-style: italic;

}



/* ==========================
   NAVIGATION TABS
========================== */


.library-tabs {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    max-width: 900px;

    margin: 0 auto 30px;

    padding: 10px;

}



.library-tab {

    display: inline-block;

    background: #6b2638;

    color: #fff8e8 !important;

    text-decoration: none;

    padding: 12px 22px;

    border-radius: 12px;

    border: 2px solid #b7b7b7;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.2rem;

    font-weight: bold;

    transition: .25s;

}



.library-tab:hover {

    background: #8c4054;

    transform: translateY(-3px);

}



.library-tab.active {

    background: #fff8e8;

    color: #6b2638 !important;

}



/* ==========================
   MAIN PAGE CONTAINERS
========================== */


.generator-page,
.hub-page {

    max-width: 850px;

    margin: 30px auto;

    padding: 20px;

}



.paper-card,
.hub-card {

    background: #fff8e8;

    border: 2px solid #b7b7b7;

    border-radius: 15px;

    padding: 35px;

    box-shadow:
    0 8px 20px rgba(0,0,0,.15);

}



/* ==========================
   HOMEPAGE
========================== */


.hub-card {

    text-align: center;

}



.hub-card h2 {

    font-family: "Cormorant Garamond", serif;

    font-size: 2.5rem;

    color: #5a1f33;

    margin-bottom: 15px;

}



.generator-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 30px;

}



/* ==========================
   TITLES
========================== */


.generator-title {

    text-align: center;

    font-family: "Cormorant Garamond", serif;

    font-size: 2.5rem;

    color: #5a1f33;

}



.subtitle {

    text-align: center;

    color: #6f6265;

    font-style: italic;

    margin: 15px 0 30px;

}



/* ==========================
   RESULTS / PROMPT BOXES
========================== */


.results,
.prompt-result {

    background: #fcf8ef;

    border: 2px solid #b7b7b7;

    border-radius: 12px;

    padding: 25px;

    margin: 25px 0;

}

.word-container {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    padding: 20px;

}


.word-piece {

    background: #fffdf5;

    border: 1px solid #c8bca8;

    padding: 10px 16px;

    font-family: "Courier New", monospace;

    box-shadow: 2px 3px 5px rgba(0,0,0,.15);

    transform: rotate(-2deg);

}



.word-piece:nth-child(even){

    transform: rotate(2deg);

}
.results p,
.prompt-result p {

    margin: 12px 0;

}



.results strong,
.prompt-result strong {

    color: #6b2638;

}



/* ==========================
   BUTTONS
========================== */


button {

    display: block;

    margin: 20px auto;

    background: #6b2638;

    color: white;

    border: none;

    border-radius: 8px;

    padding: 14px 25px;

    font-family: inherit;

    font-size: 1rem;

    cursor: pointer;

    transition: .25s;

}



button:hover {

    background: #8c4054;

    transform: translateY(-2px);

}



/* ==========================
   INPUTS
========================== */


input,
textarea,
select {

    width: 100%;

    padding: 12px;

    border-radius: 8px;

    border: 2px solid #b7b7b7;

    font-family: inherit;

    background: white;

}



/* ==========================
   CATEGORY GRID
========================== */


.categories {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

    gap: 12px;

}



.category {

    background: #fcf8ef;

    border-left: 4px solid #6b2638;

    padding: 12px;

    border-radius: 8px;

}



/* ==========================
   EXTRA ELEMENTS
========================== */


.button-group {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

}



hr {

    border: none;

    border-top: 1px solid #b7b7b7;

    margin: 25px 0;

}



.back-button {

    display: inline-block;

    text-decoration: none;

    color: #6b2638;

    font-weight: bold;

    margin-bottom: 20px;

}



.back-button:hover {

    color: #8c4054;

}



/* ==========================
   FOOTER
========================== */


footer {

    text-align: center;

    margin-top: 40px;

    padding: 20px;

    color: #6f6265;

    font-style: italic;

}



/* ==========================
   MOBILE
========================== */


@media(max-width:700px){


.site-header h1 {

    font-size: 2.2rem;

}


.paper-card,
.hub-card {

    padding: 25px;

}


.library-tab {

    width: 100%;

    text-align: center;

}


}
