html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

@font-face {
    font-family: 'kluk';
    src: url('fonts/kluk.otf') format('opentype');
}

@font-face {
    font-family: 'ultrabold';
    src: url('fonts/neuemachina-ultrabold.ttf') format('truetype');
}

@font-face {
    font-family: 'regular';
    src: url('fonts/PPNeueMachina-Regular.otf') format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

body {
    background-color: #0a0a0a;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #fff;
    font-family: regular;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    perspective: 1000px;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 20px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    font-family: 'regular', sans-serif;
    font-size: 16px;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #1f1f1f;
    color: #fff;
}

.tab-button.active {
    background-color: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

.tab-content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tab-pane {
    display: none;
    width: 100%;
}

.tab-pane.active {
    display: block;
}

.card {
    transform-origin: center;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
    margin: 0 auto;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transform: translateZ(50px);
}

.name {
    margin: 10px 0 5px 0;
    transform: translateZ(30px);
}

.desc {
    margin: 0 0 20px 0;
    color: #aaa;
    transform: translateZ(20px);
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    transform: translateZ(20px);
}

.buttons .button {
    background-color: #0a0a0a;
    border: 2px dotted rgba(255, 255, 255, 0.7);
    color: #fff;
    padding: 10px 20px;
    font-family: 'regular', sans-serif;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buttons .button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.buttons .button:hover {
    background-color: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

@media (max-width: 600px) {
    body {
        display: block;
        overflow: hidden;
    }

    .main-container {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .card {
        width: 100%;
        max-width: 380px;
        transform: none !important;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    .tabs {
        margin-bottom: 12px;
        width: 100%;
        justify-content: center;
    }

    .tab-button {
        font-size: 15px;
        padding: 8px 16px;
    }
}
