/* ========== MELBET PAKISTAN - STYLE.CSS ========== */
/* Domain: pakmelbet.com */

/* ========== CSS VARIABLES ========== */
:root {
    --color-bg: #ffffff;
    --color-navbar: #000000;
    --color-footer: #000000;
    --color-text: #1a1a1a;
    --color-text-light: #ffffff;
    --color-accent: #ff9900;
    --color-accent-hover: #ffaa00;
    --color-accent-dark: #e68a00;
    --color-border: rgba(255, 153, 0, 0.3);
    --color-glow: rgba(255, 153, 0, 0.5);
}

/* ========== BASE STYLES ========== */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar {
    background-color: var(--color-navbar);
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #ffffff;
}

.navbar .nav-link:hover,
.navbar .navbar-brand:hover {
    color: var(--color-accent);
}

.navbar-toggler {
    border-color: rgba(255, 153, 0, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 153, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== MAIN BUTTONS ========== */
.btn-primary {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #333;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ========== ANIMATED ORANGE-YELLOW BUTTON ========== */
.btn-secondary {
    position: relative;
    background: linear-gradient(135deg, #ff9900 0%, #ffcc00 50%, #ff9900 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 24px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
    box-shadow: 
        0 4px 15px rgba(255, 153, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 153, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #fff;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========== NAV BUTTONS ========== */
.navbar .navbar-nav {
    gap: 10px;
}

.navbar .nav-link.nav-btn {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    border: 1px solid rgba(255, 153, 0, 0.5);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    position: relative;
    overflow: hidden;
}

.navbar .nav-link.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2.5s infinite;
}

.navbar .nav-link.nav-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        gap: 8px;
        padding-top: 10px;
    }
    .navbar .nav-link.nav-btn {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }
}

/* ========== HEADINGS ========== */
h1 {
    font-size: 32px;
    text-align: center;
    margin: 20px 0;
    color: var(--color-text);
}

h2 {
    font-size: 28px;
    text-align: center;
    margin: 18px 0;
    color: var(--color-text);
}

h3 {
    font-size: 22px;
    color: var(--color-text);
    margin: 15px 0;
}

/* ========== CONTENT BLOCKS ========== */
.block {
    padding: 22px;
    margin: 18px 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

main {
    color: var(--color-text);
}

/* ========== IMAGE BOX ========== */
.img-box {
    max-width: 760px;
    margin: 18px auto;
}

.img-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
}

.article img,
.content img,
main img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 18px auto;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
}

@media (max-width: 600px) {
    .article img,
    .content img,
    main img {
        max-width: 100%;
        border-radius: 12px;
    }
}

/* ========== CTA BUTTON (REGISTER) ========== */
.btn-center {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.btn-register {
    display: inline-block;
    position: relative;
    min-width: 180px;
    height: 50px;
    line-height: 50px;
    padding: 0 32px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ff8c00 0%, #ffc107 25%, #ff9900 50%, #ffcc00 75%, #ff8c00 100%);
    background-size: 300% 300%;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(255, 140, 0, 0.4),
        0 4px 10px rgba(255, 193, 7, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
    animation: btnPulse 2s ease-in-out infinite, gradientMove 4s ease infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        transparent 100%
    );
    animation: btnShimmer 2.5s infinite;
}

.btn-register::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
}

.btn-register:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(255, 140, 0, 0.5),
        0 6px 15px rgba(255, 193, 7, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-register:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(255, 140, 0, 0.4),
        0 3px 8px rgba(255, 193, 7, 0.3);
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4), 0 4px 10px rgba(255, 193, 7, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(255, 140, 0, 0.6), 0 5px 12px rgba(255, 193, 7, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btnShimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* ========== BUTTON CONTAINER ========== */
.bt {
    display: flex;
    justify-content: center;
    padding: 15px;
    gap: 10px;
}

/* ========== TOC (Table of Contents) ========== */
.toc-toggle {
    display: block;
    margin: 15px auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toc-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.toc-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.toc {
    max-width: 700px;
    margin: 15px auto;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.toc.is-collapsed {
    display: none;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 20px;
}

.toc li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 153, 0, 0.2);
    break-inside: avoid;
}

.toc li:last-child {
    border-bottom: none;
}

.toc a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.toc a:hover {
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .toc ul {
        columns: 1;
    }
}

/* ========== BACK TO TOP ========== */
.toc-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

.toc-back-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.toc-back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.5);
}

/* ========== TABLES ========== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    border: 1px solid #dddddd;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

th {
    font-weight: bold;
    background: #f5f5f5;
}

/* ========== GLOWING TABLE ========== */
.table-glow {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: 2px solid #ff9900;
    border-radius: 12px;
    overflow: hidden;
    table-layout: fixed;
    animation: tableBreathOrange 3.8s ease-in-out infinite;
}

@keyframes tableBreathOrange {
    0% {
        box-shadow:
            0 0 10px rgba(255, 140, 0, 0.4),
            0 0 22px rgba(255, 200, 0, 0.25);
    }
    50% {
        box-shadow:
            0 0 20px rgba(255, 140, 0, 0.8),
            0 0 45px rgba(255, 200, 0, 0.5),
            0 0 70px rgba(255, 90, 0, 0.4);
    }
    100% {
        box-shadow:
            0 0 10px rgba(255, 140, 0, 0.4),
            0 0 22px rgba(255, 200, 0, 0.25);
    }
}

.table-glow th {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 200, 0, 0.15));
    padding: 14px 15px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid rgba(255, 140, 0, 0.5);
}

.table-glow td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 140, 0, 0.25);
    color: #1a1a1a;
}

.table-glow tr:last-child td {
    border-bottom: none;
}

.table-glow tr:hover td {
    background: rgba(255, 140, 0, 0.1);
    transition: 0.25s ease;
}

.table-glow th,
.table-glow td {
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    .table-glow {
        font-size: 14px;
    }
    .table-glow th,
    .table-glow td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .table-glow {
        font-size: 12px;
    }
    .table-glow th,
    .table-glow td {
        padding: 6px 8px;
    }
}

/* ========== FAQ SECTION ========== */
.faq-section {
    margin: 40px 0;
    padding: 30px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
    font-size: 32px;
    font-weight: bold;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

.faq-question {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
}

.faq-question:hover {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
}

.faq-icon {
    font-size: 24px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9f9f9;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer div {
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 15px;
}

@media (max-width: 768px) {
    .faq-section {
        margin: 30px 0;
        padding: 20px 0;
    }
    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    .faq-icon {
        font-size: 20px;
    }
    .faq-answer div {
        padding: 15px;
    }
}

/* ========== FOOTER ========== */
.bg-dark {
    background-color: var(--color-footer) !important;
    color: #fff;
}

.logofooter {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.logoft {
    max-height: 50px;
    margin: 0 !important;
}

.logofooter svg {
    max-height: 50px;
    max-width: 100px;
    fill: white;
}

.gamcare svg,
.legal-plus svg {
    max-width: 50px;
}

footer .text-center {
    color: #fff;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 500px) {
    .dmca, .gamcare, .legal-plus {
        display: none;
    }
    .logofooter {
        justify-content: center;
    }
}

/* ========== LISTS ========== */
ul, ol {
    margin: 15px 0;
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 18px;
    }
    .block {
        padding: 15px;
        margin: 12px 0;
    }
}

/* ========== MOBILE BUTTONS ========== */
.d-lg-none .btn-primary,
.d-lg-none .btn-secondary {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

/* ========== SCROLL BAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff9900, #ffcc00);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffaa00, #ffdd00);
}
