:root {
    --bg: #dedede;
    --card-bg: linear-gradient(180deg, #000000, #000000);
    --accent: #38bdf8;
    --text-main: #000000;
    --text-muted: #9ca3af;
    --border: rgba(248, 136, 56, 0.2);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

.main-cover {
    width: 100%;
    display: block;
    height: auto;
    opacity: 70%;
}

/*================================== FOOTER ========================================*/
.footer {
  background: #000000;
  padding: 40px 20px 25px;
  font-size: 14px;
  color: #000000;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-built {
  color:  #000000;
  line-height: 1;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.footer-logo {
  height: 40px;
  width: 40px;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
  border-radius: 0px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-legal {
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.footer-legal a {
  color: #000000;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s ease;
}

.footer-legal a:hover {
  color: #828282;
}

.footer-right {
  display: flex;
  align-items: center;   
  gap: 10px;
}

.footer-right:hover .footer-logo {
  transform: scale(1.05);
  transition: 0.3s ease;
}
.footer-separator {
color: #9b9b9b;
}
/*=============================== TRADE MARK ================================*/

.tm-mark {
    position: relative;
    top: -15px;         
    right: 8px;     
    font-size: 20px;   
    font-weight: normal;
    color: #000000;    
    opacity: 1;      
}

/*--------------------------------------------Title Underline------------------------------------------*/
.site-title {
    margin-bottom: 5px; 
    font-size: 2.5rem;
    color: #000000; 
}

.title-underline {
    width: 600px;           
    height: 10px;           
    background: linear-gradient(90deg, #828282,#393939); 
    border-radius: 2px;    
    align-items: left;
}


.features-wrapper {
    height: 550px; 
    overflow: hidden;
}


/*--------------------------------------------HEADER-----------------------------------------------------*/
.main-header {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: top;
    padding: 30px 50px 30px 50px;
}

.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.gradient-text {
    font-size: 2rem;
    font-weight: 580;
    text-transform: uppercase;
    margin: 0;
    display: inline-block;
    background: linear-gradient(135deg, #000000, #b3b3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    opacity: 1 !important;
}

.nav-links {
    position: relative;
    z-index: 2;
    margin: 15px 0px 0px 30px;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color:  #ff1919 !important; 
    font-weight: 600;
    transition: 0.3s;
    opacity: 1 !important;
}

.nav-links a:hover {
    color: #000000 !important;
}

.app-logo {
  z-index: 2;
  height: 60px;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.9));
  border-radius: 0px;
  transition: transform 0.3s ease;
  margin-left: 20px;
  margin-top: 10px;
  opacity: 1 !important;
}

.app-logo:hover {
  transform: scale(1.1);
}


/*================================ ITEM HUB ================================*/

.item-hub{
    max-width: 80%;
    margin: 0 auto;
    padding: 20px 0px 100px;
}

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

.hub-intro{
    margin-bottom: 50px;
    margin-left: 100px;
}

.hub-label{
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 18px;
}

.hub-title{
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.15;
    font-weight: 600;
    color: #000000;
    max-width: 850px;
    margin: 0 0 24px;
}

.hub-description{
    color: rgba(0, 0, 0, 0.7);
    max-width: 720px;
    line-height: 1.8;
    font-size: 0.96rem;
}
/*================ SEARCH =================*/

.hub-search-section{
    margin-bottom: 60px;
}

.search-wrapper{
    margin-bottom: 26px;
}

.hub-search{
    width: 100%;
    padding: 18px 22px;

    background: #e4e4e4;

    border: 1px solid rgba(0, 0, 0, 0.15);

    color: rgb(60, 60, 60);

    font-size: 0.98rem;

    outline: none;

    transition: border-color 0.25s ease,
                background 0.25s ease;
}

.hub-search:focus{
    border-color: rgba(255,255,255,0.22);
    background: #ffffff;
}

.hub-search::placeholder{
    color: rgba(0, 0, 0, 0.4);
}

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

.hub-filters{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-pill{
    background: transparent;

    border: 1px solid rgba(0, 0, 0, 0.15);

    color: rgba(0, 0, 0, 0.7);

    padding: 10px 18px;

    font-size: 0.82rem;

    cursor: pointer;

    transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.filter-pill:hover{
    border-color: rgba(255,255,255,0.22);
    color: #000000;
}

.filter-pill.active{
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/*================ ITEM LIST =================*/

.item-list{
    border-top: 1px solid rgba(0, 0, 0, 0.25);
}

/*================ ITEM ROW =================*/

.item-row{
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 34px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.25);

    text-decoration: none;

    color: inherit;

    transition:
    background 0.25s ease,
    padding-left 0.25s ease;
}

.item-row:hover{
    background: rgba(0, 0, 0, 0.02);
    padding-left: 12px;
}

.item-left{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.item-dot{
    width: 9px;
    height: 9px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    background: transparent;
    margin-top: 10px;
    opacity: 0.75;
}

.item-info h3{
    margin: 0 0 12px;

    font-size: 1.2rem;
    font-weight: 600;

    color: #000000;
}

.item-tags{
    margin: 0 0 12px;

    color: rgba(0, 0, 0, 0.8);

    font-size: 0.92rem;

    letter-spacing: 0.02em;
}

.item-status{
    display: inline-flex;

    font-size: 0.78rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(0, 0, 0, 0.6);
}

.item-open{
    color: rgba(0, 0, 0, 0.72);

    font-size: 0.92rem;

    white-space: nowrap;

    transition: transform 0.25s ease,
                color 0.25s ease;
}

.item-row:hover .item-open{
    transform: translateX(6px);
    color: #000000;
}

/*================ STATUS =================*/

.item-status.free{
    color: rgba(0, 0, 0, 0.9);
}

.item-status.private{
    color: rgba(0, 0, 0, 0.9);
}

.item-status.project{
    color: rgba(0, 0, 0, 0.9);
}

/*================ CINEMATIC SCROLLBAR =================*/

::-webkit-scrollbar{
    width: 12px;
}

::-webkit-scrollbar-track{
    background:
    linear-gradient(
        180deg,
        #ffffff,
        #ffffff
    );
}

::-webkit-scrollbar-thumb{
    background:
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.479),
        rgba(255, 255, 255, 0.67)
    );

    border-radius: 100px;

    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover{
    background:
    linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.22),
        rgba(0, 0, 0, 0.38)
    );
}

/* Firefox */

html{
    scrollbar-width: thin;
    scrollbar-color:
    rgba(0, 0, 0, 0.24)
    #ffffff;
}


.item-code{
    margin: 0 0 8px;

    font-size: 0.78rem;

    letter-spacing: 0.12em;

    color: rgba(0, 0, 0, 0.4);

    font-family: monospace;

    text-transform: uppercase;
}

.item-platform{
    margin: 0 0 12px;
A
    font-size: 0.82rem;

    color: rgba(0, 0, 0, 0.5);

    font-family: monospace;

    word-break: break-all;
}

.item-platform a{
    color: inherit;
    text-decoration: none;
}

.item-platform a:hover{
    color: rgba(0, 0, 0, 0.8);
}

.play-item{

    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgb(0, 0, 0);

    color: rgb(255, 255, 255);

    padding: 10px 18px;

    font-size: 0.85rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.play-item:hover{
    background: rgba(0, 0, 0, 0.08);

    border-color: rgba(0, 0, 0, 0.28);

    color: #000000;

    transform: translateX(4px);
}

.item-type{
    margin: 0 0 12px;

    font-size: 0.82rem;

    color: rgba(0, 0, 0, 0.5);

    font-family: monospace;

    word-break: break-all;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  width: 420px;
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0; /* sharp edges */
  padding: 20px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  font-family: Inter, sans-serif;
}

.modal-header h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.modal-body p {
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
}

.muted {
  opacity: 0.6;
  font-size: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  padding: 8px 14px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0; /* sharp */
}

.btn.primary {
  background: white;
  color: black;
}

.btn.secondary:hover {
  border-color: rgba(255,255,255,0.35);
}

.btn.primary:hover {
  opacity: 0.85;
}

.hidden {
  display: none;
}


/*//////////////////////////////////////MOBILE//////////////////////////////////////////////*/

@media (max-width: 1024px) {

    .contact-methods {
        gap: 20px;
    }

    .main-header {
        flex-direction: row; 
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap; 
        padding: 10px 0px 0px 10px;
    }

    .header-content {
        width: 100%;
        order: 1; 
    }

    .nav-links {
        width: 100%;
        order: 3;
        justify-content: center;
        margin-top: 10px;
    }

    .title-underline {
        margin-left: 5px;
        width: 80%;
    }

    .app-logo {
        order: 2;
        height: 70px;
        margin: 0;
        padding-left: 5px;
    }

    .footer-legal {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    }

    .footer {
    font-size: 0.7rem;
    }

    .footer-built {
    font-size: 0.7rem;
    font-weight: 500;
    }

    .hub-intro{
    margin-bottom: 50px;
    margin-left: 40px;
    text-align: justify;
    }

    .hub-label{

    margin-left: 20px;
    }

    .hub-description{
    max-width: 90%;

    }
}

@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .app-logo {
        height: 50px;
    }

    .gradient-text {
        font-size: 1.6rem;
    }
    /*-------------------------------Hub Filters----------------------------------*/

    .filter-pill {

        padding: 2px 2px;

        font-size: 0.6rem;
    }

}

@media (max-width: 480px) {

    .main-header {
        padding: 10px 0px 0px 0px;
    }

    .gradient-text {
        font-size: 1.3rem;
        padding: 0px 0px 0px 10px;
    }
    .app-logo {
        height: 38px;
    }

    .nav-btn {
        padding: 10px 6px;
        font-size: 1rem;
    }
}

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

@media (max-width: 768px){

    .item-hub{
        padding: 60px 18px 90px;
    }

    .hub-title{
        font-size: 2rem;
    }

    .item-row{
        flex-direction: column;
        align-items: flex-start;
    }

    .item-open{
        padding-left: 30px;
    }

}