/* =========================
   GLOBAL
========================= */

*{
box-sizing:border-box;
}

body{
margin:0;
font-family:Inter, sans-serif;
background:linear-gradient(135deg,#062a2f,#041a1d);
color:#e6f7f7;
}


/* =========================
   HEADER
========================= */

.topbar{
position:sticky;
top:0;
z-index:10;

background:#041a1d;
border-bottom:1px solid #0d3b40;
backdrop-filter: blur(10px);

height:72px;
display:flex;
align-items:center;
}

/* MAIN HEADER WRAPPER */
.header-inner{
width:100%;
max-width:1100px;
margin:0 auto;

padding:0 30px;

display:flex;
align-items:center;
}

/* LOGO AREA (LEFT) */
.logo-area{
display:flex;
align-items:center;
margin-left:0;
margin-right:80px;
}

.logo-image{
height:42px;
width:auto;
max-width:200px;
}

/* NAV RIGHT */
.nav{
display:flex;
gap:10px;
align-items:center;

margin-left:auto; /* ⭐ WICHTIG: drückt alles nach rechts */
white-space:nowrap;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn{
display:none;
flex-direction:column;
justify-content:space-around;
width:30px;
height:24px;
background:transparent;
border:none;
cursor:pointer;
padding:0;
margin-left:auto;
}

.mobile-menu-btn span{
width:100%;
height:3px;
background:#00ffd5;
border-radius:3px;
transition:0.3s;
}

.mobile-menu-btn.active span:nth-child(1){
transform:rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2){
opacity:0;
}

.mobile-menu-btn.active span:nth-child(3){
transform:rotate(-45deg) translate(7px, -7px);
}

/* NAV LINKS */
.nav-link{
padding:8px 14px;
border-radius:10px;
color:#9adbd3;
text-decoration:none;
font-weight:600;
font-size:14px;
transition:0.25s ease;
border:1px solid transparent;
}

.nav-link:hover{
color:#00ffd5;
background:rgba(0,255,213,0.08);
border:1px solid rgba(0,255,213,0.2);
transform:translateY(-1px);
}

.nav-link.active{
color:#001b1c;
background:linear-gradient(90deg,#00ffd5,#00a8a0);
border:none;
box-shadow:0 5px 15px rgba(0,255,213,0.25);
}


/* =========================
   MAIN CONTAINER
========================= */

.container{
padding:30px;
max-width:1100px;
margin:auto;
}


/* =========================
   CARDS
========================= */

.card{
background:rgba(10, 40, 45, 0.8);
border:1px solid #0f4c50;
padding:18px;
border-radius:14px;
margin-top:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.3);
transition:0.2s ease;
}

.card:hover{
transform:translateY(-2px);
border-color:#00ffd5;
box-shadow:0 10px 35px rgba(0,255,213,0.15);
}

.card a{
display:inline-block;
margin-top:10px;
color:#00ffd5;
text-decoration:none;
font-weight:600;
}

.card a:hover{
color:#7de2d1;
}


/* =========================
   INPUTS
========================= */

select,input,button{
width:100%;
padding:12px;
margin:8px 0;
border-radius:10px;
border:1px solid #0f4c50;
background:#062a2f;
color:white;
outline:none;
box-sizing:border-box;
}

select:hover,input:hover{
border-color:#00a8a0;
}

select:focus,input:focus{
border-color:#00ffd5;
}


/* =========================
   BUTTON
========================= */

button{
background:linear-gradient(90deg,#00ffd5,#00a8a0);
color:#001b1c;
font-weight:bold;
cursor:pointer;
border:none;
transition:0.2s;
}

button:hover{
transform:scale(1.02);
}


/* =========================
   BADGES
========================= */

.badge{
display:inline-block;
padding:4px 8px;
border-radius:6px;
background:#00a8a0;
color:#001b1c;
font-size:12px;
margin-left:6px;
}

.small{
opacity:0.8;
font-size:13px;
}


/* =========================
   CANVAS
========================= */

canvas{
margin-top:15px;
background:#041a1d;
border-radius:10px;
display:block;
width:100%;
}


/* =========================
   TYPOGRAPHY
========================= */

h1{
font-size:28px;
margin:0 0 8px;
color:#7de2d1;
}

h2{
font-size:22px;
margin:0 0 12px;
color:#7de2d1;
}

h3{
font-size:16px;
margin:16px 0 8px;
color:#9adbd3;
}

a.logo-area{
text-decoration:none;
color:inherit;
}


/* =========================
   FORM GROUPS
========================= */

.group{
background:rgba(10, 40, 45, 0.5);
border:1px solid #0f4c50;
border-radius:12px;
padding:16px;
margin-bottom:14px;
}

.group h3{
margin-top:0;
}


/* =========================
   GRID & RANKING
========================= */

.dashboard-grid{
display:grid;
grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
gap:16px;
margin-top:20px;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
gap:10px;
margin-top:12px;
}

.stats-grid div{
background:#041a1d;
border:1px solid #0f4c50;
border-radius:8px;
padding:10px;
font-size:13px;
}

.stats-grid span{
display:block;
opacity:0.7;
margin-bottom:4px;
}

.rank-list{
display:flex;
flex-direction:column;
gap:8px;
margin-top:12px;
}

.rank-item{
display:flex;
align-items:center;
gap:12px;
background:#041a1d;
border:1px solid #0f4c50;
border-radius:10px;
padding:12px;
}

.rank-num{
font-weight:800;
color:#00ffd5;
min-width:28px;
}

.rank-info{
flex:1;
display:flex;
flex-direction:column;
gap:2px;
}

.rank-score{
font-weight:700;
color:#7de2d1;
}


/* =========================
   TABS
========================= */

.tab-bar{
display:flex;
gap:8px;
margin-bottom:16px;
flex-wrap:wrap;
}

.tab-btn{
width:auto;
padding:10px 18px;
background:#062a2f;
color:#9adbd3;
border:1px solid #0f4c50;
}

.tab-btn.active{
background:linear-gradient(90deg,#00ffd5,#00a8a0);
color:#001b1c;
border:none;
}


/* =========================
   COMPARE ROW
========================= */

.compare-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}


/* =========================
   LIVE MONITORING
========================= */

.monitor-value{
font-size:28px;
font-weight:700;
color:#00ffd5;
margin-top:4px;
}

#monitoring-chart{
height:250px;
}

#start-btn, #stop-btn{
margin-top:8px;
}

#stop-btn{
background:linear-gradient(90deg,#ff6b6b,#ee5a5a);
color:white;
}

#stop-btn:hover{
transform:scale(1.02);
}

