@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body{
    background-color: #111315;
    font-family: "Roboto", serif;
    overflow-x: hidden;
}

.green{
    color:rgb(98, 228, 98);
}

.purple{
    color:#988ef5;
}

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

.bought{
    color:rgb(98, 228, 98);
}

.sold{
    color:#fc797b;
}

.blue{
    color: #99c0ff !important;
}

.pl-0{
    padding-left:0;
}

.pr-0{
    padding-right:0;
}

.no-pad{
    padding:0 !important;
}

.wallet{
    cursor:pointer;
}

.page-options{
    display:flex;
    align-items:center;
    gap:10px;
}

.btn-primary{
    background:#493ead;
    color:#fff;
    border:1px solid #382f8a;
    font-size:14px !important;
}

.btn-primary:hover{
    background:#382f8a;
    border:1px solid #382f8a;
}

.wrapper{
    width: 100%;
    max-width: 1300px;
    padding: 0 20px;
}

.hamburger-icon {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

header{
    border-bottom: 1px solid #333639;
}

.header-wrapper {
    width: 100%;
    max-width: 1850px;
    padding: 0 20px;
    margin: 0 auto;
}

.header-container{
    display:flex;
    padding:0.938rem 0;
    align-items:center;
    justify-content: space-between;
}

.logo a{
    text-decoration:none;
    color:#fff;
    font-size:24px;
    font-weight:500;
    margin-right:1.25rem;
}

.navigation{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:25px;
}

.navigation a{
    color:#fff;
    text-decoration: none;
    font-size:1.063rem;
}

.header-coin-price{
    display:flex;
    align-items:center;
    padding:0.313rem 0.625rem;
    border:1px solid #333639;
    font-size:0.938rem;
    margin:0 0.375rem;
    border-radius: 5px;
}

.header-coin-price img{
    margin-top:-2px;
    margin-right:0.375rem;
}

.header-coin-price span{
    font-weight:500;
    color:#fff;
}

main{
    display:flex;
    justify-content:center;
}

.stream-container {
    margin-top: 70px;
}

.offline-container {
    margin-top: 60px;
}

.stream-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stream-title img {
    width: 12px;
    margin-right: 10px;
}

.stream-title i {
    margin-right: 10px;
}

.streams {
    background: #17181a;
    border: 1px solid #333639;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: hidden;
    width:100%;
}

.offline-streams, .live-page-streams {
    flex-wrap: wrap;
}

.stream, .live-page-stream {
    text-align: center;
    width: 120px;
    flex-shrink: 0;
}

.stream a, .live-page-stream a{
    text-decoration: none;
    color: inherit;
}

.stream-image {
    position: relative;
}

.stream-image img {
    width: 100%;
    height: auto;
}

.stream-live {
    position: absolute;
    top: 5px;
    left: 7px;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
}

.stream-live img {
    width: 8px;
    margin-right: 5px;
}

.stream-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.stream-name i {
    font-size: 13px;
    color: #988ef5;
}

.stream-links i{
    font-size:13px;
}

.stream-online{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.stream-online-pnl{
    display:flex;
    align-items:center;
    gap:3px;
    font-size:0.85rem;
    font-weight:700;
    position:absolute;
    bottom:0;
    right:0;
    background:#2c2e30;
    padding:0 5px;
    padding-top:2px;
}

.stream-online-pnl img{
    width:14px;
}

.main{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:70px;
}

.cooks-container, .trades-container{
    flex:1;
}

.cooks{
    background:#1a1b1c;
    color:#fff;
    border:1px solid #333639;
}

.cook{
    display:flex;
    align-items:center;
    gap:7px;
    padding:5px 7px;
    border-bottom:1px solid #333639;
}

.cook:last-child{
    border-bottom:none;
}

.cook-image img{
    width:30px;
    border-radius:1000px;
    margin-right:1px;
}

.cook-details{
    display:flex;
    align-items:center;
    gap:5px
}

.cook-cooked-image img{
    width:14px;
    margin-top:-5px;
    margin-right:2px;
}

.cook-buys-sells{
    color: #988ef5;
    font-size:14px;
}

.cook-bought{
    color:#8bcdff;
}

.cook-profit{
    color: rgb(98, 228, 98);
}

.cook-profit img{
    margin-top:-3px;
    margin-right:3px;
}

.cook-mobile{
    display:none;
}

.trades{
    background:#1a1b1c;
    color:#fff;
    border:1px solid #333639;
}

.trade{
    display:flex;
    align-items:center;
    gap:7px;
    border-bottom:1px solid #333639;
    padding:5px 7px;
    font-size:1em;
}

.trade:last-child{
    border-bottom:none;
}

.trade-image img{
    width:30px;
    border-radius: 1000px;
    margin-right:3px;
}

.trade-details{
    display:flex;
    gap:5px
}

.trade-details img{
    margin-top:-3px;
}

.trade-name{
    font-weight:600;
}

.trade-sol-amount{
    display:flex;
    align-items:center;
    gap:3px
}

.trade-sol-amount img{
    margin-top:-2px;
}

.trade-ticker a{
    text-decoration: none;
    font-weight: 600;
    color: #988ef5;
}

.trade-mc{
    color:#8bcdff;
    font-size:14px;
}

.trade-time{
    margin-left:auto;
    text-align:right;
    font-size:14px;
}

.trade-preload, .token-preload, .insight-preload{
    min-height:250px;
}

.trades-search{
    width:300px;
}

.coin{
    display:flex;
    align-items:center;
    gap:20px;
    border-bottom:1px solid #333639;
    padding:24px;
}

.coin:last-child{
    border-bottom:none;
}

.coin-image img{
    width:90px;
}

.coin-name{
    font-size:18px;
}

.coin-text{
    font-size:14px;
}

.coin-text span:nth-child(2){
    color:rgb(98, 228, 98);
}

.coin-current-mc{
    color:#988ef5 !important;
}

.coin-kol{
    margin-left:auto;
}

.coin-kol img{
    width:28px;
    border-radius:50%;
    margin-right:3px;
    border:1px solid #222;
}

.page-container{
    margin-top: 70px;
}

.page-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-right:5px;
    margin-bottom:15px;
}

.page-hero{
    font-size:1.3em;
    color:#fff;
    line-height: 1.3;
}

.page-filter, .page-sort{
    display:flex;
    align-items:center;
    gap:10px;
}

.page-filter span, .page-sort span{
    font-size:0.875rem;
}

.page-sort select{
    width:150px;
    font-size:0.875rem;
}

.page-sort select:focus, .page-filter input:focus{
    outline:none;
    box-shadow: none;
    border:1px solid #988ef5;
}

.page-filter input{
    font-size:0.875rem;
}

.cooks-page-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cooks-page-title i {
    margin-right: 10px;
}

.cooks-cards, .trades-cards, .token-cards, .insight-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cook-detail-card {
    background: #1a1b1c;
    border: 1px solid #4a4e51;
    width: calc(33.33% - 15px); /* 3 per row */
    padding: 15px;
    border-radius: 5px;
    display: flex;
    justify-content:center;
    gap:20px;
}

.cook-detail-image {
    width: 100%; /* Take up all left section space */
    flex: 1; /* Ensure it fills available space on left */
    min-width: 120px; /* Minimum to fit image, can grow */
    height: auto; /* Let height adjust */
    display: flex; /* Center image and name */
    flex-direction: column;
    align-items: center; /* Centers horizontally */
    text-align: center; /* Ensures text is also centered */
}

.cook-gold-image, .cook-silver-image, .cook-bronze-image{
    position:relative;
}

.cook-gold-image img, .cook-silver-image img, .cook-bronze-image img{
    z-index:5;
}

.cook-gold-image::before {
    content: '';
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: url('../images/gold.png') no-repeat center;
    background-size: contain;
    z-index: 0;
}

.cook-silver-image::before {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: url('../images/silver.png') no-repeat center;
    background-size: contain;
    z-index: 0;
}

.cook-bronze-image::before {
    content: '';
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: url('../images/bronze.png') no-repeat center;
    background-size: contain;
    z-index: 0;
}

.cook-detail-image .cook-trencher-image {
    width: 120px;
    max-width: 120px;
    height: auto;
    border-radius:1000px;
}

.cook-detail-name{
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-align:center;
}

.cook-detail-name img{
    width:14px;
    margin-top:-5px;
    margin-right:2px;
}

.cook-detail-body{
    flex:2;
    margin:0;
    padding:0;
}

.cook-detail-body-header, .cook-detail-body-header-mobile{
    margin-top:0 !important;
}

.cook-detail-body p {
    margin: 5px 0;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between; /* Label left, value right */
    align-items: center;
}

.cook-detail-body p:last-child{
    margin-bottom:0;
}

.cook-detail-body-header{
    border-bottom:1px solid #4a4e51;
    padding-bottom:7px;
    font-size:1rem !important;
}

.cook-detail-body a {
    color: #988ef5;
    text-decoration: none;
}

.cook-detail-trencher-image{
    width:25px !important;
    border-radius: 1000px;
    display:none;
}

.cook-detail-sol{
    margin-top:-3px;
}

.cook-detail-profit {
    color: rgb(98, 228, 98);
    font-size:1.1rem;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.cook-detail-profit a{
    font-size:1rem;
    margin-top:-2px;
}

.cook-detail-profit img{
    width:16px;
    margin-top:-3px;
}

.cook-detail-sol-image img{
    margin-top:-4px;
    margin-right:3px;
}

.cook-detail-time {
    color: #fff;
}

.cook-detail-body-header-mobile{
    display:none !important;
    align-items:center !important;
}

.cook-detail-body-header-mobile img{
    border-radius:1000px;
}

.latest-cooks{
    margin-top:50px;
}

.gold-cook{
    border:1px solid gold;
    padding:25px !important;
}

.silver-cook{
    border:1px solid silver;
    padding:25px !important;
}

.bronze-cook{
    border:1px solid #CD7F32;
    padding:25px !important;
}

.trades-trade-header, .token-header, .insight-header{
    display:flex;
    gap:15px;
    border-bottom:1px solid #4a4e51;
    padding-bottom:15px;
    margin-bottom:10px;
}

.trades-trade-header-image img, .insight-header-image img {
    width:80px;
}

.trades-trade-info, .token-info, .insight-info{
    width:100%;
}

.trades-trade-info div, .token-info div{
    display:flex;
    justify-content:space-between;
    font-size:0.875rem;
    color:#fff;
    margin:4px 0;
}

.trades-trade-info div:first-child{
    margin-top:0;
}

.token-info div:first-child{
    margin-top:0;
    margin-bottom:-2px;
}

.trades-trade-name{
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}


.trades-trade-socials a, .cook-detail-socials a{
    margin:0 1px;
    font-size:1rem;
    text-decoration: none;
    color:inherit;
}

.fa-twitch{
    color: #9a76de;
}

.fa-youtube{
    color: #ed5958;
}

.trades-trade-pnl{
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
}

.trades-trade-pnl img{
    margin-top:-2px;
}

.trades-trade-box{
    background: #1a1b1c;
    border: 1px solid #4a4e51;
    width: calc(33.33% - 15px);
    padding: 15px;
    border-radius: 5px;
    overflow:hidden;
}

.trades-trade-box{
    transition: border-color 0.3s ease;
}

.new-trade {
    animation: flashBorder 1s ease-in-out 1;
    border: 1px solid #ffffff;
}

@keyframes flashBorder {
    0%, 100% { border-color: transparent; }
    50% { border-color: #ffffff; }
}

.trades-trade-container{
    height:229px;
}

.trades-trade{
    display:flex;
    gap:5px;
}

.trades-trade img{
    margin-top:-3px;
}

.token-box{
    background: #1a1b1c;
    border: 1px solid #4a4e51;
    width: calc(33.33% - 15px);
    padding: 15px;
    border-radius: 5px;
    max-height:472px;
    overflow-y: auto;
}

.token-box::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.token-box::-webkit-scrollbar-track {
    background: #1a1b1c /* Color of the track (background) */
    border-radius: 5px;
}

.token-box::-webkit-scrollbar-thumb {
    background: #4a4e51; /* Color of the scrollbar handle */
    border-radius: 5px;
}

.token-header-image img{
    width:80px;
    height:80px;
}

.token-name a{
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 600;
    color: #988ef5;
}

.token-kol-container{
    display:flex;
    flex-direction: column;
    gap:10px;
}

.token-kols{
    display:grid;
    grid-template-columns: 10% 40% 38% 12%;
    align-items:center;
}

.token-kol{
    display:flex;
    align-items:center;
    gap:10px;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.token-kol img{
    width: 25px;
    border-radius: 1000px;
}

.token-buy{
    display:flex;
    align-items:center;
    gap:3px;
}

.token-bought, .token-sold{
    display:flex;
    align-items:center;
    justify-content: flex-end;
    gap:5px;
}

.token-sell{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:3px;
    text-align:right;
}

.token-buy div img, .token-sell div img{
    margin-top:-2px;
}

.token-kol-time{
    text-align:right;
    font-size:0.9rem;
}

.token-mc{
    font-weight:500;
}

.token-tokens{
    color:#fff;
    font-size:0.9rem;
}

.token-top-kol{
    display:flex;
    align-items:center;
    gap:5px;
    font-weight:600;
    color:#fff;
}

.token-top-kol .bought img{
    margin-top:-2px;
    margin-right:2px;
}

.token-total-pnl{
    font-weight:600;
}

.insight-box{
    background: #1a1b1c;
    border: 1px solid #4a4e51;
    width: calc(33.33% - 15px);
    padding: 15px;
    border-radius: 5px;
    overflow:hidden;
}

.insight-info div{
    display:flex;
    justify-content:space-between;
    font-size:0.875rem;
    color:#fff;
    margin:3px 0;
}

.insight-chart-header{
    text-align:center;
    margin-bottom:5px;
    font-size:0.9rem;
}

.insight-chart-header img {
    margin-top:-3px;
}

.insight-total img, .insight-avg-daily img{
    margin-top:-2px;
}

.insight-stats{
    display:grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    font-size:0.8rem;
    text-align:center;
}

.insight-stats-secondary{
    margin-top:20px;
}

.insights-search{
    width:250px;
}

.survival-container {
    width: 100%;
}

.survival-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(20px, 10vw, 200px);
}

.survival-row .reverse {
    flex-direction: row-reverse;
}

.survival-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; /* Full viewport width */
    height: 100%; /* Matches row height */
    z-index: -1; /* Behind content */
}

/* Alternating background colors */
.survival-row:nth-child(odd)::before {
    background-color: #181a1c; /* Light gray for odd rows (e.g., Row 1) */
}

.survival-row:nth-child(even)::before {
    background-color: #111315; /* Darker gray for even rows (e.g., Row 2) */
}

.survival-inner {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: inherit; /* Inherits gap from .survival-row */
    padding:70px 0;
}

.survival-column {
    flex: 1;
}

.survival-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    min-width: 450px;
    object-fit: cover;
}

.survival-column-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 30px;
}

