    :root {
      --purple-dark: #2b0a78;
      --purple: #5b1dd6;
      --purple-light: #7c6cf6;
      --text-dark: #333;
      --text-gray: #777;
      --bg-light: #f7f7fb;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Segoe UI", Arial, sans-serif;
    }

    body {
      background: var(--bg-light);
      color: var(--text-dark);
    }

    /* ===== HEADER ===== */
    header {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 20px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 100;
      background: transparent;
	  top: 8%; /*-правка-*/
	  left: 50%; /*-правка-*/
	  transform: translate(-50%, -50%); /*-правка-*/
	  max-width: 1300px;
	  margin: auto;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      color: #333484;
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      //border: 2px solid var(--purple);
      border-radius: 8px;
	  background-image: url('../pics/logo1.png');
	  background-repeat: no-repeat; 
	  background-size: cover;
    }
	
    nav {
      display: flex;
      gap: 40px;
    }

    nav a {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
    }
    
    nav .wallet-link {
        background: transparent;
        border: 0;
        padding: 0;
        font: inherit;
        cursor: pointer;
        
        color:#333;
    }

    /* ===== BURGER ===== */
    .burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .burger span {
      width: 26px;
      height: 3px;
      background: #000;
    }

    /* ===== MOBILE MENU ===== */
    .mobile-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      display: none;
      z-index: 200;
    }

    .mobile-menu {
      position: absolute;
      top: 0;
      right: 0;
      width: 75%;
      max-width: 320px;
      height: 100%;
      background: linear-gradient(180deg, #4a1bc9, #2b0a78);
      padding: 30px;
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .mobile-close {
      align-self: flex-end;
      font-size: 28px;
      color: white;
      cursor: pointer;
    }

    .mobile-menu a {
      color: white;
      text-decoration: none;
      font-size: 18px;
    }
    
    .mobile-menu .wallet-link {
        color: white;
        text-decoration: none;
        font-size: 18px;

        background: transparent;
        border: 0;
        padding: 0;
        cursor: pointer;
        text-align: left;
    }

    /* ===== ARTICLE ===== */
    main {
      padding: 140px 20px 80px;
      min-height: calc(100vh - 112px);
      display: flex;
      align-items: center;
    }

    .article-container {
      max-width: 900px;
      margin: 0 auto;
      background: white;
      padding: 60px;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    }

    .article-meta {
      font-size: 14px;
      color: var(--text-gray);
      margin-bottom: 20px;
    }

    .article-container h1 {
      font-size: 42px;
      margin-bottom: 30px;
      color: #333484;
    }

    .article-container h2 {
      margin: 40px 0 20px;
      font-size: 28px;
    }

    .article-container p {
      font-size: 17px;
      line-height: 1.8;
      margin-bottom: 20px;
      color: #555;
    }
	
	.article-container img {
      border-radius: 1px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	  margin: 40px 0 40px 0;
	  max-width: 100%;
    }
	
	.article-container iframe {
	  max-width: 100%;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      nav {
        display: none;
      }

      .burger {
        display: flex;
      }

      .article-container {
        padding: 30px 20px;
      }

      .article-container h1 {
        font-size: 32px;
      }
    }
	/*nav a.active {
		color: #5b1dd6;
	}

		nav a.active::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -6px;
		width: 100%;
		height: 2px;
		background: #5b1dd6;
	} */
/* Footer */
.footer {
  padding: 2em 0;
  background: #333484;
  font-size: 17px;
  color: white;
}

.footer-container {
  max-width: 1300px;
  padding: 0 50px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}

.footer-left,
.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5em;
}

.footer-left a,
.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-left a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

/* Разделители между ссылками в левом блоке */
.footer-left a:not(:last-child)::after {
  content: "|";
  margin-left: 1em;
  color: white;
}

/* Разделитель перед ссылкой в footer-right — только при ширине ≥490px */
.footer-right a::before {
  content: "|";
  margin-right: 1em;
  color: white;
  display: none;
}
.footer-copy-text {
	color: #aaa;
}

/* @media (min-width: 490px) {
  .footer-right a::before {
    display: inline;
  }
} */

@media (max-width:900px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .footer-left,
    .footer-right {
      justify-content: center;
    }
}

@media (max-width:610px) {
    .footer-left {
        flex-direction: column;
    }
    
    .footer-left a:not(:last-child)::after {
        content: "";
        margin-left: 1em;
        color: white;
    }
}

@media (min-width: 4000px) {
	* {
		/* background-image: url('../pics/back11.jpg');
		background-repeat: no-repeat; */
		/* background-size: contain; */
		max-width: 4000px;
		/* background-position: center; */
	}
}
/* @media (max-width: 490px) {
  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
  }

  .footer-right {
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
  }

  .footer-left a::after {
    content: none !important;
  }

  .footer-right a::before {
    display: none !important;
  }
}
 */


/* Logo */