:root {
    --primary: #FF4D6D;
    --secondary: #FF758F;
    --accent: #FFB3C1;
    --bg-main: #FFF0F3;
    --bg-surface: #FFFFFF;
    --text-primary: #2D0A10;
    --text-secondary: #591C27;
    --status-success: #4CC9F0;
    --status-error: #F72585;
    --glow: rgba(255, 77, 109, 0.4);
    --font-main: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 800;
    color: var(--text-primary);
}

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

* {
    box-sizing: border-box;
}

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

.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    :root {
        --base-size: 14px;
    }
}

/* ===== header ===== */
.header-block {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 77, 109, 0.08);
    z-index: 1050;
    font-family: 'Inter', sans-serif;
}

.header-block .navbar {
    padding: 0.75rem 0;
    background-color: #FFFFFF;
}

.header-block .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FF4D6D;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.header-block .navbar-brand:hover {
    transform: scale(1.02);
    color: #FF758F;
}

.header-block .nav-link {
    color: #2D0A10;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 12px;
}

.header-block .nav-link:hover,
.header-block .nav-link.active {
    color: #FF4D6D;
    background-color: #FFF0F3;
}

.header-block .dropdown-menu {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 0.75rem;
    margin-top: 10px;
}

.header-block .dropdown-item {
    color: #2D0A10;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-block .dropdown-item:hover {
    background-color: #FFF0F3;
    color: #FF4D6D;
    transform: translateX(5px);
}

.header-block .navbar-toggler {
    border: none;
    color: #FF4D6D;
    font-size: 2rem;
    padding: 0;
}

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

.header-block .btn-cta {
    background-color: #FF4D6D;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-block .btn-cta:hover {
    background-color: #FF758F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.4);
}

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

    .header-block .nav-link {
        padding: 0.75rem 0 !important;
    }

    .header-block .btn-cta {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }

    .header-block .dropdown-item:hover {
        transform: none;
    }
}

/* ===== hero ===== */
.sm-hero-banner {
    position: relative;
    background-color: #FFF0F3;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.sm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.8s ease-out;
}

.sm-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 240, 243, 0.95) 0%, rgba(255, 240, 243, 0.8) 40%, rgba(255, 240, 243, 0.2) 100%);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .sm-hero-overlay {
        background: linear-gradient(180deg, rgba(255, 240, 243, 0.95) 0%, rgba(255, 240, 243, 0.8) 100%);
    }
}

.sm-hero-banner .container {
    z-index: 2;
}

.sm-hero-badge {
    background: #FFFFFF;
    color: #FF4D6D;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 77, 109, 0.15);
    border: 1px solid rgba(255, 77, 109, 0.1);
}

.sm-hero-h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    color: #2D0A10;
}

.sm-hero-h1 .text-primary {
    color: #FF4D6D !important;
}

.sm-hero-p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #591C27;
    max-width: 600px;
}

.sm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF4D6D 0%, #FF758F 100%);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
    border: none;
}

.sm-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 77, 109, 0.4);
    color: #FFFFFF;
}

.sm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    color: #FF4D6D;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #FF4D6D;
}

.sm-btn-secondary:hover {
    background: #FFF0F3;
    color: #FF4D6D;
    transform: translateY(-3px);
}

.sm-stat-item {
    text-align: center;
}

.sm-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF4D6D;
    line-height: 1;
}

.sm-stat-label {
    font-size: 0.85rem;
    color: #591C27;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .sm-stat-item {
        text-align: left;
    }
}

.min-vh-75 {
    min-height: 75vh;
}

/* ===== features ===== */
.features-section {
    background-color: #FFF0F3;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.features-section .section-title {
    color: #2D0A10;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.features-section .title-underline {
    width: 80px;
    height: 5px;
    background: #FF4D6D;
    border-radius: 10px;
    margin-bottom: 20px;
}

.features-section .feature-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(255, 77, 109, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.features-section .feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.features-section .feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(255, 77, 109, 0.15);
    border-color: #FFB3C1;
}

.features-section .icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #FF4D6D 0%, #FF758F 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
    transition: transform 0.3s ease;
}

.features-section .feature-card:hover .icon-wrapper {
    transform: rotate(15deg) scale(1.1);
}

