/* ============================================
   NewCasino.ai — Homepage v2 Enhancements
   Adds: new hero, comparison table, trust polish
   ============================================ */

/* ── Hero v2 ── */
.hp-hero-v2 {
    position: relative;
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #0F6E56 0%, #0a5040 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hp-hero-v2__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

.hp-hero-v2__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hp-hero-v2__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hp-hero-v2 { padding: 3rem 0; }
}

.hp-hero-v2__eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #E1F5EE;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

.hp-hero-v2__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
    color: #fff;
}

.hp-hero-v2__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.5;
    margin: 0 0 2rem;
    color: rgba(255,255,255,0.92);
    max-width: 58ch;
}

.hp-hero-v2__cta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-hero {
    padding: 0.95rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: #f59e0b;
    color: #1A1A1A;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.hp-hero-v2__text-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
    opacity: 0.9;
}
.hp-hero-v2__text-link:hover { opacity: 1; }

.hp-hero-v2__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    width: fit-content;
}
.hp-hero-v2__author img {
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.8);
    width: 48px;
    height: 48px;
    object-fit: cover;
}
.hp-hero-v2__author-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}
.hp-hero-v2__author-text strong { font-size: 0.95rem; color: #fff; }
.hp-hero-v2__author-text span { color: rgba(255,255,255,0.75); font-size: 0.82rem; }

.hp-hero-v2__badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
@media (max-width: 900px) {
    .hp-hero-v2__badges { flex-direction: row; justify-content: space-between; }
}

.hp-hero-v2__trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
}
.hp-hero-v2__trust-list li {
    background: rgba(255,255,255,0.08);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

/* ── Homepage Comparison Table ── */
.homepage-comparison {
    padding: 4rem 0;
    background: #F5F5F3;
}

.homepage-comparison__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.homepage-comparison__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #1A1A1A;
    margin: 0 0 0.75rem;
    font-weight: 700;
}
.homepage-comparison__subtitle {
    color: #444;
    font-size: 1.05rem;
    margin: 0;
}

.homepage-comparison__wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #e0e0dc;
}

.homepage-comparison__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}
.homepage-comparison__table thead {
    background: #0F6E56;
    color: #fff;
}
.homepage-comparison__table th {
    padding: 1rem 0.9rem;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.homepage-comparison__table td {
    padding: 1.1rem 0.9rem;
    border-top: 1px solid #e8e8e4;
    vertical-align: middle;
    color: #1A1A1A;
    font-size: 0.95rem;
}
.homepage-comparison__row:hover {
    background: rgba(15, 110, 86, 0.03);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E1F5EE;
    color: #0F6E56;
    font-weight: 700;
    font-size: 0.9rem;
}
.rank-badge.rank-1 { background: #f59e0b; color: #1A1A1A; }

.casino-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.casino-cell img {
    border-radius: 8px;
    flex-shrink: 0;
}
.casino-cell__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.casino-cell__name {
    font-weight: 600;
    color: #0F6E56;
    text-decoration: none;
    font-size: 0.98rem;
}
.casino-cell__name:hover { text-decoration: underline; }
.casino-cell__rating {
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
}

.inline-icon {
    vertical-align: middle;
    margin-right: 0.25rem;
    opacity: 0.85;
}

.btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s;
    white-space: nowrap;
}
.btn-sm:hover { transform: translateY(-1px); }

.homepage-comparison__disclosure {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin: 1.5rem 0 0;
}
.homepage-comparison__disclosure a {
    color: #0F6E56;
    text-decoration: underline;
}
