/* =====================================================
   TAMILANDA GAMING — RESPONSIVE + HIGH PERFORMANCE CSS
   Optimized for Heavy Traffic & Ultra Smooth Rendering
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #060606;
    color: #fff;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    content-visibility: auto;
}

a {
    color: inherit;
    text-decoration: none;
    touch-action: manipulation;
}

button {
    font-family: inherit;
    touch-action: manipulation;
}

.nav-channel-btn {
    background: #25d366;
    color: #000 !important;
    padding: 7px 14px !important;
    border-radius: 9px;
    font-weight: 900 !important;
    font-size: 11px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-channel-btn:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
    font-size: 11px !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.nav-channel-btn:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

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

/* =====================================================
   CYBER ACCENTS & NEON GLOWS
   ===================================================== */

.neon-text {
    color: #ffb000;
    text-shadow: 0 0 12px rgba(255, 176, 0, 0.35);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #fff 0%, #ffc83b 50%, #ff9100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   HEADER
   ===================================================== */

.top-header {
    width: 100%;
    min-height: 76px;
    padding: 10px 5%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: rgba(8, 8, 8, 0.95);
    border-bottom: 1px solid rgba(255, 176, 0, 0.16);

    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateZ(0);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 176, 0, 0.25);
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.06) rotate(-4deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    white-space: nowrap;
}

.brand-text strong {
    font-size: 17px;
    letter-spacing: 1.5px;
}

.brand-text span {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffb000;
}

/* =====================================================
   MAIN NAV
   ===================================================== */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-shrink: 0;
}

