/* ===== RESET & VARIABLES ===== */
:root {
    --primary-yellow: #FFD700;
    --yellow-dark: #FFA500;
    --bg-light: #FFF8E1;
    --card-bg: #ffffff;
    --text-dark: #1A1A1A;
    --shadow: 0 10px 30px rgba(0,0,0,0.12);
    --telegram-blue: #2AABEE;
    --telegram: #2AABEE;
}

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 38px;
    width: 38px;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-yellow);
}

/* Hamburger menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    background: none;
    border: none;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 3px;
    transition: transform 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 70px;
    right: 14px;
    width: 260px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(-15px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 1000;
    overflow: hidden;
}

.mobile-drawer.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer a {
    display: block;
    padding: 18px 20px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    background: #eee;
}

.mobile-drawer a:hover {
    background: #f5f5f5;
}

.mobile-drawer a:last-child {
    border-bottom: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-dark));
    color: #fff;
    text-align: center;
    padding: 1.2rem 0 0.8rem;
}

.hero h1 {
    font-size: 1.1rem;
    margin: 0.2rem 0 0.4rem;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.hero-main-img {
    max-width: 150px;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    margin: 0.5rem auto;
    display: block;
}

.hero p {
    max-width: 750px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* Buttons */
.buttons-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    background: var(--primary-yellow);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-full {
    display: block;
    max-width: 420px;
    margin: 1rem auto 0;
    text-align: center;
}

.telegram-btn {
    display: block;
    text-align: center;
    background: var(--telegram-blue);
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-top: 14px;
    text-decoration: none;
    font-weight: 600;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
}

.pros-cons-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 10px auto 0;
    max-width: 900px;
}

.pros-cons-table th {
    padding: 12px;
    text-align: left;
    background: var(--primary-yellow);
    color: #fff;
}

.pros-cons-table th:first-child {
    width: 50%;
}

.pros-cons-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.pros-cons-table tr:nth-child(even) {
    background: #faf7e6;
}

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

/* ===== CARDS ===== */
.card {
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}

/* ===== FORMS ===== */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

button.submit {
    background: var(--primary-yellow);
    border: none;
    padding: 12px 20px;
    margin-top: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    margin-top: 18px;
    font-size: 14px;
}

footer a {
    color: #FFD700;
    margin: 0 10px;
    text-decoration: none;
}

/* ===== PERFORMANCE & MEDIA QUERIES ===== */
section {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1rem;
        line-height: 1.25;
    }
}

/* ===== NEW STYLES FROM NEWFEATURE.HTML ===== */

/* Tabs container */
.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.tabs button {
    width: 100%;
    padding: 12px 6px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.tabs button.active {
    background-color: #007bff;
    color: #fff;
}

/* Bonus badges on tabs */
.tabs #buy-btn::after {
    content: "MAX 5% BONUS";
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    border-radius: 14px;
    white-space: nowrap;
    background: linear-gradient(90deg,#ff1744,#ff9100);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    pointer-events: none;
    animation: bonusFloat 1.8s ease-in-out infinite;
}

.tabs #sell-btn::after {
    content: "1% BONUS";
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    border-radius: 14px;
    white-space: nowrap;
    pointer-events: none;
    background: linear-gradient(90deg,#00c853,#00e5ff);
    color: #00303d;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    animation: bonusFloat 1.8s ease-in-out infinite;
}

.tabs #guide-btn::after {
    content: "1.5% BONUS";
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    border-radius: 14px;
    white-space: nowrap;
    background: linear-gradient(90deg,#ff1744,#ff5252);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    pointer-events: none;
    animation: bonusFloat 1.8s ease-in-out infinite;
}

/* Hindi badges */
html[lang="hi"] .tabs #buy-btn::after {
    content: "अधिकतम 5% बोनस";
}
html[lang="hi"] .tabs #sell-btn::after {
    content: "1% बोनस";
}
html[lang="hi"] .tabs #guide-btn::after {
    content: "1.5% बोनस";
}

@keyframes bonusFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Content tabs */
.content-tab {
    display: none;
    padding: 10px;
}
.content-tab.active {
    display: block;
}

/* Buy sub-tabs */
#buy-subtabs {
    margin: 16px auto;
    max-width: 1000px;
    padding: 0 10px;
}

#buy-subtabs .lang-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#buy-subtabs button {
    width: 100%;
    padding: 12px 10px;
    border: 0;
    border-radius: 8px;
    background: #f0f0f0;
    color: #333;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

#buy-subtabs button.active {
    background: #007bff;
    color: #fff;
}

#buy-subtabs .hot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    background: #ff0000;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(255,0,0,0.6);
    pointer-events: none;
    animation: pulseHot 1.5s infinite;
}

@keyframes pulseHot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@media (max-width: 767px) {
    #buy-subtabs .lang-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Floating action buttons animation */
.fab-anim {
    animation: breathe 1.8s ease-in-out infinite, glow 1.8s ease-in-out infinite;
}
.fab-anim::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 1.6s ease-out infinite;
}

@keyframes breathe {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}
@keyframes glow {
    0%,100% { filter: drop-shadow(0 0 2px rgba(255,77,79,.4)) drop-shadow(0 0 6px rgba(255,136,77,.45)); }
    50% { filter: drop-shadow(0 0 10px rgba(255,77,79,.75)) drop-shadow(0 0 16px rgba(255,136,77,.65)); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,77,79,.55); opacity: 1; }
    70% { box-shadow: 0 0 0 16px rgba(255,77,79,0); opacity: .2; }
    100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); opacity: 0; }
}

/* General utility */
.biaoti {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    background: linear-gradient(to right, #ff3333, #ff9b00);
    padding: 12px 20px;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    text-align: center;
}