/* Complete Theme Overhaul with Combined Minecraft World Background Layout & Video/Forum Elements */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(10, 10, 15, 0.88), rgba(15, 10, 10, 0.94)), 
                url('https://images.unsplash.com/photo-1605901309584-818e25960a8f?q=80&w=1600') center top/cover fixed no-repeat;
    color: #f5f5f5;
    font-size: 1.15rem;
    line-height: 1.6;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; color: #fff; line-height: 1.2; }
h1 span { color: #ffaa00; text-shadow: 0 0 10px rgba(255,170,0,0.3); }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #ffaa00; }

p { margin-bottom: 1rem; color: #e0e0e0; font-size: 1.2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.7); }
.lead { font-size: 1.4rem; max-width: 800px; margin: 0 auto 2rem auto; color: #fff; }
.tag { text-transform: uppercase; font-weight: bold; letter-spacing: 2px; color: #ffaa00; font-size: 1rem; margin-bottom: 0.5rem; }

.topbar {
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 3px solid #ffaa00;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
}

#menuBtn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.links a {
    color: #eee;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
    padding-bottom: 4px;
}
.links a:hover, .links a.active { color: #ffaa00; border-bottom: 2px solid #ffaa00; }

.hero {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    border-bottom: 2px solid #222;
}

.section {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(20, 20, 25, 0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section.dark {
    background: rgba(10, 10, 12, 0.6);
}

.video-panel {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}
.video-header {
    margin-bottom: 1.5rem;
}
.video-title {
    margin-bottom: 0.5rem !important;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}
.video-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
    background: radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%);
}
.play-icon {
    font-size: 3.5rem;
    color: #ffaa00;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.play-icon:hover {
    transform: scale(1.1);
}
.video-description p {
    color: #ccc;
    font-size: 1.15rem;
    text-shadow: none;
}

.forum-panel {
    max-width: 900px;
    text-align: left;
    margin: 0 auto;
}
.forum-container {
    width: 100%;
    min-height: 250px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px dashed #444;
    border-radius: 6px;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.forum-placeholder {
    text-align: center;
    padding: 2rem;
    color: #aaa;
}
.forum-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2.5rem auto;
}

article {
    background: rgba(20, 20, 20, 0.88);
    border: 2px solid #333;
    border-top: 4px solid #ffaa00;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
article b { font-size: 1.35rem; color: #ffaa00; display: block; margin-bottom: 0.75rem; }
article p { font-size: 1.15rem; color: #ddd; }

.panel {
    background: rgba(10, 10, 10, 0.92);
    border: 2px solid #ffaa00;
    max-width: 800px;
    margin: 3rem auto 0 auto;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.commands {
    max-width: 800px;
    margin: 2.5rem auto;
    background: rgba(15, 15, 15, 0.92);
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
}

.commands div {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #222;
    align-items: center;
}
.commands div:last-child { border-bottom: none; }
.commands code {
    background: #222;
    color: #ffaa00;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: monospace;
    border: 1px solid #333;
}
.commands span { font-size: 1.15rem; color: #fff; font-weight: 500; }

.btn, button.ip, button.copy {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    margin: 0.5rem;
}
.btn { background: #333; color: white; border: 1px solid #555; }
.btn.primary { background: #ffaa00; color: #111; border: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.btn.primary:hover { background: #ffbb22; }

button.ip {
    background: rgba(255, 170, 0, 0.15);
    border: 2px dashed #ffaa00;
    color: #ffaa00;
    display: block;
    margin: 2rem auto 0 auto;
    width: fit-content;
}
button.ip:hover { background: rgba(255, 170, 0, 0.25); }

button.copy {
    background: #ffaa00;
    color: #111;
    width: 100%;
    max-width: 400px;
    margin: 0.5rem auto 1.5rem auto;
    display: block;
}

.cta { padding: 5rem 2rem; text-align: center; background: rgba(21, 21, 21, 0.85); border-top: 3px solid #ffaa00; }
footer { background: #0a0a0a; padding: 2rem; text-align: center; border-top: 1px solid #222; font-size: 1rem; color: #666; }

#toast {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: #ffaa00; color: #111; padding: 0.75rem 2rem; border-radius: 4px;
    font-weight: bold; display: none; z-index: 2000; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

@media (max-width: 850px) {
    #menuBtn { display: block; }
    .links { display: none; width: 100%; text-align: center; margin-top: 1rem; }
    .links.active { display: block; }
    .links a { display: block; margin: 1rem 0; margin-left: 0; }
}