.main-nav a {
    position: relative;
    padding: 10px 0;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;

    color: #bdbdbd;

    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: linear-gradient(90deg, #ffb000, #ff8000);

    transition: width 0.25s ease;
    border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* =====================================================
   MENU BUTTON & SIDE MENU
   ===================================================== */

.menu-button {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.menu-button:hover {
    border-color: #ffb000;
    color: #ffb000;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    padding: 90px 30px 30px;
    background: rgba(16, 16, 16, 0.98);
    border-left: 1px solid rgba(255, 176, 0, 0.25);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu a {
    padding: 17px 15px;
    color: #ccc;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    transition: color 0.15s ease, background 0.15s ease;
}

.side-menu a:hover {
    color: #ffb000;
    background: rgba(255, 176, 0, 0.1);
}

.close-menu {
    position: absolute;
    top: 22px;
    right: 25px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-section {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    min-height: calc(100vh - 110px);
    padding: 60px 6%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 55px;
    position: relative;
    background:
        radial-gradient(circle at 80% 40%, rgba(255, 176, 0, 0.14), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(255, 90, 0, 0.08), transparent 30%),
        #060606;
}

.eyebrow,
.section-label {
    color: #ffb000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(46px, 7vw, 88px);
    line-height: 0.94;
    letter-spacing: -3px;
    font-weight: 900;
}

.hero-content h1 span {
    display: block;
    color: #ffb000;
    text-shadow: 0 0 20px rgba(255, 176, 0, 0.25);
}

.hero-description {
    max-width: 560px;
    margin-top: 25px;
    color: #a9a9a9;
    font-size: 16px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: linear-gradient(135deg, #ffb000, #ff8000);
    color: #080808;
    box-shadow: 0 8px 25px rgba(255, 176, 0, 0.25);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 176, 0, 0.4);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    backdrop-filter: blur(8px);
}

.secondary-button:hover {
    transform: translateY(-3px);
    border-color: #ffb000;
    color: #ffb000;
    box-shadow: 0 8px 25px rgba(255, 176, 0, 0.15);
}

/* =====================================================
   HERO SHOWCASE (2 SEC SMOOTH TRANSITION)
   ===================================================== */

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: auto;
    aspect-ratio: 4 / 5;
    min-width: 0;
}

.dynamic-showcase {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    cursor: pointer;
    border: 1px solid rgba(255, 176, 0, 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dynamic-showcase:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: #ffb000;
    box-shadow: 0 20px 60px rgba(255, 176, 0, 0.3);
}

.showcase-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.6s ease-in-out, transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

.showcase-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.dot.active {
    width: 22px;
    border-radius: 20px;
    background: #ffb000;
    box-shadow: 0 0 10px rgba(255, 176, 0, 0.5);
}

/* =====================================================
   QUICK ACTIONS
   ===================================================== */

.quick-section {
    width: min(86%, 1250px);
    margin: -25px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.quick-card {
    min-height: 145px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.95);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    contain: content;
    backdrop-filter: blur(10px);
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 176, 0, 0.45);
    box-shadow: 0 15px 35px rgba(255, 176, 0, 0.12);
}

.quick-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 176, 0, 0.1);
    font-size: 25px;
}

.quick-card small {
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.quick-card h2 {
    margin-top: 5px;
    font-size: 19px;
}

.quick-card p {
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}

.arrow {
    margin-left: auto;
    color: #ffb000;
    font-size: 25px;
}

/* =====================================================
   TRUST & SAFE MIDDLEMAN TIMELINE
   ===================================================== */

.trust-section {
    width: min(86%, 1250px);
    margin: 75px auto 0;
    padding: 25px 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.trust-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 176, 0, 0.08);
    font-size: 18px;
}

.trust-item strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.trust-item span {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 10px;
}

.middleman-section {
    width: min(86%, 1250px);
    margin: 80px auto 0;
    padding: 35px;
    background: linear-gradient(145deg, rgba(16,16,16,0.95), rgba(10,10,10,0.98));
    border: 1px solid rgba(255, 176, 0, 0.2);
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.middleman-header {
    text-align: center;
    margin-bottom: 30px;
}

.middleman-header h2 {
    font-size: 28px;
    font-weight: 900;
}

.middleman-header h2 span {
    color: #ffb000;
}

.middleman-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    padding: 22px;
    border-radius: 16px;
    background: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 176, 0, 0.4);
}

.step-number {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(255, 176, 0, 0.15);
    color: #ffb000;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.step-card p {
    color: #888;
    font-size: 11px;
    line-height: 1.6;
}

/* =====================================================
   FAQ ACCORDION SECTION
   ===================================================== */

.faq-section {
    width: min(86%, 1000px);
    margin: 90px auto 0;
}

.faq-grid {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: 14px;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-color: rgba(255, 176, 0, 0.35);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-question span {
    color: #ffb000;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 22px 18px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.7;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* =====================================================
   DIRECT WHATSAPP BUY BUTTON ON CARDS
   ===================================================== */

.quick-buy-whatsapp-btn {
    width: 100%;
    margin-top: 8px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    background: #128c7e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.quick-buy-whatsapp-btn:hover {
    background: #25d366;
    color: #000;
}

/* =====================================================
   PROOFS & LIGHTBOX MODAL
   ===================================================== */

.proofs-section {
    width: min(86%, 1250px);
    margin: 90px auto 0;
}

.proofs-grid {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.proof-card {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.proof-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 176, 0, 0.45);
    box-shadow: 0 15px 35px rgba(255, 176, 0, 0.15);
}

.proof-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #171717;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.proof-card:hover .proof-img-container img {
    transform: scale(1.04);
}

.proof-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #555;
    background: linear-gradient(145deg, #181818, #0d0d0d);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-placeholder span {
    font-size: 28px;
    margin-bottom: 8px;
}

.proof-placeholder p {
    font-size: 11px;
    color: #777;
    font-weight: 700;
}

.proof-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffb000;
    font-size: 9px;
    font-weight: 900;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 176, 0, 0.3);
}

.proof-content {
    padding: 16px;
}

.proof-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.proof-desc {
    margin-top: 4px;
    font-size: 11px;
    color: #777;
}

.proof-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proof-lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 176, 0, 0.3);
    position: relative;
    background: #0a0a0a;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: #ffb000;
    color: #000;
}

/* =====================================================
   WISHLIST (❤️ FAVORITES BUTTON)
   ===================================================== */

.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(6px);
}

.fav-btn:hover {
    transform: scale(1.12);
    color: #ff4b4b;
}

.fav-btn.active {
    color: #ff334b;
    background: rgba(255, 51, 75, 0.15);
    border-color: #ff334b;
}

/* =====================================================
   LIVE SALES TICKER TOAST
   ===================================================== */

.sales-toast {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 176, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    max-width: 340px;
}

.sales-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 176, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast-body strong {
    display: block;
    font-size: 12px;
    color: #fff;
}

.toast-body span {
    display: block;
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

.toast-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
}

.toast-close:hover {
    color: #fff;
}