.features-section .feature-title {
    color: #2D0A10;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.features-section .feature-desc {
    color: #591C27;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .features-section {
        padding: 50px 0;
    }

    .features-section .section-title {
        font-size: 1.5rem;
    }

    .features-section .feature-card {
        padding: 35px 20px;
    }

    .features-section .feature-title {
        font-size: 1.25rem;
    }

    .features-section .icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
}

/* ===== game_list ===== */
.sp-game-list {
    background-color: #FFF0F3;
    font-family: 'Montserrat', sans-serif;
}

.sp-section-title {
    font-weight: 800;
    color: #2D0A10;
}

.sp-section-subtitle {
    color: #591C27;
    font-family: 'Inter', sans-serif;
}

.sp-search-wrapper {
    min-width: 250px;
}

.sp-search-input {
    border-radius: 50px;
    border: 2px solid #FFCCD5;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.sp-search-input:focus {
    border-color: #FF4D6D;
    box-shadow: 0 0 0 0.25rem rgba(255, 77, 109, 0.25);
    outline: none;
}

.sp-filter-menu {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.1);
    padding: 0.5rem;
}

.sp-filter-menu .dropdown-item {
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    color: #591C27;
}

.sp-filter-menu .dropdown-item:hover {
    background-color: #FFF0F3;
    color: #FF4D6D;
}

.sp-filter-menu .dropdown-item.active {
    background-color: #FF4D6D;
    color: #FFFFFF;
}

.sp-game-card {
    border: none;
    border-radius: 24px;
    background-color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.08);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sp-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 77, 109, 0.15);
}

.sp-card-img-wrapper {
    aspect-ratio: 4/3;
}

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

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

.sp-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 77, 109, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

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

.sp-btn-play {
    background-color: #FF4D6D;
    color: #FFFFFF;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sp-game-card:hover .sp-btn-play {
    transform: translateY(0);
}

.sp-btn-play:hover {
    background-color: #FF758F;
    color: #FFFFFF;
    transform: scale(1.1);
}

.sp-game-title {
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
}

.sp-game-list .btn-outline-primary {
    border-color: #FF4D6D;
    color: #FF4D6D;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

.sp-game-list .btn-outline-primary:hover,
.sp-game-list .btn-outline-primary:active {
    background-color: #FF4D6D;
    border-color: #FF4D6D;
    color: #FFFFFF;
}

/* ===== about_summary ===== */
.about-summary-block {
    background-color: #FFF0F3;
    padding: 80px 0;
    overflow: hidden;
}

.about-summary-block__title {
    color: #FF4D6D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.about-summary-block__text {
    color: #591C27;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-summary-block__card {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 77, 109, 0.1);
}

.about-summary-block__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 77, 109, 0.15);
}

.about-summary-block__card-icon {
    width: 50px;
    height: 50px;
    background: #FFF0F3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-summary-block__card-icon i {
    font-size: 1.8rem;
    color: #FF4D6D;
}

.about-summary-block__card-title {
    color: #2D0A10;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-summary-block__card-desc {
    color: #591C27;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-summary-block__btn-primary {
    background-color: #FF4D6D;
    color: #FFFFFF;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
}

.about-summary-block__btn-primary:hover {
    background-color: #FF758F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.5);
}

.about-summary-block__btn-secondary {
    background-color: transparent;
    color: #FF4D6D;
    border: 2px solid #FF4D6D;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-summary-block__btn-secondary:hover {
    background-color: #FF4D6D;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.about-summary-block__visual {
    position: relative;
    z-index: 1;
}

.about-summary-block__image-container {
    position: relative;
    border-radius: 32px;
    padding: 15px;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(255, 77, 109, 0.15);
}

.about-summary-block__image {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

.about-summary-block__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #FF4D6D;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.3);
    animation: float 4s ease-in-out infinite;
}

.about-summary-block__badge-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-summary-block__badge-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 991px) {
    .about-summary-block {
        padding: 60px 0;
    }

    .about-summary-block__visual {
        margin-top: 3rem;
    }

    .about-summary-block__badge {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 767px) {
    .about-summary-block__title {
        font-size: 1.75rem;
    }

    .about-summary-block__text {
        font-size: 1rem;
    }
}

/* ===== footer ===== */
.spin-migo-footer {
    background-color: #FFFFFF;
    color: #2D0A10;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid #FF4D6D;
}

.spin-migo-footer .footer-logo {
    max-width: 50px;
    height: auto;
    object-fit: contain;
}

.spin-migo-footer .footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #591C27;
    hyphens: auto;
}