.chart-tooltip{
position:fixed;
background:rgba(4, 26, 29, 0.95);
border:1px solid #00ffd5;
border-radius:8px;
padding:8px 12px;
color:#e6f7f7;
font-size:12px;
pointer-events:none;
z-index:1000;
box-shadow:0 4px 12px rgba(0,0,0,0.4);
white-space:nowrap;
}


/* =========================
   MOBILE
========================= */

@media (max-width:768px){
.topbar{
height:auto;
min-height:72px;
}

.header-inner{
flex-direction:row;
align-items:center;
justify-content:space-between;
padding:14px 20px;
gap:12px;
}

.logo-area{
margin-left:0;
}

.mobile-menu-btn{
display:flex;
}

.nav{
display:none;
position:absolute;
top:72px;
left:0;
right:0;
flex-direction:column;
background:#041a1d;
border-bottom:1px solid #0f4c50;
padding:20px;
gap:8px;
margin-left:0;
box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.nav.active{
display:flex;
}

.nav-link{
font-size:16px;
padding:12px 16px;
width:100%;
text-align:center;
border:1px solid #0f4c50;
border-radius:8px;
}

.nav-link:hover{
background:rgba(0,255,213,0.1);
}

.container{
padding:20px;
}

.compare-row{
grid-template-columns:1fr;
}

.monitor-value{
font-size:24px;
}

/* GPU DETAIL MODAL MOBILE */
.modal-content{
width:95%;
margin:10% auto;
padding:20px;
max-height:90vh;
overflow-y:auto;
}

.gpu-detail-header{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.gpu-detail-title{
font-size:20px;
}

.gpu-detail-grid{
grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));
gap:10px;
}

.gpu-detail-item{
padding:12px;
}

.gpu-detail-label{
font-size:11px;
}

.gpu-detail-value{
font-size:14px;
}

.fps-grid{
grid-template-columns:repeat(auto-fit, minmax(80px, 1fr));
gap:8px;
}

.fps-item{
padding:10px;
}

.fps-game{
font-size:11px;
}

.fps-value{
font-size:16px;
}

/* RANKING LIST MOBILE */
.rank-item{
flex-direction:column;
align-items:flex-start;
gap:8px;
padding:14px;
}

.rank-num{
margin-bottom:4px;
}

.rank-info{
width:100%;
}

.rank-score{
align-self:flex-end;
margin-top:8px;
}
}


/* =========================
   GPU DETAIL MODAL
========================= */

.modal{
display:none;
position:fixed;
z-index:1000;
left:0;
top:0;
width:100%;
height:100%;
overflow:auto;
background-color:rgba(0,0,0,0.8);
backdrop-filter:blur(5px);
}

