:root {
    --primary-main: #7C4DFF;
    --primary-light: #B47CFF;
    --primary-dark: #4A19CC;
    --secondary-main: #00D2FF;
    --secondary-light: #80EAFF;
    --secondary-dark: #0099CC;
    --accent-main: #FFD700;
    --accent-glow: rgba(255, 215, 0, 0.5);
    --achievement: #FF6B6B;
    --bg-default: #FDFDFF;
    --bg-surface: #FFFFFF;
    --bg-muted: #F0F2F5;
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-muted-color: #636E72;
    --gradient-hero: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
    --gradient-quest: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    --transition-main: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-default);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted-color) !important;
}

a {
    text-decoration: none;
    transition: var(--transition-main);
}

.btn-quest {
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-quest:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-floating {
    border-radius: 24px;
    background: var(--bg-surface);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-main);
}

.card-floating:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ===== header ===== */
.play-blastx-header {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #F0F2F5;
    z-index: 1030;
}

.play-blastx-header .header-logo {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.play-blastx-header .brand-name {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #7C4DFF;
    letter-spacing: -0.5px;
}

.play-blastx-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #2D3436 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.play-blastx-header .nav-link:hover,
.play-blastx-header .nav-link.active {
    color: #7C4DFF !important;
}

.play-blastx-header .btn-support {
    background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
    color: #FFFFFF !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.play-blastx-header .btn-support:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 77, 255, 0.4);
}

.play-blastx-header .navbar-toggler {
    border: none;
    padding: 0.25rem;
}

.play-blastx-header .navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .play-blastx-header .navbar-collapse {
        background-color: #FFFFFF;
        padding: 1.5rem 0;
        margin-top: 0.5rem;
        border-radius: 12px;
    }

    .play-blastx-header .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 1.1rem;
    }

    .play-blastx-header .btn-support {
        margin-top: 1rem;
        width: 80%;
    }
}

/* ===== hero ===== */
.play-blastx-hero {
    position: relative;
    background-color: #7C4DFF;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.play-blastx-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.play-blastx-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
}

.play-blastx-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 25, 204, 0.85) 0%, rgba(0, 210, 255, 0.75) 100%);
}

.play-blastx-hero__title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    hyphens: auto;
}

.play-blastx-hero__lead {
    font-family: 'Inter', sans-serif;
    color: #DFE6E9;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.play-blastx-hero__btn {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #2D3436 !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 6px 0 #CC8400, 0 10px 25px rgba(255, 215, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.play-blastx-hero__btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 0 #CC8400, 0 20px 35px rgba(255, 215, 0, 0.5);
    color: #2D3436 !important;
}

.play-blastx-hero__btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #CC8400, 0 5px 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 767.98px) {
    .play-blastx-hero__title {
        font-size: 18px !important;
    }

    .play-blastx-hero__lead {
        font-size: 14px !important;
        margin-bottom: 2rem !important;
    }

    .play-blastx-hero__btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .play-blastx-hero {
        padding: 60px 0;
    }
}

