:root {
    --background-color: #59707c;
    --primary-color: #f5f8fc;
    --accent-color: #0e1310;
}

html {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
}

body {
    margin: 0;
    height: 100vh; /* Fallback for older browsers */
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    background-color: var(--background-color);
    background-image: url(./background.jpg);
    background-size: cover;
    background-position-x: left;
    background-position-y: center;
    flex-direction: column;
    font-family: sans-serif;
}

.home-page {
    font-family: 'Chivo Mono', monospace;
}

.name {
    font-size: 1em;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 20px;
}

.name-vertical, .by-line-vertical {
    display: none;
}

.by-line {
    font-size: 1em;
    line-height: 1;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.social {
    font-size: 3vw;
    font-weight: 600;
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.content {
    font-size: 3vw;
    font-weight: 600;
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

a {
    color: var(--primary-color);
    transition: color 0.2s ease-out;
}
a:hover {
    color: var(--accent-color);
}

.skull {
    max-width: 20vw;
}
.skull img {
    max-width: 100%;
}
.glow {
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70vw;
    height: 70vw;
    transform: translate(-50%, -50%);
}

@media (orientation: portrait) {
    .social {
        font-size: 5vw;
    }
    .content {
        font-size: 5vw;
        bottom: 20px;
    }
    .name-vertical, .by-line-vertical {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        font-size: 5vw;
        position: absolute;
    }
    .name-vertical {
        top: 20px;
        left: 20px;
    }
    .by-line-vertical {
        bottom: 20px;
        left: 16px;
    }
    .by-line-vertical a {
        text-decoration: none;
        border-left: 2px solid var(--primary-color);
        padding-left: 2px;
    }
    .by-line-vertical a:hover {
        border-left: 2px solid var(--accent-color);
    }
    .name, .by-line {
        display: none;
    }
    .skull {
        max-width: 30vw;
    }
    .glow {
        width: 70vh;
        height: 70vh;
    }
}

@media (orientation: portrait) and (max-aspect-ratio: 10 / 16) {
    body {
        background-position-x: 15%;
    }
}

@media (orientation: portrait) and (max-aspect-ratio: 8 / 16) {
    body {
        background-position-x: 19%;
    }
}

.nav-bar {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.mini-skull {
    max-width: 2em;
}

/* Terms and Conditions css */
.main-content {
    color: var(--accent-color);
    overflow: auto;
    margin: 30px;
    padding: 30px;
    background-color: var(--primary-color);
    border-radius: 10px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100vw - 120px);
}

.main-content a {
    color: var(--background-color);
    transition: color 0.2s ease-out;
}
.main-content a:hover {
    color: var(--accent-color);
}

/* Support Form Styles */
.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    width: 100%;
    align-self: center;
}

.support-text {
    align-self: center;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.form-group label {
    font-family: 'Chivo Mono', monospace;
}

.form-group input,
.form-group select,
.form-group textarea {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    background: rgba(185, 131, 131, 0.1);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 1px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: #1a1a1a;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--background-color);
    border: none;
    border-radius: 6px;
    font-family: 'Chivo Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.submit-button:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
    box-shadow: 0 4px 12px var(--background-color);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Chivo Mono', monospace;
}