.modal-content{
background-color:#062a2f;
margin:5% auto;
padding:30px;
border:1px solid #0f4c50;
border-radius:16px;
width:90%;
max-width:700px;
position:relative;
box-shadow:0 20px 60px rgba(0,0,0,0.5);
animation:modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn{
from{
opacity:0;
transform:translateY(-50px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.modal-close{
position:absolute;
right:20px;
top:15px;
color:#9adbd3;
font-size:32px;
font-weight:bold;
cursor:pointer;
transition:0.2s;
line-height:1;
}

.modal-close:hover{
color:#00ffd5;
transform:scale(1.1);
}

.gpu-detail-header{
display:flex;
align-items:center;
gap:15px;
margin-bottom:25px;
padding-bottom:20px;
border-bottom:1px solid #0f4c50;
}

.gpu-detail-title{
font-size:24px;
font-weight:800;
color:#00ffd5;
margin:0;
}

.gpu-detail-score{
font-size:18px;
font-weight:700;
color:#7de2d1;
background:rgba(0,255,213,0.1);
padding:8px 16px;
border-radius:8px;
}

.gpu-detail-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
gap:12px;
margin-bottom:25px;
}

.gpu-detail-item{
background:#041a1d;
border:1px solid #0f4c50;
border-radius:10px;
padding:15px;
}

.gpu-detail-label{
font-size:12px;
color:#9adbd3;
opacity:0.7;
margin-bottom:5px;
}

.gpu-detail-value{
font-size:16px;
font-weight:600;
color:#e6f7f7;
}

.gpu-detail-fps{
margin-bottom:25px;
}

.gpu-detail-fps h4{
font-size:16px;
color:#7de2d1;
margin:0 0 15px;
}

.fps-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));
gap:12px;
}

.fps-item{
background:#041a1d;
border:1px solid #0f4c50;
border-radius:8px;
padding:12px;
text-align:center;
}

.fps-game{
font-size:12px;
color:#9adbd3;
opacity:0.7;
margin-bottom:5px;
}

.fps-value{
font-size:20px;
font-weight:700;
color:#00ffd5;
}

.rank-item.clickable{
cursor:pointer;
transition:0.2s;
}

.rank-item.clickable:hover{
border-color:#00ffd5;
background:rgba(0,255,213,0.05);
transform:translateX(5px);
}


/* =========================
   BETA BANNER
========================= */

.beta-banner{
background:linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
padding:16px 20px;
margin:20px auto;
max-width:1200px;
border-radius:12px;
box-shadow:0 4px 12px rgba(255,107,107,0.3);
}

.beta-content{
display:flex;
align-items:center;
gap:16px;
}

.beta-icon{
font-size:28px;
flex-shrink:0;
}

.beta-text{
flex:1;
}

.beta-text strong{
display:block;
font-size:16px;
color:#fff;
margin-bottom:4px;
}

.beta-text .small{
color:rgba(255,255,255,0.9);
margin:0;
line-height:1.4;
}


/* =========================
   HERO SECTION
========================= */

.hero{
display:flex;
align-items:center;
gap:40px;
padding:60px 0;
margin-bottom:40px;
}

.hero-content{
flex:1;
}

.hero-title{
font-size:48px;
font-weight:800;
color:#00ffd5;
margin:0 0 12px;
line-height:1.1;
}

.hero-subtitle{
font-size:20px;
color:#7de2d1;
margin:0 0 16px;
font-weight:600;
}

.hero-description{
font-size:15px;
color:#9adbd3;
line-height:1.6;
margin:0 0 24px;
max-width:500px;
}

.hero-buttons{
display:flex;
gap:12px;
}

