/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0f0f0f;
    color: #fff;
}

/* ========== HERO TITLE ========== */
.hero-title {
    text-align: left;
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.hero-title .rate {
    font-size: 34px;
    color: white;
    font-weight: 600;
}

/* ========== MOBILE < 768px ========== */
@media (max-width: 768px) {
    .hero-title {
        text-align: left;
        font-size: 24px;
        line-height: 1.4;
        padding: 0 20px;
        margin-top: -250px;
    }

    .hero-title .rate {
        font-size: 24px;
        display: block;
        margin-top: 8px;
    }

    .hero-title br {
        display: none;
    }
}

/* ========== SMALL MOBILE < 480px ========== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 16px;
    }

    .hero-title .rate {
        font-size: 14px;
    }

    /* ========== NAV FONT SIZE ========== */
    nav a, 
    .nav-link, 
    .nav-text {
        font-size: 11px;
        font-weight: 400;
    }
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    border-bottom: 1px solid #2f2f2f;
}

.logo {
    color: #d4af37;
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-link, 
.nav-text {
    font-size: 18px;
    font-weight: 400;
}
    
.login-btn {
    padding: 10px 20px;
    border: 1px solid #d4af37;
    border-radius: 8px;
}

/* ========== SUPPORT DROPDOWN ========== */
.support-dropdown {
    position: relative;
    display: inline-block;
}

.support-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 16px;
    color: #333;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

.support-dropdown:hover .dropdown-content {
    display: block;
}

/* ========== HERO ========== */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px;
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.75)), url('../assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 0;
}

.hero p {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: #d4af37;
    color: #111;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

/* ========== FEATURED CARDS ========== */
.featured {
    padding: 100px 70px;
    text-align: center;
}

.featured h2 {
    font-size: 42px;
    margin-bottom: 60px;
    color: #d4af37;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #aaa;
    margin-bottom: 12px;
}

.card span {
    font-size: 22px;
    color: #d4af37;
    font-weight: bold;
}

/* ========== ABOUT ========== */
.about {
    padding: 100px 70px;
    background: #171717;
    text-align: center;
}

.about h2 {
    font-size: 44px;
    margin-bottom: 25px;
}

.about h3 {
    font-weight: normal;
    font-size: 18px;
}

.about p {
    color: #ccc;
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: justify;
}

.btn-dark {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    border-radius: 10px;
}

/* ========== BLACK CARD - PC vs MOBILE ========== */
.black-card,
.black-card-mobile {
    display: block !important;
    background: #111;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 20px auto;
    max-width: 800px;
    color: #fff;
}

@media (min-width: 769px) {
    .black-card-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .black-card {
        display: none !important;
    }
    .black-card-mobile {
        display: block !important;
    }
}

.black-card ul, .black-card-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.black-card li, .black-card-mobile li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.black-card li::before, 
.black-card-mobile li::before {
    content: "✓";
    color: #4ade80;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

@media (max-width: 768px) {
    .black-card li, .black-card-mobile li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    .black-card li::before, 
    .black-card-mobile li::before {
        font-size: 16px;
    }
}

/* ========== MODAL + DEPOSIT ========== */
.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 999;
}

.modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 420px;
    z-index: 1000;
    transition: transform 0.2s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 10px;
}

.close-btn { 
    cursor: pointer; 
    font-size: 28px; 
}

.wallet-item {
    padding: 12px 14px;
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #f0f0f0;
}

.wallet-item:hover:not(.disabled) {
    border-color: #FFD700;
    background: #333;
}

.wallet-item.disabled {
    opacity: 0.4;
    cursor: pointer;
    background: #1a1a1a;
}

.selected-tag {
    font-size: 12px;
    color: #FFD700;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: auto;
    padding-left: 10px;
    min-width: 70px;
    text-align: right;
}

.deposit-info {
    margin: 20px 0;
    padding: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    color: #ddd;
}

.info-item:last-child { margin-bottom: 0; }

.check {
    margin-right: 8px;
    font-size: 18px;
    color: #4ade80;
}

.rate-input {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #4ade80;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    width: 80px;
    margin-left: 6px;
    cursor: not-allowed;
}

.delay-select {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    margin-left: 8px;
    cursor: pointer;
}

.delay-select:focus {
    outline: none;
    border-color: #4ade80;
}