.spin-migo-footer .footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #FF4D6D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spin-migo-footer .footer-link {
    color: #591C27;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.spin-migo-footer .footer-link:hover {
    color: #FF4D6D;
    transform: translateX(5px);
}

.spin-migo-footer .footer-contact-info i {
    color: #FF4D6D;
    font-size: 1.2rem;
}

.spin-migo-footer .footer-contact-info span {
    font-size: 0.9rem;
    color: #591C27;
}

.spin-migo-footer .footer-bottom {
    border-top: 1px solid #FFCCD5;
}

.spin-migo-footer .copyright-text {
    font-size: 0.85rem;
    color: #591C27;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .spin-migo-footer {
        text-align: left;
    }

    .spin-migo-footer .footer-heading {
        font-size: 14px;
        margin-bottom: 1rem !important;
    }

    .spin-migo-footer .footer-link {
        font-size: 0.85rem;
    }

    .spin-migo-footer .footer-description {
        font-size: 0.85rem;
    }
}

/* General Scoped Styles */
.arcade-category-page {
    background-color: #FFF0F3;
    color: #2D0A10;
    font-family: 'Inter', sans-serif;
}

.arcade-category-page h1,
.arcade-category-page h2,
.arcade-category-page h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FF4D6D;
}

/* Catalog Intro */
.arcade-category-page .catalog-intro {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0F3 100%);
    border-bottom: 2px solid #FFCCD5;
}

.arcade-category-page .bg-primary-soft {
    background-color: #FFF0F3;
    color: #FF4D6D;
    border: 1px solid #FFCCD5;
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 50px;
}

.arcade-category-page .search-filter-box {
    background-color: #FFFFFF;
    border: 1px solid #FFCCD5;
}

.arcade-category-page .form-control:focus {
    box-shadow: none;
    border: 1px solid #FF4D6D;
}

.arcade-category-page .btn-filter {
    background-color: #FFF0F3;
    color: #591C27;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
}

.arcade-category-page .btn-filter.active,
.arcade-category-page .btn-filter:hover {
    background-color: #FF4D6D;
    color: #FFFFFF;
}

/* Game Cards */
.arcade-category-page .game-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.05);
    border: 1px solid #FFCCD5;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.js-game-item,
.js-game-card {
    cursor: pointer;
}

.arcade-category-page .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 77, 109, 0.15);
}

.arcade-category-page .game-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.arcade-category-page .game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arcade-category-page .game-card:hover .game-thumb img {
    transform: scale(1.1);
}

.arcade-category-page .game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 10, 16, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arcade-category-page .game-card:hover .game-overlay {
    opacity: 1;
}

.arcade-category-page .btn-play {
    background-color: #FF4D6D;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
}

.arcade-category-page .game-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2D0A10;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arcade-category-page .game-info .category {
    font-size: 0.85rem;
    color: #591C27;
    font-weight: 500;
}

.arcade-category-page .game-info .rating {
    font-size: 0.9rem;
    color: #FF4D6D;
    font-weight: 700;
}

/* Responsive Typography Override */
@media (max-width: 767.98px) {
    .arcade-category-page h1 {
        font-size: 1.5rem;
    }

    .arcade-category-page h2 {
        font-size: 1.25rem;
    }

    .arcade-category-page h3 {
        font-size: 1rem;
    }

    .arcade-category-page .catalog-intro {
        padding: 2rem 0;
    }
}

/* Header & Footer Styles (Preserved from Source) */
.header-block {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 77, 109, 0.08);
    z-index: 1050;
}

.header-block .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FF4D6D;
    font-size: 1.5rem;
}

.header-block .nav-link {
    color: #2D0A10;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: 12px;
}

.header-block .nav-link:hover,
.header-block .nav-link.active {
    color: #FF4D6D;
    background-color: #FFF0F3;
}

.header-block .btn-cta {
    background-color: #FF4D6D;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    border: none;
}

.spin-migo-footer {
    background-color: #FFFFFF;
    color: #2D0A10;
    border-top: 4px solid #FF4D6D;
}