.btn-primary{
display:inline-block;
padding:12px 24px;
background:linear-gradient(90deg,#00ffd5,#00a8a0);
color:#001b1c;
text-decoration:none;
font-weight:700;
border-radius:10px;
transition:0.2s;
border:none;
cursor:pointer;
}

.btn-primary:hover{
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(0,255,213,0.3);
}

.btn-secondary{
display:inline-block;
padding:12px 24px;
background:transparent;
color:#00ffd5;
text-decoration:none;
font-weight:700;
border-radius:10px;
transition:0.2s;
border:2px solid #00ffd5;
cursor:pointer;
}

.btn-secondary:hover{
background:rgba(0,255,213,0.1);
transform:translateY(-2px);
}

.hero-visual{
flex:1;
display:flex;
justify-content:center;
align-items:center;
}

.hero-chart{
display:flex;
gap:12px;
align-items:flex-end;
height:150px;
padding:20px;
background:rgba(10, 40, 45, 0.5);
border:1px solid #0f4c50;
border-radius:12px;
}

.chart-bar{
width:30px;
background:linear-gradient(180deg,#00ffd5,#00a8a0);
border-radius:6px 6px 0 0;
animation:chartPulse 2s ease-in-out infinite;
}

.chart-bar:nth-child(2){
animation-delay:0.2s;
}

.chart-bar:nth-child(3){
animation-delay:0.4s;
}

.chart-bar:nth-child(4){
animation-delay:0.6s;
}

.chart-bar:nth-child(5){
animation-delay:0.8s;
}

@keyframes chartPulse{
0%,100%{
opacity:0.7;
}
50%{
opacity:1;
}
}


/* =========================
   FEATURES SECTION
========================= */

.features-section{
margin-bottom:40px;
}

.section-title{
font-size:32px;
font-weight:700;
color:#7de2d1;
margin:0 0 24px;
text-align:center;
}

.feature-card{
text-align:center;
transition:0.3s;
}

.feature-card:hover{
transform:translateY(-4px);
}

.card-icon{
font-size:40px;
margin-bottom:12px;
}

.card-link{
display:inline-block;
margin-top:12px;
color:#00ffd5;
text-decoration:none;
font-weight:600;
transition:0.2s;
}

.card-link:hover{
color:#7de2d1;
}

.highlight-card{
border-color:#00ffd5;
background:rgba(0,255,213,0.05);
}


/* =========================
   STATS SECTION
========================= */

.stats-section{
margin:60px 0;
padding:40px;
background:rgba(10, 40, 45, 0.5);
border:1px solid #0f4c50;
border-radius:14px;
}

.stats-section .stats-grid{
display:flex;
justify-content:center;
gap:60px;
margin-top:0;
}

.stat-item{
text-align:center;
}

.stat-number{
font-size:36px;
font-weight:800;
color:#00ffd5;
margin-bottom:8px;
}

.stat-label{
font-size:14px;
color:#9adbd3;
}


/* =========================
   HERO MOBILE
========================= */

@media (max-width:768px){
.hero{
flex-direction:column;
padding:40px 0;
text-align:center;
}

.hero-title{
font-size:36px;
}

.hero-description{
max-width:100%;
}

.hero-buttons{
justify-content:center;
flex-direction:column;
}

.hero-chart{
width:100%;
}

.stats-section .stats-grid{
flex-direction:column;
gap:30px;
}
}


/* =========================
   FOOTER
========================= */

.site-footer{
background:#041a1d;
border-top:1px solid rgba(0,255,213,0.1);
padding:30px 0;
margin-top:60px;
}

.footer-content{
max-width:1200px;
margin:0 auto;
padding:0 30px;
display:flex;
flex-direction:column;
align-items:center;
gap:15px;
}

.footer-links{
display:flex;
align-items:center;
gap:15px;
flex-wrap:wrap;
justify-content:center;
}

.footer-link{
color:#9adbd3;
text-decoration:none;
font-size:14px;
transition:0.25s ease;
}

.footer-link:hover{
color:#00ffd5;
}

.footer-separator{
color:#00ffd5;
opacity:0.3;
}

.footer-copyright{
color:#6a9d96;
font-size:12px;
text-align:center;
}

@media (max-width:768px){
.footer-links{
flex-direction:column;
gap:10px;
}

.footer-separator{
display:none;
}
}

.build-disclaimer {
  margin: 10px 0 18px;
  padding: 10px 12px;
  background: rgba(0,255,213,0.06);
  border: 1px solid rgba(0,255,213,0.18);
  border-radius: 8px;
  color: #9adbd3;
  line-height: 1.5;
}

/* Build Cards */
.build-card {
  margin-bottom: 20px;
}

.build-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #0f4c50;
}

.build-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #9adbd3;
}

.build-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #00ffd5;
}

.build-description {
  color: #9adbd3;
  margin-bottom: 10px;
  font-style: italic;
}

.build-performance {
  display: inline-block;
  background: linear-gradient(90deg,#00ffd5,#00a8a0);
  color: #001b1c;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.build-components {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.component-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #041a1d;
  border: 1px solid #0f4c50;
  border-radius: 6px;
  font-size: 0.9rem;
}

.component-label {
  font-weight: 600;
  color: #7de2d1;
}

.component-value {
  color: #e6f7f7;
  text-align: right;
  max-width: 60%;
}

.build-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #0f4c50;
  font-size: 0.85rem;
}

.build-power {
  color: #9adbd3;
}

.build-type {
  background: rgba(0,255,213,0.1);
  border: 1px solid rgba(0,255,213,0.2);
  color: #00ffd5;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .build-components {
    grid-template-columns: 1fr;
  }
  
  .build-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .build-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
