/* === BASE STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Slab', serif;
    background-color: #fcfcfc;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
}

/* === HEADLINE === */
.headline {
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.line { display: block; }
.line1 { font-size: min(6vw, 6vh); color: #555; }
.line2 { font-size: min(4vw, 4vh); margin-bottom: 10px; color: #555; }
.line3 { font-size: min(12vw, 12vh); font-weight: 900; letter-spacing: -2px; }
.line4 { font-size: min(9vw, 9vh); letter-spacing: -1px; margin-bottom: 20px; }

/* === BUTTON === */
.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: min(6vw, 6vh);
    color: #555;
}

#cta-btn {
    font-family: 'Roboto Slab', serif;
    font-size: min(8vw, 8vh);
    font-weight: 900;
    color: #fff;
    background-color: #f72585; /* Bright pink/magenta */
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    /* 3D Button effect */
    box-shadow: 0 8px 0 #b5175e;
    border-radius: 4px;
}

#cta-btn:active {
    transform: translateY(8px);
    box-shadow: 0 0px 0 #b5175e;
}

/* === ADS === */
.ad-slot {
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.ad-leaderboard { 
    min-height: 90px; 
    max-width: 728px;
}
.ad-rectangle { 
    min-height: 250px; 
    max-width: 300px; 
}

/* === FOOTER === */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 30px 10px;
    text-align: center;
    font-size: 14px;
    border-top: 5px solid #333;
}

.footer-text {
    margin-bottom: 15px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #a3e635; /* Accent green */
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.credit {
    font-size: 12px;
    color: #666;
}

/* === CONTENT PAGES === */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
}
.content-page h1 { font-size: 3rem; color: #f72585; }
.content-page h2 { margin-top: 2rem; }
.content-page p { line-height: 1.6; font-size: 1.1rem; }

/* === DIRECTORY CARDS === */
.intro-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.site-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.site-card {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.site-card-img {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    background-color: #eaeaea;
}

.site-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-card-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #333;
}

.site-author {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
    font-style: italic;
}

.site-desc {
    font-size: 1rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.4;
}

.site-link {
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
}

.site-link span {
    color: #f72585; /* Pink link color */
}

.site-link:hover span {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .site-card {
        flex-direction: column;
    }
    .site-card-img {
        width: 100%;
        height: 200px;
    }
}