/* =====================================================
   FLOATING WHATSAPP WIDGET
   ===================================================== */

.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.widget-trigger {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.widget-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.widget-trigger::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: widgetPulse 2s infinite;
}

@keyframes widgetPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.widget-popup {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 310px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid rgba(255, 176, 0, 0.25);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    display: none;
    flex-direction: column;
    gap: 12px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.widget-popup.open {
    display: flex;
    transform: scale(1) translateY(0);
    opacity: 1;
}

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

.widget-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ffb000;
}

.widget-header-text strong {
    display: block;
    font-size: 13px;
}

.widget-header-text span {
    font-size: 10px;
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-header-text span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25d366;
}

.widget-body-text {
    font-size: 11px;
    color: #aaa;
    line-height: 1.5;
}

.widget-btn {
    width: 100%;
    min-height: 42px;
    border-radius: 9px;
    background: #25d366;
    color: #fff;
    border: 0;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.widget-btn:hover {
    background: #1ebc57;
}

/* =====================================================
   WHY + REVIEWS
   ===================================================== */

.why-section,
.reviews-section {
    width: min(86%, 1250px);
    margin: 110px auto 0;
}

.section-title {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -1px;
}

.section-title span {
    color: #ffb000;
}

.why-grid {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.why-card {
    min-height: 200px;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #101010;
    transition: transform 0.18s ease, border-color 0.18s ease;
    contain: content;
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 176, 0, 0.3);
}

.why-card > div {
    font-size: 27px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 16px;
}

.why-card p {
    margin-top: 9px;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

/* =====================================================
   REVIEWS & CAROUSEL
   ===================================================== */

.section-description {
    margin-top: 12px;
    color: #777;
    font-size: 14px;
}

.reviews-grid {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review-card {
    padding: 24px;
    border-radius: 18px;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 176, 0, 0.3);
}

.review-stars {
    color: #ffb000;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 12px;
    color: #ccc;
    line-height: 1.6;
}

.review-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 176, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb000;
    font-weight: 900;
    font-size: 13px;
}

.review-author-info strong {
    display: block;
    font-size: 12px;
}

.review-author-info span {
    font-size: 9px;
    color: #35d47a;
    display: block;
}


/* =====================================================
   DYNAMIC PROOF / REVIEW STATES
===================================================== */

.proof-empty-state,
.review-empty-state {
    grid-column: 1 / -1;
    padding: 35px 20px;
    border: 1px dashed rgba(255,255,255,.08);
    border-radius: 16px;
    background: #101010;
    color: #555;
    text-align: center;
    font-size: 12px;
}

.review-card-dynamic {
    min-height: 220px;
}

.review-proof-image {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 12px;
    background: #080808;
    border: 1px solid rgba(255,255,255,.06);
}

/* =====================================================
   BOTTOM CTA
   ===================================================== */

.bottom-cta {
    width: min(86%, 1000px);
    margin: 120px auto;
    padding: 70px 30px;
    text-align: center;
    border-radius: 25px;
    background:
        radial-gradient(circle at center, rgba(255, 176, 0, 0.12), transparent 60%),
        #101010;
    border: 1px solid rgba(255, 176, 0, 0.15);
}

.bottom-cta h2 {
    margin-top: 5px;
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1;
}

.bottom-cta h2 span {
    color: #ffb000;
}

.bottom-cta p:not(.section-label) {
    max-width: 500px;
    margin: 15px auto 25px;
    color: #777;
    font-size: 14px;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    padding: 45px 7% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: #050505;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-brand strong {
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-brand p {
    margin-top: 5px;
    color: #666;
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.footer-links a {
    color: #777;
    font-size: 12px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffb000;
}

.copyright {
    margin-top: 30px;
    color: #444;
    font-size: 10px;
}

/* =====================================================
   RESPONSIVE (TABLET & MOBILE OVERHAUL)
   ===================================================== */

@media (max-width: 1000px) {
    .proofs-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .middleman-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-header {
        padding: 10px 4%;
        min-height: 68px;
    }
    .brand-text strong {
        font-size: 14px;
    }
    .brand-text span {
        font-size: 9px;
    }
    .main-nav {
        gap: 12px;
    }
    .main-nav a {
        font-size: 10px;
    }
    .hero-section {
        grid-template-columns: 1fr;
        padding: 40px 4% 50px;
        gap: 35px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: clamp(34px, 9vw, 54px);
        letter-spacing: -1.5px;
    }
    .hero-description {
        font-size: 13px;
        margin-top: 15px;
    }
    .hero-buttons {
        justify-content: center;
        width: 100%;
    }
    .primary-button, .secondary-button {
        width: 100%;
    }
    .hero-slider {
        width: 100%;
        max-width: 360px;
    }
    .quick-section,
    .trust-section,
    .middleman-section,
    .proofs-section,
    .why-section,
    .reviews-section,
    .faq-section,
    .bottom-cta {
        width: 92%;
        margin-left: auto;
        margin-right: auto;
    }
    .quick-section {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    .trust-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .brand-text {
        display: none;
    }
    .main-nav a:not(.nav-channel-btn) {
        display: none;
    }
    .hero-slider {
        max-width: 100%;
    }
    .trust-section,
    .why-grid,
    .proofs-grid,
    .reviews-grid,
    .middleman-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
    }
    .widget-popup {
        width: 270px;
        right: -10px;
    }
    .sales-toast {
        left: 10px;
        right: 10px;
        bottom: 80px;
        max-width: none;
    }
}



/* =====================================================
   TAMILANDA GAMING — PREMIUM ALL-PAGE UX LAYER
   Responsive • Mobile-first • Smooth • Subtle 3D
   ===================================================== */

:root {
    --tg-gold: #ffb000;
    --tg-gold-soft: rgba(255,176,0,.14);
    --tg-bg: #060606;
    --tg-card: #101010;
    --tg-border: rgba(255,255,255,.075);
    --tg-ease: cubic-bezier(.22,1,.36,1);
}

html {
    scroll-padding-top: 78px;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 0%, rgba(255,176,0,.025), transparent 28%),
        radial-gradient(circle at 90% 35%, rgba(255,140,0,.018), transparent 32%),
        var(--tg-bg);
    -webkit-tap-highlight-color: transparent;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -10;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(80px);
    opacity: .075;
    will-change: transform;
}

body::before {
    width: 260px;
    height: 260px;
    top: 8vh;
    left: -180px;
    background: #ffb000;
    animation: tgAmbientOne 18s ease-in-out infinite;
}

body::after {
    width: 220px;
    height: 220px;
    right: -150px;
    top: 48vh;
    background: #ff8a00;
    animation: tgAmbientTwo 22s ease-in-out infinite;
}

@keyframes tgAmbientOne {
    0%,100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(85px,35px,0) scale(1.12); }
}

@keyframes tgAmbientTwo {
    0%,100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(-65px,-45px,0) scale(1.08); }
}

