 
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(1200px 600px at top, #1e3a8a, #020617);
    color: #fff;
}

.wrapper {
    min-height: 100vh; 
}

.logo {
       font-size: 22px;
    font-weight: 700;
      text-align: center;
}
.sidebar .socials {
    display: flex;
    justify-content: center; /* center horizontally */
    gap: 15px;              /* space between icons */
    padding-bottom: 20px;
}
.sidebar .socials a:hover svg {
    stroke: #1da1f2; /* example color, can use theme color */
}

.box, .box1 {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.head .box {
    text-align: center;
}

.head p {
    margin: 0;
    opacity: 0.8;
}

.btn {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.5);
}

.input-container input {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
}

.progress-container {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    overflow: hidden;
    height: 26px;
    margin-top: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    width: 0%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 26px;
    transition: width 0.5s ease;
}

#countdown {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.85;
}
 
.profile p {
    margin: 0;
}

h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

p {
    opacity: 0.85;
}

/* ===== TOP BAR ===== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand {
    font-size: 20px;
    font-weight: 700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-size: 16px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    font-size: 13px;
}

.connect-btn {
    padding: 10px 18px;
}

/* ===== LIGHT MODE ===== */
body.light {
    background: linear-gradient(180deg, #f8fafc, #e5e7eb);
    color: #020617;
}

body.light .box,
body.light .box1,
body.light .topbar,
body.light .profile,
body.light .icon-btn {
    background: rgba(255,255,255,0.85);
    color: #020617;
}

body.light .progress-container {
    background: #e5e7eb;
}

.dot-bg:before{
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: radial-gradient( #4da4d6  15%, transparent 0%,);

    transform: scale(1.02);
    transform-origin: center;
    z-index: 111;
    position: absolute;
    display: block;
}
.dot-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    isolation: isolate;

    --size: 600px;
    --dot-size: 1px;
    --dot-spacing: 10px;
    --dot-color: rgba(99, 102, 241, 0.35); /* indigo */

    width: var(--size);
    height: var(--size);

    background-image: radial-gradient(
        var(--dot-color) 0,
        var(--dot-color) var(--dot-size),
        transparent calc(var(--dot-size) + 1px)
    );

    background-size:
        calc(var(--dot-size) + var(--dot-spacing))
        calc(var(--dot-size) + var(--dot-spacing));

    pointer-events: none;
        width: 167px;
    height: 156px;
}

.presale-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 24px;
    margin-top: 40px;
    align-items: flex-start;
}

/* CENTER */
.center-box {
    width: 100%;
}

/* SIDE BOXES */
.side-box {
    background: rgba(15, 23, 42, 0.75);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}

.side-box h3 {
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.85;
}

/* TX LIST */
.tx-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tx-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.addr {
    opacity: 0.7;
    font-family: monospace;
}

.amt {
    color: #22c55e;
    font-weight: 600;
}

/* HOLDINGS */
.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

/* CLAIM BUTTON */
.claim-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: white;
    font-weight: 600;
    opacity: 0.4;
    cursor: not-allowed;
}

.claim-note {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
}


.presale-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* MAIN COLUMN */
.main-column {
    width: 100%;
}

/* TRANSACTIONS */
.tx-section {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}
body.light input {
    color: #000;
    border: 1px solid #000000 !important;
}

.tx-section h3 {
    font-size: 14px;
    text-align: center;
    margin-bottom: 16px;
    opacity: 0.85;
}

.tx-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tx-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    font-size: 13px;
}

.addr {
    font-family: monospace;
    opacity: 0.7;
}
.wallet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.user-icon {
    font-size: 22px;
    opacity: 0.8;
}

.wallet-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wallet-info .label {
       font-size: 9px;
    text-transform: uppercase;
    opacity: 0.6;
    text-align: right;
    padding: 0;
}

