:root {
    --primary-color: #cd412b;
    --text-color: #E4DAD1;
    --footer-bg: #0c0b0b;
    --background-dark: #0c0b0b;
    --twitch-color: #9146FF;
    --discord-color: #5865F2;
    --youtube-color: #FF0000;
    --twitter-color: #1DA1F2;
    --tiktok-color: #000000;
    --instagram-color: #E4405F;
}

body {
    font-family: 'Bai Jamjuree', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--background-dark);
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-image: url('../images/gesturepack_hero_01.jpg');
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.15;
    pointer-events: none;

}

.header,
.main-content,
footer {
    position: relative;
}

header {
    background-color: var(--footer-bg);
}

header::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
}

header a.navbar-brand:hover {
    transform: scale(1.1);
}

header .rust-data-text {
    font-size: 1.8rem;
    color: var(--text-color);
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    height: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    background-color: var(--footer-bg);
    padding: 0.5rem 0;
    z-index:1000;
}

.navbar .dropdown-menu {
    margin-top: 14px;
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.5rem;
}

footer {
    background-color: var(--footer-bg);
    margin-top: auto;
    position: relative;
    padding: 1.5rem 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}


.footer-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-icons a:hover {
    transform: scale(1.1);
}

.footer-icons svg {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
    transition: fill 0.3s ease;
}

.btn,
.card,
.form-control,
.input-group-text,
.navbar,
.dropdown-menu,
.modal-content,
.alert {
    border-radius: 0 !important;
}

.main-content {
    margin-top: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    word-wrap: break-word;
}