.survival-column-button {
    margin-top: 30px;
}

.survival-column-button a {
    padding: 10px 30px;
    font-size: 1rem !important;
}

.highlights{
    padding:80px 0;
}

.highlights-container{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:20px;
}

.highlight{
    background-color: #17181a;
    min-height: 100px;
    border: 1px solid #333639;
    width: calc(33.33% - 15px);
    padding: 30px;
    border-radius: 5px;
    text-align:center;
}

.highlight i{
    font-size:2.5rem;
}

.highlight div{
    font-size:1.1rem;
    width:85%;
    margin:0 auto;
    margin-top:20px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.stats{
    position: relative;
    padding:30px 0;
    margin-top:80px;
}

.stats::before{
    content: "";
    background-color: #17181a;
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    height: 100%;
    z-index: -1;
}

.stats-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
}

.stat{
    width: calc(25% - 15px);
    text-align:center;
}

.stat-title{
    font-size:1.4rem;
    font-weight:600;
    color: #fff;
}

.stat-text{
    font-size:0.9rem;
}

.stat-text img{
    margin-top:-2px;
}

.requirement{
    text-align:center;
}

.requirement-header{
    font-size:1.1rem;
}

.requirement-divider{
    display:none;
}

.requirement-note{
    font-size:0.9rem;
}

.requirement-button{
    margin-top:20px;
}

.requirement-button a{
    font-size:1.1rem !important;
    padding:10px 50px !important;
}

footer{
    text-align:center;
    border-top: 1px solid #333639;
    padding:15px;
    font-size:0.9rem;
    margin-top:80px;
}