/* =========================================
   DAJAN COMMUNITY SHOP STYLE
   ========================================= */

body{
margin:0;
font-family:'Segoe UI',Arial,sans-serif;
color:white;

background: linear-gradient(
135deg,
#12002a 0%,
#2b0a5a 40%,
#4c1d95 70%,
#0b001a 100%
);

min-height:100vh;

display:flex;
flex-direction:column;
}

/* =========================================
   CONTAINER
   ========================================= */

.container{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
    text-align:center;
}

.container{
flex:1;
}

/* =========================================
   HEADER
   ========================================= */

.shop-header h1{
    font-size:42px;
    color:white;
    margin-bottom:10px;
}

.shop-subtitle{
    opacity:0.85;
    margin-bottom:30px;
}

/* =========================================
   USER BAR
   ========================================= */

.profil-bar{
    margin-bottom:40px;
    font-size:18px;
}

/* =========================================
   SHOP GRID
   ========================================= */

.shop-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

/* =========================================
   SHOP CARD
   ========================================= */

.card{

    background:rgba(15,15,25,0.95);

    border-radius:16px;
    padding:25px;

    text-align:center;

    border:1px solid rgba(255,255,255,0.05);

    transition:0.25s;

}

/* HOVER */

.card:hover{

    transform:translateY(-6px);

    box-shadow:
    0 0 20px rgba(139,92,246,0.7),
    0 0 40px rgba(139,92,246,0.5),
    0 0 60px rgba(139,92,246,0.2);

}

.card input,
.card select {
width: 100%;
padding: 12px;
border-radius: 8px;
border: none;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 15px;
}

/* =========================================
   ICON
   ========================================= */

.card img{

    width:150px;
    margin-bottom:15px;

}

.card img{
    width:150px;
    height:150px;
    object-fit:contain;
    display:block;
    margin:0 auto 15px auto;
}

/* =========================================
   TITEL
   ========================================= */

.card h2{

    color:#a78bfa;
    margin-bottom:10px;

}

/* =========================================
   BESCHREIBUNG
   ========================================= */

.card p{

    opacity:0.85;
    font-size:14px;

}

/* =========================================
   PREIS
   ========================================= */

.price{

    color:#fbbf24;
    font-size:18px;
    margin:10px 0;

}

/* =========================================
   BUTTON
   ========================================= */

.btn{

    background:linear-gradient(135deg,#7c3aed,#a855f7);

    border:none;

    padding:10px 22px;

    border-radius:10px;

    color:white;
    text-decoration:none;
    
    font-weight:bold;

    cursor:pointer;

    transition:0.2s;

}

.btn:hover{

    transform:scale(1.05);

    background:linear-gradient(135deg,#a855f7,#c084fc);

}

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


.social-footer{

margin-top:auto;

padding:40px 20px;

text-align:center;

background:linear-gradient(
180deg,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0.35) 60%,
rgba(0,0,0,0.65) 100%
);

}

/* Titel */

.social-footer h3{

font-size:20px;

margin-bottom:20px;

color:white;

}

/* Social Icons */

.social-links{

display:flex;

justify-content:center;

align-items:center;

gap:30px;

margin-bottom:20px;

}

/* Icons */

.social-links a{

font-size:26px;

color:white;

transition:0.25s;

}

/* Hover Animation */

.social-links a:hover{

transform:translateY(-5px) scale(1.2);

color:#c084fc;

text-shadow:0 0 10px rgba(192,132,252,0.8);

}

/* Impressum Datenschutz */

.legal-links{

margin-top:10px;

font-size:14px;

}

/* Links */

.legal-links a{

color:#e9d5ff;

text-decoration:none;

margin:0 8px;

transition:0.2s;

}

.legal-links a:hover{

color:white;

text-shadow:0 0 6px rgba(255,255,255,0.8);

}

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

@media (max-width:900px){

.shop-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:500px){

.shop-grid{
    grid-template-columns:1fr;
}

.shop-header h1{
    font-size:32px;
}

}

.twitch-login{

display:inline-block;

margin-top:20px;

padding:12px 28px;

background:#9146FF;

border-radius:10px;

color:white;

text-decoration:none;

font-weight:bold;

transition:0.2s;

}

.twitch-login:hover{

background:#772ce8;

transform:scale(1.05);

}

.error-text{
margin-bottom:25px;
opacity:0.9;
}

.menu{
display:flex;
justify-content:center;
gap:20px;
margin-bottom:25px;
}

.menu a{
background:#2d2d2d;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
color:white;
font-weight:bold;
}

.menu a:hover{
background:#444;
}

/* Cookie Popup */

#cookie-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.75);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

.cookie-box{
background:#111;
color:white;
padding:30px;
max-width:500px;
width:90%;
border-radius:10px;
text-align:center;
box-shadow:0 0 30px rgba(0,0,0,0.6);
}

.cookie-box h2{
margin-bottom:15px;
}

.cookie-box p{
font-size:14px;
line-height:1.5;
}

.cookie-box a{
color:#9146ff;
text-decoration:none;
}

.cookie-box button{
margin-top:20px;
background:#9146ff;
color:white;
border:none;
padding:12px 25px;
border-radius:6px;
font-weight:bold;
cursor:pointer;
}

.cookie-box button:hover{
background:#7d3cff;
}

/* Header */

.site-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 30px;
background:#111;
border-bottom:2px solid #9146ff;
}

