@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0d0805;
    --bg-card: #170f0a;
    --accent-orange: #ff7700;
    --accent-gold: #ffb703;
    --accent-red: #e63946;
    --text-light: #fefae0;
    --text-gray: #b0a8a0;
    --border-glow: rgba(255, 119, 0, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* HÁTTÉR FÉNYEK */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 15% 20%, rgba(255, 119, 0, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 85% 80%, rgba(217, 119, 6, 0.10) 0%, transparent 60%),
        var(--bg-dark);
}

/* HEADER & NAVIGÁCIÓ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 40px;
    background: rgba(13, 8, 5, 0.94);
    border-bottom: 1px solid var(--border-glow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 0 14px rgba(255, 119, 0, 0.5);
}

nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 14px;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* MAIN CONTENT & KÁRTYÁK */
main {
    margin-top: 85px;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 85px);
}

.content-wrapper {
    width: 100%;
    max-width: 1100px;
}

.card {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    margin-bottom: 24px;
}

h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 50%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h2 {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    border-left: 4px solid var(--accent-orange);
    padding-left: 14px;
}

h3 {
    font-size: 20px;
    margin: 22px 0 10px;
    color: #fff;
}

p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: 14px;
}

.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ==========================================
   LEGÚJABB 3 VIDEÓ (NAGY, ÉLES KÁRTYÁK)
   ========================================== */
.yt-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.yt-latest-card {
    background: linear-gradient(145deg, #1c130d, #140d08);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.yt-latest-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(255, 119, 0, 0.25);
}

.yt-latest-thumb {
    width: 100%;
    height: 170px;
    background: #140d08;
    overflow: hidden;
    position: relative;
}

.yt-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.yt-latest-card:hover .yt-latest-thumb img {
    transform: scale(1.05);
}

.yt-latest-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.yt-latest-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-latest-btn {
    margin-top: 14px;
    background: rgba(255, 119, 0, 0.15);
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--accent-orange);
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.yt-latest-card:hover .yt-latest-btn {
    background: var(--accent-orange);
    color: #fff;
}

/* ==========================================
   SOROZATOK / VÉGIGJÁTSZÁSOK KÁRTYÁK & KÉPEK FIXÁLÁSA
   ========================================== */
.grid-cards, .setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.game-card {
    background: #140d08;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.game-img-container {
    width: 100%;
    height: 170px;
    background: #1f130a;
    overflow: hidden;
    position: relative;
}

.game-card img, .game-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-info {
    padding: 16px;
    background: rgba(23, 15, 10, 0.95);
    flex-grow: 1;
}

.game-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

/* SETUP LISTÁK */
.setup-card, .setup-item, .setup-box, .spec-box {
    background: linear-gradient(145deg, #1c130d, #140d08);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    padding: 22px;
}

.spec-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 18px 0 0;
    padding: 0;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

/* YOUTUBE CSATORNÁK */
.yt-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.yt-channel-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yt-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-orange);
    margin-bottom: 16px;
    background: #1f130a;
}

.yt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.yt-btn {
    display: inline-block;
    background: rgba(255, 119, 0, 0.12);
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--accent-orange);
}

/* RESPONSIVE MOBIL BEÁLLÍTÁSOK */
@media (max-width: 900px) {
    .yt-latest-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 16px;
        flex-direction: column;
        gap: 10px;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    main {
        margin-top: 110px;
        padding: 16px 12px;
    }
    .grid-cards, .setup-grid, .spec-list {
        grid-template-columns: 1fr;
    }
}
