/* ACT OF GOD, LLC: a first-person comedy shooter, playable in the browser */
.actofgod-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    margin-top: 3rem;
    overflow: hidden;
    border: 4px solid var(--white);
    background: #071419;
    color: var(--white);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.actofgod-feature:hover {
    opacity: 1;
    border-color: var(--accent);
    transform: translateY(-4px);
}

.actofgod-feature-visual {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #0b1e26;
}

.actofgod-feature-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.actofgod-feature:hover .actofgod-feature-visual img {
    transform: scale(1.05);
}

/* a red claims stamp over the screenshot */
.actofgod-feature-stamp {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    padding: 0.3rem 0.8rem 0.15rem;
    border: 3px solid #ff3b2f;
    color: #ff3b2f;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    line-height: 1;
    transform: rotate(-8deg);
    background: rgba(7, 20, 25, 0.55);
    pointer-events: none;
}

.actofgod-feature-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem);
    border-left: 4px solid var(--white);
}

/* hazard tape between picture and words */
.actofgod-feature-copy::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -4px;
    width: 4px;
    background: repeating-linear-gradient(-45deg, #ffb020 0 8px, #111 8px 16px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.actofgod-feature:hover .actofgod-feature-copy::before {
    opacity: 1;
}

.actofgod-feature-label {
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.18em;
}

.actofgod-feature h3 {
    margin-bottom: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.actofgod-feature h3 span {
    color: #ffb020;
}

.actofgod-feature p {
    max-width: 520px;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.actofgod-feature-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.14em;
    border-bottom: 3px solid var(--accent);
}

@media (max-width: 900px) {
    .actofgod-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .actofgod-feature-visual {
        min-height: 0;
        aspect-ratio: 28 / 15;
    }

    .actofgod-feature-copy {
        border-left: 0;
        border-top: 4px solid var(--white);
    }

    .actofgod-feature-copy::before {
        top: -4px;
        bottom: auto;
        left: 0;
        right: 0;
        width: auto;
        height: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .actofgod-feature,
    .actofgod-feature-visual img {
        transition: none;
    }

    .actofgod-feature:hover,
    .actofgod-feature:hover .actofgod-feature-visual img {
        transform: none;
    }
}

/* Work page card */
.actofgod-project-card .project-card-image {
    background: #0b1e26;
}
