/* RESET E ESTILOS GLOBAIS */
:root {
  --bg: #f7f7f8;
  --card: #ffffff;
  --muted: #7b7b85;
  --radius: 14px;
  --gap: 18px;
  --shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  --diana-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  margin: 0;
  color: #111;
  overflow-x: hidden;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* ===========================================
   ESTILOS PARA MOBILE E TABLETS (TELAS PEQUENAS)
   =========================================== */

@media (max-width: 1023px) {
  body {
    background: var(--bg);
  }
  
  /* Fundo com imagem completa para mobile */
  .mobile-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg-mobile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(3px);
    opacity: 0.8;
    z-index: -1;
  }
  
  /* Header simplificado para mobile */
  .hero {
    height: 100px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero .thumb {
    display: none;
  }

  .hero .dim {
    display: none;
  }

  /* Container centralizado para mobile */
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 100px);
  }

  .profile-card {
    background: transparent;
    text-align: center;
    margin-top: -20px;
  }

  .avatar-wrap {
    position: relative;
    display: inline-block;
    animation: rotate360 1.5s ease-out forwards;
    animation-delay: 0.5s;
    transform-style: preserve-3d;
  }

  /* Avatar para mobile - posicionado mais acima */
  .avatar {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--diana-shadow);
    overflow: hidden;
    background: #eee;
    position: relative;
    transition: transform 0.5s ease;
  }

  .avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%);
    pointer-events: none;
  }

  .avatar:hover {
    transform: scale(1.05) rotate(5deg);
  }

  /* Nome para mobile - posicionado abaixo da foto */
  .name {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.85);
    display: inline-block;
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 24px;
    box-shadow: var(--diana-shadow);
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(20px);
  }

  /* Legenda com container de fundo e cor preta */
  .subtitle {
    margin-top: 15px;
    color: #000;
    font-size: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(20px);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
  }

  /* Links section - Layout de coluna única para mobile */
  .links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .link-btn {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--diana-shadow);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
  }

  .link-btn:nth-child(1) {
    animation-delay: 1.1s;
  }

  .link-btn:nth-child(2) {
    animation-delay: 1.3s;
  }

  .link-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;
  }

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

  .link-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
  }

  .link-btn:active {
    transform: translateY(-3px) scale(0.98);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.1s;
  }

  /* Ícones para mobile */
  .link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex: 0 0 40px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease;
  }

  .link-btn:hover .link-icon {
    transform: rotate(15deg) scale(1.1);
  }

  .link-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
  }

  /* Títulos para mobile */
  .link-title {
    font-size: 18px;
    display: flex;
    align-items: center;
  }

  .badge-small {
    font-size: 12px;
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
  }

  .link-sub {
    font-size: 14px;
    opacity: 0.95;
  }

  /* Gradientes específicos */
  .vip {
    background: linear-gradient(90deg, rgba(2, 136, 209, 0.7), rgba(3, 169, 244, 0.7));
    color: #fff;
  }

  .telegram {
    background: linear-gradient(90deg, rgba(2, 136, 209, 0.7), rgba(3, 169, 244, 0.7));
    color: #fff;
  }

  /* Footer estilizado para mobile */
  .footer {
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 12px;
    max-width: 100%;
    margin: 20px auto 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
  }
}

/* ===========================================
   ESTILOS PARA DESKTOP, MONITORES E TVs (TELAS GRANDES)
   =========================================== */

@media (min-width: 1024px) {
  body {
    background: var(--bg);
  }
  
  /* Escondemos o fundo mobile */
  .mobile-background {
    display: none;
  }
  
  /* Header / thumbnail - Mantido original */
  .hero {
    height: 420px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero .thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    background-image: url('imgs/desktop-bg.jpg');
  }

  .hero .dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%);
  }

  /* Container aumentado para desktop */
  .container {
    max-width: 1200px;
    margin: -100px auto 60px;
    padding: 0 40px;
    animation: fadeIn 1s ease-out;
  }

  .profile-card {
    background: transparent;
    text-align: center;
  }

  .avatar-wrap {
    position: relative;
    display: inline-block;
    animation: rotate360 1.5s ease-out forwards;
    animation-delay: 0.5s;
    transform-style: preserve-3d;
  }

  /* Avatar aumentado proporcionalmente para desktop */
  .avatar {
    width: 240px;
    height: 240px;
    border-radius: 999px;
    border: 12px solid #fff;
    box-shadow: var(--diana-shadow);
    overflow: hidden;
    background: #eee;
    position: relative;
    transition: transform 0.5s ease;
  }

  .avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%);
    pointer-events: none;
  }

  .avatar:hover {
    transform: scale(1.05) rotate(5deg);
  }

  /* Nome aumentado proporcionalmente para desktop */
  .name {
    margin-top: 28px;
    background: var(--card);
    display: inline-block;
    padding: 18px 42px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 36px;
    box-shadow: var(--diana-shadow);
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(20px);
  }

  .subtitle {
    margin-top: 18px;
    color: var(--muted);
    font-size: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(20px);
  }

  .badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #ff4d4f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    animation: pulse 2s infinite;
  }

  /* Links section - Layout de 2 colunas para desktop com botões aumentados */
  .links {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 35px;
  }

  .link-btn {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 28px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--diana-shadow);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    width: 45%;
    max-width: 450px;
  }

  .link-btn:nth-child(1) {
    animation-delay: 1.1s;
  }

  .link-btn:nth-child(2) {
    animation-delay: 1.3s;
  }

  .link-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;
  }

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

  .link-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
  }

  .link-btn:active {
    transform: translateY(-3px) scale(0.98);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.1s;
  }

  /* Ícones aumentados proporcionalmente para desktop */
  .link-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    flex: 0 0 54px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease;
  }

  .link-btn:hover .link-icon {
    transform: rotate(15deg) scale(1.1);
  }

  .link-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
  }

  /* Títulos aumentados proporcionalmente para desktop */
  .link-title {
    font-size: 26px;
    display: flex;
    align-items: center;
  }

  .badge-small {
    font-size: 14px;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
  }

  .link-sub {
    font-size: 18px;
    opacity: 0.95;
  }

  /* Specific gradients */
  .vip {
    background: linear-gradient(90deg, #0288d1, #03a9f4);
    color: #fff;
  }

  .telegram {
    background: linear-gradient(90deg, #0288d1, #03a9f4);
    color: #fff;
  }

  /* Footer mantido original para desktop */
  .footer {
    text-align: center;
    padding: 30px;
    color: var(--muted);
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
  }
}