.spin-migo-footer .footer-heading {
    color: #FF4D6D;
    font-weight: 800;
    font-size: 1.25rem;
}

.spin-migo-footer .footer-link {
    color: #591C27;
    text-decoration: none;
    font-size: 0.9rem;
}

.spin-migo-footer .footer-link:hover {
    color: #FF4D6D;
}


/* ===== PAGE: about ===== */
.about-page-history {
  background-color: #FFF0F3;
  overflow: hidden;
}

.about-page-history .text-crimson {
  color: #FF4D6D !important;
}

.about-page-history .text-secondary-dark {
  color: #591C27;
  line-height: 1.8;
}

.about-page-history .image-glow-container {
  position: relative;
  z-index: 1;
}

.about-page-history .image-glow-container::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: -5%;
  bottom: -5%;
  background: rgba(255, 77, 109, 0.2);
  filter: blur(40px);
  z-index: -1;
  border-radius: 24px;
}

.about-page-history img {
  border: 4px solid #FFFFFF;
  object-fit: cover;
  min-height: 400px;
  width: 100%;
}

.about-page-mission {
  background-color: #FFFFFF;
}

.about-page-mission .text-crimson {
  color: #FF4D6D !important;
}

.about-page-mission .mission-card {
  background-color: #FFF0F3;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  border: 1px solid rgba(255, 77, 109, 0.1) !important;
}

.about-page-mission .mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 77, 109, 0.15) !important;
}

.about-page-mission .icon-wrapper {
  width: 80px;
  height: 80px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 16px rgba(255, 77, 109, 0.1);
}

.about-page-mission .max-width-600 {
  max-width: 600px;
}

@media (max-width: 767.98px) {
  .about-page-history .display-5 {
    font-size: 1.75rem;
  }
  .about-page-mission .display-6 {
    font-size: 1.5rem;
  }
  .about-page-history img {
    min-height: 250px;
  }
}

/* ===== PAGE: achievements ===== */
.achievements-section {
  background-color: #FFF0F3;
  overflow: hidden;
}

.achievements-section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #FF4D6D;
  font-size: clamp(2rem, 4vw, 3rem);
}

.achievements-section__subtitle {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.achievements-section__filter-wrapper .form-control {
  border-color: #FFCCD5;
  font-family: 'Inter', sans-serif;
  color: #2D0A10;
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.05);
}

.achievements-section__filter-wrapper .form-control:focus {
  border-color: #FF4D6D;
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.2);
}

.achievement-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  border: none;
  box-shadow: 0 15px 35px rgba(255, 77, 109, 0.08);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(255, 77, 109, 0.15);
}

.achievement-card__image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #FFCCD5;
}

.achievement-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.achievement-card:hover .achievement-card__image {
  transform: scale(1.1);
}

.achievement-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 77, 109, 0) 50%, rgba(255, 77, 109, 0.1) 100%);
}

