:root {
  --bg-primary: #14051f;
  --bg-secondary: #1a0a2d;
  --bg-tertiary: #220c39;
  --surface: rgba(39, 15, 62, 0.78);
  --surface-strong: rgba(28, 10, 48, 0.9);
  --surface-soft: rgba(53, 20, 81, 0.72);
  --surface-border: rgba(255, 113, 206, 0.34);
  --surface-border-strong: rgba(166, 108, 255, 0.58);
  --accent: #ff71ce;
  --accent-strong: #ff4db8;
  --accent-soft: rgba(255, 113, 206, 0.18);
  --accent-neo: #a66cff;
  --accent-alt: #7c4dff;
  --text-primary: #fff2ff;
  --text-secondary: rgba(255, 240, 255, 0.82);
  --text-muted: rgba(255, 225, 255, 0.62);
  --shadow-lg: 0 32px 80px rgba(12, 2, 24, 0.72);
  --shadow-md: 0 22px 50px rgba(16, 3, 30, 0.58);
  --shadow-sm: 0 12px 26px rgba(20, 4, 35, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --transition-base: 0.3s ease;
}

* {
  box-sizing: border-box;
  transition: color var(--transition-base), background var(--transition-base), border var(--transition-base), transform var(--transition-base), opacity var(--transition-base), box-shadow var(--transition-base);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 113, 206, 0.28), transparent 34%),
    radial-gradient(circle at 82% 6%, rgba(166, 108, 255, 0.3), transparent 40%),
    radial-gradient(circle at 18% 82%, rgba(124, 77, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(255, 113, 206, 0.16), transparent 30%),
    linear-gradient(180deg, #12041d 0%, #180725 32%, #240937 66%, #13051f 100%);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  padding: 0 0 80px;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(166, 108, 255, 0.32) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -2;
  opacity: 0.5;
}

body::before {
  top: -160px;
  left: -160px;
}

body::after {
  bottom: -200px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 113, 206, 0.26) 0%, transparent 70%);
}

.hidden {
  opacity: 0;
  transform: translateY(24px);
}

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

.loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 3, 22, 0.94);
  backdrop-filter: blur(12px);
  z-index: 2000;
  transition: opacity 0.45s ease;
}

.loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 6px solid rgba(255, 113, 206, 0.16);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.language-switcher #language-btn {
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.25), rgba(166, 108, 255, 0.34));
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.6rem 1.1rem;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-width: 52px;
}

.language-switcher #language-btn:hover,
.language-switcher #language-btn:focus-visible {
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.45), rgba(166, 108, 255, 0.4));
  border-color: var(--surface-border-strong);
  outline: none;
}

.language-switcher #language-popup {
  display: none;
  flex-direction: column;
  background: rgba(10, 17, 34, 0.95);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  min-width: 200px;
}

.language-switcher #language-popup.open {
  display: flex;
}

.language-switcher #language-popup button {
  appearance: none;
  background: transparent;
  color: var(--text-primary);
  border: none;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-switcher #language-popup button:hover,
.language-switcher #language-popup button:focus-visible {
  background: rgba(255, 113, 206, 0.16);
  outline: none;
}

.lang-flag {
  font-size: 1.05rem;
}

.lang-name {
  color: var(--text-secondary);
}

.site-header {
  width: min(1400px, 100%);
  margin: clamp(1.6rem, 5vw, 3rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.6rem);
  position: sticky;
  top: clamp(1rem, 2vw, 2.8rem);
  z-index: 1200;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: linear-gradient(140deg, rgba(36, 10, 58, 0.9), rgba(24, 8, 42, 0.86));
  border: 1px solid rgba(255, 113, 206, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.nav-link {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 113, 206, 0.12);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
}

.nav-link:focus-visible {
  outline: 2px solid rgba(255, 113, 206, 0.42);
  outline-offset: 2px;
}

.nav-link.active {
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--accent), var(--accent-neo), var(--accent-alt));
  box-shadow: 0 12px 25px rgba(166, 108, 255, 0.35);
}

.nav-link[disabled] {
  cursor: default;
  pointer-events: none;
  color: var(--bg-primary);
}

.view.hidden {
  display: none;
  opacity: 1;
  transform: none;
}

.main {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 140px clamp(1.25rem, 4vw, 2.6rem) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 4vw, 2.6rem);
}

.section-card {
  position: relative;
  background: linear-gradient(155deg, var(--surface-strong), rgba(33, 10, 54, 0.92));
  border: 1px solid rgba(255, 113, 206, 0.28);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.section-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 113, 206, 0.22), transparent 55%),
    radial-gradient(circle at 20% 0%, rgba(166, 108, 255, 0.18), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.section-card > * {
  position: relative;
  z-index: 1;
}

.section-title {
  margin: 0 0 1.8rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.2rem + 0.8vw, 1.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.profile-card {
  padding: clamp(2rem, 4vw, 3rem);
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.2), rgba(166, 108, 255, 0.22));
  border: 1px solid rgba(255, 113, 206, 0.38);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-role {
  margin: 0;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  color: var(--text-secondary);
}

.profile-location {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

#location strong {
  color: var(--text-primary);
  font-weight: 700;
}

#skillsContainer {
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tech-stack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.4rem;
  background: linear-gradient(145deg, rgba(40, 12, 64, 0.94), rgba(29, 10, 49, 0.84));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 113, 206, 0.28);
  box-shadow: var(--shadow-sm);
  min-height: 240px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.tech-stack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 113, 206, 0.28), transparent 65%);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.tech-stack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 113, 206, 0.5);
  box-shadow: 0 26px 42px rgba(4, 10, 22, 0.55);
}