.top-header {
    transition:
        background .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.top-header.tg-scrolled {
    background: rgba(8,8,8,.88);
    box-shadow: 0 12px 35px rgba(0,0,0,.28);
    border-bottom-color: rgba(255,176,0,.22);
}

.brand-logo {
    transition:
        transform .55s var(--tg-ease),
        filter .35s ease;
}

.brand:hover .brand-logo {
    transform: translateY(-2px) scale(1.07) rotate(-5deg);
}

.main-nav a {
    transition:
        color .25s ease,
        transform .25s var(--tg-ease);
}

.main-nav a:hover {
    transform: translateY(-1px);
}

.menu-button {
    transition:
        transform .25s var(--tg-ease),
        border-color .25s ease,
        background .25s ease;
}

.menu-button:active,
.close-menu:active {
    transform: scale(.95);
}

.side-menu {
    transition:
        transform .48s var(--tg-ease),
        box-shadow .48s ease;
    will-change: transform;
}

.side-menu.open {
    box-shadow: -30px 0 80px rgba(0,0,0,.72);
}

.side-menu a {
    transition:
        transform .3s var(--tg-ease),
        color .25s ease,
        background .25s ease,
        padding-left .3s var(--tg-ease);
}

.side-menu a:hover {
    transform: translateX(4px);
}

.primary-button,
.secondary-button,
.request-btn,
.view-id-btn,
.quick-buy-whatsapp-btn,
.buy-now-button,
.social-button,
.nav-channel-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform .35s var(--tg-ease),
        box-shadow .35s ease,
        border-color .3s ease,
        background .3s ease,
        filter .25s ease;
}