.header-left{
display:flex;
align-items:center;
gap:12px;
}

.logo{
height:40px;
}

.site-title{
font-size:20px;
font-weight:bold;
color:white;
}

.header-nav{
display:flex;
gap:25px;
}

.header-nav a{
color:white;
text-decoration:none;
font-size:15px;
}

.header-nav a:hover{
color:#9146ff;
}

/* Mobile Header */

@media (max-width:768px){

.site-header{
flex-direction:column;
align-items:flex-start;
gap:10px;
padding:15px;
}

.header-nav{
width:100%;
display:flex;
flex-wrap:wrap;
gap:15px;
}

.header-nav a{
font-size:14px;
}

.site-title{
font-size:18px;
}

.logo{
height:35px;
}

}

/* Datenschutz / Impressum Box */

.legal-box{
max-width:900px;
margin:40px auto;
padding:40px;
text-align:left !important;
}

/* Hover komplett deaktivieren */

.legal-box:hover{
transform:none !important;
box-shadow:none !important;
}

/* ===============================
   Datenschutz / Impressum Mobile
   =============================== */

.legal-box p{
line-height:1.7;
margin-bottom:18px;
}

.legal-box h2{
margin-top:35px;
margin-bottom:10px;
color:#c4b5fd;
}

/* Mobile */

@media (max-width:600px){

.legal-box{
padding:25px;
margin:25px 10px;
}

.legal-box h1{
font-size:26px;
}

.legal-box h2{
font-size:18px;
}

.legal-box p{
font-size:14px;
}

}

.hero-banner{
height:260px;
border-radius:14px;
overflow:hidden;
background-image:url("images/header.jpg");
background-size:cover;
background-position:center;
position:relative;
margin-bottom:25px;
}

.hero-overlay{
position:absolute;
inset:0;
background:linear-gradient(
rgba(0,0,0,0.6),
rgba(0,0,0,0.85)
);
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
}

.hero-overlay h1{
font-size:34px;
margin-bottom:10px;
}

.hero-overlay p{
opacity:0.85;
margin-bottom:15px;
}

.top-player{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
}

.top-player img{
width:40px;
height:40px;
border-radius:50%;
}

.rank-badge{
width:28px;
height:28px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:14px;
font-weight:bold;
color:white;
}

.rank-1{
background:#facc15;
}

.rank-2{
background:#9ca3af;
}

.rank-3{
background:#fb923c;
}

.player-info span{
display:block;
font-size:13px;
opacity:0.7;
}

.admin-table{
width:100%;
border-collapse:collapse;
margin-top:20px;
}

.admin-table th,
.admin-table td{
padding:12px;
text-align:left;
border-bottom:1px solid #333;
}

.admin-table th{
font-weight:bold;
}

.admin-table tr:hover{
background:#151515;
}

.admin-table-wrapper{
width:100%;
overflow-x:auto;
}

@media (max-width:768px){

.admin-table th,
.admin-table td{
padding:10px;
font-size:14px;
}

}

.admin-dashboard-link{
text-align:center;
margin-top:30px;
margin-bottom:20px;
}

.admin-search button{
margin-top:10px;
}

.admin-stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:30px;
}

.stat-box{
background:#111;
padding:20px;
border-radius:12px;
text-align:center;
}

.stat-box h3{
margin-bottom:10px;
color:#a78bfa;
}

.stat-box p{
font-size:22px;
font-weight:bold;
}

@media (max-width:700px){

.admin-stats{
grid-template-columns:1fr 1fr;
}

}

/* Admin Stats Mobile kleiner */

@media (max-width:700px){

.admin-stats{
gap:10px;
}

.stat-box{
padding:12px;
}

.stat-box h3{
font-size:14px;
margin-bottom:4px;
}

.stat-box p{
font-size:18px;
}

}

/* Hamburger Menü */

.header-menu-toggle{
display:none;
font-size:26px;
cursor:pointer;
}

/* Mobile Menü */

@media (max-width:768px){

.header-menu-toggle{
display:block;
position:absolute;
right:20px;
top:20px;
}

.header-nav{
position:fixed;
top:0;
left:-250px;
width:250px;
height:100%;
background:#111;
display:flex;
flex-direction:column;
padding-top:80px;
transition:0.3s;
z-index:999;
}

.header-nav a{
padding:15px 20px;
border-bottom:1px solid #222;
}

.header-nav.open{
left:0;
}

}

/* Mobile Social Icons */

.mobile-socials{
display:none;
gap:12px;
margin-left:15px;
}

.mobile-socials a{
color:white;
font-size:18px;
}

/* nur Mobile */

@media (max-width:768px){

.site-header{
display:flex;
align-items:center;
justify-content:space-between;
}

.header-left{
display:flex;
align-items:center;
justify-content:flex-start;

}

.mobile-socials{
display:flex;
gap:14px;
margin:0 auto;
}

.header-menu-toggle{
position:absolute;
right:20px;
}

}

@media (max-width:768px){

.logo{
display:none;
}

}