:root {
    --action-page-bg-dark: #0f0c20;
    --action-page-bg-card: #1d1838;
    --action-page-primary-yellow: #ffea00;
    --action-page-primary-orange: #ff5500;
    --action-page-primary-pink: #ff0077;
    --action-page-primary-cyan: #00f0ff;
    --action-page-primary-purple: #7b2cbf;
    --action-page-text-light: #ffffff;
    --action-page-text-dim: #a099c0;
    --action-page-comic-border: 3px solid #000000;
    --action-page-hard-shadow: 5px 5px 0px #000000;
    --action-page-hard-shadow-hover: 8px 8px 0px #000000;
    --action-page-radius-main: 16px;
}

body {
    background-color: var(--action-page-bg-dark);
    background-image:
            radial-gradient(circle at 15% 15%, rgba(255, 0, 119, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 85% 85%, rgba(0, 240, 255, 0.15) 0%, transparent 40%),
            radial-gradient(#251f47 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 24px 24px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 50px;
}

.breadcrumb{
    margin: 24px 0;
}

/* ==========================================================================
   NEW TOP PAGE HEADER
   ========================================================================== */
.action-page .page-header {
    margin-bottom: 24px;
}

.action-page .page-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 36px;
    font-weight: normal;
    color: var(--action-page-primary-yellow);
    text-shadow: 3px 3px 0px #000;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

/* ==========================================================================
   2. ANIMATIONS
   ========================================================================== */
@keyframes heroPulse {
    0%, 100% { transform: scale(1) rotate(-1deg); }
    50% { transform: scale(1.02) rotate(1deg); }
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px) rotate(-6deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes lightningGlow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--action-page-primary-yellow)); }
    50% { filter: drop-shadow(0 0 15px var(--action-page-primary-orange)); }
}

/* ==========================================================================
   3. NAVBAR & HEADER
   ========================================================================== */
.action-page{
    color: var(--action-page-text-light);
}
.action-page .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    background: rgba(15, 12, 32, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: var(--action-page-comic-border);
}

.action-page .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.action-page .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--action-page-primary-yellow);
    border: var(--action-page-comic-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0px #000;
    animation: lightningGlow 2s infinite;
}

.action-page .logo-icon svg {
    width: 28px;
    height: 28px;
    fill: #000;
}

.action-page .logo-text {
    font-family: 'Luckiest Guy', cursive;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--action-page-primary-yellow);
    text-shadow: 3px 3px 0px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    text-transform: uppercase;
}

.action-page .user-panel {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-page .xp-badge {
    background: var(--action-page-primary-purple);
    border: var(--action-page-comic-border);
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 3px 3px 0px #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-page .xp-badge span {
    color: var(--action-page-primary-cyan);
}

/* ==========================================================================
   4. MAIN CONTAINER & HERO
   ========================================================================== */
.action-page .container {
    max-width: 1280px;
    margin: 25px auto 0 auto;
    padding: 0 20px;
}

.action-page .hero-banner {
    position: relative;
    background: linear-gradient(135deg, #4d12d8 0%, #7b00ff 50%, #ff0055 100%);
    border: var(--action-page-comic-border);
    border-radius: 24px;
    box-shadow: var(--action-page-hard-shadow);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    overflow: hidden;
    margin-bottom: 40px;
    animation: heroPulse 6s ease-in-out infinite;
}

.action-page .hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--action-page-primary-yellow);
    color: #000;
    font-family: 'Luckiest Guy', cursive;
    font-weight: normal;
    padding: 6px 12px;
    border: var(--action-page-comic-border);
    border-radius: 10px;
    box-shadow: 3px 3px 0px #000;
    font-size: 14px;
    text-transform: uppercase;
    animation: badgeFloat 3s ease-in-out infinite;
    z-index: 2;
}
.action-page .hero-badge::before{
    content:"🔥"
}

