/* Alap stílus */
body{
    background: linear-gradient(to right,#0f2027,#203a43,#2c5364);
    color:#fff;
    font-family: Arial, sans-serif;
    margin:0;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 50px;
    background:rgba(0,0,0,0.6);
}

header .logo a{
    color:#fff;
    text-decoration:none;
    font-size:1.8em;
    font-weight:bold;
}

nav a{
    color:#fff;
    text-decoration:none;
    margin-left:25px;
    transition:0.3s;
    position: relative;
}

nav a:hover{
    color:#00ffd5;
}

nav a::after{
    content:'';
    position:absolute;
    width:0;
    height:2px;
    background:#00ffd5;
    left:0;
    bottom:-5px;
    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

.container{
    padding:40px;
    max-width:1200px;
    margin:0 auto;
}

h1,h2{
    animation:fadeIn 1s;
}

.card{
    background: rgba(255,255,255,0.05);
    padding:20px;
    margin:15px 0;
    border-radius:12px;
    box-shadow:0 4px 15px rgba(0,0,0,0.3);
    transition:0.3s;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow:0 6px 20px rgba(0,0,0,0.5);
}

.button{
    padding:10px 20px;
    border:none;
    border-radius:8px;
    background:#00ffd5;
    color:#000;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.button:hover{
    background:#00bfa5;
}

@keyframes fadeIn{
    0%{opacity:0; transform:translateY(20px);}
    100%{opacity:1; transform:translateY(0);}
}

.footer{
    background:rgba(0,0,0,0.6);
    text-align:center;
    padding:20px;
    margin-top:40px;
}

input, textarea, select{
    width:100%;
    padding:10px;
    margin:10px 0;
    border-radius:8px;
    border:none;
    outline:none;
}

img{
    max-width:100%;
    border-radius:8px;
}

.table{
    width:100%;
    border-collapse:collapse;
}

.table th, .table td{
    padding:10px;
    border-bottom:1px solid rgba(255,255,255,0.2);
}

.table th{
    background: rgba(255,255,255,0.1);
}

/* Gombok általánosan */
button, .btn {
    background: linear-gradient(135deg, #00ffd5, #0ff);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Link gombok */
a.btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    background: linear-gradient(135deg, #00ff55, #0f0);
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #fff;
}

/* Boríték ikon a hirdetésnél */
.card a span {
    transition: transform 0.3s ease;
}

.card a:hover span {
    transform: rotate(-15deg) scale(1.2);
}

.message-card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #00ffd5, #0ff);
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.message-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    color: #fff;
}

.message-card span.unread {
    color: #0ff;
    margin-left: 10px;
    font-weight: bold;
}

.messages { max-height:400px; overflow-y:auto; margin-bottom:10px; }
.message { border-radius:5px; padding:8px; margin:5px 0; }
.message.admin { background:#ffdddd; }
.message.from_me { background:#ddffdd; }
.message.from_other { background:#eeeeee; }
.timestamp { float:right; font-size:0.8em; color:#555; }
textarea { width:100%; padding:5px; }
button { padding:8px 12px; margin-top:5px; cursor:pointer; }
.admin-request button { background:#ff5555; color:#fff; font-size:1.1em; border:none; border-radius:5px; }
.message {
    padding:10px;
    margin:5px 0;
    border-radius:5px;
    color:#000; /* alap szöveg fekete */
}

.message.from_me { 
    background:#ddffdd; 
    color:#060; /* saját üzenetek zöldes, sötét */
}

.message.from_other { 
    background:#eeeeee; 
    color:#000; /* másik felhasználó világos szürke háttéren fekete */
}

.message.admin { 
    background:#ffdddd; 
    color:#900; /* admin piros háttéren sötét piros */
}

.timestamp {
    float:right;
    font-size:0.8em;
    color:#555; /* időbélyeg szürke */
}
.sold { color:red; text-decoration: line-through; font-weight:bold; }
.sold-button { background:red; color:#fff; border:none; padding:5px 10px; cursor:pointer; border-radius:4px; }
.gold-link,
.gold-link:visited {
    color: #FFD700 !important;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.gold-link:hover,
.gold-link:active {
    background: linear-gradient(90deg, #FFF6A0, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px #FFD700;
    transform: scale(1.03);
}
.animated-server-name {
    font-weight: bold;
    font-size: 1.8em;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% auto;
    color: #FFD700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
/* Alap arany szín */
.premium-gold {
    color: gold !important; /* !important megakadályozza a .card a { color:#00ffd5 } felülírást */
    font-weight: bold;
}

/* Csillogó animáció (2-es prémium) */
.premium-shimmer {
    background: linear-gradient(90deg, gold, #fff, gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important; /* !important, hogy látszódjon */
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Füstös animáció (4-es prémium) */
.premium-gold-smoke {
    color: gold !important;
    font-weight: bold;
    position: relative;
}

.premium-gold-smoke::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background: url('https://i.imgur.com/L9rj6G5.png') repeat; /* füst textúra */
    mix-blend-mode: screen;
    opacity: 0.5;
    animation: smoke 5s linear infinite;
    filter: blur(2px);
}

@keyframes smoke {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-20px) translateX(20px); }
}
/* Profil link – arany */
.nav-profile {
    color: gold !important;
    font-weight: bold;
}

/* Felhasználók link – piros */
.nav-users {
    color: red !important;
    font-weight: bold;
}
.banner-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.banner {
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px gold;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner h3 {
    text-align: center;
    padding: 10px;
    background: #111;
    color: gold;
    font-weight: bold;
    margin: 0;
}
