html {
    --body-color: #212121;
    --main-color: #17161b;
    --dz-color: #E70008;
    --epic-color: #2a2a2a;
    --steam-color: #000;
    --twitch-color: #6441A5;
}

::-webkit-scrollbar {
    width: .35rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--dz-color)
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

main {
    background-color: var(--main-color);
    flex: 1;
}

footer {
    flex-shrink: 0;
}

body {
    background-color: var(--body-color);
    color: #f2f3f5;
    font-family: Roboto, Oxanium, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 1px;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--main-color);
}

h1 {
    text-transform: uppercase;
}

.h-center {
    border-bottom: 4px solid var(--dz-color);
    max-width: fit-content;
    text-align: center;
    text-transform: uppercase;
}

.opacity-dim{
    opacity: .30;
}
.cursor-default {
    cursor:default;
}

.signin .row .col div{
    height: 89px;
    width: 89px;
}

.signin .row .col svg {
    margin: 23px;
    fill: #FFF;
    transition: all 0.15s ease-in-out;
}

.divider {
    border-top: 3px solid #ff4f5e;
    height: 1px;
    margin: auto;
    width: 70px;
    margin-bottom: 4rem;
}

.signin .epic {
    background-color: var(--epic-color);
}

.signin .steam {
    background-color: var(--steam-color);
}

.signin .twitch {
    background-color: var(--twitch-color);
}

a:hover svg, a:hover i {
    transform: scale(1.3); 
}

.platform-card {
    width: 320px;
    margin: 1.5rem 1.5rem;
}

.card {
    background: none;
}

.card-header {
    height: 75px;
}

.card-header svg {
    height: 60px;
    fill: #FFF;
    transition: all 0.15s ease-in-out
}

.card-header i {
    height: 60px;
    fill: #FFF;
    transition: all 0.15s ease-in-out
}

.actions a {
    border: 0;
}

.actions a:hover {
    box-shadow: inset 1px 1px 5px 0px rgb(0 0 0 / 50%);
}

.card.epic {
    border: 4px solid var(--epic-color);
}

.card-header.epic {
    background-color: var(--epic-color);
}

.actions.epic a {
    background-color: var(--epic-color);
}

.card.steam {
    border: 4px solid var(--epic-color);
}

.card-header.steam {
    background-color: var(--epic-color);
}

.actions.steam a {
    background-color: var(--epic-color);
}

.card.twitch {
    border: 4px solid var(--twitch-color);
}

.card-header.twitch {
    background-color: var(--twitch-color);
}

.actions.twitch a {
    background-color: var(--twitch-color);
}

.twitch-modal a {
    background-color: var(--twitch-color);
    border: none;
}

.twitch-modal a:hover {
    background-color: var(--twitch-color);
    box-shadow: inset 1px 1px 5px 0px rgb(0 0 0 / 50%);
}

.eula textarea {
    background-color: var(--body-color);
}


.modal-content {
    background: linear-gradient(145deg, #1f1f1f, #252525);
    color: #f8f9fa;
    border-radius: 14px;
    border: 1px solid #333;
}

.modal-header {
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #2b2b2b;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    padding: 1rem 1.5rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f1464d;
    text-align: center;
    width: 100%;
    margin: 0;
}

.modal-body {
    padding: 1.5rem;
    text-align: left;
}

.error-message {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.error-label {
    font-size: 1rem;
    color: #eee;
    margin-bottom: 0.5rem;
    display: block;
}

.error-description {
    font-size: 0.95rem;
    color: #aaa;
}

.error-icon {
    font-size: 1.8rem;
    color: #f1464d;
}

.btn-close {
    filter: invert(1);
}


.signin-header {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(231, 0, 8, 0.4);
    letter-spacing: 1.5px;
    margin-bottom: 4.5rem;
    border-bottom: 4px solid var(--dz-color);
    max-width: fit-content;
}

.signin-subheader {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ccc;
    margin-bottom: 2rem;
}

.signin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signin .platform-button {
    height: 89px;
    width: 89px;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.signin .platform-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.signin .row {
    gap: 2rem;
    justify-content: center;
}

.steam-icon, .epic-icon, #twitch-icon {
    width: 48px;
    height: 48px;
    fill: white;
    transition: transform 0.2s ease-in-out;
}

.steam-icon:hover, .epic-icon:hover, #twitch-icon:hover {
    transform: scale(1.1);
}

.accounts-header {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(231, 0, 8, 0.4);
    letter-spacing: 1.5px;
    margin-bottom: 4.5rem;
    text-transform: uppercase;
    border-bottom: 4px solid var(--dz-color);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
