/* Stow it - Packing & Road Trip Puzzle Page Styles (Ginst Template Variant) */

.stowit-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.stowit-page .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.stowit-page .hero::before {
    display: none;
}

.stowit-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 12, 16, 0.90) 0%,
        rgba(10, 12, 16, 0.68) 46%,
        rgba(10, 12, 16, 0.25) 100%
    );
    z-index: 1;
}

.stowit-page .hero {
    position: relative;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    min-height: 82vh;
    padding-top: 12vh;
    padding-bottom: 60px;
}

.stowit-page .hero-container {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 1200px;
    padding-left: 5% !important;
    width: 100% !important;
}

.stowit-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    text-align: left !important;
    margin-left: 0 !important;
    transform: none !important;
}

.stowit-beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 50px;
    background: rgba(255, 140, 66, 0.16);
    border: 1px solid rgba(255, 159, 67, 0.45);
    color: #ffb870;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.stowit-page .hero-content h1 {
    color: #ff9f43;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    text-shadow: 0 0 22px rgba(255, 140, 66, 0.45), 0 4px 16px rgba(0, 0, 0, 0.55);
    margin-top: 0;
    margin-bottom: 6px;
    letter-spacing: 3px;
}

.stowit-page .hero-content h2 {
    color: #fdf6e9;
    font-size: clamp(1.25rem, 2.5vw, 2.1rem);
    margin: 0 0 10px 0;
    text-transform: none;
    font-weight: 600;
}

.stowit-page .hero-content .tagline {
    color: #f3e9d8;
    font-size: 1.05rem;
    margin-bottom: 28px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stowit-page .hero-content .tagline::before {
    content: '-';
    color: #ff9f43;
    font-weight: 700;
}

.stowit-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.stowit-page .btn-gameplay {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: linear-gradient(90deg, #e66a1f 0%, #ff9f43 100%);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(230, 106, 31, 0.45);
}

.stowit-page .btn-gameplay:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 159, 67, 0.65);
    color: #ffffff;
}

.stowit-page .btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: rgba(253, 246, 233, 0.08);
    border: 1px solid rgba(253, 246, 233, 0.3);
    color: #fdf6e9;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.stowit-page .btn-secondary-hero:hover {
    background: rgba(255, 159, 67, 0.16);
    border-color: #ff9f43;
    color: #ffffff;
    transform: translateY(-2px);
}

.stowit-page .hero-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.stowit-page .badge-link img {
    display: block;
    transition: transform 0.3s ease;
}

.stowit-page .badge-google img {
    height: 55px;
    margin-left: -8px;
}

.stowit-page .badge-apple img {
    height: 38px;
}

.stowit-page .badge-link:hover img {
    transform: scale(1.05);
}

/* General Left Alignment for Stow it Page */
.stowit-page .section-title {
    text-align: left;
    margin-bottom: 2rem;
    color: #fdf6e9;
}

.stowit-page .about-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.stowit-page .about-logo {
    flex-shrink: 0;
    width: 300px;
}

.stowit-page .about-logo img {
    width: 100%;
    border-radius: 60px;
    box-shadow: 0 20px 45px rgba(230, 106, 31, 0.22), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.stowit-page .about-text {
    flex-grow: 1;
}

.stowit-page .about-text .section-title {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: none;
    letter-spacing: 0;
}

.stowit-page .about-text p {
    margin-bottom: 15px;
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.stowit-page .about-text .download-badges {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

/* Community Section */
.stowit-page .community-section {
    padding: 50px 0;
}

.stowit-page .community-section .section-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.8rem;
}

.stowit-page .community-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 960px;
    margin-bottom: 30px;
}

.stowit-page .community-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.stowit-page .social-box {
    color: #ffffff;
    font-size: 3.3rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.9;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.stowit-page .social-box:hover {
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
    color: #ff9f43;
    filter: drop-shadow(0 8px 12px rgba(255, 159, 67, 0.35));
}

/* Alternating Feature Sections */
.stowit-page .packing-mechanics,
.stowit-page .game-features,
.stowit-page .roadtrip-section {
    padding: 90px 0;
}

.stowit-page .game-features {
    background: #000000;
}

.stowit-page .feature-row {
    display: flex;
    align-items: center;
    gap: 70px;
}

.stowit-page .feature-row.reverse {
    flex-direction: row-reverse;
}

.stowit-page .feature-text {
    flex: 1;
}

.stowit-page .feature-text .section-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    text-transform: none;
    letter-spacing: 0;
}

.stowit-page .feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
}

