html {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: manipulation;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        #f5f3ea;
    background-size: 32px 32px, 32px 32px, auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    -ms-scroll-chaining: none;
    position: fixed;
    inset: 0;
    width: 100%;
    touch-action: manipulation;
    color: #111226;
}

.card {
    background:
        linear-gradient(135deg, rgba(198, 255, 0, 0.22), transparent 38%),
        rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    padding: 32px 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow:
        0 24px 70px rgba(17, 17, 17, 0.11),
        0 0 0 1px rgba(255, 255, 255, 0.65);
    max-width: 350px;
    width: calc(100% - 48px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.12) 0.6px, transparent 0.6px),
        linear-gradient(120deg, transparent 0 42%, rgba(198, 255, 0, 0.42) 42% 52%, transparent 52% 100%);
    background-size: 8px 8px, 100% 100%;
    opacity: 0.18;
    pointer-events: none;
}

.card > * {
    position: relative;
    z-index: 1;
}

.profile-photo {
    border-radius: 50%;
    width: 108px;
    height: 108px;
    margin-bottom: 15px;
    border: 4px solid #c6ff00;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.14),
        0 10px 28px rgba(17, 17, 17, 0.12);
    pointer-events: none;
    object-fit: cover;
}

h1 {
    font-size: 32px;
    color: #111111;
    margin: 10px 0;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.title {
    color: #666666;
    font-size: 18px;
    margin: 5px 0 20px 0;
}

.card p {
    color: #4f4f4f;
    line-height: 1.5;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 22px 0;
}

.social-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    color: #111111;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin: 0;
    text-decoration: none;
    width: 42px;
    font-size: 20px;
    transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.social-links a:hover {
    background: #c6ff00;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
    color: #111111;
    transform: translateY(-2px);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.contact-btn {
    background: #c6ff00;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
    transform: translateY(-2px);
}

.contact-btn.secondary {
    background: #ffffff;
}

.contact-btn.secondary:hover {
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
}

.modal {
    display: none;
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(17, 17, 17, 0.28);
    
    justify-content: center;
    align-items: center;
}

.modal-content {
    background:
        linear-gradient(135deg, rgba(198, 255, 0, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 80px rgba(17, 17, 17, 0.18);
    color: #111111;
    padding: 22px;
    border-radius: 16px;
    width: min(340px, calc(100% - 48px));
    text-align: center;
}

.modal-content h2 {
    color: #111111;
    font-size: 22px;
    margin: 10px 0 18px;
    letter-spacing: -0.04em;
}

.close {
    color: #666666;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #111111;
    text-decoration: none;
    cursor: pointer;
}

textarea {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: #111111;
    resize: none;
}

input[type="email"],
input[type="text"] {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: #111111;
}

textarea:focus,
input[type="email"]:focus,
input[type="text"]:focus {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.55);
    outline: none;
}

::placeholder {
    color: #777777;
}

.website-field {
    display: none;
}

input[type="submit"] {
    background: #c6ff00;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 999px;
    margin-top: 15px;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

input[type="submit"]:hover {
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
    transform: translateY(-2px);
}
