/* GLOBAL VARIABLES - DARK TECH THEME */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-input: #252525;
    --accent: #ff9000;
    --accent-hover: #ffaa33;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --border: #333333;
    --font-main: 'Inter', sans-serif;
    --success: #00e676;
    --danger: #ff5252;
}

/* SKIP TO CONTENT LINK - accessible, hidden until focused */
.skipLink {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skipLink:focus {
    top: 0;
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-main), sans-serif;
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* GLOBAL RESPONSIVE IMAGE RESET */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* LINKS */
a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

a:active, a:focus {
    outline: 0;
    border: none;
    -moz-outline-style: none;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    width: 90%;
    margin: 20px auto;
}

#blogTitleContainer {
    text-align: center;
}

#main {
    /* CHANGED: Relative is better for responsive flows than Absolute */
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
}

/* NAVIGATION BAR */
.headerBG {
    background-color: #000000;
    border-bottom: 1px solid var(--border);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
    width: 100%;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    background-color: #000000; /* Ensure bg is opaque when sticky */
}

.navMainItem {
    position: relative;
    height: 100%;
    padding: 0 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.navMainItem span {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

/* Hover States */
.hover:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}

.lustgames {
    color: var(--accent);
}

/* MOBILE NAV */
#navMobile {
    display: none;
}

.mobileMenu {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    gap: 10px;
}

.mobileMenu i {
    font-size: 1.8rem;
    color: var(--accent);
}

#mobileContent {
    overflow-y: auto; /* Changed scroll to auto */
    max-height: 80vh;
    display: none;
    position: fixed;
    top: 3.5rem;
    left: 0;
    width: 100%;
    z-index: 99;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: var(--bg-card);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

#mobileContent ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#mobileContent li {
    width: 100%;
    border-bottom: 1px solid var(--border);
}

#mobileContent .navMainItem {
    width: 100%;
    padding: 15px 0;
    display: block;
}

/* DROPDOWN MENUS */
.language-menu {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 101;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 0 0 4px 4px;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid #2a2a2a;
}

.dropdown-content a:hover {
    background-color: var(--accent);
    color: #000;
}

.language-menu:hover .dropdown-content {
    display: block;
}

.language-header {
    font-weight: bold;
    color: var(--accent);
    background-color: #000;
}

/* CONTENT CONTAINERS (Legacy Support) */
#descContainer {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    margin: 50px auto;
    width: 80%;
    max-width: 1000px;
    height: auto;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* VIDEO CONTAINER */
.videoContainer {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.videoContainer::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.videoContainer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* UTILITIES & BUTTONS */
.naked {
    text-decoration: none;
    color: var(--text-main);
}
.naked:hover { color: var(--accent); }

.blue { color: var(--accent); }

.selector-container {
    text-align: center;
    display: block;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.callButtons {
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

/*.callButton {
    background-color: var(--accent);
    color: #000;
    min-width: 10rem;
    height: 3rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.1s, filter 0.2s;
}*/

.callButton {
    background-color: var(--accent);
    color: #000;
    min-width: 10rem;

    /* REMOVE FIXED HEIGHT */
    /* height: 3rem; */

    /* ALLOW MULTI-LINE TEXT */
    white-space: normal;
    word-break: break-word;

    /* ALLOW FLEX WRAP */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    /* USE PADDING INSTEAD OF HEIGHT */
    padding: 10px 20px;

    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, filter 0.2s;
}

.callButton:hover {
    filter: brightness(1.1);
}
.callButton:active {
    transform: scale(0.98);
}

.green { color: var(--success); }
.red { color: var(--danger); }

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* RESPONSIVE */
@media screen and (max-width: 1300px) {
    #descContainer { width: 90%; }
}

@media screen and (max-width: 900px) {
    #descContainer {
        margin-top: 20px;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        /* CHANGED: Reduced padding for small screens */
        padding: 20px 15px;
    }

    #navMain { display: none; }
    #navMobile { display: flex; }

    .navMainItem { margin: 0; }
}