.primary-button::after,
.secondary-button::after,
.request-btn::after,
.view-id-btn::after,
.quick-buy-whatsapp-btn::after,
.buy-now-button::after,
.social-button::after,
.nav-channel-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            110deg,
            transparent 20%,
            rgba(255,255,255,.12) 48%,
            transparent 75%
        );
    transform: translateX(-120%);
    transition: transform .8s var(--tg-ease);
}

.primary-button:hover::after,
.secondary-button:hover::after,
.request-btn:hover::after,
.view-id-btn:hover::after,
.quick-buy-whatsapp-btn:hover::after,
.buy-now-button:hover::after,
.social-button:hover::after,
.nav-channel-btn:hover::after {
    transform: translateX(120%);
}

.primary-button:active,
.secondary-button:active,
.request-btn:active,
.view-id-btn:active,
.quick-buy-whatsapp-btn:active,
.buy-now-button:active,
.social-button:active,
.nav-channel-btn:active {
    transform: scale(.985);
}

.quick-card,
.step-card,
.why-card,
.proof-card,
.review-card,
.faq-item,
.id-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
        transform .55s var(--tg-ease),
        box-shadow .55s var(--tg-ease),
        border-color .35s ease,
        background .35s ease;
    will-change: transform;
}

.quick-card::before,
.step-card::before,
.why-card::before,
.proof-card::before,
.review-card::before,
.faq-item::before,
.id-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            transparent 30%,
            transparent 70%,
            rgba(255,176,0,.02)
        );
    opacity: .65;
}

.quick-card > *,
.step-card > *,
.why-card > *,
.proof-card > *,
.review-card > *,
.faq-item > *,
.id-card > * {
    transform: translateZ(12px);
}

.quick-card:hover,
.step-card:hover,
.why-card:hover,
.proof-card:hover,
.review-card:hover,
.faq-item:hover,
.id-card:hover {
    border-color: rgba(255,176,0,.22);
    box-shadow: 0 24px 60px rgba(0,0,0,.30);
}

.id-card {
    overflow: hidden;
}

.id-card .id-image img,
.proof-card img,
.review-proof-image {
    transition:
        transform .7s var(--tg-ease),
        filter .45s ease,
        opacity .35s ease;
    backface-visibility: hidden;
}

.id-card:hover .id-image img,
.proof-card:hover img,
.review-card:hover .review-proof-image {
    transform: scale(1.025);
}

.hero-content h1,
.section-heading h2,
.buy-heading h1,
.details-header h1 {
    text-wrap: balance;
}

.hero-section,
.quick-section,
.trust-section,
.middleman-section,
.proofs-section,
.why-section,
.reviews-section,
.faq-section,
.bottom-cta,
.buy-page,
.details-page {
    position: relative;
}

.hero-content,
.hero-slider,
.quick-section,
.trust-section,
.middleman-section,
.proofs-section,
.why-section,
.reviews-section,
.faq-section,
.bottom-cta,
.id-grid,
.request-banner,
.details-container,
.description-section,
.details-notice {
    transform: translateZ(0);
}

.whatsapp-widget {
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.28));
}

.widget-trigger {
    transition:
        transform .35s var(--tg-ease),
        box-shadow .35s ease;
}

.widget-trigger:hover {
    transform: translateY(-4px) scale(1.04);
}

.widget-trigger:active {
    transform: scale(.96);
}

.widget-popup {
    transform-origin: bottom right;
}

.sales-toast {
    transition:
        transform .5s var(--tg-ease),
        opacity .35s ease;
}

img {
    content-visibility: visible;
    -webkit-user-drag: none;
}

