/* Base styles */
:root {
    --primary: #373446;
    --secondary: #2e2b3b;
    --accent: #b321ad;
    --accent-alt: #e50bf1;
    --text-normal: #eeeff2;
    --text-header: #fafaff;
    --text-muted: #dadad8;
    --border-color: rgba(160, 176, 180, 0.13);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-normal);
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-header);
    font-weight: 700;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; margin-top: 0.75rem; }
h3 { font-size: 1.25rem; margin-top: 0.5rem; }
h4 { font-size: 1.15rem; margin-top: 0.25rem; }

a {
    color: white;
    transition: opacity 0.15s ease;
    text-decoration: none;
}

a:hover {
    opacity: 0.75;
}

/* Layout */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary);
    background-opacity: 0.8;
    backdrop-filter: blur(8px);
    border-bottom: 0.2px solid var(--border-color);
    z-index: 9999;
}

.main-content {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-top: 4.5rem;
}

@media (min-width: 640px) {
    .main-content {
        width: 75%;
    }
}

/* Components */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 639px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
}

.profile-image {
    border-radius: 50%;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 50%;
}

.discord-icon {
    background-color: #7289da;
}

.email-icon {
    background-color: #bd3449;
}

.contact-detail {
    background-color: var(--secondary);
    background-opacity: 0.95;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

/* Utilities */
.rounded-full { border-radius: 9999px; }
.w-fit { width: fit-content; }
.text-center { text-align: center; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-alt);
}

/* Selection */
::selection {
    background: rgba(134, 184, 196, 0.3);
}

.centered-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto;
    text-align: center;
}

.centered-contacts .contact-item {
    justify-content: center;
}

.telegram-icon {
    background-color: #29b6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
}

.email-icon {
    background-color: #bd3449;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.telegram-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.email-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