.achievement-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.achievement-card__desc {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.achievement-card__progress-bar-container {
  height: 10px;
  background-color: #FFCCD5;
  border-radius: 10px;
  overflow: hidden;
}

.achievement-card__progress-bar-container .progress-bar {
  background: linear-gradient(90deg, #FF4D6D, #FF758F);
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.4);
}

@media (max-width: 767px) {
  .achievements-section__title {
    font-size: 24px;
  }
  .achievements-section__subtitle {
    font-size: 14px;
  }
  .achievement-card__image-container {
    height: 180px;
  }
}

/* ===== PAGE: support ===== */
.support-faq-section {
  background-color: #FFF0F3;
}

.support-faq-section .support-title {
  color: #2D0A10;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.support-faq-section .support-lead {
  color: #591C27;
  font-family: 'Inter', sans-serif;
}

.support-faq-section .search-container input {
  border-radius: 50px;
  border: 2px solid #FFB3C1;
  box-shadow: 0 4px 15px rgba(255, 77, 109, 0.1);
  transition: all 0.3s ease;
}

.support-faq-section .search-container input:focus {
  border-color: #FF4D6D;
  box-shadow: 0 4px 20px rgba(255, 77, 109, 0.2);
  outline: none;
}

.support-faq-section .faq-item {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.support-faq-section .faq-item:hover {
  transform: translateY(-5px);
}

.support-faq-section .faq-header {
  cursor: pointer;
  background: #FFFFFF;
  transition: background-color 0.3s ease;
}

.support-faq-section .faq-header:hover {
  background-color: #FFF0F3;
}

.support-faq-section .faq-question {
  color: #2D0A10;
  font-weight: 700;
}

.support-faq-section .faq-header i {
  color: #FF4D6D;
  transition: transform 0.3s ease;
}

.support-faq-section .faq-item.active .faq-header i {
  transform: rotate(180deg);
}

.support-faq-section .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
  border-top: 1px solid #FFF0F3;
}

.support-faq-section .faq-item.active .faq-body {
  max-height: 500px;
}

.contact-info-section {
  background-color: #FFFFFF;
}

.contact-info-section .contact-title {
  color: #2D0A10;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.contact-info-section .contact-subtitle {
  color: #591C27;
  margin-bottom: 3rem;
}

.contact-info-section .contact-info-card {
  background: #FFF0F3;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.contact-info-section .contact-info-card:hover {
  border-color: #FFB3C1;
  background: #FFFFFF;
  box-shadow: 0 10px 25px rgba(255, 77, 109, 0.1);
}

.contact-info-section .icon-box {
  background: #FF4D6D;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-section .map-container {
  height: 100%;
  min-height: 400px;
  border: 4px solid #FFF0F3;
}

@media (max-width: 768px) {
  .support-faq-section .support-title {
    font-size: 1.5rem;
  }
  .contact-info-section .map-container {
    min-height: 300px;
  }
}

/* ===== PAGE: how-to-play ===== */
.instructions-section { background-color: #FFF0F3; font-family: 'Inter', sans-serif; } .instructions-section__title { color: #FF4D6D; font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); } .instructions-section__subtitle { color: #591C27; font-size: 1.1rem; } .instructions-card { background: #FFFFFF; border-radius: 24px; border: none; box-shadow: 0 10px 30px rgba(255, 77, 109, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .instructions-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(255, 77, 109, 0.2); } .instructions-card__icon-wrapper { width: 70px; height: 70px; background: linear-gradient(135deg, #FF4D6D, #FF758F); color: #FFFFFF; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 2rem; box-shadow: 0 8px 15px rgba(255, 77, 109, 0.3); } .instructions-card__step-title { color: #2D0A10; font-family: 'Montserrat', sans-serif; font-weight: 700; } .instructions-card__text { color: #591C27; line-height: 1.6; } .tips-section { background-color: #FFF0F3; } .tips-section__wrapper { background-color: #FFFFFF; border-radius: 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); } .tips-section__title { color: #2D0A10; font-family: 'Montserrat', sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); } .tips-item__icon { color: #FF4D6D; font-size: 1.5rem; } .tips-item__info h4 { color: #2D0A10; } .tips-item__info p { color: #591C27; } .tips-section__image-container img { border: 4px solid #FFF0F3; width: 100%; height: 400px; object-fit: cover; } .tips-section__floating-badge { bottom: 20px; right: 20px; background: #FF4D6D; color: #FFFFFF; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-family: 'Montserrat', sans-serif; box-shadow: 0 8px 20px rgba(255, 77, 109, 0.4); display: flex; align-items: center; z-index: 2; } @media (max-width: 767px) { .instructions-section__title { font-size: 1.5rem; } .tips-section__image-container img { height: 300px; } }

/* ===== PAGE: privacy ===== */
.privacy-section {
  background-color: #FFF0F3;
  font-family: 'Inter', sans-serif;
}

.privacy-section .privacy-card {
  background-color: #FFFFFF;
  border-radius: 24px;
  border: none;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.privacy-section .privacy-icon {
  font-size: 4rem;
  color: #FF4D6D;
  display: block;
}

.privacy-section .privacy-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #2D0A10;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.privacy-section .privacy-divider {
  width: 80px;
  height: 4px;
  background-color: #FFB3C1;
  border-radius: 2px;
}

.privacy-section .privacy-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #FF4D6D;
  font-size: 1.25rem;
  border-left: 5px solid #FF4D6D;
  padding-left: 15px;
}

.privacy-section .privacy-body p {
  line-height: 1.8;
  color: #591C27;
  margin-bottom: 1.5rem;
}

.privacy-section .privacy-list {
  list-style: none;
  padding-left: 0;
}

.privacy-section .privacy-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 0.8rem;
  color: #591C27;
}