@media (max-width: 768px) {

    .top-header {
        padding:
            max(8px, env(safe-area-inset-top))
            4%
            9px;
        min-height: 64px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .main-nav {
        gap: 9px;
    }

    .hero-section {
        padding:
            34px 5% 44px;
        gap: 26px;
    }

    .hero-buttons {
        gap: 9px;
        margin-top: 24px;
    }

    .primary-button,
    .secondary-button {
        min-height: 50px;
        border-radius: 12px;
    }

    .hero-slider {
        border-radius: 18px;
    }

    .quick-section,
    .trust-section,
    .middleman-section,
    .proofs-section,
    .why-section,
    .reviews-section,
    .faq-section,
    .bottom-cta {
        width: 92%;
    }

    .quick-card,
    .step-card,
    .why-card,
    .proof-card,
    .review-card,
    .faq-item,
    .id-card {
        border-radius: 16px;
    }

    .quick-card:hover,
    .step-card:hover,
    .why-card:hover,
    .proof-card:hover,
    .review-card:hover,
    .faq-item:hover,
    .id-card:hover {
        transform: none;
        box-shadow:
            0 16px 38px rgba(0,0,0,.22);
    }

    .bottom-cta {
        margin-top: 75px;
        margin-bottom: 75px;
        padding: 50px 22px;
    }

    footer {
        padding-bottom:
            calc(
                28px +
                env(safe-area-inset-bottom)
            );
    }

}

@media (max-width: 480px) {

    body {
        background:
            radial-gradient(
                circle at 30% 0%,
                rgba(255,176,0,.03),
                transparent 28%
            ),
            var(--tg-bg);
    }

    .top-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .brand-logo {
        width: 41px;
        height: 41px;
    }

    .hero-section {
        padding-top: 28px;
        padding-bottom: 38px;
    }

    .hero-content h1 {
        font-size:
            clamp(
                34px,
                11vw,
                50px
            );
        line-height: .98;
    }

    .hero-description,
    .section-description,
    .buy-heading p {
        font-size: 12px;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 49px;
    }

    .proofs-grid,
    .reviews-grid,
    .middleman-grid,
    .trust-section,
    .why-grid {
        gap: 12px;
    }

    .review-card,
    .quick-card,
    .step-card,
    .why-card {
        padding: 18px;
    }

    .proof-empty-state,
    .review-empty-state {
        padding: 27px 16px;
    }

    .widget-popup {
        width:
            min(
                290px,
                calc(100vw - 28px)
            );
    }

    .whatsapp-widget {
        right:
            max(
                14px,
                env(safe-area-inset-right)
            );
        bottom:
            max(
                14px,
                env(safe-area-inset-bottom)
            );
    }

}

@media (max-width: 360px) {

    .hero-content h1 {
        font-size: 31px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .quick-card,
    .step-card,
    .why-card,
    .review-card {
        padding: 15px;
    }

    .bottom-cta {
        padding: 40px 17px;
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

}



/* =====================================================
   JS MOTION HOOKS
   ===================================================== */

.tg-reveal {
    opacity: 0;
    transform:
        translate3d(0, 22px, 0)
        scale(.985);
    transition:
        opacity .72s var(--tg-ease),
        transform .72s var(--tg-ease);
    transition-delay: var(--tg-delay, 0ms);
}

.tg-reveal.tg-visible {
    opacity: 1;
    transform:
        translate3d(0,0,0)
        scale(1);
}

.tg-image-ready {
    animation:
        tgImageReady .55s var(--tg-ease) both;
}

@keyframes tgImageReady {
    from {
        opacity: .35;
        transform: scale(.99);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.tg-touch-active {
    transform:
        scale(.985) !important;
    filter: brightness(.96);
}

@media (max-width: 768px) {

    .tg-reveal {
        transform:
            translate3d(0, 16px, 0)
            scale(.99);
        transition-duration: .58s;
    }

    .tg-reveal.tg-visible {
        transform:
            translate3d(0,0,0)
            scale(1);
    }

}

@media (prefers-reduced-motion: reduce) {

    .tg-reveal,
    .tg-reveal.tg-visible,
    .tg-image-ready {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }

}

/* =========================================================
   TAMILANDA GAMING — PREMIUM MOBILE / SMOOTH UI LAYER
   APPEND THIS TO THE BOTTOM OF styles.css
   ========================================================= */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
canvas,
iframe {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* ---------- HEADER ---------- */

.top-header {
    width: 100%;
    max-width: 100%;
    transition:
        background .28s ease,
        box-shadow .28s ease,
        transform .28s ease;
}

.brand {
    min-width: 0;
}

.brand-logo {
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-text {
    min-width: 0;
}

.main-nav {
    min-width: 0;
}

.main-nav a {
    white-space: nowrap;
    transition:
        color .2s ease,
        transform .2s ease,
        opacity .2s ease;
}

.main-nav a:hover {
    transform: translateY(-1px);
}

.menu-button {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.menu-button:active {
    transform: scale(.94);
}

/* ---------- SIDE MENU ---------- */

.side-menu {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition:
        transform .32s cubic-bezier(.22,.61,.36,1),
        opacity .25s ease;
}

.side-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    transition:
        transform .2s ease,
        color .2s ease,
        background .2s ease;
}

.close-menu {
    min-width: 44px;
    min-height: 44px;
}

/* ---------- BUTTONS ---------- */

.primary-button,
.secondary-button,
.contact-button,
.buy-button,
.sell-button,
.back-button,
.admin-choice,
.admin-contact-btn {
    min-height: 44px;
    max-width: 100%;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease,
        opacity .22s ease;
}

.primary-button:hover,
.secondary-button:hover,
.contact-button:hover,
.buy-button:hover,
.sell-button:hover,
.back-button:hover,
.admin-choice:hover,
.admin-contact-btn:hover {
    transform: translateY(-2px);
}

.primary-button:active,
.secondary-button:active,
.contact-button:active,
.buy-button:active,
.sell-button:active,
.back-button:active,
.admin-choice:active,
.admin-contact-btn:active {
    transform: translateY(0) scale(.985);
}

/* ---------- HERO ---------- */

.hero-section {
    position: relative;
    isolation: isolate;
}

.hero-content {
    min-width: 0;
}

.hero-content h1,
.hero-description {
    overflow-wrap: anywhere;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-buttons > a {
    max-width: 100%;
}

.hero-slider {
    position: relative;
    min-width: 0;
}

.hero-slider .slider-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.dynamic-showcase {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.dynamic-showcase img,
.showcase-image,
.showcase-images img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle premium depth */
.quick-card,
.contact-card,
.gallery-box,
.details-info,
.sell-form,
.term-card,
.slider-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

@media (hover: hover) {
    .quick-card:hover,
    .contact-card:hover,
    .gallery-box:hover,
    .details-info:hover,
    .term-card:hover {
        transform: translateY(-3px);
    }
}

/* ---------- QUICK CARDS ---------- */

.quick-section,
.contact-grid,
.feature-list,
.details-container {
    min-width: 0;
}

.quick-card {
    min-width: 0;
    overflow: hidden;
}

.quick-card h2,
.quick-card p,
.quick-card small {
    overflow-wrap: anywhere;
}

.quick-card .arrow {
    flex: 0 0 auto;
    transition: transform .22s ease;
}

.quick-card:hover .arrow {
    transform: translateX(4px);
}

/* ---------- FORMS ---------- */

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

textarea {
    resize: vertical;
}

.form-field,
.account-details-grid,
.seller-contact-section,
.sell-form {
    min-width: 0;
}

.account-details-grid {
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ---------- DETAILS PAGE ---------- */

.details-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.details-container {
    align-items: start;
}

.gallery-box,
.details-info {
    min-width: 0;
}

.main-gallery-image {
    overflow: hidden;
}

.main-gallery-image img {
    transition:
        opacity .25s ease,
        transform .35s ease;
}

.gallery-thumbnails {
    min-width: 0;
}

.gallery-thumbnails img,
.gallery-thumb {
    transition:
        transform .2s ease,
        opacity .2s ease,
        border-color .2s ease;
}

.gallery-thumbnails img:hover,
.gallery-thumb:hover {
    transform: translateY(-2px);
}

/* ---------- MODALS ---------- */

.modal,
.dialog,
.overlay,
.form-modal,
.admin-chooser-modal,
.admin-contact-modal {
    max-width: 100vw;
}

.modal *,
.dialog *,
.form-modal *,
.admin-chooser-modal *,
.admin-contact-modal * {
    max-width: 100%;
}

.admin-chooser-modal,
.admin-contact-modal {
    overscroll-behavior: contain;
}

/* ---------- SAFE RESPONSIVE BREAKPOINT ---------- */

@media (max-width: 900px) {
    .hero-section {
        gap: 32px;
    }

    .details-container {
        grid-template-columns: 1fr;
    }

    .details-header h1 {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .top-header {
        min-height: 64px;
    }

    .brand {
        max-width: calc(100% - 58px);
    }

    .brand-text strong {
        font-size: clamp(13px, 4vw, 17px);
    }

    .brand-text span {
        font-size: clamp(9px, 2.7vw, 11px);
    }

    .main-nav {
        display: none !important;
    }

    .menu-button {
        margin-left: auto;
    }

    .hero-section,
    .contact-page,
    .sell-page,
    .terms-page,
    .details-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons > a {
        flex: 1 1 180px;
        justify-content: center;
    }

    .quick-section,
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .details-container {
        grid-template-columns: 1fr !important;
    }

    .details-header h1 {
        font-size: clamp(34px, 11vw, 52px);
        letter-spacing: -1.5px;
    }

    .details-subtitle {
        font-size: 13px;
    }

    .gallery-box {
        padding: 12px;
        border-radius: 16px;
    }

    .main-gallery-image {
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

    .sell-form,
    .contact-card,
    .term-card {
        width: 100%;
        max-width: 100%;
    }

    .contact-button,
    .primary-button,
    .secondary-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        gap: 9px;
    }

    .hero-buttons > a {
        flex-basis: 100%;
    }

    .quick-card {
        padding: 16px !important;
    }

    .quick-card .quick-icon {
        flex: 0 0 auto;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .details-page {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .details-header h1 {
        font-size: clamp(31px, 10.5vw, 46px);
    }

    .details-label {
        letter-spacing: 2px !important;
    }

    .admin-chooser-box,
    .admin-contact-modal {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
    }
}

/* ---------- REDUCE MOTION ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   TAMILANDA GAMING — TERMS / SHARED PAGE FALLBACK STYLES
========================================================= */

.terms-page{
    width:min(1180px,92%);
    margin:0 auto;
    padding:54px 0 90px;
}

.terms-heading{
    text-align:center;
    margin:0 auto 28px;
    padding:64px 24px;
    border:1px solid rgba(255,176,0,.14);
    border-radius:24px;
    background:
        radial-gradient(circle at 50% 0%,rgba(255,176,0,.12),transparent 45%),
        linear-gradient(145deg,#12100b,#080808);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.terms-heading .eyebrow{
    margin-bottom:12px;
}

.terms-heading h1{
    margin:0;
    font-size:clamp(42px,6vw,78px);
    line-height:1;
    letter-spacing:-2px;
    color:#fff;
}

.terms-heading h1 span{
    color:#ffb000;
}

.terms-heading > p:last-child{
    max-width:760px;
    margin:20px auto 0;
    color:rgba(255,255,255,.62);
    line-height:1.7;
}

.safety-banner{
    margin:0 auto 24px;
    padding:20px 24px;
    text-align:center;
    color:#fff;
    border:1px solid rgba(255,176,0,.25);
    border-radius:16px;
    background:rgba(255,176,0,.07);
    box-shadow:0 10px 35px rgba(0,0,0,.2);
}

.terms-wrap{
    display:grid;
    gap:18px;
}

.term-card{
    padding:28px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:linear-gradient(145deg,#111,#0a0a0a);
    box-shadow:0 12px 35px rgba(0,0,0,.22);
}

.term-card h2{
    margin:0 0 16px;
    color:#ffb000;
    font-size:clamp(17px,2vw,22px);
    line-height:1.35;
}

.term-content{
    color:rgba(255,255,255,.74);
    font-size:14px;
    line-height:1.85;
}

.term-content strong{
    color:#fff;
}

.term-content ul,
.term-content ol{
    margin:12px 0 12px 22px;
}

.official-numbers{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.official-numbers div{
    padding:10px 14px;
    border-radius:10px;
    background:rgba(255,176,0,.08);
    border:1px solid rgba(255,176,0,.2);
    color:#ffb000;
    font-weight:700;
}

@media(max-width:700px){
    .terms-page{
        width:calc(100% - 28px);
        padding:32px 0 70px;
    }

    .terms-heading{
        padding:42px 18px;
        border-radius:18px;
    }

    .terms-heading h1{
        font-size:clamp(34px,10vw,54px);
        letter-spacing:-1px;
    }

    .safety-banner,
    .term-card{
        padding:20px;
    }

    .term-content{
        font-size:13px;
        line-height:1.75;
    }

    .official-numbers{
        flex-direction:column;
    }

    .official-numbers div{
        width:100%;
        text-align:center;
    }
}

@media(max-width:420px){
    .terms-page{
        width:calc(100% - 20px);
    }

    .terms-heading{
        padding:34px 14px;
    }

    .term-card{
        padding:16px;
    }
}
