:root {
    --tmgt-flame: #ea580c;
    --tmgt-flame-light: #f97316;
    --tmgt-gold: #f59e0b;
    --tmgt-gold-light: #fbbf24;
    --tmgt-cyan: #06b6d4;
    --tmgt-dark: #070b14;
    --tmgt-surface: rgba(13, 19, 33, 0.85);
    --tmgt-surface-hover: rgba(22, 31, 53, 0.95);
    --tmgt-card-border: rgba(255, 255, 255, 0.1);
    --tmgt-card-border-glow: rgba(234, 88, 12, 0.35);
    --tmgt-text-main: #f8fafc;
    --tmgt-text-muted: #94a3b8;
    --font-fantasy: 'Alegreya SC', 'Cinzel', serif;
    --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Base Atmosphere */
html,
body {
    background-color: var(--tmgt-dark) !important;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(234, 88, 12, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0.96) 100%),
        url('/images/pattern-bg.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    color: var(--tmgt-text-main) !important;
    font-family: var(--font-ui) !important;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* Container Layout */
.tmgt-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px 90px;
    box-sizing: border-box;
}

/* Top Bar */
.tmgt-topbar {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 18px;
    background: rgba(13, 19, 33, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.tmgt-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tmgt-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tmgt-back-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-2px);
}

.tmgt-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
}

.tmgt-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: tmgtPulse 1.6s infinite ease-in-out;
}

@keyframes tmgtPulse {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.tmgt-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tmgt-top-event-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fcd34d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tmgt-top-event-btn:hover {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(234, 88, 12, 0.4);
    transform: translateY(-1px);
}

.tmgt-event-label-short {
    display: none;
}

.tmgt-event-label-full {
    display: inline;
}

/* Hero Main Section */
.tmgt-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

@media (max-width: 960px) {
    .tmgt-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 20px;
    }
}

.tmgt-hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tmgt-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tmgt-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
}

.tmgt-tag-primary {
    background: rgba(234, 88, 12, 0.2);
    color: #fb923c;
    border: 1px solid rgba(234, 88, 12, 0.4);
}

