* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scrollbar-width: thin;
	scrollbar-color: #EDD5B7 transparent;	
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-thumb {
  background-color: #EDD5B7;
  border-radius: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    xbackground: url('./assets/niklas-jonasson-engine.jpg') no-repeat center center fixed;
    background: url('./assets/chris-leipelt-unsplash.jpg') no-repeat center center fixed;
    xbackground-size: 100% 100%;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0;
    padding: 0;
}

a {
  text-decoration: none;
}
			
.container {
    max-width: 600px;
    width: 90%;
    padding: 20px 20px 100px 20px;
	position: absolute;
	top: 5px;
}

.footer {
	margin-top: 15px;
	text-align: center;
	padding: 10px;
	background-color: #BDC4CE;
	border-radius: 4px;
	opacity: .8;
}

.footer p {
	padding: 5px;
	color: #000;
	font-size: 0.9rem;
}

.profile-section {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    border: 4px solid #EDD5B7;
    margin-bottom: 20px;
    object-fit: cover;
	padding: 5px;
	background-color: #000;
}

.username {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #3C3C3C;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.social-icon {
    color: #434343;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    xborder-radius: 50%;
    Xbackground: rgba(255, 255, 255, 0.1);
    background: #FEFEFE;
    transition: all 0.3s ease;
    text-decoration: none;
	border: 2px solid #EDD5B7;
	border-radius: 27%; /* smoother than regular rounded rectangle */	
	padding: 5px;
}

.social-icon img {
    width: 22px;
    height: 22px;
    xfilter: invert(1);
    xopacity: 0.9;
    transition: all 0.3s ease;
	color: #434343;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.noselect {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
}

/* Accordion Styles */
.accordion-item {
    background: #000000;
    xborder: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 4px solid #EDD5B7;
	border-right: 4px solid #EDD5B7;
    border-radius: 12px;
    Xbackdrop-filter: blur(10px);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
	padding: 10px;
	opacity: .9 !important;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	border-radius: 8px;
	text-align: center;
	
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    Xbackground: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.accordion-header:hover::before {
    left: 100%;
}

.accordion-header:hover {
    Xbackground: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.accordion-item.active .accordion-header {
    Xbackground: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 0;
}

.accordion-chevron {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .1s ease;
    Xbackground: #2B2B2B;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 10px 20px;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.accordion-link {
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #FFF;
    border-radius: 6px;
    transition: all 0.3s ease;
    Xbackground: rgba(74, 158, 255, 0.1);
}

.accordion-link:hover {
    background: #4A9EFF;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.link-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.link-text {
    font-size: 20px;
    font-weight: 500;
    flex: 1;
    color: white;
}

/* Responsive design */
@media (max-width: 480px) {
	body {
		background: url('./assets/niklas-jonasson-engine-phone.jpg?ssmss') no-repeat center center fixed;
		background-size: cover; 	
	}	
    .container {
        width: 95%;
        padding: 10px 5px 100px 5px;
    }
    
    .profile-pic {
        width: 125px;
        height: 125px;
    }
    
    .username {
        font-size: 20px;
    }
    
    .social-icons {
        gap: 15px;
		margin-bottom: 1px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .social-icon img {
        width: 22px;
        height: 22px;
    }
    
    .accordion-header {
        padding: 14px 16px;
    }
    
    .link-text {
        font-size: 16px;
    }
}

/* Animation for entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    animation: fadeInUp 0.6s ease-out;
}

.accordion-item:nth-child(1) { animation-delay: 0.2s; }
.accordion-item:nth-child(2) { animation-delay: 0.3s; }
.accordion-item:nth-child(3) { animation-delay: 0.4s; }
.accordion-item:nth-child(4) { animation-delay: 0.5s; }
.accordion-item:nth-child(5) { animation-delay: 0.6s; }
.accordion-item:nth-child(6) { animation-delay: 0.7s; }
.accordion-item:nth-child(7) { animation-delay: 0.8s; }

.accordion-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.accordian-share-icons {
    gap: 8px;
}

.accordian-share-icons .social-icon {
    width: 32px;
    height: 32px;
}

.accordian-share-icons .social-icon img {
    width: 18px;
    height: 18px;
}

.pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
	transform: scale(1);
  }
  50% {
	transform: scale(1.05);
  }
  100% {
	transform: scale(1);
  }
} 