.wallet-info .balance {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.amt {
    color: #22c55e;
    font-weight: 600;
} 
.input-container {
    margin: 20px 0;
}
.light .side-box{
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Hamburger & nav links */
.nav-links {
    display: flex;
    gap: 15px;
}

.logo > a{
    text-decoration: none;
    color: #ddd;
}
.sidebar.collapsed .logo > a span{
    display: none;
}
.sidebar.collapsed   .socials{
        flex-direction: column;
}
ul.menu a {
    font-size: 13px;
    text-decoration: none;
    color: #fff;
}

.hamburger { 
        font-size: 24px;
    margin-right: 20px;
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
       right: -48px;
    top: 12px;
        background: #070f2a;
}
.main-content {
   
    background: url(banner.jpg) no-repeat;
    background-size: 100%;
}
.warp {
    margin-top: 25%;
}

   .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 200px;
        height: 100vh;
        background: #08102c;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: width 0.3s;
        padding: 15px 0;
        z-index: 10;
    }

    /* Sidebar collapsed */
    .sidebar.collapsed {
        width: 60px;
    }

    /* Menu items */
    .sidebar .menu {
        list-style: none;
        padding: 0;
        margin: 0;
            margin-top: 30px;
    }

    .sidebar .menu li {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        cursor: pointer;
        transition: background 0.2s;
    }

    

    .sidebar .menu li:hover {
        background: #152965;
    }

    .sidebar .menu li .icon {
        margin-right: 10px;
        font-size: 20px;
        width: 25px;
        text-align: center;
    }

    .sidebar.collapsed .menu li .label {
        display: none;
    }

    /* Social icons */
    .sidebar .socials {
        display: flex; 
        align-items: center;
        gap: 15px;
        padding-bottom: 20px;
    }

    .sidebar .socials a {
        color: white;
        font-size: 20px;
        text-decoration: none;
    }

    /* Header */
    .topbar {
        display: flex;
        align-items: center;
        padding: 10px 20px; 
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .hamburger {
        font-size: 24px;
        margin-right: 20px;
        cursor: pointer; 
        border: none;
    }
    p#status {
    display: none;
}

.tx-section {
    max-height: 264px; /* adjust as needed */
    overflow-y: hidden; /* or scroll if you want scroll */
    padding: 10px;
}

.tx-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .logo-text {
        font-weight: bold;
        font-size: 20px;
          
    }

    /* Main content shift */
    .main-content {
        margin-left: 200px;
        padding: 20px;
        transition: margin-left 0.3s;
            background-color: #010103;
    }

    .sidebar.collapsed ~ .main-content {
        margin-left: 60px;
    }



    /* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

/* Modal Content Box */
.modal-content {
    background: #08102c;
    color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 16px;
    width: 300px;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Close Button */
.modal .close {
    color: #aaa;
    float: right;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.modal .close:hover {
    color: #fff;
}

/* Wallet Buttons */
.wallet-option {
    display: block;
    width: 100%;
    margin: 12px 0;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background:  #fff;
    color: rgb(0, 0, 0);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}
.video-container {
    position: relative;
    width: 100%; 
    overflow: hidden;
    z-index: -1; /* behind content */
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* covers container without stretching */
    display: block;
}

.wallet-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.5);
}
button.wallet-option img{
    height:30px;
}
/* Mobile responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 10px;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    .nav-right button.icon-btn{
        display: none;
    }

    .nav-links a {
        padding: 8px 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links.show {
        display: flex;
    }
    .warp {
    margin-top: 0;
    }
}
@media (max-width: 768px) {
    .sidebar {
        width: 50px;
    }
    .sidebar .menu li { 
    padding: 15px 10px;
    }

    .main-content {
        margin-left: 50px;
    }
    .sidebar  .menu li .label{
        display: none;
    }

    /* Optional: collapse labels in mobile automatically */
    .sidebar.collapsed .menu li .label {
        display: block;
    }
    /* SOCIAL ICONS */
    .sidebar.collapsed .socials {
           flex-direction: row;
    }
    .sidebar.collapsed { 
    width: 200px;
    }
    .sidebar .logo > a span{
  display: none;
    }
    .sidebar.collapsed .logo > a span {
        display: inline-block;
    }
     .sidebar .socials {
        flex-direction: column;
    }
    .sidebar.collapsed .socials {
        flex-direction: row;
    }
}

/* MOBILE */
@media (max-width: 992px) {
    .presale-layout {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 768px) {
    h1 {
        font-size: 26px;
    }
}
 
