/* =====================================
   NEXARIUM WEB3 ECOSYSTEM v2
===================================== */

:root{

    --bg:#050505;
    --card:#0f0f0f;
    --card-hover:#171717;

    --gold:#c8a45d;
    --gold-light:#e8c98b;

    --white:#ffffff;
    --text:#d8d8d8;

    --border:#242424;

    --shadow:
        0 10px 30px rgba(0,0,0,.35);

}

/* =====================================
   RESET
===================================== */

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

html{
    scroll-behavior:smooth;
}

body{

    background:var(--bg);

    color:var(--text);

    font-family:'Inter',sans-serif;

    line-height:1.7;

    overflow-x:hidden;

}

/* =====================================
   GLOBAL
===================================== */

.section-title{

    text-align:center;

    margin-bottom:50px;

}

.section-title h2{

    color:var(--gold);

    font-family:'Cormorant Garamond',serif;

    font-size:clamp(2rem,5vw,3rem);

    margin-bottom:15px;

}

.section-title p{

    max-width:800px;

    margin:auto;

}

/* =====================================
   HERO
===================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:80px 20px;

}

.hero-overlay{

    max-width:1200px;

    width:100%;

}

.hero-logo{

    margin-bottom:40px;

}

.hero-logo img{

    width:120px;

    max-width:100%;

    height:auto;

}

.hero-title{

    font-family:'Cormorant Garamond',serif;

    color:var(--gold);

    font-size:clamp(3rem,8vw,6rem);

    line-height:1.1;

    letter-spacing:2px;

}

.hero-title span{

    display:block;

    color:var(--white);

    font-size:.55em;

    letter-spacing:5px;

}

.hero-line{

    width:180px;

    height:2px;

    background:var(--gold);

    margin:30px auto;

}

.hero-subtitle{

    font-size:1.15rem;

    margin-bottom:30px;

    color:#d5d5d5;

}

.hero-description{

    max-width:850px;

    margin:auto;

    margin-bottom:60px;

}

.hero-description p{

    color:#c9c9c9;

}

/* =====================================
   HERO STATS
===================================== */

.hero-stats{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.stat-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:18px;

    padding:30px;

    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-5px);

    border-color:var(--gold);

    background:var(--card-hover);

}

.stat-number{

    display:block;

    color:var(--gold);

    font-size:1.6rem;

    font-weight:600;

    margin-bottom:10px;

}

.stat-label{

    color:white;

}

/* =====================================
   WALLET
===================================== */

.wallet-section{

    max-width:1200px;

    margin:auto;

    padding:80px 20px;

}

.wallet-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:35px;

    text-align:center;

    box-shadow:var(--shadow);

}

.wallet-address{

    color:white;

    font-size:1rem;

    word-break:break-all;

    margin-bottom:25px;

}

.wallet-actions{

    display:flex;

    gap:15px;

    justify-content:center;

    flex-wrap:wrap;

}

/* =====================================
   BUTTONS
===================================== */

.gold-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    background:var(--gold);

    color:black;

    padding:12px 24px;

    border-radius:50px;

    border:none;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.gold-button:hover{

    background:var(--gold-light);

    transform:translateY(-2px);

}

.gold-button.secondary{

    background:transparent;

    color:var(--gold);

    border:1px solid var(--gold);

}

.gold-button.secondary:hover{

    background:var(--gold);

    color:black;

}

/* =====================================
   INTRO
===================================== */

.intro-section{

    max-width:1100px;

    margin:auto;

    padding:20px 20px 80px;

}

.intro-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;

    text-align:center;

}

.intro-card h2{

    color:var(--gold);

    font-family:'Cormorant Garamond',serif;

    font-size:2.4rem;

    margin-bottom:25px;

}

.intro-card p{

    margin-bottom:18px;

}
/* =====================================
   REGISTRY TOOLS
===================================== */

.registry-tools{

    max-width:1400px;

    margin:auto;

    padding:0 20px 50px;

}

.search-container{

    max-width:700px;

    margin:0 auto 30px;

}

.search-input{

    width:100%;

    background:var(--card);

    color:white;

    border:1px solid var(--border);

    border-radius:16px;

    padding:16px 20px;

    font-size:1rem;

    outline:none;

    transition:.3s;

}

.search-input:focus{

    border-color:var(--gold);

}

.search-input::placeholder{

    color:#888;

}

/* =====================================
   FILTERS
===================================== */

.category-filters{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;

}

.filter-btn{

    background:transparent;

    color:var(--gold);

    border:1px solid var(--gold);

    border-radius:50px;

    padding:10px 18px;

    cursor:pointer;

    transition:.3s;

    font-size:.9rem;

}

.filter-btn:hover{

    background:var(--gold);

    color:black;

}

.filter-btn.active{

    background:var(--gold);

    color:black;

}

/* =====================================
   DOMAINS SECTION
===================================== */

.domains-section{

    max-width:1400px;

    margin:auto;

    padding:30px 20px 120px;

}

.domains-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

/* =====================================
   DOMAIN CARD
===================================== */

.domain-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:28px;

    transition:.35s;

    display:flex;

    flex-direction:column;

    height:100%;

}

