/* === 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;
}

body:not(:has(.content-page)) {
    background-color: #ffffff;
    background-image: radial-gradient(rgba(247, 37, 133, 0.12) 1.5px, transparent 1.5px), 
                      radial-gradient(rgba(76, 201, 240, 0.12) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    animation: bg-pattern-move 15s infinite linear;
}

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

@keyframes bg-pattern-move {
    0% {
        background-position: 0 0, 15px 15px;
    }
    100% {
        background-position: 30px 60px, 45px 75px;
    }
}

/* === 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: 50px;
    font-size: min(6vw, 6vh);
    color: #555;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
}

.arrow-container svg {
    width: 64px;
    height: 64px;
}

.arrow-left {
    animation: bounce-point-right 1.5s infinite ease-in-out alternate, arrow-color-cycle 3s infinite linear;
}

.arrow-right {
    animation: bounce-point-left 1.5s infinite ease-in-out alternate, arrow-color-cycle 3s infinite linear;
}

@keyframes bounce-point-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(12px); }
}

@keyframes bounce-point-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-12px); }
}

@keyframes arrow-color-cycle {
    0% { color: #f72585; filter: drop-shadow(0 0 8px rgba(247, 37, 133, 0.5)); }
    20% { color: #7209b7; filter: drop-shadow(0 0 8px rgba(114, 9, 183, 0.5)); }
    40% { color: #3f37c9; filter: drop-shadow(0 0 8px rgba(63, 55, 201, 0.5)); }
    60% { color: #4cc9f0; filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.5)); }
    80% { color: #a3e635; filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.5)); }
    100% { color: #f72585; filter: drop-shadow(0 0 8px rgba(247, 37, 133, 0.5)); }
}

@media (max-width: 600px) {
    .arrow-container {
        display: none; /* Hide arrows on small mobile viewports to prevent wrapping button */
    }
}

#cta-btn {
    font-family: inherit;
    font-size: min(8vw, 8vh);
    font-weight: 900;
    color: #fff;
    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;
    border-radius: 4px;
    animation: button-color-cycle 3s infinite linear;
}

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

@keyframes button-color-cycle {
    0% { background-color: #f72585; box-shadow: 0 8px 0 #b5175e; }
    20% { background-color: #7209b7; box-shadow: 0 8px 0 #56038a; }
    40% { background-color: #3f37c9; box-shadow: 0 8px 0 #2b24a3; }
    60% { background-color: #4cc9f0; box-shadow: 0 8px 0 #0096c7; }
    80% { background-color: #a3e635; box-shadow: 0 8px 0 #7cb918; }
    100% { background-color: #f72585; box-shadow: 0 8px 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; 
}

/* === HEADER === */
.main-header {
    background-color: #f72585;
    padding: 12px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.2px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    font-style: italic;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.85;
}

/* === 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-text em {
    font-style: italic;
}

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

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

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

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

.footer-meta a {
    color: #a3e635;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* === CONTENT PAGES === */
.content-page {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    padding: 0 20px;
    box-sizing: border-box;
    background-color: #ffffff;
}
.content-page h1 { font-family: Arial, Helvetica, sans-serif; font-size: 2.2rem; font-weight: bold; color: #111; margin-top: 0; margin-bottom: 20px; }
.content-page h2 { font-family: Arial, Helvetica, sans-serif; font-size: 1.5rem; font-weight: bold; margin-top: 25px; margin-bottom: 15px; color: #111; }
.content-page h3 { font-family: Arial, Helvetica, sans-serif; font-size: 1.2rem; font-weight: bold; margin-top: 20px; margin-bottom: 10px; color: #111; }
.content-page p { font-family: Arial, Helvetica, sans-serif; line-height: 1.5; font-size: 14px; color: #333; margin-bottom: 15px; }
.content-page ul, .content-page li { font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; color: #333; }
.content-page a { color: #f72585; text-decoration: none; }
.content-page a:hover { text-decoration: underline; }

/* === 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-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
    margin: 20px 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.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;
        align-items: center;
        text-align: center;
        padding-top: 15px;
    }
    .site-card-icon {
        margin: 15px auto 5px auto;
    }
}

/* === HEADER === */
.main-header {
    background-color: #f72585;
    padding: 12px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.2px;
}

.nav-links a {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    font-style: italic;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.85;
}
