:root {
  --bg-gradient: linear-gradient(135deg, #001e4d, #003, #0052cc);
  --text-color: #ffffff;
  --text-secondary: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --btn-bg: rgba(255, 255, 255, 0.05);
  --btn-hover: rgba(255, 255, 255, 0.2);
  --modal-bg: #ffffff;
  --modal-text: #333333;
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body.light-theme {
  --bg-gradient: linear-gradient(135deg, #e0f2ff 0%, #cce0ff 100%);
  --text-color: #00264d;
  --text-secondary: #405876;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --btn-bg: rgba(0, 50, 100, 0.05);
  --btn-hover: rgba(0, 50, 100, 0.1);
  --shadow: 0 8px 32px 0 rgba(0, 30, 60, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  padding: 20px;
  transition: background 0.5s ease;
}

.glass-container {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 25px 32px 40px 32px;
  width: 100%;
  max-width: 468px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.header-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.icon-btn {
  background: var(--btn-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  width: 42px;
  height: 42px;
  border-radius: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: var(--btn-hover);
  transform: scale(1.1);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background-image: url("https://julinhocasares.com/public/img/perfil.webp");
  background-size: cover;
  background-position: center;
  border: 3px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.verified {
  color: #1da1f2;
  font-size: 1rem;
}

.bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 500;
}

.description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  opacity: 0.8;
  line-height: 1.4;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.social-icon {
  color: var(--text-color);
  font-size: 1.2rem;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--btn-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: var(--btn-hover);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-btn {
  background: var(--btn-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  font-size: 0.95rem;
  outline: none;
}

.link-btn i,
.link-btn span.emoji {
  position: static;
  font-size: 1.2rem;
}

.link-btn:hover {
  background: var(--btn-hover);
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.5);
}

.link-btn.highlight {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

body.light-theme .link-btn.highlight {
  background: rgba(0, 50, 100, 0.1);
  border: 1px solid rgba(0, 50, 100, 0.2);
}

.footer {
  margin-top: 38px;
}

.footer-quote {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--modal-bg);
  color: var(--modal-text);
  width: 100%;
  max-width: 468px;
  border-radius: 20px;
  padding: 25px;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  z-index: 10;
}

.modal-card h2 {
  margin-bottom: 5px;
  font-size: 1.28rem;
  color: #004080;
  padding-right: 30px;
}

.subtitle {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 12px;
}

.input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #555;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 11px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  background-color: #f9f9f9;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: #004080;
  background-color: #fff;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 5px 0;
  font-size: 0.88rem;
  color: #555;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #004080;
}

.checkbox-group a {
  color: #004080;
  text-decoration: underline;
  font-weight: 600;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, #001e4d, #004080);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s;
  margin-top: 15px;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.form__feedback {
  min-height: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.form__feedback--error {
  color: #c0392b;
}

.form__feedback--success {
  color: #13832d;
}

.input-uppercase {
  text-transform: uppercase;
}

.is-hidden {
  display: none;
}

@media (max-width: 600px) {
  .row-2,
  .row-3 {
    grid-template-columns: 1fr;
  }
}