.privacy-section .privacy-list li::before {
  content: none;
}

.privacy-section .privacy-link {
  color: #FF4D6D;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.privacy-section .privacy-link:hover {
  color: #FF758F;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-section .privacy-card {
    padding: 1.5rem;
  }
  .privacy-section .privacy-subtitle {
    font-size: 1.1rem;
  }
}

/* ===== PAGE: terms ===== */
.terms-section {
  background-color: #FFF0F3;
  font-family: 'Inter', sans-serif;
  color: #591C27;
}

.terms-sidebar {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.1);
  top: 100px;
}

.terms-sidebar-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #FF4D6D;
  font-size: 1.25rem;
}

.terms-sidebar .nav-link {
  color: #591C27;
  padding: 12px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 5px;
  font-weight: 500;
}

.terms-sidebar .nav-link:hover,
.terms-sidebar .nav-link.active {
  background-color: #FFF0F3;
  color: #FF4D6D;
  transform: translateX(5px);
}

.terms-content {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.05);
}

.terms-h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #FF4D6D;
  position: relative;
  padding-bottom: 10px;
}

.terms-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: #FF758F;
  border-radius: 2px;
}

.terms-p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #2D0A10;
}

.terms-list {
  padding-left: 20px;
  margin-bottom: 1.5rem;
}

.terms-list li {
  margin-bottom: 10px;
  position: relative;
  list-style: none;
  padding-left: 0;
}

.terms-list li::before {
  content: none;
}

.terms-update-info {
  background: #FFF0F3;
  border-left: 4px solid #FF4D6D;
  border-radius: 0 12px 12px 0;
  font-weight: 600;
  color: #FF4D6D;
}

@media (max-width: 991.98px) {
  .terms-sidebar {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 2rem;
  }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-content {
    background-color: #FFF0F3;
    font-family: 'Inter', sans-serif;
}

.disclaimer-content .disclaimer-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.1);
    border: 1px solid rgba(255, 77, 109, 0.1);
    position: relative;
    overflow: hidden;
}

.disclaimer-content .disclaimer-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #FF4D6D;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(255, 77, 109, 0.3);
}

.disclaimer-content .disclaimer-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #2D0A10;
    margin-bottom: 0.5rem;
}

.disclaimer-content .disclaimer-update-date {
    font-size: 0.9rem;
    color: #591C27;
    opacity: 0.7;
}

.disclaimer-content .disclaimer-sub-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #FF4D6D;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.disclaimer-content .disclaimer-item p {
    line-height: 1.8;
    color: #591C27;
    text-align: justify;
    hyphens: auto;
}

.disclaimer-content .btn-primary {
    background-color: #FF4D6D;
    border-color: #FF4D6D;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.disclaimer-content .btn-primary:hover {
    background-color: #FF758F;
    border-color: #FF758F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.4);
}

.disclaimer-content .btn-outline-primary {
    border-color: #FF4D6D;
    color: #FF4D6D;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.disclaimer-content .btn-outline-primary:hover {
    background-color: #FF4D6D;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .disclaimer-content .disclaimer-main-title {
        font-size: 1.5rem;
    }
    .disclaimer-content .disclaimer-sub-title {
        font-size: 1.1rem;
    }
    .disclaimer-content .disclaimer-card {
        padding: 1.5rem !important;
    }
}

.main-comment-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(255, 77, 109, 0.1);
    border: 1px solid #FFCCD5;
    transition: transform 0.3s ease;
}

.main-comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 77, 109, 0.2);
}

.comment-avatar {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid #FFB3C1;
    background: #FFF0F3;
}

.author-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FF4D6D;
    font-size: 1.15rem;
}

.comment-timestamp {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #591C27;
    opacity: 0.7;
}

.comment-bubble {
    background: #FFF0F3;
    padding: 16px;
    border-radius: 0 18px 18px 18px;
    position: relative;
}

.comment-text {
    font-family: 'Inter', sans-serif;
    color: #2D0A10;
    line-height: 1.6;
    font-size: 1rem;
}

.btn-arcade-action {
    background: transparent;
    border: none;
    color: #FF758F;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.btn-arcade-action:hover {
    background: #FF4D6D;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 77, 109, 0.4);
}

