/* Colors:
Latte: #D0BCA0
Cream: #E7DED0
Toffee: #9F825B
Cocoa: #82614A
Biscotti: #DAC09B 
*/

/* Theme Colors */
:root {
    --latte: #D0BCA0;
    --cream: #E7DED0;
    --toffee: #9F825B;
    --cocoa: #82614A;
    --biscotti: #DAC09B;
}

@font-face {
    font-family: acorn;
    src: url(acorn.woff);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipInX {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }
    40% {
        transform: perspective(400px) rotateX(-20deg);
    }
    60% {
        transform: perspective(400px) rotateX(10deg);
    }
    80% {
        transform: perspective(400px) rotateX(-5deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes flipInY {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    40% {
        transform: perspective(400px) rotateY(-20deg);
    }
    60% {
        transform: perspective(400px) rotateY(10deg);
    }
    80% {
        transform: perspective(400px) rotateY(-5deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Special animation types for different elements */
.scroll-animate.fade-up {
    transform: translateY(30px);
}

.scroll-animate.fade-up.animate-in {
    transform: translateY(0);
}

.scroll-animate.fade-left {
    transform: translateX(-30px);
}

.scroll-animate.fade-left.animate-in {
    transform: translateX(0);
}

.scroll-animate.fade-right {
    transform: translateX(30px);
}

.scroll-animate.fade-right.animate-in {
    transform: translateX(0);
}

.scroll-animate.scale-in {
    transform: scale(0.9);
}

.scroll-animate.scale-in.animate-in {
    transform: scale(1);
}

.scroll-animate.bounce-in {
    animation: bounceIn 1s ease-out;
}

.scroll-animate.bounce-in.animate-in {
    opacity: 1;
}

.scroll-animate.slide-up {
    transform: translateY(50px);
}

.scroll-animate.slide-up.animate-in {
    transform: translateY(0);
}

.scroll-animate.slide-down {
    transform: translateY(-50px);
}

.scroll-animate.slide-down.animate-in {
    transform: translateY(0);
}

.scroll-animate.rotate-in {
    animation: rotateIn 1s ease-out;
}

.scroll-animate.rotate-in.animate-in {
    opacity: 1;
}

.scroll-animate.zoom-in {
    transform: scale(0.5);
}

.scroll-animate.zoom-in.animate-in {
    transform: scale(1);
}

.scroll-animate.flip-x {
    animation: flipInX 1s ease-out;
}

.scroll-animate.flip-x.animate-in {
    opacity: 1;
}

.scroll-animate.flip-y {
    animation: flipInY 1s ease-out;
}

.scroll-animate.flip-y.animate-in {
    opacity: 1;
}

body {
    margin: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    background: var(--cream);
    color: var(--cocoa);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: var(--latte);
    box-shadow: 0 2px 8px rgba(130, 97, 74, 0.08);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease-out;
}

header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-family: acorn, serif;
    font-size: 2rem;
    color: var(--toffee);
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.logo.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.nav-links.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.nav-links a {
    text-decoration: none;
    color: var(--cocoa);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--toffee);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--toffee);
    transform: translateY(-2px);
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem 2rem 1rem;
    background: var(--biscotti);
    gap: 4rem;
}

.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--toffee);
    box-shadow: 0 4px 16px rgba(130, 97, 74, 0.10);
    animation: float 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(130, 97, 74, 0.20);
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-family: acorn, serif;
    font-size: 2.6rem;
    margin: 0 0 0.5rem 0;
    color: var(--toffee);
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.hero-text h1.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-text h2 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: var(--cocoa);
    font-weight: 500;
    line-height: 1.3;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.hero-text h2.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-text p {
    font-size: 1rem;
    color: var(--cocoa);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.hero-text p.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.skills-section {
    background: var(--cream);
    padding: 2rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.skills-section h2 {
    font-family: acorn, serif;
    color: var(--toffee);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease-out;
}

.skills-section h2.animate-in {
    opacity: 1;
    transform: scale(1);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    justify-content: center;
    align-items: stretch;
}

.skill-card {
    background: var(--latte);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(130, 97, 74, 0.07);
    padding: 2rem 1.5rem;
    flex: 1 1 280px;
    min-width: 280px;
    max-width: 400px;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.skill-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(130, 97, 74, 0.15);
    background: var(--biscotti);
}

.skill-card h3 {
    font-family: acorn, serif;
    color: var(--cocoa);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.skill-card:hover h3 {
    color: var(--toffee);
}

.skill-card p {
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

.projects-section {
    background: var(--biscotti);
    padding: 2rem 1rem;
}

.projects-section h2 {
    font-family: acorn, serif;
    color: var(--toffee);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
}

.projects-hint {
    text-align: center;
    color: var(--cocoa);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.8;
    font-weight: 500;
    line-height: 1.4;
}

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

.project-card {
    background: var(--cream);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(130, 97, 74, 0.07);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(130, 97, 74, 0.15);
    background: var(--latte);
}

.project-card img {
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.contact-section {
    background: var(--cream);
    padding: 3rem 1rem;
    text-align: center;
}

.contact-section h2 {
    font-family: acorn, serif;
    color: var(--toffee);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.discord-tag {
    font-weight: 600;
    color: var(--toffee);
    font-size: 1.1rem;
    background: var(--latte);
    padding: 0.3em 0.8em;
    border-radius: 6px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.discord-tag:hover {
    background: var(--toffee);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(130, 97, 74, 0.2);
}

footer {
    background: var(--latte);
    text-align: center;
    padding: 1.5rem 0;
    color: var(--cocoa);
    font-size: 0.85rem;
    margin-top: 2rem;
    line-height: 1.5;
}

footer p {
    margin: 0;
    font-weight: 500;
}

.credit {
    margin-top: 1.5rem !important;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: var(--cream);
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(130, 97, 74, 0.15);
    border: 3px solid var(--toffee);
    transition: all 0.3s ease;
    max-width: 98%;
    word-wrap: break-word;
    line-height: 1.6;
    margin: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    position: relative;
}

.credit.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.credit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(130, 97, 74, 0.25);
    border-color: var(--cocoa);
}

.credit-name {
    font-weight: 800;
    color: var(--toffee);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0 0.3rem;
    letter-spacing: -0.05rem;
}

.credit-name a {
    text-decoration: underline;
    transition: all 0.3s ease;
    color: var(--cocoa);
    word-break: break-word;
    font-weight: 800;
}

.credit-name a:hover {
    color: var(--toffee);
    text-decoration: none;
    transform: scale(1.05);
}

.credit-name a:visited {
    color: var(--cocoa);
}

.copyright {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.copyright.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.2s;
    padding: 1rem;
}

.image-modal .modal-content {
    position: relative;
    background: var(--cream);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
}

.image-modal .modal-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(130, 97, 74, 0.10);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--cocoa);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(130, 97, 74, 0.2);
}

.close-modal:hover {
    background: var(--toffee);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .skills-list {
        gap: 1rem;
    }
    
    .skill-card {
        flex: 1 1 250px;
        min-width: 250px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 800px) {
    .skills-list {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .hero {
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .project-card {
        height: 180px;
    }

    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .social-link svg {
        width: 22px;
        height: 22px;
    }
    
    .social-link::before {
        font-size: 0.8rem;
        padding: 0.35rem 0.55rem;
    }
}

@media (max-width: 600px) {
    .hero {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text h2 {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .skills-section h2,
    .projects-section h2,
    .contact-section h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .skill-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .skill-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .projects-hint {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .image-modal {
        padding: 0.5rem;
    }

    .image-modal .modal-content {
        padding: 1rem;
        max-width: 95vw;
        max-height: 95vh;
    }

    .image-modal .modal-img {
        max-width: 100%;
        max-height: 60vh;
    }

    .close-modal {
        top: -8px;
        right: -8px;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .skill-card {
        min-width: 90vw;
        max-width: 95vw;
        font-size: 0.95rem;
        padding: 1.5rem 1rem;
        line-height: 1.6;
    }
    
    .discord-tag {
        font-size: 1rem;
        padding: 0.25em 0.6em;
    }
    
    footer {
        font-size: 0.85rem;
        padding: 1rem 0;
    }
    
    .credit {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        max-width: 98%;
        line-height: 1.6;
        margin: 0.4rem;
    }
    
    .credit-name {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }

    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
    
    .social-link::before {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 1rem 0.8rem;
    }
    
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .skills-section,
    .projects-section,
    .contact-section {
        padding: 1.5rem 0.8rem;
    }
    
    .skills-section h2,
    .projects-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .skill-card {
        padding: 1.2rem 0.8rem;
        min-width: 85vw;
    }
    
    .skill-card h3 {
        font-size: 1.2rem;
    }
    
    .skill-card p {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        gap: 0.8rem;
    }
    
    .project-card {
        height: 160px;
        padding: 0.8rem;
    }
    
    .projects-hint {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .social-link::before {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .credit {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        max-width: 98%;
        line-height: 1.6;
        margin: 0.4rem;
    }
    
    .credit-name {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  position: relative;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--cocoa);
  color: var(--cream);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(130, 97, 74, 0.15);
  position: relative;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(130, 97, 74, 0.25);
}

.social-link.instagram {
  background: var(--cocoa);
  transition: all 0.3s ease;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  transition: all 0.3s ease;
}

.social-link.discord:hover {
  background-color: #5865f2;
}

.social-link svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Tooltip styles */
.social-link::before {
  content: "mrgushii";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cocoa);
  color: var(--cream);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(130, 97, 74, 0.2);
  z-index: 100;
}

.social-link.instagram::before {
  content: "mrgushii_";
}

.social-link.discord::before {
  content: "mrgushii";
}

.social-link::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--cocoa);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 3px;
}

.social-link:hover::before,
.social-link:hover::after {
  opacity: 1;
  visibility: visible;
}

.credit .discord-tag {
    font-size: 1rem;
    padding: 0.4em 0.9em;
    background: var(--cocoa);
    color: var(--cream);
    border-radius: 8px;
    font-weight: 700;
    margin-left: 0.5rem;
    box-shadow: 0 3px 8px rgba(130, 97, 74, 0.25);
    transition: all 0.3s ease;
    display: inline-block;
    word-break: break-word;
}

.credit .discord-tag:hover {
    background: var(--toffee);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(130, 97, 74, 0.35);
}

@media (max-width: 600px) {
    .credit .discord-tag {
        font-size: 0.9rem;
        padding: 0.3em 0.7em;
        margin-left: 0.3rem;
    }
}

@media (max-width: 480px) {
    .credit .discord-tag {
        font-size: 0.85rem;
        padding: 0.25em 0.6em;
        margin-left: 0.2rem;
        margin-top: 0.3rem;
        display: block;
        width: fit-content;
    }
}

/* Responsive adjustments for social links */
@media (max-width: 800px) {
  .social-links {
    gap: 0.8rem;
  }
  
  .social-link {
    width: 48px;
    height: 48px;
  }
  
  .social-link svg {
    width: 22px;
    height: 22px;
  }
  
  .social-link::before {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
  }
}

@media (max-width: 600px) {
  .social-links {
    gap: 0.75rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
  }
  
  .social-link svg {
    width: 20px;
    height: 20px;
  }
  
  .social-link::before {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .social-links {
    gap: 0.5rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .social-link::before {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}