/* ===== games_grid ===== */
.games-grid-block .game-card {
    border-radius: 24px;
    border: none;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.games-grid-block .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.games-grid-block .card-img-top {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.games-grid-block .game-card:hover .card-img-top {
    transform: scale(1.05);
}

.games-grid-block .badge {
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    background-color: #B47CFF !important;
}

.games-grid-block .card-title {
    font-family: 'Fredoka', sans-serif;
    color: #2D3436;
    min-height: 2.8rem;
    line-height: 1.3;
}

.games-grid-block .btn-quest {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 0 #CC8400;
    transition: all 0.2s ease;
}

.games-grid-block .btn-quest:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #CC8400;
    background: linear-gradient(180deg, #FFE033 0%, #FFB733 100%);
    color: #FFFFFF;
}

.games-grid-block .btn-rounded {
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-family: 'Fredoka', sans-serif;
    transition: all 0.3s ease;
}

.games-grid-block .btn-primary {
    background-color: #7C4DFF !important;
    border-color: #7C4DFF !important;
    color: #FFFFFF !important;
}

.games-grid-block .btn-outline-primary {
    border-color: #7C4DFF !important;
    color: #7C4DFF !important;
    background: transparent;
}

.games-grid-block .btn-outline-primary:hover {
    background-color: #7C4DFF !important;
    color: #FFFFFF !important;
}

.games-grid-block .search-container input {
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.games-grid-block .search-container input:focus {
    box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.15);
    outline: none;
}

/* ===== about_preview ===== */
.about-preview {
    background-color: #FDFDFF;
    overflow: hidden;
    position: relative;
}

.about-preview .about-content-box {
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-preview .about-main-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #2D3436;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.about-preview .about-description {
    font-family: 'Inter', sans-serif;
    color: #636E72;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-preview .about-action-btn {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #FFFFFF;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 0 #CC8400;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-preview .about-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: #FFFFFF;
    box-shadow: 0 6px 0 #CC8400;
}

.about-preview .about-image-wrapper {
    perspective: 1000px;
}

.about-preview .about-main-img {
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.15);
    transition: transform 0.5s ease;
    object-fit: cover;
    width: 100%;
    height: auto;
    min-height: 350px;
}

.about-preview .about-image-wrapper:hover .about-main-img {
    transform: rotateY(-5deg) translateY(-10px);
}

@media (max-width: 768px) {
    .about-preview .about-main-title {
        font-size: 1.5rem;
    }

    .about-preview .about-description {
        font-size: 0.95rem;
    }

    .about-preview .about-main-img {
        min-height: 250px;
    }
}

/* ===== daily_quests_preview ===== */
.daily-quests-block {
    background-color: #FDFDFF;
    overflow: hidden;
    position: relative;
}

.daily-quests-block__title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #2D3436;
}

.daily-quests-block__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #636E72;
}

.daily-quests-block__card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-column: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: default;
}

.daily-quests-block__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.1);
}

.daily-quests-block__image-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
}

.daily-quests-block__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.daily-quests-block__card:hover .daily-quests-block__img {
    transform: scale(1.05);
}

.daily-quests-block__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.daily-quests-block__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.daily-quests-block__card-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #2D3436;
}

.daily-quests-block__card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #636E72;
    margin-bottom: 20px;
    flex-grow: 1;
}

.daily-quests-block__progress-container {
    margin-bottom: 15px;
}

.daily-quests-block__progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #7C4DFF;
}

.daily-quests-block__progress-bar {
    height: 8px;
    background-color: #F0F2F5;
    border-radius: 10px;
    overflow: hidden;
}

.daily-quests-block__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7C4DFF 0%, #00D2FF 100%);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.daily-quests-block__reward {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 15px;
    border-radius: 12px;
    color: #D4AF37;
    font-weight: 600;
    font-size: 0.85rem;
}

.daily-quests-block__reward i {
    font-size: 1.1rem;
    color: #FFD700;
}

.daily-quests-block__cta-link {
    color: #7C4DFF;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.daily-quests-block__cta-link:hover {
    color: #4A19CC;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .daily-quests-block__title {
        font-size: 1.5rem;
    }

    .daily-quests-block__subtitle {
        font-size: 1rem;
    }

    .daily-quests-block__image-wrapper {
        height: 160px;
    }
}

/* ===== tournaments_preview ===== */
.tournaments-preview-block {
    background-color: #FDFDFF;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.tournaments-preview-block__title {
    font-family: 'Fredoka', sans-serif;
    color: #2D3436;
    font-weight: 700;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.tournaments-preview-block__subtitle {
    color: #636E72;
    max-width: 600px;
    font-size: 1.1rem;
}

.tournaments-preview-block__card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(124, 77, 255, 0.05);
}

.tournaments-preview-block__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.15);
}

.tournaments-preview-block__image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tournaments-preview-block__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tournaments-preview-block__card:hover .tournaments-preview-block__image {
    transform: scale(1.05);
}

.tournaments-preview-block__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
    z-index: 2;
}