.reply-comment-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 16px;
    border-left: 4px solid #FF4D6D;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.05);
}

.reply-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid #FFB3C1;
}

.author-name-reply {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #FF758F;
    font-size: 1rem;
}

.badge-staff {
    background: #FF4D6D;
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.reply-bubble {
    background: #FFFFFF;
    padding: 12px 16px;
    border-radius: 0 15px 15px 15px;
    border: 1px dashed #FFB3C1;
}

.comment-text-reply {
    font-family: 'Inter', sans-serif;
    color: #591C27;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-arcade-action-sm {
    background: transparent;
    border: none;
    color: #FF758F;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.btn-arcade-action-sm:hover {
    color: #FF4D6D;
    text-decoration: underline;
}


/* ===== PAGE TEMPLATE: games ===== */
.detail-page-template {
    background-color: #FFF0F3;
    color: #2D0A10;
    font-family: 'Inter', sans-serif;
}

.detail-page-template h1,
.detail-page-template h2,
.detail-page-template h3,
.detail-page-template h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FF4D6D;
}

.detail-page-template .game-iframe-section {
    background-color: #000000;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.2);
}

.detail-page-template .iframe-container-wrapper iframe {
    height: 600px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .detail-page-template .iframe-container-wrapper iframe {
        height: calc(100svh - 132px);
        min-height: 520px;
        max-height: 760px;
    }

    .detail-page-template .iframe-controls {
        padding: 0.75rem 1rem !important;
    }
}

.detail-page-template .content-card,
.detail-page-template .achievements-box,
.detail-page-template .comments-section,
.detail-page-template .sidebar-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(255, 77, 109, 0.05);
}

.detail-page-template .detail-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.detail-page-template .achievement-item-wrapper {
    background-color: #FFF0F3;
    border-radius: 16px;
    border: 1px solid #FFCCD5;
}

.detail-page-template .achievement-icon-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.1);
}

.detail-page-template .achievement-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-page-template .progress-bar-container {
    width: 100%;
    height: 20px;
    background-color: #FFCCD5;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.detail-page-template .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4D6D, #FF758F);
    border-radius: 50px;
    transition: width 0.5s ease;
}

.detail-page-template .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: #2D0A10;
}

.detail-page-template .btn-arcade-action {
    background-color: #FF4D6D;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.detail-page-template .btn-arcade-action:hover {
    background-color: #FF758F;
    transform: translateY(-2px);
}

.detail-page-template .btn-arcade-primary {
    background-color: #FF4D6D;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    width: 100%;
}

.detail-page-template .btn-share-fb {
    background-color: #1877F2;
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 600;
}

.detail-page-template .btn-share-tw {
    background-color: #1DA1F2;
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 600;
}


.main-comment-card {
    border-bottom: 1px solid #FFCCD5;
    padding-bottom: 1.5rem;
}

.comment-avatar,
.reply-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FF4D6D;
}

.comment-bubble,
.reply-bubble {
    background-color: #FFF0F3;
    padding: 1rem;
    border-radius: 0 16px 16px 16px;
    margin-top: 0.5rem;
}

.comment-timestamp {
    font-size: 0.8rem;
    color: #591C27;
    opacity: 0.7;
}

.badge-staff {
    background-color: #FF4D6D;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

.btn-arcade-action-sm {
    background: none;
    border: none;
    color: #591C27;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    transition: color 0.2s;
}

.btn-arcade-action-sm:hover {
    color: #FF4D6D;
}

.author-name,
.author-name-reply {
    color: #2D0A10;
    font-weight: 700;
}

.js-like-btn.active i {
    color: #F72585;
}

@media (max-width: 767.98px) {
    .detail-page-template .reply-comment-card {
        margin-left: 14px !important;
        margin-right: 14px !important;
        padding: 18px 16px;
        width: calc(100% - 28px);
        max-width: none;
    }

    .detail-page-template .reply-avatar {
        width: 52px;
        height: 52px;
    }

    .detail-page-template .reply-bubble {
        padding: 14px 16px;
    }

    .detail-page-template .author-name-reply {
        font-size: 1.05rem;
    }

    .detail-page-template .comment-text-reply {
        font-size: 1rem;
    }

    .detail-page-template .reply-comment-card .comment-content-wrapper {
        min-width: 0;
    }
}

/* ===== Global fixes ===== */
.js-iframe-container:fullscreen,
.js-iframe-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000;
}

