/* ===========================================================
   "The Cicada Difference" section: a grid of short differentiator
   items, each with a small line icon. Link this after styles.css:
     <link rel="stylesheet" href="cicada-difference.css">
   =========================================================== */

.cicada-difference {
    background: #0c0c0e;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem 1.8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.difference-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.difference-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.difference-item:hover .difference-icon {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-gold);
    transform: translateY(-4px);
}

.difference-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-gold);
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Generated PNG icons (assets/icons/*.png) sit in the same circle as the
   hand-drawn SVG ones above - sized to match visually. Brightened the same
   way as the amenity icons: their gold linework is quite thin/dim against
   this dark circle on its own. */
.difference-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(1.5) saturate(1.4) contrast(1.15)
            drop-shadow(0 0 6px rgba(212, 175, 55, 0.55));
}

.difference-item span {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.4;
    max-width: 200px;
}

.difference-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 3rem;
    opacity: 0.75;
}

.difference-note a {
    color: var(--primary-gold);
    text-decoration: none;
}

.difference-note a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    /* 3 across instead of collapsing to 1 column - keeps this list
       compact (2-3 rows for the current 8 items) instead of a single
       long scrolling column. Switched from grid to a centered flex-wrap
       row so an incomplete last row (here, the final 2 items) sits
       centered instead of pinned to the left with an empty gap. */
    .difference-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.6rem 0.7rem;
    }

    .difference-item {
        flex: 0 0 calc((100% - 1.4rem) / 3);
        max-width: calc((100% - 1.4rem) / 3);
        gap: 0.6rem;
    }

    .difference-icon {
        width: 62px;
        height: 62px;
    }

    .difference-icon svg {
        width: 18px;
        height: 18px;
    }

    .difference-icon img {
        width: 32px;
        height: 32px;
    }

    .difference-item span {
        font-size: 0.72rem;
        line-height: 1.3;
        max-width: none;
    }
}
