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

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

:root {
    --bg: #0f0f0f;
    --text: #e0e0e0;
    --text-bright: #ffffff;
    --text-dim: #a0a0a0;
    --link-bg: #1a1a1a;
    --link-bg-hover: #252525;
    --link-border: #2a2a2a;
    --accent: #f6c324;
}

[data-theme="light"] {
    --bg: #f0f0f0;
    --text: #1f1f1f;
    --text-bright: #000000;
    --text-dim: #5f5f5f;
    --link-bg: #e5e5e5;
    --link-bg-hover: #dadada;
    --link-border: #d5d5d5;
    --accent: #f6c324;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    transition: background 0.3s ease, color 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

.container {
    width: 100%;
    max-width: 31.25rem;
    text-align: center;
}

.socials {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  
    gap: 0.75rem;
}

.socials img {
    width: 2rem;
    height: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-logo {
    color: var(--text);
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-logo:hover {
    color: var(--accent);
}

.profile {
    margin-bottom: 3.125rem;
}

.profile h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 0.625rem;
    color: var(--text-bright);
}

.bio {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 0.03125rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cube-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.link {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--link-bg);
    color: var(--text);
    text-decoration: none;
    border: 0.0625rem solid var(--link-border);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01875rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.link:hover {
    background: var(--link-bg-hover);
    border-color: var(--accent);
    color: var(--text-bright);
    box-shadow: 0 0 0.625rem rgba(246, 195, 36, 0.2);
}

.link:active {
    transform: scale(0.98);
}

.links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.theme-toggle {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--link-bg);
    border: 0.0625rem solid var(--link-border);
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.01875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text);
    z-index: 10;
}

.theme-toggle:hover {
    background: var(--link-bg-hover);
    border-color: var(--accent);
    color: var(--text-bright);
}

@media (max-width: 37.5rem) {
    .profile h1 {
        font-size: 2rem;
    }
    
    .bio {
        font-size: 0.95rem;
    }
    
    .link {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 28.7rem) {
    .socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  
    gap: 0.75rem;
    }
}

@media (max-width: 18rem) {
    .bio {
        font-size: 0.95rem;
    }

    .socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    gap: 0.75rem;
    }
}