/* ==========================
   GLOBAL
========================== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0f;
    color: #ffffff;
}

/* ==========================
   NAVBAR (PREMIUM UI)
========================== */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 48px;
    min-height: 90px;
    background: rgba(15, 15, 20, 0.85);
    border-bottom: 1px solid #1f1f1f;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    flex-shrink: 0;
}

.navbar-logo img {
    width: 125px;
    height: auto;
    display: block;
}

.navbar-spacer {
    width: 100px;
}

.navbar-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    width: 100%;
}

.navbar a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: 0.25s ease;
    position: relative;
}

.navbar a:hover {
    color: #ffffff;
}

/* ==========================
   HERO (PREMIUM UI)
========================== */

.hero {
    text-align: center;
    padding: 160px 20px 140px;
    max-width: 900px;
    margin: auto;
}

.hero p:first-child {
    color: #7a7a7a;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    color: #ffffff;
}

.hero p:nth-of-type(2) {
    font-size: 22px;
    color: #d0d0d0;
    margin-top: 18px;
}

.hero p:nth-of-type(3) {
    margin: 40px auto 0;
    color: #8c8c8c;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.8;
}

/* ==========================
   HERO PREMIUM STYLE
========================== */

.hero-kicker {
    color: #777;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 22px;
    color: #d0d0d0;
    margin-top: 18px;
}

.hero-description {
    margin: 40px auto 0;
    color: #8c8c8c;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 55px;
}


/* ==========================
   SECTION
========================== */

.section {
    padding: 90px 20px;
}

/* ==========================
   MARKETPLACE GRID
========================== */

.project-grid {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

/* ==========================
   SECTION KICKER
========================== */

.section-kicker {
    color: #777;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 18px;
}

/* ==========================
   CARD
========================== */

.card {
    background: #111418;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 50px;
    max-width: 900px;
    margin: auto;
}

/* ==========================
   MARKETPLACE CARD
========================== */

.market-card {
    background: #111;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #222;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
    will-change: transform;
}

.market-card:active {
    transform: translateY(-2px) scale(0.98);
}


.market-card:hover {
    transform: translateY(-6px);
    border-color: #333;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.market-card:hover {
    transform: translateY(-4px);
    border-color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* ==========================
   PROJECT THUMBNAIL
========================== */

.project-thumb {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #0b0b0f;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.market-card:hover .project-thumb img {
    transform: scale(1.05);
}

/* ==========================
   FEATURED BADGE
========================== */

.badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9800;
    color: #000;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 6px;
}


/* ==========================
   PROJECT TITLE
========================== */

.project-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================
   PROJECT DESCRIPTION
========================== */

.project-description {
    color: #9a9a9a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}


/* ==========================
   PROJECT WEBSITE
========================== */

.project-website {
    color: #777;
    font-size: 14px;
    margin: 0 0 16px;
    word-break: break-word;
}

/* ==========================
   CARD FOOTER
========================== */

.card-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-footer span {
    margin-left: auto;
}

/* ==========================
   PROJECT TIERS
========================== */

.tier-basic,
.tier-standard,
.tier-premium {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.tier-basic {
    background: #666;
}

.tier-standard {
    background: #2196f3;
}

.tier-premium {
    background: #ff9800;
    color: #000;
}

.tier-premium.market-card {
    border-color: #ff9800;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: all 0.3s ease;
}

.tier-premium.market-card:hover {
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.25);
    border-color: #ffb74d;
}

.tier-premium.market-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(255, 152, 0, 0.08);
    opacity: 0;
    transition: 0.3s ease;
}

.tier-premium.market-card:hover::before {
    opacity: 1;
}

/* ==========================
   MARKET FILTER BUTTONS
========================== */

.filter-buttons {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary.active-filter {
    background: #ffffff;
    color: #111;
    border: 1px solid #ffffff;
}


/* ==========================
   BUTTONS (PREMIUM UI)
========================== */

.btn-primary {
    padding: 16px 34px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    background: #ffffff;
    color: #111;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.12);
}

.btn-primary:active {
    transform: translateY(0px);
}

.btn-secondary {
    padding: 16px 34px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0px);
}
/* ==========================
   TITLES
========================== */

.title {
    font-size: 36px;
    margin: 0;
}

.subtitle {
    font-size: 18px;
    color: #9a9a9a;
    line-height: 1.8;
}

/* ==========================
   PAGE LOGO
========================== */

.page-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 30px;
}

.page-logo img {
    width: 260px;
    height: auto;
    display: block;
}

/* ==========================
   TOKEN LOGOS
========================== */

