        body {
            font-family: "Helvetica Neue", Arial, sans-serif;
            background: #a3a9b6; /* #0f1115; */
            color: #d9dde3;
        }



/* ===== mobile fix ===== */
/* @media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        box-shadow: none;
        backdrop-filter: none;
    }
} */


        .hero {
            min-height: 100vh;
            padding: 120px 0 80px;
	    background: 
		linear-gradient(rgba(226, 224, 231, 0.75), rgba(10,12,16,0.9)), 
		linear-gradient(135deg, #5f6670 0%, #2c3138 35%, #11141a 100%);

/*            background:
                linear-gradient(rgba(10,12,16,0.75), rgba(10,12,16,0.9)), 
		linear-gradient(rgba(221,211,311,0.75), rgba(10,12,16,0.9)),
                linear-gradient(135deg, #5f6670 0%, #2c3138 35%, #11141a 100%); */
            position: relative;
            overflow: hidden;
        }

        .hero:before {
            content: "";
            position: absolute;
            top: -100px;
            right: -120px;
            width: 380px;
            height: 380px;
            background: radial-gradient(circle, rgba(255,255,255,0.15), rgba(255,255,255,0));
            border-radius: 50%;
        }

        .hero h1 {
            font-size: 54px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .hero p {
            font-size: 18px;
            color: #c6ccd4;
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .btn-titanium {
            background: linear-gradient(to bottom, #d9dde3, #8f98a3);
            color: #111 !important;
            border: 1px solid #6f7780;
            font-weight: 700;
            padding: 12px 28px;
            border-radius: 30px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 12px rgba(0,0,0,0.4);
        }

        .btn-titanium:hover {
            background: linear-gradient(to bottom, #eef2f6, #9ea7b2);
        }

        .btn-outline-tech {
            background: transparent;
            border: 1px solid #7a838e;
            color: #dce2ea !important;
            padding: 12px 28px;
            border-radius: 30px;
            margin-left: 10px;
        }

        .device-box {
            background: linear-gradient(145deg, #1e232b, #11151b);
            border: 1px solid #3b424d;
            border-radius: 18px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.45);
            margin-top: 30px;
        }

        .device-screen {
            height: 280px;
            border-radius: 12px;
            background:
                linear-gradient(rgba(15,17,21,0.8), rgba(15,17,21,0.8)),
                linear-gradient(135deg, #bfc6cf, #59616c, #1c2027);
            border: 1px solid #59616c;
            position: relative;
            overflow: hidden;
        }

        .device-screen:before {
            content: "POWERBALL.COM";
            position: absolute;
            top: 20px;
            left: 20px;
            color: #f8fafc;
            font-size: 22px;
            font-weight: 700;
            letter-spacing: 2px;
        }

        .device-screen:after {
            content: "";
            position: absolute;
            bottom: 25px;
            left: 20px;
            right: 20px;
            height: 80px;
            border-radius: 10px;
            background: linear-gradient(to right, #9aa3ad, #6f7780, #c9d0d8);
            opacity: 0.25;
        }

        .section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title h2 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-title p {
            color: #a67214; /*a9b1bb;*/
            max-width: 700px;
            margin: 0 auto;
        }

        .feature-box {
            background: linear-gradient(145deg, #1a1f26, #101319);
            border: 1px solid #313845;
            border-radius: 14px;
            padding: 30px 25px;
            text-align: center;
            margin-bottom: 30px;
            min-height: 250px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        }

        .feature-box .icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            border-radius: 50%;
            background: linear-gradient(to bottom, #dce2e8, #7d8792);
            color: #111;
            line-height: 70px;
            font-size: 28px;
            font-weight: bold;
        }

        .feature-box h4 {
            color: #ffffff;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .feature-box p {
            color: #b4bcc6;
            line-height: 1.7;
        }

        .cta {
            background: linear-gradient(135deg, #2b3139, #11151b);
            text-align: center;
            padding: 70px 0;
            border-top: 1px solid #363d48;
            border-bottom: 1px solid #363d48;
        }

        .cta h2 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .cta p {
            color: #b8c0ca;
            margin-bottom: 25px;
            font-size: 17px;
        }

        footer {
            padding: 25px 0;
            text-align: center;
            color: #a67214; /*8c95a1;*/
            background: #b31f3b; /*0b0d11;*/
        }

body {
    padding-top: 60px;
}

/* ===== NAVBAR ===== */
.mg-navbar {
    background: #b31f3b;
    border: none;
    margin-bottom: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.mg-navbar .navbar-brand {
    color: #f2f4f7 !important;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 22px;
}

.mg-navbar .navbar-toggle {
    border-color: rgba(255,255,255,0.20);
    margin-top: 18px;
    margin-bottom: 18px;
}

.mg-navbar .navbar-toggle:hover,
.mg-navbar .navbar-toggle:focus {
    background: rgba(255,255,255,0.08);
}

.mg-navbar .navbar-toggle .icon-bar {
    background: #fff;
}

.mg-navbar .navbar-nav > li > a {
    color: #f5dbe1 !important;
    font-weight: 500;
    transition: all .25s ease;
}

.mg-navbar .navbar-nav > li > a:hover,
.mg-navbar .navbar-nav > li > a:focus,
.mg-navbar .navbar-nav > .open > a,
.mg-navbar .navbar-nav > .open > a:hover,
.mg-navbar .navbar-nav > .open > a:focus {
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
}

/* ===== DESKTOP DROPDOWN ===== */
@media (min-width: 768px) {
    .mg-navbar .mg-submenu {
        background: #b31f3b !important; /*#fff; */
        border: none;
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
        padding: 6px 0;
        min-width: 220px;
    }

    .mg-navbar .mg-submenu > li > a {
        color: #334155 !important;
        padding: 10px 18px;
        font-weight: 500;
        background: transparent !important;
    }

    .mg-navbar .mg-submenu > li > a:hover,
    .mg-navbar .mg-submenu > li > a:focus {
        color: #b31f3b !important;
        background: #f8fafc !important;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    body {
        padding-top: 60px;
    }

    .mg-navbar .navbar-header {
        min-height: 60px;
    }

    .mg-navbar .navbar-brand {
        font-size: 18px;
        line-height: 30px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mg-navbar .navbar-toggle {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .mg-navbar .navbar-collapse {
        background: #a61c37;
        border-top: 1px solid rgba(255,255,255,0.10);
        padding-left: 0;
        padding-right: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .mg-navbar .mg-menu {
        margin: 0;
        float: none !important;
    }

    .mg-navbar .mg-menu > li {
        float: none;
        width: 100%;
    }

    .mg-navbar .mg-menu > li > a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: transparent !important;
    }

    .mg-navbar .mg-menu > li > a:hover,
    .mg-navbar .mg-menu > li > a:focus {
        background: rgba(255,255,255,0.08) !important;
    }

    /* ปิด style desktop ที่ทำให้ลอย */
    .mg-navbar .mg-dropdown {
        position: static !important;
    }

    .mg-navbar .mg-dropdown .caret {
        float: right;
        margin-top: 8px;
    }

    .mg-navbar .mg-submenu {
        display: none;
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #8f1730 !important;
        transform: none !important;
    }

    .mg-navbar .mg-dropdown.open .mg-submenu {
        display: block;
    }

    .mg-navbar .mg-submenu > li {
        width: 100%;
    }

    .mg-navbar .mg-submenu > li > a {
        display: block;
        width: 100%;
        padding: 12px 36px !important;
        color: #ffe7ed !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        white-space: normal;
    }

    .mg-navbar .mg-submenu > li > a:hover,
    .mg-navbar .mg-submenu > li > a:focus {
        color: #fff !important;
        background: rgba(255,255,255,0.08) !important;
    }

    /* กัน pseudo-element จาก theme เดิม */
    .mg-navbar .dropdown-menu:before,
    .mg-navbar .dropdown-menu:after,
    .mg-navbar .mg-submenu:before,
    .mg-navbar .mg-submenu:after,
    .mg-navbar .dropdown:before,
    .mg-navbar .dropdown:after {
        display: none !important;
        content: none !important;
    }
}

.account-panel{
    position: relative;
    max-width: 980px;
    margin: 28px auto 40px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(10,12,18,.92), rgba(22,26,36,.82));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 20px 60px rgba(0,0,0,.35),
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 0 24px rgba(190, 22, 58, .18);
    backdrop-filter: blur(14px);
    overflow: hidden;
    z-index: 3;
}

.account-panel:before{
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,50,90,.22) 0%, rgba(255,50,90,0) 70%);
    pointer-events: none;
}

.account-panel:after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
    opacity: .35;
}

.account-panel-header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.account-eyebrow{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 6px;
}

.account-panel h3{
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .4px;
}

.account-badge{
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffd7df;
    background: rgba(190, 22, 58, .18);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 0 18px rgba(190,22,58,.18);
    white-space: nowrap;
}

.account-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.account-item{
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 16px 18px;
    min-height: 92px;
    transition: .25s ease;
}

.account-item:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.13);
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.account-item.full{
    grid-column: 1 / -1;
}

.account-item .label{
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.account-item .value{
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.account-item .mono{
    font-family: "Consolas", "Courier New", monospace;
    letter-spacing: .5px;
}

.referral-box{
    display: flex;
    gap: 12px;
    align-items: center;
}

.referral-box input{
    flex: 1;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.06);
    color: #fff;
    outline: none;
    box-shadow: none;
}

.referral-box input:focus{
    border-color: rgba(255,90,120,.5);
    box-shadow: 0 0 0 4px rgba(255,60,90,.08);
}

.referral-box button{
    height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #d21f4b, #8f1738);
    box-shadow: 0 10px 24px rgba(210,31,75,.28);
    transition: .25s ease;
}

.referral-box button:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(210,31,75,.35);
}

.referral-box button:active{
    transform: translateY(0);
}

@media (max-width: 991px){
    .account-grid{
        grid-template-columns: 1fr;
    }

    .account-panel{
        margin: 20px 15px 30px;
        padding: 22px;
    }

    .account-panel h3{
        font-size: 26px;
    }
}

@media (max-width: 640px){
    .account-panel-header{
        flex-direction: column;
        align-items: flex-start;
    }

    .referral-box{
        flex-direction: column;
        align-items: stretch;
    }

    .referral-box button{
        width: 100%;
    }
}    
/*.account-panel{
    margin-top: 90px;
}*/
