/* ==========================================================================
   RESOURCES / SHOW PAGE STYLES - Mobile View on All Devices
   ========================================================================== */

/* Category Landing Hero */
.hero {
    padding: 24px 16px 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(198, 246, 52, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(19, 43, 53, 0.6) 0%, transparent 50%),
                linear-gradient(180deg, #0b1a20 0%, #0e222a 60%, #122b35 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Back to Home Button */
.back-home-bar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 14px;
    position: relative;
    z-index: 3;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-back-home:hover {
    background: var(--primary);
    color: #0b1a20;
    border-color: var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
    transform: translateX(-2px);
}

.back-home-bottom {
    margin-top: 24px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 26, 32, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.hero-description {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0 auto 16px;
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-image-wrapper {
    margin: 18px auto;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(198, 246, 52, 0.12);
    border: 1px solid rgba(198, 246, 52, 0.25);
    background: #0e222a;
}

.hero-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.hero-content-text {
    font-size: 13px;
    color: #94a3b8;
    margin: 14px auto 0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Show Container */
.show-container {
    width: 100%;
    margin: 0 auto;
    padding: 30px 16px;
}

/* Featured Section */
.featured-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 8px auto 0;
    border-radius: 3px;
}

/* 1-Column Mobile Responsive Feed for Inner Games */
.grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Card Style */
.card {
    background: #112933;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.card-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 150px;
    margin-bottom: 12px;
    background: #0b1a20;
    width: 100%;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card h3 {
    color: #ffffff;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card p {
    color: #94a3b8;
    font-size: 12.5px;
    margin-bottom: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.card-btn {
    background: var(--primary);
    color: #0b1a20;
    border: none;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: var(--radius-pill);
    width: 100%;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* Ad Block */
.ad-block {
    width: 100%;
    margin: 30px auto 0;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