.stowit-page .feature-text .theme-list {
    color: #ff9f43;
    font-size: 1.2rem;
}

.stowit-page .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stowit-page .feature-list li {
    margin-bottom: 20px;
    color: var(--text-secondary);
    display: grid;
    grid-template-columns: 145px 1fr;
    align-items: flex-start;
    line-height: 1.55;
}

.stowit-page .feature-list li strong {
    color: #ff9f43;
    font-weight: 700;
    white-space: nowrap;
    grid-column: 1;
    display: inline-block;
    padding-right: 15px;
}

.stowit-page .feature-list li span {
    display: inline-block;
    color: #d8d8d8;
    grid-column: 2;
}

/* Portrait Screenshot Framing */
.stowit-page .feature-image {
    flex: 1.15;
    display: flex;
    justify-content: center;
}

.stowit-page .screenshot-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
}

.stowit-page .screenshot-card {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
}

.stowit-page .screenshot-pair .screenshot-card:last-child {
    transform: translateY(18px);
}

.stowit-page .screenshot-card img {
    max-height: 500px;
    width: auto;
    max-width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(255, 159, 67, 0.28);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
    transition: transform 0.35s ease, border-color 0.35s ease;
    display: block;
}

.stowit-page .screenshot-card img:hover {
    transform: scale(1.02);
    border-color: rgba(255, 159, 67, 0.65);
}

.stowit-page .about-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.stowit-page .btn-secondary-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid rgba(78, 168, 138, 0.45);
    background: rgba(78, 168, 138, 0.10);
    color: #7ee0be;
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.stowit-page .btn-secondary-inline:hover {
    background: rgba(78, 168, 138, 0.22);
    border-color: #4ea88a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .stowit-page .feature-row {
        gap: 40px;
    }

    .stowit-page .screenshot-card img {
        max-height: 440px;
    }
}

@media (max-width: 900px) {
    .stowit-page .about-layout {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
    }

    .stowit-page .about-logo {
        width: 220px;
    }

    .stowit-page .community-socials {
        gap: 28px;
    }

    .stowit-page .social-box {
        font-size: 2.5rem;
    }

    .stowit-page .feature-row,
    .stowit-page .feature-row.reverse {
        flex-direction: column;
        gap: 45px;
    }

    .stowit-page .feature-text .section-title {
        text-align: center;
    }

    .stowit-page .feature-text p,
    .stowit-page .feature-list,
    .stowit-page .about-legal-links {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .stowit-page .about-legal-links {
        justify-content: center;
    }

    .stowit-page .screenshot-pair .screenshot-card:last-child {
        transform: none;
    }
}

@media (max-width: 768px) {
    .stowit-page .hero {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-top: 15vh;
        min-height: 75vh;
    }

    .stowit-page .hero::after {
        background: linear-gradient(
            180deg,
            rgba(10, 12, 16, 0.72) 0%,
            rgba(10, 12, 16, 0.85) 100%
        );
    }

    .stowit-page .hero-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .stowit-page .hero-badges {
        justify-content: flex-start;
    }

    .stowit-page .packing-mechanics,
    .stowit-page .game-features,
    .stowit-page .roadtrip-section {
        padding: 65px 0;
    }
}

@media (max-width: 600px) {
    .stowit-page .feature-list li {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .stowit-page .feature-list li strong {
        grid-column: 1;
        padding-right: 0;
    }

    .stowit-page .feature-list li span {
        grid-column: 1;
        margin-top: 4px;
    }

    .stowit-page .screenshot-pair {
        flex-direction: column;
        gap: 24px;
    }

    .stowit-page .screenshot-card img {
        max-height: 460px;
    }
}
