/* ===========================
   Reset & Custom Properties
   =========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --glass-bg: rgba(83, 83, 83, 0.76);
    --glass-bg-light: rgba(83, 83, 83, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --shadow-card: 5px 5px 15px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --blur-glass: blur(10px);
    --blur-light: blur(5px);
    --color-bg: #181818;
    --color-text: #ffffff;
    --radius-card: 10px;
    --radius-btn: 8px;
    --font-main: 'Montserrat', sans-serif;
}

/* ===========================
   Base
   =========================== */
body {
    font-family: var(--font-main);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ===========================
   Video Background
   =========================== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(3px) brightness(0.5);
    transition: filter 0.3s ease-in-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ===========================
   Glass Card Base
   =========================== */
.card,
.link-container {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin: 10px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    background: var(--glass-bg);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-subtle);
}

.card {
    text-align: center;
    text-decoration: none;
    z-index: 0;
}

/* ===========================
   Typography
   =========================== */
h1 {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card-title {
    color: var(--color-text);
    font-size: 1.5em;
    line-height: normal;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5em;
}

.small-desc {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
}

/* ===========================
   Link List
   =========================== */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin-bottom: 10px;
}

ul li a {
    display: block;
    padding: 12px 20px;
    text-align: center;
    background: var(--glass-bg-light);
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-hover);
    box-shadow: var(--shadow-soft);
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    text-decoration: none;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

ul li a:hover {
    color: #fff;
    background: mediumpurple;
    box-shadow: 0 0 15px rgba(147, 112, 219, 0.6);
    border-color: rgba(147, 112, 219, 0.8);
    transform: scale(1.05);
}

.link-container > ul > li > a {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===========================
   Coming Soon Badge
   =========================== */
.badge {
    display: inline-block;
    font-size: 0.65em;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    vertical-align: middle;
    margin-left: 8px;
}

/* ===========================
   Social Icons
   =========================== */
.socials {
    display: flex;
    justify-content: center;
}

.socials ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.socials li {
    background: none;
    margin-bottom: 0;
}

.socials li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 50px;
    background: var(--glass-bg);
    color: var(--color-text);
    border-radius: var(--radius-btn);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-hover);
    box-shadow: var(--shadow-soft);
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
}

.socials li a.youtube:hover {
    background: #FF0000;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    border-color: rgba(255, 0, 0, 0.8);
}

.socials li a.twitch:hover {
    background: #9146FF;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.6);
    border-color: rgba(145, 70, 255, 0.8);
}

.socials li a.github:hover {
    background: #333333;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Touch & Active Interaction States */
ul li a:active,
.socials li a.youtube:active,
.socials li a.twitch:active,
.socials li a.github:active {
    transform: scale(0.95);
}

/* ===========================
   Mobile & Small Screens
   =========================== */
@media (max-width: 480px) {
    .link-container, .card {
        padding: 15px;
        width: 95%;
    }

    ul li a {
        padding: 10px 15px;
        font-size: 16px;
    }

    .socials li a {
        width: 50px;
        height: 45px;
    }
}
