:root {
    --theme-primary: #ff5454;
    --theme-primary-rgb: 255 84 84;
    --theme-primary-light: #ff7676;
    --theme-primary-light-rgb: 255 118 118;
    --theme-primary-hover: #780000;
    --theme-primary-hover-rgb: 120 0 0;
    --theme-primary-soft: #fee2e2;
    --theme-primary-soft-rgb: 254 226 226;
    --theme-surface-dark: #2a1010;
    --theme-surface-dark-rgb: 42 16 16;
    --theme-pattern-dark-background: #101010;
    --theme-pattern-dark-background-rgb: 16 16 16;
    --theme-footer-background: #0a0a0a;
    --theme-footer-text: #a8a29e;
    --theme-header-background-rgb: 255 255 255;
    --theme-accent: #d4af37;
    --theme-accent-rgb: 212 175 55;
    --theme-accent-muted: #c9a03d;
    --theme-accent-muted-rgb: 201 160 61;
}

.brand-glow-hover:hover {
    box-shadow: 0 0 40px rgb(var(--theme-primary-rgb) / 0.2);
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > .dropdown-menu {
    display: none;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

#page-header {
    background-color: rgb(var(--theme-header-background-rgb) / 0.8);
}

#topButton {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 20px;
    z-index: 99;
    background-color: var(--theme-primary);
    border: 2px solid var(--theme-primary);
    color: #ffffff;
    outline: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 200px;
    font-size: 30px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#topButton:hover {
    background-color: var(--theme-primary-hover);
    border-color: var(--theme-primary-hover);
    color: #ffffff;
}

.header-apply-button {
    background-color: var(--theme-primary);
    box-shadow: 0 10px 20px -5px rgb(var(--theme-primary-rgb) / 0.3);
}

.header-apply-button:hover {
    background-color: var(--theme-primary-hover);
    box-shadow: 0 15px 25px -5px rgb(var(--theme-primary-rgb) / 0.4);
}

#page-footer {
    font-family: 'Raleway', sans-serif;
    background-color: var(--theme-footer-background);
    color: var(--theme-footer-text);
}

@media (max-width: 768px) {
    #page-footer .grid {
        grid-template-columns: 1fr !important;
    }

    #page-footer .flex-col.md\:flex-row {
        flex-direction: column;
        align-items: flex-start !important;
    }
}