.domain-card:hover{

    background:var(--card-hover);

    border-color:var(--gold);

    transform:translateY(-6px);

}

.domain-category{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.75rem;

    margin-bottom:14px;

}

.domain-title{

    color:white;

    font-family:'Cormorant Garamond',serif;

    font-size:1.8rem;

    margin-bottom:10px;

}

.domain-name{

    color:var(--gold-light);

    word-break:break-word;

    margin-bottom:15px;

}

.domain-description{

    margin-bottom:20px;

    flex-grow:1;

}

.domain-footer{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.domain-status{

    display:inline-block;

    width:max-content;

    border:1px solid var(--gold);

    color:var(--gold);

    border-radius:50px;

    padding:6px 12px;

    font-size:.8rem;

}

.domain-did{

    color:#bcbcbc;

    font-size:.85rem;

    word-break:break-word;

}

.domain-link{

    color:var(--gold-light);

    text-decoration:none;

    transition:.3s;

}

.domain-link:hover{

    color:white;

}

/* =====================================
   ECOSYSTEM SECTION
===================================== */

.ecosystem-section{

    max-width:1200px;

    margin:auto;

    padding:0 20px 120px;

}

.ecosystem-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;

    text-align:center;

}

.ecosystem-card h2{

    color:var(--gold);

    font-family:'Cormorant Garamond',serif;

    font-size:2.4rem;

    margin-bottom:25px;

}

.ecosystem-card p{

    margin-bottom:16px;

}

/* =====================================
   FOOTER
===================================== */

.footer{

    border-top:1px solid var(--border);

    padding:80px 20px;

}

.footer-content{

    max-width:1000px;

    margin:auto;

    text-align:center;

}

.footer-brand{

    color:var(--gold);

    font-family:'Cormorant Garamond',serif;

    font-size:2.2rem;

    margin-bottom:25px;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:25px;

}

.footer-links a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--gold);

}

.footer-wallet{

    color:#bfbfbf;

    margin-bottom:25px;

    word-break:break-word;

}

.footer-line{

    width:140px;

    height:1px;

    background:var(--gold);

    margin:30px auto;

}

.footer-copyright{

    color:#9f9f9f;

    font-size:.95rem;

}

/* =====================================
   MOBILE
===================================== */

@media (max-width:768px){

    .hero{

        min-height:auto;

        padding-top:120px;

        padding-bottom:100px;

    }

    .hero-title{

        font-size:3rem;

    }

    .hero-subtitle{

        font-size:1rem;

    }

    .wallet-actions{

        flex-direction:column;

        align-items:center;

    }

    .gold-button{

        width:100%;

        max-width:320px;

    }

    .domains-grid{

        grid-template-columns:1fr;

    }

    .domain-card{

        padding:22px;

    }

    .filter-btn{

        font-size:.8rem;

    }

}

/* =====================================
   LARGE SCREENS
===================================== */

@media (min-width:1600px){

    .domains-grid{

        grid-template-columns:
            repeat(4,1fr);

    }

}

/* =====================================
   ANIMATIONS
===================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.domain-card{

    animation:fadeUp .4s ease;
}
/* =====================================
   DOMAIN ROLE
===================================== */

.domain-role{

    color:var(--gold-light);

    font-size:.95rem;

    font-weight:500;

    margin-bottom:16px;

    line-height:1.5;

}

/* =====================================
   DOMAIN META
===================================== */

.domain-meta{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:18px;

}

.domain-meta span{

    padding:6px 12px;

    border:1px solid var(--border);

    border-radius:50px;

    font-size:.75rem;

    color:#cfcfcf;

    background:rgba(255,255,255,.02);

}

/* =====================================
   DOMAIN TAGS
===================================== */

.domain-tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:20px;

}

.domain-tag{

    padding:6px 12px;

    border-radius:50px;

    border:1px solid var(--border);

    background:rgba(255,255,255,.02);

    color:var(--gold-light);

    font-size:.75rem;

}

/* =====================================
   DOMAIN DID
===================================== */

.domain-did{

    margin-bottom:18px;

    font-size:.8rem;

    color:#9e9e9e;

    word-break:break-all;

    line-height:1.6;

}

/* =====================================
   DOMAIN ACTIONS
===================================== */

.domain-actions{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:auto;

}

.domain-link{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:140px;

    padding:12px 18px;

    border-radius:14px;

    border:1px solid var(--gold);

    color:var(--gold);

    text-decoration:none;

    font-size:.85rem;

    font-weight:500;

    transition:.3s ease;

}

.domain-link:hover{

    background:var(--gold);

    color:#050505;

}

/* =====================================
   EMPTY STATE
===================================== */

.empty-state{

    text-align:center;

    padding:40px 20px;

}

.empty-state h3{

    margin-bottom:12px;

}

.empty-state p{

    color:#bdbdbd;

}

/* =====================================
   FUTURE PROFILE BADGE
===================================== */

.domain-status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 16px;

    border-radius:50px;

    border:1px solid var(--gold);

    color:var(--gold);

    font-size:.8rem;

    margin-bottom:18px;

}