.tech-stack-card:hover::before {
  opacity: 0.75;
}

.tech-stack-cardTitle {
  position: relative;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-align: center;
}

.tech-stack-cardDescription {
  position: relative;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tech-stack-card-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(82, 30, 118, 0.34);
  border: 1px solid rgba(255, 113, 206, 0.2);
  color: var(--text-secondary);
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.skill-details {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 113, 206, 0.14);
  border: 1px solid rgba(255, 113, 206, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 113, 206, 0.08);
}

.skill-icon img,
.skill-icon svg,
.tech-stack-card-stack img,
.tech-stack-card-stack svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 4px 8px rgba(166, 108, 255, 0.25));
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 113, 206, 0.18);
  border: 1px solid rgba(255, 113, 206, 0.28);
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-grid {
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.4rem 1.8rem;
  background: linear-gradient(145deg, rgba(38, 11, 58, 0.92), rgba(26, 8, 42, 0.84));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 113, 206, 0.25);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 113, 206, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 113, 206, 0.48);
  box-shadow: 0 26px 40px rgba(4, 10, 22, 0.5);
}

.project-card:hover::after {
  opacity: 1;
}

.project-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.project-card-descripton {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.project-card-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.project-card-button a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.38), rgba(166, 108, 255, 0.32));
  border: 1px solid rgba(255, 113, 206, 0.3);
}

.project-card-button a:hover,
.project-card-button a:focus-visible {
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.6), rgba(166, 108, 255, 0.46));
  color: #0a132a;
  outline: none;
}

.services-card {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 3.5vw, 2.4rem);
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.services-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(72, 22, 105, 0.42);
  border: 1px solid rgba(255, 113, 206, 0.28);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.services-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.services-tab:hover,
.services-tab:focus-visible {
  background: rgba(101, 39, 148, 0.35);
  outline: none;
}

.services-tab.active {
  background: rgba(255, 113, 206, 0.15);
  border: 1px solid rgba(166, 108, 255, 0.55);
  color: var(--text-primary);
}

.services-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3vw, 2.2rem);
}

.service-category {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-category + .service-category {
  margin-top: 0.5rem;
}

.service-category-title {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.service-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 1.3rem 1.6rem;
  background: linear-gradient(150deg, rgba(39, 11, 60, 0.94), rgba(27, 8, 44, 0.86));
  border: 1px solid rgba(255, 113, 206, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(166, 108, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 113, 206, 0.5);
  box-shadow: 0 24px 38px rgba(4, 10, 22, 0.48);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: rgba(255, 113, 206, 0.18);
  border: 1px solid rgba(255, 113, 206, 0.3);
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 113, 206, 0.12);
}

.service-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-card-details {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-card-price {
  align-self: flex-start;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 113, 206, 0.45);
  background: rgba(255, 113, 206, 0.16);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-info-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 113, 206, 0.24);
  background: linear-gradient(150deg, rgba(38, 11, 58, 0.9), rgba(27, 8, 44, 0.84));
  box-shadow: var(--shadow-sm);
}

.service-info-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.service-info-list li {
  line-height: 1.6;
}

.service-contact-card {
  gap: 1rem;
}

.service-contact-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-contact-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.service-contact-list a:hover,
.service-contact-list a:focus-visible {
  color: var(--text-primary);
  text-decoration: underline;
  outline: none;
}

@media (max-width: 720px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .services-tab {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .service-card {
    padding: 1.3rem 1.1rem 1.4rem;
  }
}

.github-card {
  cursor: pointer;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(120deg, rgba(41, 11, 61, 0.96), rgba(70, 22, 103, 0.92));
  border: 1px solid rgba(255, 113, 206, 0.35);
}

.github-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.github-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 113, 206, 0.55);
}

.github-card-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.github-card-title {
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.connect-card .socials {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(66, 20, 96, 0.7);
  border: 1px solid rgba(255, 113, 206, 0.24);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.socials a:hover,
.socials a:focus-visible {
  background: rgba(255, 113, 206, 0.5);
  color: #0c152b;
  outline: none;
}

.socials img {
  width: 24px;
  height: 24px;
}

.seo-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 720px;
}


::selection {
  background: rgba(255, 113, 206, 0.35);
  color: var(--text-primary);
}

body::after,
body::before {
  mix-blend-mode: screen;
}

.section-card,
.rb-card,
.tech-stack-card,
.project-card,
.service-card,
.service-info-card,
.rb-block,
.footer {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.12), rgba(166, 108, 255, 0.14));
  border: 1px solid rgba(255, 113, 206, 0.22);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.rb-links a,
