/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --red: #ff0000;
  --red-dark: #cc0000;
  --red-glow: rgba(255, 0, 0, 0.3);
  --black: #000000;
  --gray-900: #0f0f0f;
  --gray-800: #1a1a1a;
  --gray-700: #2a2a2a;
  --gray-500: #666666;
  --gray-300: #999999;
  --white: #ffffff;
}

/* Body */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--gray-900) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-900) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Red glow orbs */
.author-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: author-float 20s infinite ease-in-out;
}

.author-orb-1 {
  top: 10%;
  right: 20%;
  width: 400px;
  height: 400px;
  background: var(--red);
  animation-delay: 0s;
}

.author-orb-2 {
  bottom: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: var(--red);
  animation-delay: 7s;
}

@keyframes author-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Container */
.author-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.author-hero {
display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0;
}

.author-hero-content {
  display: flex;
  gap: 100px;
  align-items: center;
  width: 100%;
}

.author-hero-content::before {
  content: '';
  width: 60%;
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--red) 0%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.2;
  animation: author-morph 8s ease-in-out infinite;
}
.author-hero-left {
  animation: author-slideInLeft 1s ease-out;
  width: 55%;
}

@keyframes author-slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.author-hero-left h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.author-name {
  display: block;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.author-accent {
  display: block;
  color: var(--red);
  font-size: 3rem;
  margin-top: 10px;
  font-weight: 700;
}

.author-stat {
    text-align: center;
}

.author-hero-subtitle {
  font-size: 1.3rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

.author-hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
}


.author-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 5px;
}

.author-stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Social links */
.author-social-links {
  display: flex;
  gap: 15px;
}

.author-social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.author-social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.author-social-link:hover::before {
  width: 100%;
  height: 100%;
}

.author-social-link:hover {
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(-3px);
}

.author-social-link i {
  position: relative;
  z-index: 1;
}

/* Hero right */
.author-hero-right {
  width: 350px;
  position: relative;
  animation: author-fadeIn 1.2s ease-out 0.3s both;
}

@keyframes author-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.author-profile-image-wrapper {
  width: 300px;
  height: 300px;
  border-radius: 50%; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Тень для объема */

  
}


@keyframes author-morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

.author-profile-image-wrapper img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  
}

.avatar-blur-frame {
  position: absolute;
  top: -14px;
  left: 30px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background-image: url(../photo/AnnaMolchanova.png);
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: 1;
  }

/* About Section */
.author-about {
  padding: 120px 0;
  position: relative;
}

.author-section-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 20px;
  font-weight: 600;
}

.author-about-content {
  display: flex;
  gap: 80px;
  align-items: start;
}

.author-about-left h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
}

.author-about-left p {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 20px;
}

.author-highlight {
  color: var(--red);
  font-weight: 600;
}

/* About Right */
.author-about-right {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.author-about-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.author-expertise-item {
  margin-bottom: 30px;
}

.author-expertise-item:last-child {
  margin-bottom: 0;
}

.author-expertise-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-expertise-title i {
  color: var(--red);
  font-size: 1.3rem;
}

.author-expertise-desc {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}


.author-experience-grid {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.author-exp-card {
  z-index: 1;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.author-exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red-glow) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.author-exp-card:hover::before {
  opacity: 1;
}

.author-exp-card:hover {
  border-color: var(--red);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.author-exp-icon {
  width: 70px;
  height: 70px;
  background: var(--red);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px var(--red-glow);
}

.author-exp-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.author-exp-card p {
  color: var(--gray-300);
  line-height: 1.7;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Articles Section */
.author-articles {
  padding: 120px 0;
  position: relative;
}

.author-articles-header {
  text-align: center;
  margin-bottom: 80px;
}

.author-articles-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.author-articles-grid {
  display: grid;
  gap: 30px;
}

.author-article-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  transition: all 0.4s ease;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.author-article-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.4s ease;
}

.author-article-card:hover::after {
  width: 100%;
}

.author-article-card:hover {
  border-color: var(--red);
  transform: translateX(10px);
}

.author-article-date {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  min-width: 120px;
}

.author-article-date .author-day {
  display: block;
  font-size: 4rem;
}

.author-article-date .author-month {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-top: 5px;
}

.author-article-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.author-article-content h3 a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-article-content h3 a:hover {
  color: var(--red);
}

.author-article-content p {
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

.author-read-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.author-read-link:hover {
  gap: 15px;
}

.author-read-link i {
  font-size: 0.9rem;
}

/* Footer */
.author-footer {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--gray-800);
  position: relative;
  z-index: 1;
  background: var(--black);
}

.author-footer p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}

.author-footer a {
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.author-footer a:hover {
  opacity: 0.8;
}

.author-profile-image-wrapper2 {
  width: 100px;
  height: 100px;
  margin: 0 auto; /* Центрирование */
}

.author-profile-image-wrapper2::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--red) 0%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.2;
  animation: author-morph 8s ease-in-out infinite;
}
/* Responsive Footer */
@media (max-width: 768px) {
  .author-footer {
    padding: 50px 0;
  }

  .author-about {
  padding: 80px 0;
  }

  .author-footer p {
    font-size: 0.8rem;
  }

  .author-hero-content::before {
    display: none;
  }

  .author-hero-content {
    flex-direction: column;
    gap: 50px;
  }

  .author-about-content {
    flex-direction: column;
  }

  .author-experience-grid {
    flex-direction: column;
  }
  .author-hero {
  padding: 42px 0;
}

  .author-hero-left{
    width: 100%;
  }

  .author-hero-right {
    width: 100%;
  }

  .author-hero-stats {
  gap: 30px;
  display: flex;
  justify-content: center;
}

.author-hero-left h1 {
  font-size: 3rem;
}

.author-accent {
  font-size: 2rem;
}

.author-container {
  padding: 0 20px;
}

.author-about-left h2 {
  font-size: 2rem;
}

.author-profile-image-wrapper2 {
  max-width: 90%;
  
}

.author-profile-image-wrapper2::before{
  display: none;
}

.avatar-blur-frame {
  display: none;
}

.author-social-links {
  display: flex;
  gap: 15px;
 justify-content: center;

}

.author-profile-image-wrapper {
  width: 260px;
  margin: 0 auto;
}

.author-section-title{
  text-align: center;
}
}