:root {
  --bg-page:       #1C1B22;  
  --bg-card:       #131218;  
  --border-accent: #3C3489; 

  --accent-primary:   #7F77DD;
  --accent-light:     #EEEDFE; 
  --accent-soft:      #AFA9EC; 
  --accent-mid:       #CECBF6;

  --text-heading:  #F4F3FB;  
  --text-muted:    #5F5E5A;  

  --card-radius: 25px;
  --btn-radius: 8px;

  --fill-hover: #534AB7;  
  --text-on-fill: #F4F3FB;
  
*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat' , sans-serif;
}

body{
    background-color: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center; 
    min-width: 100vw;
    min-height: 100vh;
}

.card{
    background-color: var(--bg-card);
    border-radius: var(--card-radius);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.profile{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.name{
    color: var(--text-heading);
    font-weight: 500;
}

.subcard{
    display: flex;
    background-color: var(--bg-card);
    border: 0.5px solid var(--border-accent);
    border-radius: var(--btn-radius);
    width: 95%;
    min-width: 200px;
    margin-top: 10px;
    padding: 2%;
}

.about{
    color: var(--accent-primary);
    font-weight: 500;
    text-align: center;
}

.links{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.btn{
    border: 0.5px solid var(--border-accent);
    border-radius: var(--btn-radius);
    padding: 0.5rem;
    text-decoration: none;
    color: var(--accent-mid);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5px;
}

.btn i {
  font-family: "tabler-icons" !important;
  font-size: 18px;
}

.fcard{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.ig , .sp , .st , .git {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.ig:hover , .sp:hover , .st:hover , .git:hover{
  transform: scale(1.03);
  background-color: var(--fill-hover);
}

@keyframes cardEnter {
   from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.card {
  animation: cardEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width:768px){
    body{
        min-height: 100vh;
    }
    .card{
        width: 75%;
    }
}