.tournaments-preview-block__badge--live {
    background-color: #FF6B6B;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.4);
}

.tournaments-preview-block__badge--upcoming {
    background-color: #00D2FF;
}

.tournaments-preview-block__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tournaments-preview-block__card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 15px;
}

.tournaments-preview-block__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #636E72;
    font-size: 0.9rem;
}

.tournaments-preview-block__info-item i {
    color: #7C4DFF;
    font-size: 1.1rem;
}

.tournaments-preview-block__button {
    margin-top: auto;
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid #7C4DFF;
    color: #7C4DFF;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tournaments-preview-block__button:hover {
    background-color: #7C4DFF;
    color: #FFFFFF;
}

.tournaments-preview-block__main-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #2D3436;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 0 #CC8400;
    transition: all 0.2s ease;
    position: relative;
    top: 0;
}

.tournaments-preview-block__main-btn:hover {
    top: 2px;
    box-shadow: 0 4px 0 #CC8400;
    color: #2D3436;
}

.tournaments-preview-block__main-btn:active {
    top: 6px;
    box-shadow: 0 0 0 #CC8400;
}

@media (max-width: 767px) {
    .tournaments-preview-block__title {
        font-size: 1.5rem;
    }

    .tournaments-preview-block__subtitle {
        font-size: 0.9rem;
    }

    .tournaments-preview-block__image-wrapper {
        height: 150px;
    }
}

/* ===== footer ===== */
.play-blastx-footer {
    background-color: #F0F2F5 !important;
    color: #2D3436;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.play-blastx-footer .footer-logo {
    max-width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

.play-blastx-footer .footer-heading {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #7C4DFF;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.play-blastx-footer .footer-about-text {
    line-height: 1.6;
    color: #636E72;
    font-size: 0.95rem;
}

.play-blastx-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.play-blastx-footer .footer-links a {
    color: #636E72;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.play-blastx-footer .footer-links a:hover {
    color: #7C4DFF;
    transform: translateX(5px);
}

.play-blastx-footer .footer-contact-info p {
    color: #636E72;
    font-size: 0.95rem;
}

.play-blastx-footer .footer-contact-info a {
    color: #636E72;
    transition: color 0.3s ease;
}

.play-blastx-footer .footer-contact-info a:hover {
    color: #7C4DFF;
}

.play-blastx-footer .footer-contact-info i {
    color: #00D2FF;
    font-size: 1.1rem;
    vertical-align: middle;
}

.play-blastx-footer .footer-bottom {
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #B2BEC3;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .play-blastx-footer .footer-heading {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .play-blastx-footer .footer-links a {
        font-size: 0.9rem;
    }

    .play-blastx-footer .footer-about-text {
        font-size: 0.9rem;
    }
}

.play-blastx-header {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #F0F2F5;
    z-index: 1030;
}

.play-blastx-header .header-logo {
    max-width: 45px;
    height: auto;
    object-fit: contain;
}

.play-blastx-header .brand-name {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #7C4DFF;
    letter-spacing: -0.5px;
}

.play-blastx-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #2D3436 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.play-blastx-header .nav-link:hover,
.play-blastx-header .nav-link.active {
    color: #7C4DFF !important;
}

.play-blastx-header .btn-support {
    background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
    color: #FFFFFF !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.play-blastx-header .btn-support:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 77, 255, 0.4);
}

.pb-hero-category {
    background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.pb-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pb-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    max-width: 700px;
    opacity: 0.9;
}

.pb-filter-bar {
    background-color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F2F5;
}

.pb-filter-bar .input-group-text {
    color: #7C4DFF;
}

.pb-filter-bar .form-control:focus {
    box-shadow: none;
    border-color: #7C4DFF;
}

.pb-stats-indicator {
    color: #636E72;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.pb-game-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid transparent;
}

.pb-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.15);
    border-color: #7C4DFF;
}

.pb-card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.pb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pb-game-card:hover .pb-card-img {
    transform: scale(1.1);
}