.service-contact-list a,
.project-card-button a,
.socials a,
.copy-wallet-btn,
.payment-actions button,
#language-btn,
.nav-link,
.github-card,
.tech-stack-card,
.project-card,
.service-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border var(--transition-base), color var(--transition-base), opacity var(--transition-base);
}

.rb-links a:hover,
.rb-links a:focus-visible,
.service-contact-list a:hover,
.service-contact-list a:focus-visible {
  box-shadow: 0 12px 24px rgba(166, 108, 255, 0.18);
}

.socials {
  flex-wrap: wrap;
}

.socials a {
  width: 56px;
  height: 56px;
  box-shadow: 0 12px 28px rgba(19, 4, 31, 0.28);
}

.footer {
  width: min(1400px, 100%);
  margin: clamp(2.2rem, 5vw, 3rem) auto 0;
  padding: 1.4rem clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-xl);
  background: rgba(30, 9, 48, 0.88);
  border: 1px solid rgba(255, 113, 206, 0.18);
  color: var(--text-secondary);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 1.6rem;
}

.payment-actions button {
  appearance: none;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.34), rgba(166, 108, 255, 0.28));
  color: var(--text-primary);
  border: 1px solid rgba(255, 113, 206, 0.28);
}

.payment-actions button:hover,
.payment-actions button:focus-visible {
  background: rgba(255, 113, 206, 0.68);
  color: #250434;
  outline: none;
}

.payment-actions button.copied {
  background: rgba(255, 113, 206, 0.2);
  color: var(--accent);
  border-color: rgba(255, 113, 206, 0.5);
}

@media (max-width: 1024px) {
  .language-switcher {
    top: 16px;
    right: 16px;
  }

  .site-header {
    margin-top: clamp(1.2rem, 5vw, 2.4rem);
    top: 16px;
  }

  .profile-card {
    padding: 2.2rem;
  }

  .main {
    padding-top: 120px;
  }
}

@media (max-width: 900px) {
  .main {
    padding: 110px clamp(1.2rem, 5vw, 2rem) 0;
  }

  #skillsContainer {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
  }

  .language-switcher {
    position: static;
    align-items: flex-end;
    margin: 1.5rem clamp(1.2rem, 5vw, 2rem) 0;
  }

  .site-header {
    position: static;
    width: 100%;
    padding: 0 clamp(1.2rem, 5vw, 2rem);
    margin: 0 auto 1.5rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .nav-link {
    flex: 1 1 100%;
    text-align: center;
  }

  .main {
    padding: 0 clamp(1.2rem, 5vw, 2rem) 0;
    margin-top: 40px;
  }

  .section-card {
    padding: 1.6rem 1.4rem;
  }

  .github-card-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .github-card-title {
    line-height: 1.4;
  }

  .connect-card .socials {
    gap: 0.85rem;
  }

  .socials a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 580px) {
  body::before,
  body::after {
    width: 320px;
    height: 320px;
    filter: blur(80px);
  }

  .main {
    margin-top: 20px;
  }

  .section-title {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }

  .tech-stack-card {
    padding: 1.2rem 1rem;
    min-height: auto;
  }

  .project-card {
    padding: 1.3rem 1.1rem 1.5rem;
  }

  .project-card-button {
    flex-wrap: wrap;
  }

  .project-card-button a {
    width: 100%;
    text-align: center;
  }
}

::selection {
  background: rgba(255, 113, 206, 0.35);
  color: var(--text-primary);
}

body::after,
body::before {
  mix-blend-mode: screen;
}

.section-card,
.rb-card,
.tech-stack-card,
.project-card,
.service-card,
.service-info-card,
.rb-block,
.footer {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 113, 206, 0.12), rgba(166, 108, 255, 0.14));
  border: 1px solid rgba(255, 113, 206, 0.22);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.rb-links a,
.service-contact-list a,
.project-card-button a,
.socials a,
.copy-wallet-btn,
.payment-actions button,
#language-btn,
.nav-link,
.github-card,
.tech-stack-card,
.project-card,
.service-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border var(--transition-base), color var(--transition-base), opacity var(--transition-base);
}

.rb-links a:hover,
.rb-links a:focus-visible,
.service-contact-list a:hover,
.service-contact-list a:focus-visible {
  box-shadow: 0 12px 24px rgba(166, 108, 255, 0.18);
}

.socials {
  flex-wrap: wrap;
}

.socials a {
  width: 56px;
  height: 56px;
  box-shadow: 0 12px 28px rgba(19, 4, 31, 0.28);
}

.footer {
  padding: 1.1rem 1.3rem;
  margin-top: 2rem;
}

@media (max-width: 420px) {
  .language-switcher {
    align-items: stretch;
  }

  .language-switcher #language-btn {
    width: 100%;
  }

  .language-switcher #language-popup {
    width: 100%;
  }

  .socials a {
    width: 40px;
    height: 40px;
  }
}
