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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" fill-opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.profile-image {
    position: relative;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-info {
    flex: 1;
}

.name {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 0.3rem;
}

.joined {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.stats-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.95rem;
}

.location-icon {
    font-size: 1.1rem;
}

.text-overlay {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.05;
    font-weight: 900;
    line-height: 0.8;
    text-align: right;
    pointer-events: none;
    user-select: none;
}

.large-text {
    font-size: clamp(8rem, 15vw, 20rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.navigation {
    display: flex;
    gap: 2rem;
    margin-top: auto;
    padding-top: 2rem;
}

.nav-link {
    color: #888;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
}

.nav-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: 10;
    padding: 3rem 2rem;
    overflow-y: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
}

.section.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.project-card p {
    text-align: left;
    margin: 0;
    color: #aaa;
    line-height: 1.5;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover .project-image {
    transform: scale(1.03);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    color: #888;
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
}

.social-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.section::before {
    content: '×';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    z-index: 11;
}

.section::before:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-screen.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.intro-content {
    text-align: center;
    position: relative;
}

.intro-text {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
    user-select: none;
}

.intro-subtitle {
    font-size: 1.2rem;
    color: #888;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
    user-select: none;
}

.intro-cursor {
    display: inline-block;
    color: #fff;
    font-size: 2rem;
    margin-left: 0.5rem;
    animation: blink 1s infinite;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.4), 0 0 50px rgba(255, 255, 255, 0.4);
    }
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

.intro-screen:hover .intro-text {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.intro-screen:hover .intro-subtitle {
    color: #fff;
    transition: color 0.3s ease;
}

.container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.container.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-showcase {
    margin: 2rem 0;
}

.work-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.work-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.work-item h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.work-item p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.work-item strong {
    color: #fff;
}

.testimonial {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #4e54c8;
    border-radius: 0 10px 10px 0;
}

.testimonial p {
    font-style: italic;
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
}

.client {
    text-align: right;
    margin-top: 1rem;
    color: #888;
    font-size: 0.9rem;
}

/* Socials Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal.active {
  opacity: 1;
  transform: scale(1);
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
}

.modal-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-content p {
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links-modal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link-modal {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.03);
}

.social-link-modal:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
        text-align: center;
        align-items: center;
    }
    .profile-section {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    .name {
        font-size: 2rem;
    }
    .stats-section {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .text-overlay {
        display: none;
    }
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    .section {
        padding: 2rem 1.5rem;
    }
    .section h2 {
        font-size: 2rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

.section p {
    margin-bottom: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section,
.stats-section,
.navigation {
    animation: fadeInUp 0.8s ease forwards;
}

.stats-section {
    animation-delay: 0.2s;
}

.navigation {
    animation-delay: 0.4s;
}