.pb-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(124, 77, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pb-game-card:hover .pb-card-overlay {
    opacity: 1;
}

.pb-card-overlay .btn-play {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    color: #2D3436 !important;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 0 #CC8400;
    padding: 0.6rem 1.5rem;
    transition: transform 0.2s ease;
}

.pb-card-overlay .btn-play:hover {
    transform: translateY(-2px);
}

.pb-category-badge {
    background: rgba(0, 210, 255, 0.1);
    color: #0099CC;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
}

.pb-card-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}

.pb-card-title a {
    color: #2D3436;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pb-card-title a:hover {
    color: #7C4DFF;
}

.play-blastx-footer {
    background-color: #F0F2F5 !important;
    color: #2D3436;
    font-family: 'Inter', sans-serif;
}

.play-blastx-footer .footer-logo {
    max-width: 50px;
}

.play-blastx-footer .footer-heading {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #7C4DFF;
    font-size: 1.25rem;
}

.play-blastx-footer .footer-links a {
    color: #636E72;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.play-blastx-footer .footer-links a:hover {
    color: #7C4DFF;
    transform: translateX(5px);
}

.play-blastx-footer .footer-contact-info i {
    color: #00D2FF;
    font-size: 1.1rem;
}

@media (max-width: 767.98px) {
    .pb-hero-title {
        font-size: 24px;
    }

    .pb-hero-subtitle {
        font-size: 14px;
    }

    .pb-game-card {
        border-radius: 16px;
    }
}


/* ===== PAGE: about ===== */
.about-history__title, .about-values__title, .about-team__title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: #7C4DFF;
}
.about-history__text {
  line-height: 1.8;
  color: #2D3436;
}
.bg-muted {
  background-color: #F0F2F5;
}
.about-values__card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.about-values__card:hover {
  transform: translateY(-10px);
}
.text-accent {
  color: #FFD700;
}
.about-team__avatar-container {
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  overflow: hidden;
  width: fit-content;
}
.about-team__member h3 {
  font-family: 'Fredoka', sans-serif;
  color: #2D3436;
}
.about-history__image-wrapper img {
  max-width: 100%;
  height: auto;
  border: 8px solid rgba(124, 77, 255, 0.05);
}

/* ===== PAGE: daily-quests ===== */
.quests-list-block {
  background-color: #FDFDFF;
  font-family: 'Inter', sans-serif;
}

.quests-list-block__main-title {
  font-family: 'Fredoka', sans-serif;
  color: #2D3436;
  font-weight: 700;
  font-size: clamp(24px, 5vw, 36px);
}

.quests-list-block__subtitle {
  color: #636E72;
  font-size: 1.1rem;
}

.quests-list-block__filter-btn {
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid #7C4DFF;
  color: #7C4DFF;
  background: transparent;
  text-transform: none;
  box-shadow: none !important;
}

.quests-list-block__filter-btn.active,
.quests-list-block__filter-btn:hover {
  background-color: #7C4DFF;
  color: #FFFFFF;
}

.quests-list-block__card {
  border-radius: 24px;
  border: none;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  overflow: hidden;
}

.quests-list-block__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quests-list-block__card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.quests-list-block__card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.quests-list-block__card:hover .quests-list-block__card-img-wrapper img {
  transform: scale(1.1);
}

.quests-list-block__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  color: #FFFFFF;
  z-index: 2;
}

