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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "M PLUS 1", sans-serif;
    font-style: normal;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #98efed;
    min-height: 100vh;
}

.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.3s ease;
}

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

.hamburger-btn {
    background: linear-gradient(135deg, #9c67d1 0%, #98efed 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hamburger-btn span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3.2px, -3.2px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 103, 209, 0.9) 0%, rgba(152, 239, 237, 0.9) 100%);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.overlay-close:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

.overlay nav a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    margin: 20px 0;
    padding: 10px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: translateY(50px);
    opacity: 0;
    font-family: "BBH Bartle", sans-serif;
    font-style: normal;
}

.overlay.active nav a {
    transform: translateY(0);
    opacity: 1;
}

.overlay nav a:nth-child(1) { transition-delay: 0.1s; }
.overlay nav a:nth-child(2) { transition-delay: 0.2s; }
.overlay nav a:nth-child(3) { transition-delay: 0.3s; }
.overlay nav a:nth-child(4) { transition-delay: 0.4s; }
.overlay nav a:nth-child(5) { transition-delay: 0.5s; }

.overlay nav a:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.about-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 60px;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    animation: fadeIn 0.8s ease;
}

.content-wrapper h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    font-family: "BBH Bartle", sans-serif;
    font-style: normal;
}

.profile-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    position: relative;
}

.profile-layout::before,
.profile-layout::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #667eea;
}

.profile-layout::before {
    left: calc((100% + 30px) / 3 - 15px);
}

.profile-layout::after {
    right: calc((100% + 30px) / 3 - 15px);
}

.profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.profile-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    background-image: url(icon/saramawaru.gif);
    background-size: cover;
}

.profile-introduction {
    background: rgba(168, 237, 234, 0.2);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.profile-introduction h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    font-family: "M PLUS 1", sans-serif;
}

.profile-introduction p {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 0.95rem;
    font-family: "M PLUS 1", sans-serif;
}

.profile-center,
.profile-right {
    display: flex;
    flex-direction: column;
}

.social-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-left {
    margin-top: 20px;
}

.social-right {
    margin-top: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link-new {
    width: 80px;
    height: 80px;
    background: rgba(116, 219, 214, 0.9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    flex-shrink: 0;
}

.social-link-new:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
}

.social-link-new img {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.social-item-text {
    flex: 1;
}

.social-item-text h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 3px;
    font-family: "M PLUS 1", sans-serif;
    font-weight: bold;
}

.social-item-text p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
    font-family: "M PLUS 1", sans-serif;
}

.portal-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: linear-gradient(135deg, #9c67d1 0%, #98efed 100%);
    color: white;
    text-decoration: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: "BBH Bartle", sans-serif;
    font-style: normal;
}

.portal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.portal-btn:hover::before {
    left: 100%;
}

.portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 200px 1fr 1fr;
        gap: 20px;
    }
    
    .profile-icon-large {
        width: 160px;
        height: 160px;
    }
    
    .social-link-new {
        width: 70px;
        height: 70px;
    }
    
    .social-link-new img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 80px 20px 40px;
    }
    
    .content-wrapper h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .profile-section {
        padding: 25px;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-left {
        align-items: center;
    }
    
    .profile-center {
        border-left: none;
        border-right: none;
        border-top: 3px solid #667eea;
        border-bottom: 3px solid #667eea;
        padding: 30px 0;
    }
    
    .social-left,
    .social-right {
        margin-top: 0;
    }
    
    .overlay nav a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-layout::before,
    .profile-layout::after {
        display: none;
    }
    
    .profile-icon-large {
        width: 120px;
        height: 120px;
        font-size: 0.8rem;
    }
    
    .social-link-new {
        width: 60px;
        height: 60px;
    }
    
    .social-link-new img {
        width: 35px;
        height: 35px;
    }
    
    .profile-introduction {
        padding: 15px;
    }
    
    .social-item {
        gap: 10px;
    }
    
    .social-item-text h4 {
        font-size: 0.9rem;
    }
    
    .social-item-text p {
        font-size: 0.75rem;
    }
}