:root {
    --primary: rgb(55, 189, 98);
    --secondary: rgb(129, 45, 45);
    --accent: rgb(31, 22, 43);
    --icon-color: rgb(110, 33, 162);
    --embed-color: rgb(29, 227, 255);
    --background_green: rgb(51, 255, 160); /* p non - negro green */
    --background_red:  rgba(233, 55, 55, 0.623); /* p non - negro red */
    --page-background: rgb(63, 13, 13);     /* OUTSIDE */
    --card-background: rgb(51, 255, 160);   /* INSIDE */
    --opacity: 0.0;
    --blur: 10px;
    --border-width: 2px;
    --border-radius: 0.4rem;
    --brightness: 100%;
}

/* -------------------------------- */
/* CARD + PAGE LAYOUT               */
/* -------------------------------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--page-background);
    filter: brightness(var(--brightness));
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    width: 450px;
    text-align: center;
    padding-bottom: 25px;
    border: var(--border-width) solid var(--accent);
    backdrop-filter: blur(var(--blur));
}

.banner {
    width: 100%;
    height: 180px;
    background: url('/assets/banner.png') center/cover no-repeat;
    border-bottom: var(--border-width) solid var(--accent);
}

h1 {
    font-size: 28px;
    color: var(--primary);
}

p {
    color: var(--secondary);
}

/* -------------------------------- */
/* ICONS                            */
/* -------------------------------- */

.icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border-radius: calc(var(--border-radius) * 2);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--accent);
    transition: 0.2s;
}

.icon-btn:hover {
    background: var(--primary);
    transform: scale(1.07);
}

.icon {
    width: 28px;
    height: 28px;
    fill: var(--icon-color) !important;
    transition: 0.2s;
}

.icon-btn:hover .icon {
    fill: var(--embed-color);
}

/* -------------------------------- */
/* LABEL SYSTEM (UNDER CARD)        */
/* -------------------------------- */

.icon-labels {
    width: 100%;
    position: relative;
    margin-top: 12px;   /* tight spacing under card border */
    height: 160px;      /* enough space for GitHub long line */
}

/* Each label group */
.label-group {
    position: absolute;
    text-align: center;
    font-size: 15px;
    color: black;
    transform: translateX(-50%);
}

/* Vertical line */
.line.vertical {
    width: 2px;
    height: 55px;
    background: black;
    margin: 0 auto;
}

/* GitHub line is longest */
.line.vertical.long {
    height: 105px;
}

/* Horizontal lines (L-shape) */
.line.horizontal {
    height: 2px;
    width: 60px;
    background: black;
    position: absolute;
    top: 55px;
}

.line.horizontal.left {
    left: -60px;
}

.line.horizontal.right {
    right: -60px;
}

/* Position label groups under each icon */
.left-discord  { left: 18%; }
.tutorials     { left: 37%; }
.github        { left: 50%; }
.articles      { left: 63%; }
.right-discord { left: 82%; }

/* Text shifting for discord edges */
.left-text {
    position: absolute;
    top: 60px;
    left: -60px;
}

.right-text {
    position: absolute;
    top: 60px;
    right: -60px;
}
