 :root {
      --bg-url: url(./assets/bg-desktop.jpg);
      --text-color: #ffffff;
      --link-bg: rgba(255, 255, 255, 0.05);
      --link-hover: rgba(255, 255, 255, 0.15);
      --border-color: rgba(255, 255, 255, 0.2);
      --highlight: #5d57f4;
      --bg-color: #000000;
      --accent-color-1: #ff5e7d;
      --accent-color-2: #36d1dc;
      --accent-color-3: #ffb347;
      --accent-color-4: #8a2be2;
      --accent-color-5: #00c9ff;
      --gradient-1: linear-gradient(135deg, var(--highlight), var(--accent-color-1));
      --gradient-2: linear-gradient(135deg, var(--accent-color-2), var(--accent-color-5));
      --gradient-3: linear-gradient(135deg, var(--accent-color-3), var(--accent-color-4));
      --shadow-glow: 0 0 15px rgba(93, 87, 244, 0.5);
      --shadow-glow-intense: 0 0 25px rgba(93, 87, 244, 0.7);
      --header-bg: rgba(0, 0, 0, 0.3);
      --body-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    }

    .light {
      --bg-url: url(./assets/bg-desktop-light.png);
      --text-color: #111111;
      --link-bg: rgba(0, 0, 0, 0.05);
      --link-hover: rgba(0, 0, 0, 0.1);
      --border-color: rgba(0, 0, 0, 0.2);
      --bg-color: #ffffff;
      --shadow-glow: 0 0 15px rgba(93, 87, 244, 0.3);
      --shadow-glow-intense: 0 0 25px rgba(93, 87, 244, 0.5);
      --header-bg: rgba(255, 255, 255, 0.3);
      --body-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    }

    * {
      box-sizing: border-box;
      padding: 0;
      margin: 0;
      font-family: 'Space Grotesk';
    }

    body {
      background: var(--bg-url) no-repeat top center /cover;
      color: var(--text-color);
      transition: background 0.4s, color 0.4s;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px 15px;
      line-height: 1.6;
    }

    #container {
      max-width: 600px;
      width: 100%;
      text-align: center;
      background: rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--shadow-glow);
      transition: all 0.4s ease;
    }

    .light #container {
      background: rgba(255, 255, 255, 0.35);
    }

    /* Header Styles - Responsivo */
    #header {
      background: var(--header-bg);
      backdrop-filter: blur(10px);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--border-color);
      gap: 10px;
    }

    #username {
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      padding: 8px 12px;
      border-radius: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex-shrink: 1;
      min-width: 0;
    }

    #username:hover {
      background: var(--link-bg);
      transform: translateY(-2px);
    }

    #about-btn {
      display: block;
      background: var(--link-bg);
      padding: 8px 16px;
      border-radius: 12px;
      text-decoration: none;
      color: var(--text-color);
      font-weight: 600;
      border: 1px solid var(--border-color);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      z-index: 1;
      font-size: 14px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    #about-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--accent-color-2), var(--accent-color-1));
      transition: left 0.4s ease;
      z-index: -1;
      opacity: 0.2;
    }

    #about-btn:hover {
      background: var(--link-hover);
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), var(--shadow-glow);
    }

    #about-btn:hover::before {
      left: 0;
    }

    #theme-toggle {
      width: 70px;
      height: 34px;
      background: var(--link-bg);
      border-radius: 999px;
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      padding: 3px;
      cursor: pointer;
      position: relative;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      flex-shrink: 0;
    }

    #theme-toggle::before {
      content: "";
      position: absolute;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--gradient-1);
      transition: transform 0.3s, box-shadow 0.3s;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .light #theme-toggle::before {
      transform: translateX(34px);
    }

    /* Content Styles - Responsivo */
    #content {
      padding: 25px 20px;
    }

    #profile img {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      border: 2px solid transparent;
      background: var(--gradient-1) padding-box, var(--gradient-1) border-box;
      transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    #profile img:hover {
      transform: scale(1.05);
    }

    #welcome {
      margin-top: 16px;
      font-size: 18px;
      font-weight: 900;
      color: var(--text-color);
      min-height: 20px;
      letter-spacing: 0.3px;
      background: var(--gradient-1);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.8; }
      50% { opacity: 1; }
    }

    ul {
      list-style: none;
      padding-bottom: 15px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 20px;
    }

    ul li a {
      display: block;
      background: var(--link-bg);
      padding: 14px;
      border-radius: 12px;
      text-decoration: none;
      color: var(--text-color);
      font-weight: 600;
      border: 1px solid var(--border-color);
      transition: all 0.4s ease;
      opacity: 0;
      transform: translateY(10px);
      position: relative;
      overflow: hidden;
      z-index: 1;
      font-size: 14px;
    }

    ul li a::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: var(--gradient-1);
      transition: left 0.4s ease;
      z-index: -1;
      opacity: 0.2;
    }

    ul li a:hover {
      background: var(--link-hover);
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), var(--shadow-glow);
    }

    ul li a:hover::before {
      left: 0;
    }

    /* Different colors for each link */
    ul li:nth-child(1) a:hover::before { background: var(--gradient-1); }
    ul li:nth-child(2) a:hover::before { background: var(--gradient-2); }
    ul li:nth-child(3) a:hover::before { background: var(--gradient-3); }
    ul li:nth-child(4) a:hover::before { background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-3)); }
    ul li:nth-child(5) a:hover::before { background: linear-gradient(135deg, var(--accent-color-4), var(--accent-color-5)); }
    ul li:nth-child(6) a:hover::before { background: linear-gradient(135deg, var(--highlight), var(--accent-color-4)); }

    #social {
      display: flex;
      justify-content: center;
      gap: 15px;
      padding: 20px 0;
      font-size: 22px;
      flex-wrap: wrap;
    }

    #social a {
      color: var(--text-color);
      transition: all 0.4s ease;
      padding: 10px;
      border-radius: 50%;
      background: var(--link-bg);
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      position: relative;
      overflow: hidden;
    }

    #social a::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient-1);
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: -1;
    }

    #social a:hover {
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), var(--shadow-glow);
      color: white;
    }

    #social a:hover::before {
      opacity: 1;
    }

    footer {
      padding-top: 15px;
      font-size: 14px;
      opacity: 0.8;
    }

    footer a {
      color: var(--text-color);
      font-weight: 600;
      transition: all 0.3s ease;
      display: inline-block;
      position: relative;
    }

    footer a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--gradient-1);
      transition: width 0.3s ease;
    }

    footer a:hover {
      color: var(--highlight);
      transform: translateY(-2px);
    }

    footer a:hover::after {
      width: 100%;
    }

    /* Modal - Responsivo */
    .modal {
      display: none;
      position: fixed;
      z-index: 99;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(5px);
      padding: 20px;
    }

    .modal-image {
      width: 100%;
      max-width: 100%;
      margin-top: 15px;
      display: block;
      border-radius: 8px;
    }

    .modal-content {
      background: var(--bg-color);
      padding: 20px;
      border-radius: 16px;
      border: 1px solid var(--border-color);
      max-width: 500px;
      width: 100%;
      text-align: left;
      color: var(--text-color);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), var(--shadow-glow);
      position: relative;
      overflow: hidden;
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-content::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: var(--gradient-1);
    }

    .modal-content h2 {
      margin-bottom: 15px;
      font-size: 22px;
      background: var(--gradient-1);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .modal-close {
      margin-top: 20px;
      text-align: center;
      cursor: pointer;
      font-weight: bold;
      display: inline-block;
      padding: 10px 20px;
      border-radius: 8px;
      transition: all 0.3s ease;
      border: 1px solid var(--border-color);
      width: 100%;
    }

    .modal-close:hover {
      background: var(--link-bg);
      transform: translateY(-2px);
    }

    #notification, #notificationWttp {
      position: fixed;
      top: 20px;
      right: 20px;
      background: var(--gradient-1);
      color: white;
      padding: 12px 20px;
      border-radius: 12px;
      display: none;
      z-index: 100;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      font-weight: 600;
      animation: slideIn 0.3s ease;
      font-size: 14px;
    }

    @keyframes slideIn {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

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

    /* Media Queries para Responsividade */
    @media (max-width: 480px) {
      body {
        padding: 15px 10px;
      }
      
      #header {
        padding: 12px 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
      }
      
      #username {
        font-size: 18px;
        padding: 6px 10px;
        order: 1;
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 5px;
      }
      
      #about-btn {
        order: 2;
        font-size: 13px;
        padding: 6px 12px;
      }
      
      #theme-toggle {
        order: 3;
        width: 65px;
        height: 30px;
      }
      
      #theme-toggle::before {
        width: 24px;
        height: 24px;
      }
      
      .light #theme-toggle::before {
        transform: translateX(33px);
      }
      
      #content {
        padding: 20px 15px;
      }
      
      #profile img {
        width: 150px;
        height: 150px;
      }
      
      #welcome {
        font-size: 16px;
      }
      
      ul li a {
        padding: 12px;
        font-size: 13px;
      }
      
      #social {
        gap: 12px;
        font-size: 20px;
      }
      
      #social a {
        width: 40px;
        height: 40px;
      }
      
      footer {
        font-size: 13px;
      }
      
      .modal-content {
        padding: 15px;
      }
      
      .modal-content h2 {
        font-size: 20px;
      }
    }

    @media (min-width: 481px) and (max-width: 768px) {
      #container {
        max-width: 90%;
      }
      
      #profile img {
        width: 200px;
        height: 200px;
      }
    }

    @media (max-width: 350px) {
      #header {
        flex-direction: column;
        gap: 10px;
      }
      
      #username {
        order: 1;
        flex-basis: auto;
      }
      
      #about-btn {
        order: 2;
      }
      
      #theme-toggle {
        order: 3;
      }
    }