@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Share+Tech+Mono&display=swap");

body {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  font-family: "Fira Code", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

html, body {
  background-color: #000;
}

.navbar {
  background-color: rgba(0, 0, 0, 0) !important;
  z-index: 100;
  height: 70px;
}

.navbar .container-fluid .collapse ul li:first-child {
  color: #01ffa7;
}

.navbar .container-fluid .navbar-brand {
  position: relative;
}

.navbar .container-fluid .navbar-brand::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #01ffa7;
  bottom: 5px;
  left: 0;
}

.navbar .container-fluid .collapse ul li .menu-links {
  font-weight: 600;
}

.navbar .container-fluid .collapse ul li .menu-links:hover:not(ul li:first-child) {
  color: #01ffa7 !important;
}

canvas {
  position: absolute;
  left: 0;
  width: 80%;
  height: 100vh;
}

#earth-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}






/** ANIMATIONS */
/* =========================
   Responsive Layout
   ========================= */

/* پایه: فونت اوورلی دستورالعمل‌ها یکنواخت شود */
#instructions {
  font-family: "Fira Code", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

/* تبلت و موبایل: کانواس تمام‌عرض، متن اوورلی کوچک‌تر */
@media (max-width: 992px) {
  canvas {
    width: 100%;
    height: 100vh;
  }

  #instructions {
    font-size: 12px !important;
    left: 10px !important;
    right: 10px !important;
    max-width: calc(100% - 20px);
  }
}

/* موبایل کوچک: اوورلی جمع‌وجور با حاشیه کمتر */
@media (max-width: 576px) {
  #instructions {
    font-size: 11px !important;
    top: 10px !important;
    left: 8px !important;
    right: 8px !important;
    max-width: calc(100% - 16px);
    padding: 6px 8px !important;
  }
}


/* Join Bazaar Linker */
.join-container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        position: relative;
        overflow: hidden;
                margin-top: 55px;

    }

    .join-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
        opacity: 0.5;
    }

    .join-header {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
        z-index: 1;
    }

    .join-title {
        font-size: 48px;
        font-weight: 800;
        color: #4a9eff;
        margin: 0 0 15px 0;
        text-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
        letter-spacing: -1px;
    }

    .join-subtitle {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }

    .panels-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1100px;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .join-panel {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .join-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .buyer-panel::before {
        background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    }

    .seller-panel::before {
        background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    }

    .join-panel:hover {
        transform: translateY(-8px);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .join-panel:hover::before {
        opacity: 1;
    }

    .buyer-panel {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
    }

    .seller-panel {
        background: linear-gradient(135deg, rgba(88, 28, 135, 0.3) 0%, rgba(147, 51, 234, 0.2) 100%);
    }

    .panel-icon {
        width: 80px;
        height: 80px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        margin-bottom: 25px;
        position: relative;
        z-index: 1;
        transition: all 0.4s ease;
    }

    .buyer-icon {
        background: linear-gradient(135deg, #4a9eff 0%, #64b5f6 100%);
        color: #fff;
        box-shadow: 0 8px 20px rgba(74, 158, 255, 0.4);
    }

    .seller-icon {
        background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
        color: #fff;
        box-shadow: 0 8px 20px rgba(156, 39, 176, 0.4);
    }

    .join-panel:hover .panel-icon {
        transform: scale(1.1) rotate(5deg);
    }

    .panel-title {
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        margin: 0 0 15px 0;
        position: relative;
        z-index: 1;
    }

    .panel-description {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
        margin: 0 0 30px 0;
        line-height: 1.6;
        position: relative;
        z-index: 1;
    }

    .features-list {
        list-style: none;
        padding: 0;
        margin: 0 0 35px 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        position: relative;
        z-index: 1;
    }

    .features-list li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .features-list li:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateX(5px);
    }

    .features-list li i {
        font-size: 18px;
        flex-shrink: 0;
    }

    .buyer-panel .features-list li i {
        color: #64b5f6;
    }

    .seller-panel .features-list li i {
        color: #e91e63;
    }

    .features-list li span {
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
        font-weight: 500;
    }

    .panel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 32px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        border: none;
        cursor: pointer;
        width: 100%;
        max-width: 280px;
    }

    .buyer-btn {
        background: linear-gradient(135deg, #4a9eff 0%, #64b5f6 100%);
        color: #fff;
        box-shadow: 0 4px 15px rgba(74, 158, 255, 0.4);
    }

    .buyer-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(74, 158, 255, 0.6);
        background: linear-gradient(135deg, #5aa8ff 0%, #75c0ff 100%);
    }

    .seller-btn {
        background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
        color: #fff;
        box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
    }

    .seller-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6);
        background: linear-gradient(135deg, #ab47bc 0%, #f06292 100%);
    }

    .panel-btn i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .panel-btn:hover i {
        transform: translateX(4px);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .panels-container {
            grid-template-columns: 1fr;
            gap: 25px;
            max-width: 600px;
        }

        .join-title {
            font-size: 40px;
        }

        .join-subtitle {
            font-size: 16px;
        }
    }

    @media (max-width: 768px) {
        .join-container {
            padding: 40px 15px;
        }

        .join-header {
            margin-bottom: 40px;
        }

        .join-title {
            font-size: 32px;
        }

        .join-subtitle {
            font-size: 15px;
        }

        .join-panel {
            padding: 30px 25px;
        }

        .panel-icon {
            width: 70px;
            height: 70px;
            font-size: 32px;
        }

        .panel-title {
            font-size: 28px;
        }

        .panel-description {
            font-size: 15px;
        }

        .features-list li {
            padding: 10px 15px;
        }

        .features-list li span {
            font-size: 14px;
        }

        .panel-btn {
            padding: 14px 28px;
            font-size: 15px;
        }
    }

    @media (max-width: 480px) {
        .join-title {
            font-size: 28px;
        }

        .join-subtitle {
            font-size: 14px;
        }

        .join-panel {
            padding: 25px 20px;
        }

        .panel-icon {
            width: 60px;
            height: 60px;
            font-size: 28px;
        }

        .panel-title {
            font-size: 24px;
        }

        .panel-description {
            font-size: 14px;
        }

        .features-list {
            gap: 12px;
        }

        .features-list li {
            padding: 10px 12px;
        }

        .features-list li i {
            font-size: 16px;
        }

        .features-list li span {
            font-size: 13px;
        }

        .panel-btn {
            padding: 12px 24px;
            font-size: 14px;
        }
    }
 /* Join Bazaar Linker */