/* Landing page additions (loads after styles.css) */

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding: 70px 20px 60px;
    margin: 10px 0 40px;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 255, 0.55);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.35), inset 0 0 60px rgba(0, 0, 0, 0.6);
    background:
        linear-gradient(to bottom, rgba(10, 4, 28, 0.55), rgba(10, 4, 28, 0.9)),
        url('assets/kerguhl-banner.jpg') center / cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
    pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 18px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 60px rgba(255, 0, 255, 0.6);
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-title {
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.05;
    text-shadow: -3px 0 rgba(0, 255, 255, 0.85), 3px 0 rgba(255, 0, 255, 0.85), 0 0 24px rgba(255, 0, 255, 0.6);
}

.hero-title span { color: #00ffff; }

.hero-tag {
    margin: 14px 0 28px;
    font-size: 1.2rem;
    color: #00ffff;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.btn-primary {
    color: #000;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    box-shadow: 0 4px 18px rgba(255, 0, 255, 0.55);
}

.btn-ghost {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(0, 255, 255, 0.7);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0, 255, 255, 0.55); }

/* Section headings */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 1.7rem;
    color: #00ffff;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
    letter-spacing: 1px;
}

.section-head h2 i { color: #ffea00; margin-right: 8px; }

.section-link {
    color: #ff80ff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.section-link:hover { color: #fff; text-shadow: 0 0 10px #ff00ff; }

.section-head-tiles { margin-top: 10px; }

/* Free games strip */
.free-strip {
    margin-bottom: 44px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.72);
    border: 2px solid rgba(57, 255, 20, 0.55);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

.free-strip-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.free-strip-loading { color: #ccc; }
.free-strip-loading a { color: #00ffff; }

.fs-card {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.25s, background 0.25s;
}

.fs-card:hover { transform: translateY(-4px); background: rgba(57, 255, 20, 0.12); }
.fs-card img { width: 150px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.fs-body h3 { font-size: 1.05rem; color: #00ffff; line-height: 1.25; }
.fs-free { display: inline-block; background: #39ff14; color: #000; font-weight: 800; font-size: 0.68rem; letter-spacing: 1px; padding: 2px 8px; border-radius: 5px; margin-bottom: 4px; }
.fs-meta { color: #ffea00; font-size: 0.85rem; font-weight: 600; }
.fs-meta s { color: #999; font-weight: 400; }

/* Latest blog */
.latest-blog { margin: 10px 0 44px; }

.latest-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.lb-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    text-decoration: none;
    color: #fff;
    border: 2px solid rgba(255, 0, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.lb-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.lb-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 4, 28, 0.95) 15%, transparent 65%); }
.lb-card span, .lb-card h3 { position: absolute; left: 16px; right: 16px; z-index: 1; }
.lb-card span { bottom: 62px; font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #000; background: #ffea00; width: fit-content; padding: 2px 8px; border-radius: 5px; }
.lb-card h3 { bottom: 14px; font-size: 1.1rem; line-height: 1.25; text-shadow: 0 0 10px rgba(0, 0, 0, 0.9); }
.lb-card:hover { transform: translateY(-6px); box-shadow: 0 0 30px rgba(0, 255, 255, 0.45); }
.lb-card:hover img { transform: scale(1.06); }

@media (max-width: 600px) {
    .hero { padding: 50px 14px 44px; }
    .hero-logo { width: 110px; height: 110px; }
    .free-strip { padding: 16px; }
    .fs-card img { width: 110px; }
    .section-head h2 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo { animation: none; }
}
