.modelsGrid, .modelsGrid-frontpage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center cards nicely */
  gap: 16px; /* Modern spacing */
}

.modelsGrid-frontpage{
  width:100%;
}

.modelsItem {
  flex: 1 1 320px; /* allows shrinking/growing */
  max-width: 300px;
  min-width: 160px; /* optional for tighter mobile screens */
  margin: 10px;
  border-radius: 12px;
  overflow: hidden;
  background: #161B22;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-action {
  margin-top: auto;
  padding: 12px 0 14px !important;
  display: inline;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.content{
  color: #8B949E;
   
}

.trending-pill{
   display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 165, 0, 0.18);
  border: 1px solid rgba(255, 165, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  float:left;
}

.view_profile_btn{
  width:40%;
  margin:2px;
  background-color: #3A86FF;
  color:#fff;
  border-radius: 30px;
  border: 0px;
  padding: 7px 12px;
  float:right;

}

.view_profile_btn:hover{
  cursor: pointer;
  background-color: #2b65c2;
}

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

.activity-strip {
display:flex;
gap:6px;
width:100%;
align-items:flex-end;
background:#0b0d11;
padding:8px;
border-radius: 10px;
border:1px solid #1f2937;
}

.activity-strip .day {
display:flex;
flex:1;
flex-direction:column;
align-items:center;
gap:4px;
}

.activity-strip .bar {
width:18px;
height:10px;
width:100%;
border-radius:6px;
border: 1px solid transparent;
background:#0f1115;
opacity:0.7;
}

.activity-strip .label {
font-size:12px;
color:#9aa1a9;
}

.activity-dead{
  opacity: 0.25 !important;
  box-shadow: none !important;
}

/* If you truly need a border-line variant, keep it valid */
.activity-border-line-dead{
  opacity: 1 !important;
}

/* Normal */
.activity-normal{
  opacity: 1 !important;
  background: #3b82f6 !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 6px rgba(59,130,246,0.20) !important;
}

/* Warm */
.activity-warm{
  opacity: 1 !important;
  background: #06b6d4 !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 6px rgba(6,182,212,0.20) !important;
}

/* Hot */
.activity-hot{
  opacity: 1 !important;
  background: #f97316 !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 6px rgba(249,115,22,0.18) !important;
}

/* Nuclear */
.activity-nuclear{
  opacity: 1 !important;
  background: #ef4444 !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow:
    0 0 6px rgba(239,68,68,0.20),
    0 0 14px rgba(239,68,68,0.12) !important;
}

/* intensity buckets */
.activity-strip .i-0 { opacity:0.25; }
.activity-strip .i-1 { opacity:0.40; }
.activity-strip .i-2 { opacity:0.55; }

/* POP ZONE */
.activity-strip .i-3,
.activity-strip .i-4,
.activity-strip .i-5 {
opacity:1;
background:#1f2937;           /* slate/steel */
border-color:#3b82f6;         /* subtle electric blue */
box-shadow:0 0 6px rgba(59,130,246,0.25);
}
.activity-strip .i-6,
.activity-strip .i-7,
.activity-strip .i-8,
.activity-strip .i-9 {
opacity:1;
background:#1f2937;           /* slate/steel */
border-color:#06b6d4;         /* subtle electric blue */
box-shadow:0 0 6px rgba(59,130,246,0.25);
}

.pictures {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter:blur(10px);
  transition: filter 0.3s ease;
}

.unblur .pictures { filter: none; }

.pictures-unblurred {
  filter: none !important;
}

#header-container{
    display:flex;
    align-items: center;
}

#selections {
  margin-left: 20px;
  margin-top: 4px;
  padding: 8px 12px;
  background-color: #1a1a1a;
  color: #f1f1f1;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

#selections:focus {
  border-color: #3a8ef6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 142, 246, 0.2);
}

#selections option {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

#siteSelections {
  margin-left: 20px;
  margin-top: 4px;
  padding: 8px 12px;
  background-color: #1a1a1a;
  color: #f1f1f1;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

#siteSelections:focus {
  border-color: #3a8ef6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(58, 142, 246, 0.2);
}

#siteSelections option {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

.eligible-badge{
  position: absolute;
    top: 199px;
    left: 8px;
    background-color: #C9A227;
    color: #000;
    font-weight: 600;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 10;
}


.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #10B981;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  animation: pulse 2s infinite;
}
@keyframes pulse {
   				 0% {
        			transform: scale(1);
        			box-shadow: 0 0 0 0 #10B981;
    			}

    			70% {
        			transform: scale(1.2);
        			box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    			}

    			100% {
        			transform: scale(1);
        			box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    			}
			}

.site-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.name_block{
  max-height: 170px;
  overflow: hidden;
  flex-grow: 1;
  height: 300px;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.card_info {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name {
  font-size: 16px;
  font-weight: bold;
}

.card_info div{
    padding:0;
}
.info_block{
    display:flex;
    flex-direction:column;
    align-items:center;
    max-height:110px;
    overflow: hidden;
}

.info_block h4, .info_block p{
    margin:0;
    padding:0;
}

.fetish_block p {
  font-size: 13px;
  color: #ccc;
  line-height: 1.2em;
}

@media(max-width:728px) {
  #header-container{
    flex-direction: column;
    margin-bottom:20px;
  }

  .activity-strip {
    width:95%;
}
}

@media (max-width: 500px) {
  .modelsItem {
    max-width: 100%;
    flex: 1 1 100%;
  }
}