.badge-puzle { background-color: #7C4DFF; }
.badge-accion { background-color: #00D2FF; }
.badge-estrategia { background-color: #FF6B6B; }

.quests-list-block__card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: #2D3436;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.quests-list-block__card-text {
  color: #636E72;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.quests-list-block__reward {
  font-weight: 600;
  color: #2D3436;
  background: rgba(124, 77, 255, 0.05);
  padding: 8px 12px;
  border-radius: 12px;
  display: inline-flex;
}

.quests-list-block__progress-container .progress {
  height: 10px;
  border-radius: 50px;
  background-color: #F0F2F5;
}

.quests-list-block__progress-label {
  font-size: 0.85rem;
  color: #B2BEC3;
}

.quests-list-block__progress-percent {
  font-weight: 700;
  font-size: 0.85rem;
  color: #7C4DFF;
}

.quests-list-block__status {
  font-size: 0.85rem;
  border-top: 1px solid #F0F2F5;
  padding-top: 1rem;
}

/* ===== PAGE: tournaments ===== */
.tournaments-section { background-color: #FDFDFF; font-family: 'Inter', sans-serif; }
.tournaments-section__heading { font-family: 'Fredoka', sans-serif; color: #2D3436; margin-bottom: 0.5rem; }
.tournaments-section__subheading { font-size: 1.1rem; }
.tournaments-section__controls { border: 1px solid rgba(0,0,0,0.05); }
.tournaments-section .btn-primary { background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%); border: none; color: #2D3436; font-weight: 600; box-shadow: 0 4px 0 #CC8400; transition: all 0.2s ease; }
.tournaments-section .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #CC8400; background: linear-gradient(180deg, #FFE033 0%, #FFB733 100%); }
.tournaments-section .btn-outline-primary { border: 2px solid #7C4DFF; color: #7C4DFF; font-weight: 600; }
.tournaments-section .btn-outline-primary:hover { background-color: #7C4DFF; color: #FFFFFF; transform: translateY(-2px); }
.tournaments-section .js-filter-btn { color: #636E72; font-weight: 500; border: 1px solid transparent; }
.tournaments-section .js-filter-btn.active { background-color: #7C4DFF; color: #FFFFFF; shadow: 0 4px 10px rgba(124, 77, 255, 0.3); }
.tournaments-section .card { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; background: #FFFFFF; }
.tournaments-section .card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important; }
.tournaments-section__card-img-wrapper { height: 200px; overflow: hidden; }
.tournaments-section__card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.tournaments-section__badge-status { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem 1rem; border-radius: 50px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.tournaments-section__badge-status.active { background-color: #00D2FF; color: #FFFFFF; box-shadow: 0 0 15px rgba(0, 210, 255, 0.5); }
.tournaments-section__badge-status.upcoming { background-color: #7C4DFF; color: #FFFFFF; box-shadow: 0 0 15px rgba(124, 77, 255, 0.5); }
.tournaments-section .progress { background-color: #F0F2F5; }
.tournaments-section .progress-bar { background-color: #7C4DFF; }
.tournaments-section__reward i { font-size: 1.2rem; }
.tournaments-section .form-control:focus { box-shadow: none; border: 1px solid #7C4DFF !important; background-color: #FFF !important; }

/* ===== PAGE: events ===== */
.events-calendar {
  background-color: #FDFDFF;
  overflow: hidden;
}

.events-calendar h1 {
  font-family: 'Fredoka', sans-serif;
  color: #2D3436;
}

.events-calendar .event-card {
  border-radius: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  background: #FFFFFF;
}

.events-calendar .event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(124, 77, 255, 0.1) !important;
}

.events-calendar .card-img-top {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.events-calendar .grayscale {
  filter: grayscale(100%);
}

.events-calendar .js-tab-container {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.events-calendar .js-tab-btn {
  transition: all 0.3s ease;
  border: none;
}

.events-calendar .btn-primary {
  background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
}

.events-calendar .btn-outline-secondary {
  color: #636E72;
  border: none;
}

.events-calendar .btn-outline-secondary:hover {
  background-color: #F0F2F5;
  color: #2D3436;
}

.events-calendar h3 {
  font-family: 'Fredoka', sans-serif;
  color: #2D3436;
}

.events-calendar .badge {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

@media (max-width: 767.98px) {
  .events-calendar h1 {
    font-size: 1.5rem !important;
  }
  .events-calendar .card-img-top {
    height: 160px;
  }
}

/* ===== PAGE: support ===== */
.support-container { background-color: #FDFDFF; font-family: 'Inter', sans-serif; }
.support-container .support-main-title { font-family: 'Fredoka', sans-serif; color: #2D3436; font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); }
.support-container .support-intro-text { color: #636E72; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.support-container .faq-card, .support-container .contact-card { background: #FFFFFF; border-radius: 24px; transition: transform 0.3s ease; border: 1px solid rgba(0, 0, 0, 0.05); }
.support-container .faq-section-title, .support-container .contact-section-title { font-family: 'Fredoka', sans-serif; color: #7C4DFF; font-weight: 600; }
.support-container .accordion-button { background-color: #F0F2F5; color: #2D3436; font-weight: 600; padding: 1.25rem; box-shadow: none !important; border: none; font-size: 1rem; }
.support-container .accordion-button:not(.collapsed) { background-color: #7C4DFF; color: #FFFFFF; }
.support-container .accordion-button::after { display: none; }
.support-container .accordion-body { color: #636E72; line-height: 1.6; border-top: 1px solid #F0F2F5; }
.support-container .contact-label { color: #2D3436; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.support-container .contact-link { color: #0099CC; font-size: 1.1rem; text-decoration: none; font-weight: 500; display: block; transition: color 0.2s ease; }
.support-container .contact-link:hover { color: #7C4DFF; }
.support-container .contact-info-text { color: #636E72; font-size: 1rem; margin-bottom: 0; }
.support-container .bg-muted-light { background-color: #F0F2F5; }
@media (max-width: 768px) {
  .support-container .support-main-title { font-size: 1.5rem; }
  .support-container .faq-card, .support-container .contact-card { padding: 1.5rem !important; }
}

/* ===== PAGE: privacy ===== */
.privacy-content-block { padding: 80px 0; background-color: #FDFDFF; font-family: 'Inter', sans-serif; color: #2D3436; } .privacy-content-block .privacy-card { background: #FFFFFF; border-radius: 24px; padding: 48px; border: 1px solid rgba(124, 77, 255, 0.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); } .privacy-content-block .privacy-main-title { font-family: 'Fredoka', sans-serif; color: #7C4DFF; font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 24px; text-align: center; } .privacy-content-block .privacy-intro-text { font-size: 1.1rem; line-height: 1.8; color: #636E72; margin-bottom: 40px; text-align: center; border-bottom: 2px solid #F0F2F5; pb-4: 24px; } .privacy-content-block .privacy-subtitle { font-family: 'Fredoka', sans-serif; color: #4A19CC; font-weight: 600; font-size: 1.25rem; margin-top: 32px; margin-bottom: 16px; border-left: 4px solid #00D2FF; padding-left: 15px; } .privacy-content-block p { line-height: 1.7; margin-bottom: 16px; } .privacy-content-block ul { margin-bottom: 24px; padding-left: 20px; } .privacy-content-block ul li { margin-bottom: 10px; position: relative; list-style-type: none; } .privacy-content-block ul li::before { content: '•'; color: #00D2FF; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; } @media (max-width: 767px) { .privacy-content-block { padding: 40px 0; } .privacy-content-block .privacy-card { padding: 24px; border-radius: 16px; } .privacy-content-block .privacy-main-title { font-size: 1.25rem; } .privacy-content-block .privacy-subtitle { font-size: 1.1rem; } .privacy-content-block p { font-size: 0.95rem; } }

/* ===== PAGE: terms ===== */
.terms-section { background-color: #FDFDFF; font-family: 'Inter', sans-serif; }
.terms-section .terms-card { background-color: #FFFFFF; border: 1px solid rgba(0,0,0,0.05); border-radius: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important; }
.terms-section h1 { font-family: 'Fredoka', sans-serif; color: #7C4DFF; font-weight: 700; }
.terms-section h2 { font-family: 'Fredoka', sans-serif; color: #4A19CC; font-weight: 600; border-bottom: 2px solid #F0F2F5; padding-bottom: 0.5rem; }
.terms-section p, .terms-section li { color: #636E72; line-height: 1.7; }
.terms-section ul { padding-left: 1.2rem; }
.terms-section li { margin-bottom: 0.5rem; }
.terms-section .btn-primary { background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%); border: none; color: #2D3436; font-weight: 600; box-shadow: 0 4px 0 #CC8400; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.terms-section .btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 0 #CC8400; background: linear-gradient(180deg, #FFE033 0%, #FFB733 100%); }
.terms-section .lead { color: #2D3436; font-weight: 500; }

/* ===== PAGE: disclaimer ===== */
.disclaimer-section {
  background-color: #FDFDFF;
  min-height: 80vh;
}

.disclaimer-section .disclaimer-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(124, 77, 255, 0.1);
}

.disclaimer-section .disclaimer-main-title {
  font-family: 'Fredoka', sans-serif;
  color: #7C4DFF;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.disclaimer-section .disclaimer-updated-date {
  font-family: 'Inter', sans-serif;
  color: #B2BEC3;
  font-size: 0.9rem;
  font-weight: 500;
}

.disclaimer-section .disclaimer-subtitle {
  font-family: 'Fredoka', sans-serif;
  color: #4A19CC;
  font-weight: 600;
  font-size: 1.25rem;
  border-left: 4px solid #00D2FF;
  padding-left: 15px;
}

.disclaimer-section .disclaimer-text {
  font-family: 'Inter', sans-serif;
  color: #2D3436;
  line-height: 1.8;
  font-size: 1rem;
  text-align: justify;
}

@media (max-width: 768px) {
  .disclaimer-section .disclaimer-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
  .disclaimer-section .disclaimer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }
  .disclaimer-section .disclaimer-main-title {
    font-size: 1.5rem;
  }
}

.comment-card {
    border-radius: 24px;
    background: #FFFFFF;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comment-card:hover {
    transform: translateY(-5px);
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
}

.avatar-gradient-1 {
    background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
}

.comment-username {
    font-family: 'Fredoka', sans-serif;
    color: #2D3436;
    font-weight: 600;
}

.comment-text {
    font-family: 'Inter', sans-serif;
    color: #636E72;
    line-height: 1.6;
}

.btn-action-quest {
    color: #B2BEC3;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-action-quest:hover {
    color: #7C4DFF;
}

.btn-action-quest i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.reply-card {
    background-color: #F0F2F5;
    border-radius: 20px;
    margin-top: 12px;
    position: relative;
}

.reply-card::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 50%;
    width: 2px;
    border-left: 2px dashed #DFE6E9;
    border-bottom: 2px dashed #DFE6E9;
    border-bottom-left-radius: 12px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
}

.avatar-gradient-2 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.comment-reply-wrapper .comment-text {
    font-size: 0.95rem;
}

.text-primary-emphasis {
    color: #7C4DFF !important;
}


/* ===== PAGE TEMPLATE: game-collection ===== */
.game-detail-template {
    background-color: #FDFDFF;
    min-height: 100vh;
}

.game-detail-template .game-viewport-container {
    background: #000;
    aspect-ratio: 16/9;
    max-height: 600px;
    border: 4px solid #FFFFFF;
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.15);
}

.game-detail-template .game-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #4A19CC;
}

.game-detail-template .game-description-rich-text h3,
.game-detail-template .game-description-rich-text h4 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #7C4DFF;
}

.game-detail-template .game-description-rich-text p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #636E72;
}

.game-detail-template .btn-primary {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #2D3436;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    box-shadow: 0 4px 0 #CC8400;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-detail-template .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #CC8400;
}

.game-detail-template .btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 #CC8400;
}

.game-detail-template .avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #FFF;
    font-family: 'Fredoka', sans-serif;
}

.game-detail-template .avatar-gradient-1 {
    background: linear-gradient(135deg, #7C4DFF 0%, #00D2FF 100%);
}

.game-detail-template .avatar-gradient-2 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFD700 100%);
}

.game-detail-template .comment-card {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.game-detail-template .reply-card {
    background-color: #F0F2F5;
    border-radius: 15px;
}

.game-detail-template .btn-action-quest {
    color: #636E72;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-detail-template .btn-action-quest:hover {
    color: #7C4DFF;
}

@media (max-width: 768px) {
    .game-detail-template .game-viewport-container {
        height: 300px;
    }

    .game-detail-template .comment-reply-wrapper {
        ms-3 !important;
    }
}