
:root {
    --accent: #8d6e63;
    --dark: #1c1c1c;
    --gold: #c6a75e;
    --light: #f7f4f1;
    --primary: #2f3e46;
    --soft: #e8e2dc;
}

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


body {
    background-color: var(--light);
    background: linear-gradient(rgba(247,244,241,0.95), rgba(247,244,241,0.95)), url('https://images.unsplash.com/photo-1519681393784-d120267933ba');
    background-position: center;
    background-size: cover;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

button {
    background: var(--accent);
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 12px;
    transition: 0.3s ease;
}

button:hover {
    background: #6d4c41;
}


footer {
    background: var(--primary);
    color: #555;
    color: white;
    font-size: 0.8rem;
    margin-top: 80px;
    padding: 20px;
    padding: 40px 10%;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

img {
  display: inline;
  margin: 0px;
  padding: 0px;
  width: 100px;
}

input {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

input[type="email"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

nav {
    align-items: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: var(--primary);
    font-weight: 500;
    margin-left: 20px;
    text-decoration: none;
}

section {
    padding: 70px 10%;
}

.badge {
    background: var(--gold);
    color: white;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.btn {
    background: var(--accent);
    border-radius: 30px;
    color: white;
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    background: #6d4c41;
}

.countdown {
    margin: 20px 0;
    font-weight: 500;
    color: var(--accent);
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

.featured-comp {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.hero {
    background: linear-gradient(rgba(247,244,241,0.95), rgba(247,244,241,0.95)), url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2');
    background-position: center;
    background-size: cover;
    padding: 120px 10%;
    padding-bottom: 50px;
    padding-top: 100px;
    text-align: center;
}

.hero p {
    font-size: 1.2rem;
    margin: 15px auto;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}

.how-it-works {
    background: var(--soft);
    border-radius: 15px;
    margin-top: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.step-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
}

.past-winners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.winner-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.search-section {
    background: var(--soft);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
}

.search-section input {
    padding: 12px;
    width: 300px;
    max-width: 80%;
    border-radius: 25px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.map-placeholder {
    height: 300px;
    background: #ddd;
    border-radius: 15px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: 500;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.group-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.group-meta {
    font-size: 0.9rem;
    color: #777;
    margin: 10px 0;
}

.start-group {
    background: var(--soft);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-box {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.group-search {
    text-align: center;
    background: var(--soft);
    border-radius: 12px;
    padding: 60px 20px;
}

.group-search input {
    padding: 12px;
    width: 300px;
    max-width: 80%;
    border-radius: 25px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.poems, .magazine-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.poem-card, .mag-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.impact {
    text-align: center;
}

.testimonials {
    background: var(--soft);
    text-align: center;
}

.membership {
    text-align: center;
}

.container {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 40px 20px;
}

.join-card {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px;
}

.join-card h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    text-align: center;
}

.join-card p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #666;
}
.checkbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.checkbox-row input {
    margin-right: 8px;
}
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.login-link a {
    color: var(--accent);
    text-decoration: none;
}

.footer-note {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 15px;
    color: #777;
}

.login-card {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 420px;
}

.login-card h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    text-align: center;
}

.login-card p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #666;
}

.checkbox-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.checkbox-row input {
    margin-right: 8px;
}

.forgot {
    text-align: right;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.forgot a {
    text-decoration: none;
    color: var(--accent);
}

.divider {
    text-align: center;
    margin: 25px 0;
    font-size: 0.85rem;
    color: #888;
}

.social-login button {
    background: var(--soft);
    color: var(--dark);
    margin-bottom: 10px;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.signup-link a {
    color: var(--accent);
    text-decoration: none;
}

.current-issue {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.issue-cover {
    background: #ddd;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
}

.issue-details ul {
    margin-top: 15px;
    margin-left: 20px;
}

.featured-poets {
    background: var(--soft);
    border-radius: 15px;
    margin-top: 70px;
}

.poet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.poet-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.past-issues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.past-issue-card {
    background: white;
    height: 280px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #555;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.impact-section {
    text-align: center;
    margin-top: 70px;
}

.subscribe-section {
    background: var(--soft);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    margin-top: 70px;
}

.page-header {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.page-header p {
    max-width: 700px;
    margin: 10px auto;
}

.filters {
    background: var(--soft);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filters input, .filters select {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
}

.poem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.poem-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.poem-card h3 {
    margin-bottom: 5px;
}

.poem-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.poem-excerpt {
    font-style: italic;
    margin: 15px 0;
}

.tags {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background: var(--soft);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 5px;
}

.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination a {
    margin: 0 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
}