.token-logo {
    text-align: center;
    margin: 20px 0 40px;
}

.token-logo img {
    width: 120px;
    height: auto;
    display: inline-block;
}

/* ==========================
   PRODUCT GALLERY
========================== */

.product-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 50px auto;
}

.product-gallery img {
    width: 150px;
    height: auto;
    border-radius: 20px;
    border: 1px solid #222;
}

/* ==========================
   KYRO PHONE V2
========================== */

.phone-frame {

    width: 180px;
    padding: 12px;

    border-radius: 38px;

    background:
    linear-gradient(
        145deg,
        #aeb6c2,
        #5d6672 35%,
        #242a31 75%
    );

    border: 2px solid #c5ccd6;

    position: relative;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.55),
        inset 0 1px 3px rgba(255,255,255,0.35);

    transition: all .35s ease;

}


/* riflesso titanio */

.phone-frame::before {

    content:"";

    position:absolute;

    top:10px;
    left:18px;

    width:80%;
    height:35%;

    border-radius:30px;

    background:
    linear-gradient(
        120deg,
        rgba(255,255,255,.25),
        transparent
    );

    pointer-events:none;

}


/* effetto sollevamento */

.phone-frame:hover {

    transform:
    translateY(-12px)
    rotateX(5deg);

    box-shadow:

    0 35px 60px rgba(0,0,0,.7),
    0 0 30px rgba(120,170,255,.18);

}


/* speaker */

.phone-speaker {

    width:65px;
    height:7px;

    background:#111;

    border-radius:20px;

    margin:3px auto 12px;

}


/* display */

.phone-frame img {

    width:100%;

    display:block;

    border-radius:24px;

    border:3px solid #111;

}


/* marchio Kyro */

.phone-brand {

    text-align:center;

    margin-top:12px;

    color:#e5e7eb;

    font-size:11px;

    letter-spacing:6px;

    font-weight:700;

    text-shadow:
    0 1px 2px #000;

}

.wallet-card {

    background: #15151d;
    border-radius: 15px;
    padding: 30px;
    width: 350px;
    margin: auto;
    text-align: center;

}


.wallet-card p {

    word-break: break-all;

}


.wallet-card button {

    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;

}
#connectWallet {

    background: #2b6cff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;

}

#connectWallet:hover {

    transform: scale(1.05);

}

#connectWallet:disabled {

    background: #17a34a;
    cursor: default;
    opacity: 1;

}

.wallet-address {

    color: #8ab4ff;
    font-size: 14px;
    margin-top: 20px;
    word-break: break-all;

}

.token-usdtz {

    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
    margin-top: 25px;

}


.token-usdtf {

    color: #4da6ff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;

}

#publishStatus {

    color: #aaaaaa;
    font-size: 16px;
    margin-top: 20px;

}


/* ==========================
   PREMIUM NAVBAR DROPDOWN
========================== */

.nav-item {
    position: relative;
}




.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
}


.arrow {
    display: inline-block;
    font-size: 12px;
    transition: transform 0.3s ease;
}


.nav-item:hover .arrow {
    transform: rotate(180deg);
}


/* DROPDOWN */

.dropdown-menu {

    position: absolute;

    top: calc(100% + 5px);
    left: 50%;

    transform:
    translateX(-50%)
    translateY(10px);

    min-width: 190px;

    background: rgba(20,20,28,0.96);

    border: 1px solid #2a2a35;

    border-radius: 14px;

    padding: 12px 0;

    opacity: 0;

    visibility: hidden;

    transition:
    opacity 0.25s ease,
    transform 0.25s ease;

    box-shadow:
    0 20px 50px rgba(0,0,0,0.55);

    backdrop-filter: blur(12px);

    z-index: 2000;
}


.nav-item:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform:
    translateX(-50%)
    translateY(0);

}



/* DROPDOWN LINKS */

.dropdown-menu a {

    display: block;

    padding: 12px 22px;

    color: #bdbdbd;

    font-size: 13px;

    white-space: nowrap;

}


.dropdown-menu a:hover {

    color: white;

    background: rgba(255,255,255,0.05);

}



/* ADMIN BUTTON */

.admin-link {

    padding: 8px 18px;

    border: 1px solid #333;

    border-radius: 10px;

    transition: all 0.25s ease;

}


.admin-link:hover {

    border-color: white;

    background: rgba(255,255,255,0.05);

}

/* ==========================
   EXCHANGE GOLD ACCENT
========================== */

.exchange-link {

    color: #ffd700 !important;

    font-weight: 600;

}


.exchange-link:hover {

    color: #ffec80 !important;

}