/* Common styles shared across all pages */
:root {
    --bg: #f6f1ea;
    --card: #fbf8f6; 
    --accent: #111;
    --muted: #7b6f66;
    --border: rgba(0,0,0,0.08);
    --success: #1b5e20;
    --error: #d9534f;
}

html,body{
    height:100%;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.info-link {
    color: var(--muted);
    font-size: 19px;
    text-decoration: underline;
    transition: color 0.2s ease
}
.info-link:hover{color:var(--accent)}

/* 
html, body {
    height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* Page header */
.page-header {
    /* padding: 0 1rem; */
    padding: 1rem 2rem 1rem;
}

.logo {
    height: 80px;
}

/* Main container */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: -4rem 0.5rem 0;
    width: 100%;
    flex-direction: column;
   
}

.cover {
    min-height: 100vh;
}

/* Analysis card */
.analysis-card {
    /* background: linear-gradient(180deg, var(--card), #fff);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(18,18,18,0.06); */
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
}

/* Card elements */
.card-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 8px;
} */

/* Bottom actions */
.bottom-actions {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.repeat-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.repeat-btn:hover {
    background: rgba(0,0,0,0.05);
}

/* Info link */
.info-link {
    color: var(--muted);
    font-size: 21px;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: var(--accent);
}

/* Info card overlay */
.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 0;
}

.info-card {
    background: linear-gradient(180deg, var(--card), #fff);
    border-radius: 22px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(18, 18, 18, 0.2);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    margin: 0.5rem;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 1rem;
}

.info-header h3 {
    margin: 0;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--accent);
}

.info-content {
    color: var(--accent);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer styles - visible on scroll */
footer {
    width: 100%;
    background: #3d3328;
    color: #e8dfd1;
    padding: 2rem 0;
    border-top: 1px solid rgba(0,0,0,0.2);
}

footer .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #f6f1ea;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: #d4c9ba;
    text-decoration: none;
    transition: color 0.2s;
}

footer ul li a:hover {
    color: #f6f1ea;
    text-decoration: underline;
}

footer ul li.copy {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #a99885;
}

.ads-content {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ads-sidebar {
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .info-link {
        font-size: 21px;
    }
    .analysis-card {
        min-height: 400px;
        /* padding: 1.5rem;
        margin: 0 0.5rem; */
    }
    
    /* .logo {
        height: 70px;
    }
    
    .analysis-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .wrapper, .container {
        margin: 0 0.5rem;
    }
    
    .page-header {
        padding: 0;
    }
    
    footer {
        padding: 1.5rem 0;
        margin-top: 100vh;
    }
    
    footer .container {
        padding: 0 1rem;
    }
    
    footer h3 {
        font-size: 1rem;
    } */
}
