body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f4effa;
    background-image:
            radial-gradient(#d1c4e9 15%, transparent 16%),
            radial-gradient(#d1c4e9 15%, transparent 16%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    line-height: 1.5;
}

/* ==========================================================================
   2. BREADCRUMB CONTAINER (RESERVED)
   ========================================================================== */
.strategy-page .breadcrumb-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 20px 0;
    min-height: 24px;
}
.breadcrumb{
    margin: 24px 0;
}
.strategy-page{
    color: #1e1b4b;
}
/* ==========================================================================
   3. HERO / CATEGORY BANNER
   ========================================================================== */
.strategy-page .category-hero {
    max-width: 1280px;
    margin: 16px auto 32px;
    padding: 0 20px;
}

.strategy-page .hero-card {
    background: #7c3aed;
    border: 4px solid #0f172a;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 8px 8px 0px #0f172a;
    position: relative;
    overflow: hidden;
}

/* Cartoon background shape */
.strategy-page .hero-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: #facc15;
    border: 4px solid #0f172a;
    border-radius: 50%;
    z-index: 1;
}

.strategy-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

/* Strategy Sword/Crown Icon via CSS Pseudo-element */
.strategy-page .hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 3px 3px 0px #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.strategy-page .hero-title::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #facc15;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    border: 2px solid #0f172a;
    animation: floatIcon 2s ease-in-out infinite alternate;
}

.strategy-page .hero-description {
    font-size: 18px;
    color: #f3e8ff;
    font-weight: 500;
    text-shadow: 1px 1px 0px #0f172a;
}

/* ==========================================================================
   4. GAME GRID (4 CARDS PER ROW)
   ========================================================================== */
.strategy-page .main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.strategy-page .game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ==========================================================================
   5. GAME CARD STYLES & ANIMATIONS
   ========================================================================== */
.strategy-page .game-card {
    background: #ffffff;
    border: 3.5px solid #0f172a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 6px 6px 0px #0f172a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.strategy-page .game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 10px 10px 0px #0f172a;
}

/* Thumbnail Container */
.strategy-page .thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    background: #e2e8f0;
    overflow: hidden;
    border-bottom: 3.5px solid #0f172a;
}

.strategy-page .game-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.strategy-page .game-card:hover .game-thumb {
    transform: scale(1.08);
}

/* Pure CSS Play Button Overlay on Hover */
.strategy-page .thumb-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    background-color: #facc15;
    border: 3px solid #0f172a;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 3px 3px 0px #0f172a;
    z-index: 3;
}

/* CSS Play Triangle inside Play Button Overlay */
.strategy-page .thumb-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 2px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #0f172a;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 4;
}

.strategy-page .game-card:hover .thumb-wrapper::after,
.strategy-page .game-card:hover .thumb-wrapper::before {
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   6. TAGS (ONLY TOP, NEW, HOT)
   ========================================================================== */
.strategy-page .game-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 12px;
    border: 2.5px solid #0f172a;
    box-shadow: 2px 2px 0px #0f172a;
    z-index: 2;
    text-transform: uppercase;
}

/* TOP Tag - Yellow */
.strategy-page .tag-top {
    background-color: #facc15;
    color: #0f172a;
    animation: pulseBadge 1.5s infinite alternate;
}

/* NEW Tag - Green */
.strategy-page .tag-new {
    background-color: #22c55e;
    color: #ffffff;
}

/* HOT Tag - Red */
.strategy-page .tag-hot {
    background-color: #ef4444;
    color: #ffffff;
    animation: pulseBadge 1.2s infinite alternate;
}

/* ==========================================================================
   7. CARD INFO SECTION
   ========================================================================== */
.strategy-page .card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    background: #ffffff;
}

.strategy-page .game-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strategy-page .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    gap: 8px;
}

/* Pure CSS Star Icon via Pseudo-element */
.strategy-page .game-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #0f172a;
    font-weight: 700;
}

.strategy-page .game-rating::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #facc15;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.strategy-page .game-rating:empty,
.strategy-page .game-rating[hidden] {
    display: none;
}

.strategy-page .play-btn-text {
    background: #e0e7ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1.5px solid #0f172a;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.strategy-page .card-meta:not(:has(.game-rating:not(:empty):not([hidden]))) .play-btn-text,
.strategy-page .play-btn-text:only-child {
    width: 100%;
}

.strategy-page .game-card:hover .play-btn-text {
    background: #4338ca;
    color: #ffffff;
}

/* ==========================================================================
   8. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(-5deg);
    }
    100% {
        transform: translateY(-6px) rotate(5deg);
    }
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .strategy-page .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .strategy-page .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .strategy-page .hero-title {
        font-size: 32px;
    }

    .strategy-page .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .strategy-page .game-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .strategy-page .hero-card {
        padding: 24px 20px;
    }
}