.address-input {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    width: 100%;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.address-input::placeholder {
    color: #aaa;
    text-transform: uppercase;
    font-size: 10px;
}

.address-input:focus {
    outline: none;
    border-color: #4ade80;
    background: #1f1f1f;
}

.deposit-btn {
    width: 100%;
    padding: 14px;
    background: yellow;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
}

.deposit-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* ========== CHATBOT TELEGRAM BLUE ========== */
.chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.chatbot-float-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #0088cc;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,136,204,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.chatbot-float-btn:hover,
.chatbot-float-btn:active,
.chatbot-float-btn:focus {
    background-color: #0088cc;
    transform: scale(1.1);
}

.chatbot-float-btn:focus {
    outline: none;
}

.chatbot-tooltip {
    position: absolute;
    right: 85px;
    bottom: 20px;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s ease;
    pointer-events: none;
}

.chatbot-container:hover .chatbot-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ========== FOOTER ========== */
footer {
    padding: 45px;
    text-align: center;
    background: #0b0b0b;
    border-top: 1px solid #222;
}

footer h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

footer p {
    color: #aaa;
    margin-bottom: 10px;
}

/* Show desktop, hide mobile by default */
.header-desktop { display: block; }
.header-mobile { display: none; }

@media (max-width: 768px) {
    .header-desktop { display: none; }
    .header-mobile { display: block; }
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .navbar {
        justify-content: flex-end;
    }

    .header-mobile .nav-links li a {
        pointer-events: auto !important;
        position: relative;
        z-index: 9999;
    }

    .header-mobile .navbar {
        position: relative;
        z-index: 9999;
    }

    .header-mobile .nav-links {
        position: relative;
        z-index: 10000;
    }

    .header-mobile .nav-links li {
        position: relative;
        z-index: 10001;
    }

    .header-mobile .nav-links li a {
        display: block;
        position: relative;
        z-index: 10002;
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 35px;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
        margin-top: -15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
        text-align: left;
    }

    .btn {
        display: block;
        width: 100%;
        padding: 16px;
        font-size: 18px;
        border-radius: 12px;
    }

    .featured {
        padding: 40px 20px;
    }

    .featured h2 {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: center;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }

    .card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .card img {
        width: 55px;
        height: 55px;
        margin-bottom: 0;
        flex-shrink: 0;
        border-radius: 50%;
    }

    .card div {
        flex: 1;
    }

    .card h3 {
        font-size: 18px;
        margin: 0;
    }

    .card p {
        font-size: 13px;
        margin: 0;
    }

    .card span {
        margin-left: auto;
        font-weight: 700;
        font-size: 16px;
    }

    .about {
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about h2 {
        font-size: 24px;
    }
    
    .about h3 {
        font-weight: 110;
        font-size: 10px;
    }

    .btn-dark {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 16px;
        font-size: 18px;
        border-radius: 12px;
    }
}



/* ========== SMALL MOBILE TWEAKS ========== */
@media (max-width: 480px) {
    .delay-select {
        font-size: 13px;
        padding: 5px 6px;
        margin-left: 4px;
        max-width: 200px;
    }
    .info-item {
        flex-wrap: wrap;
        font-size: 14px;
    }
    .info-item label {
        white-space: nowrap;
    }
}











/* ========== LOGO - LAPTOP VS PHONE ========== */
.logo-img {
    display: flex;
    align-items: center;
}

.logo-img img {
    display: block;
    height: auto;
    transform-origin: left center;
}

/* LAPTOP/DESKTOP: 769px and wider */
@media (min-width: 769px) {
    .logo-img {
        margin-top: -30px;     /* up/down */
        margin-left: 100px;        /* left/right from parent */
        margin-right: 0;
        justify-content: flex-start;
    }
    .logo-img img {
        width: 60px;           /* logo size */
        transform: translate(-20px, 70px); /* left/right = -20px, up/down = -100px */
    }
    
    .header-general .navbar {
        justify-content: flex-end;
    }
    .header-general .nav-links {
        margin-left: auto;
        margin-right: 0;
        gap: 35px;
    }
}



/* PHONE/TABLET: 768px and smaller */
@media (max-width: 768px) {
    .logo-img {
        position: relative;
        top: 10px;
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
        width: 100%;
    }
    
    /* More specific selector + !important to beat overrides */
    .logo-img img,
    .header-general .logo-img img {
        width: 120px !important;      /* phone logo size */
        max-width: 120px !important;
        height: auto !important;
        transform: translate(0px, 3px) !important;
    }
    
    
    /* transform: translate(x, y) 
   x = left/right. Negative = left, Positive = right
   y = up/down. Negative = up, Positive = down */
    
    .header-general .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    .header-general .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        gap: 20px;
    }
    .header-general br {
        display: none;
    }
}