.js-iframe-container:fullscreen .js-game-iframe,
.js-iframe-container:-webkit-full-screen .js-game-iframe {
    flex: 1 1 auto;
    width: 100%;
    height: auto !important;
    min-height: 0;
}

.js-iframe-container:fullscreen .iframe-controls,
.js-iframe-container:-webkit-full-screen .iframe-controls {
    flex: 0 0 auto;
}

.detail-page-template .js-game-iframe {
    display: block;
    width: 100%;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.detail-page-template .iframe-controls {
    pointer-events: none;
}

.detail-page-template .iframe-controls .js-fullscreen-btn {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .detail-page-template .iframe-container-wrapper {
        display: flex;
        flex-direction: column;
        min-height: calc(100svh - 132px);
    }

    .detail-page-template .iframe-container-wrapper iframe {
        flex: 1 1 auto;
        height: auto !important;
        min-height: 520px;
        max-height: none;
    }

    .detail-page-template .iframe-controls {
        padding: 0.75rem 1rem !important;
    }
}

.comment-avatar,
.reply-avatar {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.detail-page-template .achievement-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ===== PAGE TEMPLATE: achievements ===== */
.detail-page-template {
    background-color: #FFF0F3;
    color: #2D0A10;
    font-family: 'Inter', sans-serif;
}

.detail-page-template h1,
.detail-page-template h2,
.detail-page-template h3,
.detail-page-template h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #FF4D6D;
}

.detail-page-template .game-iframe-section {
    background-color: #000000;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.2);
}

.detail-page-template .iframe-container-wrapper iframe {
    height: 600px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .detail-page-template .iframe-container-wrapper iframe {
        height: calc(100svh - 132px);
        min-height: 520px;
        max-height: 760px;
    }

    .detail-page-template .iframe-controls {
        padding: 0.75rem 1rem !important;
    }
}

.detail-page-template .content-card,
.detail-page-template .achievements-box,
.detail-page-template .comments-section,
.detail-page-template .sidebar-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(255, 77, 109, 0.05);
}

.detail-page-template .detail-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.detail-page-template .achievement-item-wrapper {
    background-color: #FFF0F3;
    border-radius: 16px;
    border: 1px solid #FFCCD5;
}

.detail-page-template .achievement-icon-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.1);
}

.detail-page-template .achievement-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-page-template .progress-bar-container {
    width: 100%;
    height: 20px;
    background-color: #FFCCD5;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.detail-page-template .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4D6D, #FF758F);
    border-radius: 50px;
    transition: width 0.5s ease;
}

.detail-page-template .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: #2D0A10;
}

.detail-page-template .btn-arcade-action {
    background-color: #FF4D6D;
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.detail-page-template .btn-arcade-action:hover {
    background-color: #FF758F;
    transform: translateY(-2px);
}

.detail-page-template .btn-arcade-primary {
    background-color: #FF4D6D;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    width: 100%;
}

.detail-page-template .btn-share-fb {
    background-color: #1877F2;
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 600;
}

.detail-page-template .btn-share-tw {
    background-color: #1DA1F2;
    color: #FFFFFF;
    border-radius: 12px;
    font-weight: 600;
}


.main-comment-card {
    border-bottom: 1px solid #FFCCD5;
    padding-bottom: 1.5rem;
}

.comment-avatar,
.reply-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FF4D6D;
}

.comment-bubble,
.reply-bubble {
    background-color: #FFF0F3;
    padding: 1rem;
    border-radius: 0 16px 16px 16px;
    margin-top: 0.5rem;
}

.comment-timestamp {
    font-size: 0.8rem;
    color: #591C27;
    opacity: 0.7;
}

.badge-staff {
    background-color: #FF4D6D;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

.btn-arcade-action-sm {
    background: none;
    border: none;
    color: #591C27;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    transition: color 0.2s;
}

.btn-arcade-action-sm:hover {
    color: #FF4D6D;
}

.author-name,
.author-name-reply {
    color: #2D0A10;
    font-weight: 700;
}

.js-like-btn.active i {
    color: #F72585;
}