.action-page .hero-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 4px 4px 0px #000;
    margin-top: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.action-page .hero-description {
    font-size: 18px;
    color: #f0e6ff;
    margin-bottom: 25px;
    line-height: 1.4;
    max-width: 500px;
    text-shadow: 1px 1px 0 #000;
}

.action-page .hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-page .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 22px;
    padding: 16px 36px;
    background: var(--action-page-primary-yellow);
    color: #000;
    border: var(--action-page-comic-border);
    border-radius: 16px;
    box-shadow: var(--action-page-hard-shadow);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    text-transform: uppercase;
}

.action-page .btn-action:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--action-page-hard-shadow-hover);
    background: #fff033;
}

.action-page .btn-action:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.action-page .hero-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--action-page-primary-cyan);
    text-shadow: 1px 1px 0 #000;
}
.action-page .hero-stats .hero-rating::before{
    content:"⭐"
}
.action-page .hero-stats .hero-game-ico::before{
    content:"🎮"
}
.action-page .hero-stats .hero-separator::after{
    content:"•"
}

.action-page .hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-page .hero-img-box {
    width: 100%;
    height: 280px;
    border: var(--action-page-comic-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--action-page-hard-shadow);
    background: #000;
    position: relative;
}

.action-page .hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   5. GAME GRID & CARDS
   ========================================================================== */
.action-page .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.action-page .game-card {
    background: var(--action-page-bg-card);
    border: var(--action-page-comic-border);
    border-radius: var(--action-page-radius-main);
    box-shadow: var(--action-page-hard-shadow);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.action-page .game-card:hover {
    transform: translateY(-6px);
    box-shadow: 8px 12px 0px #000;
    border-color: var(--action-page-primary-yellow);
}

.action-page .card-thumb {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #15102a;
    border-bottom: var(--action-page-comic-border);
}

.action-page .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.action-page .game-card:hover .card-thumb img {
    transform: scale(1.08);
}

.action-page .card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 12px;
    padding: 4px 10px;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 2px 2px 0px #000;
}

.action-page .card-tag.tag-hot {
    background: #ff0055;
    color: #fff;
}

.action-page .card-tag.tag-top {
    background: var(--action-page-primary-yellow);
    color: #000;
}

.action-page .card-tag.tag-new {
    background: #00e676;
    color: #000;
}

.action-page .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 32, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.action-page .game-card:hover .play-overlay {
    opacity: 1;
}

.action-page .play-icon-btn {
    width: 60px;
    height: 60px;
    background: var(--action-page-primary-yellow);
    border: var(--action-page-comic-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0px #000;
    transform: scale(0.8);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-page .game-card:hover .play-icon-btn {
    transform: scale(1);
}

.action-page .play-icon-btn svg {
    width: 32px;
    height: 32px;
    fill: #000;
}

.action-page .card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.action-page .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-page .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    font-size: 13px;
    color: var(--action-page-text-dim);
    font-weight: 600;
}

.action-page .rating-box {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--action-page-primary-yellow);
}
.action-page .rating-box::before{
    content:"★"
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.action-page footer {
    margin-top: 60px;
    border-top: var(--action-page-comic-border);
    background: #0b0918;
    padding: 40px 0 20px 0;
    text-align: center;
}

.action-page .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.action-page .footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.action-page .footer-links a {
    color: var(--action-page-text-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.action-page .footer-links a:hover {
    color: var(--action-page-primary-yellow);
}

.action-page .copyright {
    color: #5d5580;
    font-size: 13px;
    margin-top: 15px;
}

/* ==========================================================================
   8. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .action-page .hero-banner {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .action-page .hero-title {
        font-size: 34px;
    }

    .action-page .hero-img-box {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .action-page .logo-text {
        font-size: 20px;
    }

    .action-page .xp-badge {
        font-size: 12px;
        padding: 4px 8px;
    }

    .action-page .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .action-page .btn-action {
        width: 100%;
        text-align: center;
    }

    .action-page .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .action-page .page-title {
        font-size: 28px;
    }
}