.tmgt-tag-gold {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.tmgt-tag-cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.tmgt-hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tmgt-logo-img {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
    border: 2px solid rgba(245, 158, 11, 0.5);
    flex-shrink: 0;
    object-fit: cover;
    background: #000;
}

.tmgt-main-title {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 30%, #fcd34d 70%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(234, 88, 12, 0.35);
}

.tmgt-sub-title {
    font-size: 14px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.tmgt-desc {
    margin: 0;
    font-size: 15.5px;
    color: var(--tmgt-text-muted);
    line-height: 1.65;
    max-width: 620px;
}

/* Stats Bar */
.tmgt-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.tmgt-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.tmgt-stat-item strong {
    font-size: 17px;
    color: #ffffff;
    font-weight: 800;
}

.tmgt-stat-item span {
    font-size: 12px;
    color: var(--tmgt-text-muted);
}

/* Download Station */
.tmgt-download-station {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
}

.tmgt-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tmgt-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.tmgt-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.tmgt-btn:active {
    transform: translateY(1px);
}

.tmgt-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.tmgt-btn:hover::after {
    left: 120%;
}

/* Button Colors */
.tmgt-btn-android {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.tmgt-btn-ios {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.tmgt-btn-code {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

.tmgt-btn-event {
    background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

.tmgt-btn-fanpage {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.tmgt-btn-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.tmgt-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.tmgt-btn-main {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.tmgt-btn-sub {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 500;
}

.tmgt-btn-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* Hero Right: Carousel Showcase */
.tmgt-visual-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.tmgt-carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.tmgt-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s ease;
    transform: scale(1.03);
}

.tmgt-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.tmgt-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tmgt-carousel-controls {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10;
}

.tmgt-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tmgt-carousel-btn:hover {
    background: var(--tmgt-flame);
    border-color: var(--tmgt-flame-light);
    transform: scale(1.1);
}

.tmgt-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tmgt-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.tmgt-dot.active {
    width: 24px;
    background: linear-gradient(90deg, #ea580c, #f59e0b);
}

/* Section Containers */
.tmgt-section {}

.tmgt-section-header {
    text-align: center;
    margin-bottom: 14px;
}

@media (max-width: 860px) {
    .tmgt-section {
        margin-bottom: 20px;
    }

    .tmgt-section-header {
        margin-bottom: 12px;
    }
}

.tmgt-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(234, 88, 12, 0.15);
    border: 1px solid rgba(234, 88, 12, 0.35);
    color: #fb923c;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.tmgt-section-title {
    margin: 0;
    font-family: var(--font-fantasy);
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tmgt-section-sub {
    margin: 8px 0 0 0;
    font-size: 15px;
    color: var(--tmgt-text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Event Showcase Card */
.tmgt-event-card {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 20px;
    padding: 18px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 860px) {
    .tmgt-event-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px 14px;
        gap: 16px;
    }
}

.tmgt-event-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.18), transparent 70%);
    pointer-events: none;
}

.tmgt-event-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tmgt-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

@media (max-width: 860px) {
    .tmgt-event-badge {
        align-self: center;
    }
}

.tmgt-event-title {
    margin: 0;
    font-family: var(--font-fantasy);
    font-size: clamp(1.45rem, 2.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tmgt-event-desc {
    margin: 0;
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.6;
}

.tmgt-event-milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

@media (max-width: 860px) {
    .tmgt-event-milestones {
        justify-content: center;
    }
}

.tmgt-milestone-pill {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fcd34d;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.tmgt-event-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tmgt-event-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
}

.tmgt-event-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.6);
}

/* 8 Class Interactive Showcase */
.tmgt-class-showcase {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    padding: 24px;
}

.tmgt-class-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--tmgt-flame) transparent;
}

.tmgt-class-tabs::-webkit-scrollbar {
    height: 4px;
}

.tmgt-class-tabs::-webkit-scrollbar-thumb {
    background: var(--tmgt-flame);
    border-radius: 4px;
}

.tmgt-class-tab {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--tmgt-text-muted);
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tmgt-class-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.tmgt-class-tab.active {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: #ffffff;
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}

.tmgt-class-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

@media (max-width: 820px) {
    .tmgt-class-showcase {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .tmgt-class-tabs {
        margin-bottom: 14px;
        padding-bottom: 8px;
        gap: 6px;
    }

    .tmgt-class-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .tmgt-class-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .tmgt-class-image-wrap {
        order: -1;
        margin-bottom: 2px;
        border-radius: 10px;
    }

    .tmgt-class-details {
        gap: 10px;
    }

    .tmgt-class-header {
        gap: 10px;
        flex-wrap: wrap;
    }

    .tmgt-class-name {
        font-size: 1.4rem;
    }

    .tmgt-class-role-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    .tmgt-class-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .tmgt-class-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .tmgt-stat-row {
        gap: 8px;
        font-size: 11.5px;
    }

    .tmgt-stat-name {
        width: 58px;
        font-size: 11.5px;
    }
}

.tmgt-class-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tmgt-class-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tmgt-class-name {
    margin: 0;
    font-family: var(--font-fantasy);
    font-size: 2rem;
    color: #ffffff;
    font-weight: 800;
}

.tmgt-class-role-badge {
    background: rgba(234, 88, 12, 0.2);
    color: #fb923c;
    border: 1px solid rgba(234, 88, 12, 0.4);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.tmgt-class-desc {
    margin: 0;
    color: var(--tmgt-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.tmgt-class-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(15, 23, 42, 0.5);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tmgt-stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.tmgt-stat-name {
    width: 80px;
    color: var(--tmgt-text-muted);
    font-weight: 600;
}

.tmgt-stat-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.tmgt-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ea580c, #f59e0b);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.tmgt-class-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: #0b0f19;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.tmgt-class-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
    transition: opacity 0.2s ease, transform 0.35s ease;
}

.tmgt-class-image-wrap img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

.tmgt-class-image-wrap:hover img {
    transform: scale(1.03);
}

/* Features Carousel Container & Infinite Track */
.tmgt-features-carousel-wrap {
    width: 100%;
    position: relative;
}

.tmgt-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 860px) {
    .tmgt-features-carousel-wrap {
        overflow: hidden;
        width: 100%;
        padding: 6px 0 16px;
        touch-action: pan-y;
    }

    .tmgt-features-grid {
        display: flex;
        flex-direction: row;
        gap: 16px;
        width: max-content;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    .tmgt-feature-card {
        flex: 0 0 82vw;
        max-width: 340px;
        box-sizing: border-box;
        opacity: 0.65;
        transform: scale(0.94);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.4s ease,
            border-color 0.4s ease,
            box-shadow 0.4s ease;
    }

    .tmgt-feature-card.active-slide {
        opacity: 1;
        transform: scale(1);
        border-color: rgba(234, 88, 12, 0.7);
        box-shadow: 0 12px 32px rgba(234, 88, 12, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.3);
    }
}

@media (min-width: 861px) {
    .tmgt-features-carousel-wrap {
        overflow: visible;
    }

    .tmgt-features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
        transform: none !important;
        width: 100% !important;
    }

    .tmgt-feature-card.is-clone {
        display: none !important;
    }

    .tmgt-feature-card {
        opacity: 1 !important;
        transform: none !important;
    }

    .tmgt-feature-card:hover {
        transform: translateY(-4px) !important;
        border-color: rgba(234, 88, 12, 0.35);
        box-shadow: 0 16px 36px rgba(234, 88, 12, 0.15);
    }
}

.tmgt-feature-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    user-select: none;
}

/* Features Slide Navigation (Dots & Arrows) */
.tmgt-features-nav-wrap {
    display: none;
}

@media (max-width: 860px) {
    .tmgt-features-nav-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-top: 14px;
    }

    .tmgt-features-nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .tmgt-features-nav-btn:hover,
    .tmgt-features-nav-btn:active {
        background: var(--tmgt-flame);
        border-color: #f59e0b;
        transform: scale(1.08);
        box-shadow: 0 0 14px rgba(234, 88, 12, 0.5);
    }

    .tmgt-features-dots {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .tmgt-f-dot {
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.25);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .tmgt-f-dot.active {
        width: 26px;
        background: linear-gradient(90deg, #ea580c, #f59e0b);
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    }
}

.tmgt-feature-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: #000;
}

.tmgt-feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tmgt-feature-card:hover .tmgt-feature-img-wrap img {
    transform: scale(1.05);
}

.tmgt-feature-badge-float {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.tmgt-feature-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.tmgt-feature-title {
    margin: 0;
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
}

.tmgt-feature-text {
    margin: 0;
    color: var(--tmgt-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Quick Install Guide */
.tmgt-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 860px) {
    .tmgt-guide-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 14px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--tmgt-flame) transparent;
    }

    .tmgt-guide-grid::-webkit-scrollbar {
        height: 4px;
    }

    .tmgt-guide-grid::-webkit-scrollbar-thumb {
        background: var(--tmgt-flame);
        border-radius: 4px;
    }

    .tmgt-guide-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        cursor: pointer;
        padding: 14px 16px;
    }
}

.tmgt-guide-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tmgt-guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tmgt-guide-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(234, 88, 12, 0.15);
    border: 1px solid rgba(234, 88, 12, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fb923c;
    flex-shrink: 0;
}

.tmgt-guide-title {
    margin: 0;
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
}

.tmgt-step-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tmgt-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--tmgt-text-muted);
    line-height: 1.5;
}

.tmgt-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Support & Community Section */
.tmgt-support-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 860px) {
    .tmgt-support-card {
        padding: 16px 14px;
    }
}

.tmgt-support-alert {
    background: rgba(234, 88, 12, 0.15);
    border: 1px solid rgba(234, 88, 12, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    color: #fcd34d;
    font-size: 13.5px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.tmgt-support-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 860px) {
    .tmgt-support-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.tmgt-support-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tmgt-support-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tmgt-support-icon {
    font-size: 22px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tmgt-support-label {
    font-size: 13.5px;
    font-weight: 600;
}

/* Hide unwanted legacy styles */
.vplay-wrap {
    min-height: auto !important;
}

/* Footer Certification & Legal */
#footer-root .footer {
    margin-top: 36px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 16px 85px 16px;
    background: transparent;
}

#footer-root .bg-footer {
    background: transparent !important;
}

#footer-root .listCertify {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

#footer-root .listCertify li {
    color: #94a3b8 !important;
    font-size: 12px;
    line-height: 1.6;
}

/* Sidebottom Navigation Layout - Always Matches Page Width */
#sidebottom-root {
    display: block;
    width: 100%;
}

#sidebottom-root .sidebottom,
.sidebottom.fixed-bottom {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 1180px !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#sidebottom-root .sidebottom .container,
.sidebottom.fixed-bottom .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#sidebottom-root .sidebottom .bg-color {
    width: 100% !important;
    background: linear-gradient(180deg, rgba(20, 26, 42, 0.96) 0%, rgba(10, 14, 26, 0.98) 100%) !important;
    border-top: 1px solid rgba(234, 88, 12, 0.4) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6) !important;
}

#sidebottom-root .sidebottom ul {
    width: 100% !important;
    height: 62px !important;
}

#sidebottom-root .sidebottom ul li a {
    color: #e2e8f0 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

#sidebottom-root .sidebottom ul li a:hover {
    color: #ffffff !important;
    background: rgba(234, 88, 12, 0.15) !important;
}

#sidebottom-root .sidebottom ul li a.active {
    background: radial-gradient(49.41% 49.15% at 50% 50.85%, rgba(234, 88, 12, 0.85) 0, rgba(234, 88, 12, 0) 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Mobile Typography Scaling & Compact Proportions */
@media (max-width: 860px) {

    /* Topbar */
    .tmgt-topbar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 6px !important;
        z-index: 1000 !important;
        flex-wrap: nowrap !important;
        padding: 8px 12px !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
        background: rgba(13, 19, 33, 0.95) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55) !important;
    }

    .tmgt-topbar-left {
        flex-shrink: 0 !important;
        gap: 6px !important;
    }

    .tmgt-topbar-right {
        flex-shrink: 0 !important;
        gap: 6px !important;
    }

    .tmgt-back-btn,
    .tmgt-top-event-btn {
        font-size: 11.5px !important;
        padding: 5px 9px !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    /* Hero Identity & Content */
    .tmgt-hero-title-wrap {
        gap: 12px;
    }

    .tmgt-logo-img {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .tmgt-main-title {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .tmgt-sub-title {
        font-size: 11.5px;
        letter-spacing: 0.5px;
        margin-top: 2px;
    }

    .tmgt-desc {
        font-size: 13px;
        line-height: 1.55;
    }

    .tmgt-tag {
        font-size: 10.5px;
        padding: 4px 9px;
    }

    /* Stats Bar */
    .tmgt-stats-bar {
        padding: 10px 12px;
        gap: 8px;
    }

    .tmgt-stat-item strong {
        font-size: 13.5px;
    }

    .tmgt-stat-item span {
        font-size: 10.5px;
    }

    /* Download CTAs (Compact 2-Column Grid on Mobile) */
    .tmgt-download-station {
        gap: 8px;
    }

    .tmgt-cta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .tmgt-btn {
        padding: 10px 10px !important;
        gap: 8px !important;
        border-radius: 12px !important;
        min-height: 48px;
    }

    .tmgt-btn-icon-wrap {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        flex-shrink: 0;
    }

    .tmgt-btn-icon-wrap svg {
        width: 16px !important;
        height: 16px !important;
    }

    .tmgt-btn-main {
        font-size: 11.5px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tmgt-btn-sub {
        display: none !important;
    }

    .tmgt-btn-badge {
        font-size: 8px !important;
        padding: 1px 5px !important;
        top: 2px !important;
        right: 4px !important;
        border-radius: 4px !important;
    }

    /* Section Headers */
    .tmgt-section-badge {
        font-size: 10.5px;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .tmgt-section-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .tmgt-section-sub {
        font-size: 12.5px;
        line-height: 1.5;
        margin-top: 6px;
    }

    /* Event Showcase Card */
    .tmgt-event-badge {
        font-size: 10.5px;
        padding: 3px 8px;
    }

    .tmgt-event-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .tmgt-event-desc {
        font-size: 12.5px;
        line-height: 1.5;
    }

    .tmgt-event-cta {
        font-size: 14px;
        padding: 11px 20px;
        border-radius: 10px;
    }

    .tmgt-milestone-pill {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* Class Showcase */
    .tmgt-class-name {
        font-size: 1.3rem;
    }

    .tmgt-class-role-badge {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .tmgt-class-desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .tmgt-class-tab {
        font-size: 11.5px;
        padding: 5px 10px;
    }

    .tmgt-stat-row {
        font-size: 11px;
        gap: 6px;
    }

    .tmgt-stat-name {
        font-size: 11px;
        width: 52px;
    }

    /* Features Card */
    .tmgt-feature-badge-float {
        font-size: 10px;
        padding: 3px 8px;
        top: 8px;
        left: 8px;
    }

    .tmgt-feature-title {
        font-size: 14px;
        line-height: 1.35;
    }

    .tmgt-feature-text {
        font-size: 12px;
        line-height: 1.5;
    }

    /* Guide Card */
    .tmgt-guide-header {
        gap: 10px;
    }

    .tmgt-guide-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 8px;
    }

    .tmgt-guide-title {
        font-size: 14px;
    }

    .tmgt-step-item {
        font-size: 12px;
        line-height: 1.45;
        gap: 8px;
    }

    .tmgt-step-num {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    /* Support Hub */
    .tmgt-support-card .tmgt-section-title {
        font-size: 1.3rem !important;
    }

    .tmgt-support-alert {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .tmgt-support-tile {
        padding: 10px 12px;
        gap: 8px;
    }

    .tmgt-support-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
        border-radius: 6px;
    }

    .tmgt-support-label {
        font-size: 11.5px;
    }

    /* Sidebottom on Mobile */
    #sidebottom-root .sidebottom,
    .sidebottom.fixed-bottom {
        max-width: 100% !important;
    }

    #sidebottom-root .sidebottom .bg-color {
        border-radius: 16px 16px 0 0 !important;
    }

    #sidebottom-root .sidebottom ul li a span {
        font-size: 11px !important;
    }

    #sidebottom-root .sidebottom ul li a svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 480px) {
    .tmgt-topbar {
        padding: 6px 8px !important;
        gap: 4px !important;
    }

    .tmgt-topbar-right {
        gap: 4px !important;
    }

    .tmgt-back-btn,
    .tmgt-top-event-btn {
        font-size: 11px !important;
        padding: 5px 8px !important;
        gap: 3px !important;
    }

    .tmgt-event-label-full {
        display: none !important;
    }

    .tmgt-event-label-short {
        display: inline !important;
    }

    .tmgt-cta-grid {
        gap: 6px !important;
    }

    .tmgt-btn {
        padding: 8px 6px !important;
        gap: 6px !important;
        border-radius: 10px !important;
        min-height: 44px;
    }

    .tmgt-btn-icon-wrap {
        width: 28px !important;
        height: 28px !important;
        font-size: 15px !important;
        border-radius: 6px !important;
    }

    .tmgt-btn-icon-wrap svg {
        width: 15px !important;
        height: 15px !important;
    }

    .tmgt-btn-main {
        font-size: 10.5px !important;
        letter-spacing: -0.2px;
    }
}