
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.75rem);
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1220;
  color: #e5e7eb;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   TOPBAR + HEADER
========================================= */
.topbar {
  background: radial-gradient(circle at top, #1f2937 0, #020617 60%);
  border-bottom: 1px solid #1f2937;
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 5vw, 1.25rem);
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar span strong { 
  color: #e5e7eb; 
}

.header {
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 6vw, 1.25rem) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: clamp(60px, 10vw, 70px);
}

.logo {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #fbbf24;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo span {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-weight: 500;
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.nav-link {
  color: #e5e7eb;
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
  color: #fbbf24;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 3px;
}

.menu-toggle span {
  height: 3px;
  background: #fbbf24;
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(251, 191, 36, 0.3);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   HERO SECTION
========================================= */
.hero {
  padding: clamp(2rem, 8vw, 4rem) clamp(1rem, 4vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  max-width: 1200px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid #1f2937;
  font-size: clamp(0.7rem, 2vw, 0.75rem);
  color: #9ca3af;
  white-space: nowrap;
  max-width: 100%;
}

.hero-badge span {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  font-weight: 700;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero h1 span { color: #fbbf24; }

.hero p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: #9ca3af;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 3vw, 1rem);
  justify-content: center;
  align-items: center;
}

.btn-primary, .btn-outline {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 999px;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: clamp(140px, 25vw, 200px);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #111827;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 122, 0, 0.6);
  background: linear-gradient(135deg, #ff9a3c, #ff5a5a);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px) scale(1.05);
}

/* ========================================
   MAIN CONTENT + CASINO GRID
========================================= */
.container, main {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem)  clamp(1rem, 4vw, 1.75rem);
}

h1 {
  color: #fbbf24;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

h2 { 
  color: #fbbf24;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 1rem;
}

h3 { 
  color: #fbbf24;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  margin-bottom: 0.75rem;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 90vw, 380px), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(2rem, 6vw, 3rem);
}

/* CASINO ENTRY */
.casino-entry {
  display: flex;
  align-items: stretch;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #374151;
  border-radius: 0.875rem;
  background: rgba(17, 24, 39, 0.9);
  transition: all 0.3s ease;
  min-height: clamp(85px, 16vw, 100px);
}

.hero-card {
  width: 100%;
  max-width: 100%;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  border: 1px solid #1f2937;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 1.5rem);
  background: rgba(17, 24, 39, 0.9);
  border-bottom: 1px solid #374151;
}

.hero-card-inner {
  padding: clamp(1rem, 3vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.casino-entry:hover {
  border-color: #fbbf24;
  box-shadow: 0 12px 35px rgba(251, 191, 36, 0.25);
}

/* left */
.casino-left {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  min-width: clamp(130px, 24vw, 170px);
  flex-shrink: 0;
}

.casino-logo {
  width: clamp(44px, 10vw, 56px);
  height: clamp(44px, 10vw, 56px);
  border-radius: clamp(0.5rem, 2vw, 0.625rem);
  background: radial-gradient(circle at 30% 0, #fbbf24, #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #020617;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  border-radius: inherit; 
  display: block;
}

.casino-name {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  color: #f9fafb;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: clamp(120px, 22vw, 160px);
}

/* bonus */
.bonus-section {
  flex: 1;
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bonus-text {
  font-size: clamp(0.7rem, 1.8vw, 0.8rem);
  color: #d1d5db;
  margin-bottom: clamp(0.1rem, 0.5vw, 0.125rem);
}

.bonus-highlight {
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 800;
  color: #fbbf24;
  margin: 0;
  line-height: 1.2;
}

/* rating */
.rating-section {
  text-align: center;
  min-width: clamp(75px, 13vw, 90px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-stars {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  margin-bottom: clamp(0.1rem, 0.5vw, 0.125rem);
  color: #fbbf24 !important;
  line-height: 1;
}

.rating-score {
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

.rating-note {
  font-size: clamp(0.55rem, 1.5vw, 0.65rem);
  color: #6b7280;
  font-style: italic;
}

/* Кнопки */
.buttons-section {
  display: flex;
  flex-direction: column;
  gap: clamp(0.2rem, 0.8vw, 0.3rem);
  min-width: clamp(90px, 16vw, 110px);
  flex-shrink: 0;
}

.cta-button {
  padding: clamp(0.35rem, 1.2vw, 0.45rem) clamp(0.75rem, 2.2vw, 1rem);
  border-radius: clamp(0.3rem, 1vw, 0.5rem);
  font-weight: 700;
  text-decoration: none;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  flex: 1;
  border: none;
  cursor: pointer;
}

.primary-cta {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #020617;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.primary-cta:hover {
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.secondary-cta {
  background: transparent;
  color: #d1d5db;
  border: 1px solid #4b5563;
}

.secondary-cta:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
  color: #fbbf24;
}

/* ========================================
   TOP 10 CASINOS - DETAILIERTE TESTBERICHTE
========================================= */
.casino-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  border: 1px solid #1f2937;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
}

.casino-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2d3748;
}

.casino-info h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.1rem, 3vw, 1.25rem);
}

.casino-tagline {
  color: #9ca3af;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  font-weight: 500;
}

.casino-description {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 2.2vw, 0.95rem);
}

.casino-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5f5;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  height: auto;
}

.pros, .cons {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.cons {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.pros h4, .cons h4 {
  font-size: clamp(0.9rem, 2.2vw, 0.95rem);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-icon { color: #22c55e; }
.cons-icon { color: #ef4444; }

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
  flex: 1;
}

.pros li, .cons li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: #cbd5f5;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.pros li::before {
  content: '✓';
  color: #22c55e;
  font-weight: bold;
  font-size: 1rem;
}

.cons li::before {
  content: '✗';
  color: #ef4444;
  font-weight: bold;
  font-size: 1rem;
}

/* ========================================
   GRID LAYOUT + TABLES
========================================= */
.grid {
  display: flex;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: flex-start;
}

section {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

section p {
  font-size: clamp(0.9rem, 2.2vw, 0.95rem);
  color: #d1d5db;
  margin-bottom: 0.75rem;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: 0.75rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  min-width: clamp(480px, 85vw, 600px);
}

th, td {
  border: 1px solid #1f2937;
  padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.5rem, 2vw, 0.75rem);
  text-align: left;
}

th {
  background: #020617;
  color: #e5e7eb;
  font-weight: 500;
}

tbody tr:nth-child(even) { background: rgba(15, 23, 42, 0.8); }
tbody tr:nth-child(odd) { background: rgba(15, 23, 42, 0.95); }

.info-box, .sidebar-box {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 0.9rem;
  border: 1px solid #1e293b;
  padding: clamp(0.875rem, 2.5vw, 1rem);
  margin-bottom: clamp(1rem, 3vw, 1.25rem);
  font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.sidebar-list {
  list-style: none;
  padding-left: 0;
}

.sidebar-list li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: clamp(0.65rem, 1.8vw, 0.7rem);
  border: 1px solid #374151;
  color: #9ca3af;
}

/* ========================================
   BADGES + TERMS
========================================= */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: clamp(0.65rem, 1.8vw, 0.7rem);
}

.badge-soft {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: #a5f3fc;
}

.badge-soft.alt {
  background: rgba(202, 138, 4, 0.18);
  border-color: rgba(250, 204, 21, 0.5);
  color: #facc15;
}

.terms-block {
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  color: #9ca3af;
  background: rgba(55, 65, 81, 0.8);
  padding: clamp(0.75rem, 2.5vw, 1rem);
  border-radius: 0.5rem;
  margin-top: 1rem;
  line-height: 1.4;
  border-left: 3px solid #4b5563;
}

/* ========================================
   CUSTOM LIST STYLES - ♠️ 
========================================= */
ul { list-style: none !important; padding-left: 0 !important; }

section ul li,
.casino-card ul li,
.pros ul li,
.cons ul li {
  position: relative;
  padding-left: clamp(2rem, 6vw, 2.5rem) !important;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  line-height: 1.4;
}

section ul li::before,
.casino-card ul li::before {
  content: "♠";
  position: absolute;
  left: 0;
  top: 0;
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #ff7a00;
  font-weight: bold;
  z-index: 1;
  transition: all 0.3s ease;
}

section ul li:hover::before,
.casino-card ul li:hover::before {
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.8), 0 0 16px rgba(255, 122, 0, 0.6);
  transform: scale(1.1);
}

.pros ul li::before { color: #28a745; }
.cons ul li::before { color: #dc3545; }

.pros ul li:hover::before {
  text-shadow: 0 0 8px rgba(40, 167, 69, 0.8), 0 0 16px rgba(40, 167, 69, 0.6);
}

.cons ul li:hover::before {
  text-shadow: 0 0 8px rgba(220, 53, 69, 0.8), 0 0 16px rgba(220, 53, 69, 0.6);
}

/* ========================================
   FOOTER
========================================= */
footer {
  border-top: 1px solid #111827;
  padding: clamp(1.5rem, 6vw, 2.5rem) clamp(1.25rem, 7vw, 2.5rem);
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  color: #6b7280;
  background: #020617;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-inner ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================
    Mobile First
========================================= */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 18, 32, 0.98);
    flex-direction: column;
    padding: clamp(1rem, 4vw, 1.5rem);
    gap: 0;
    border-top: 1px solid #1f2937;
  }
  
  .nav.active { display: flex; }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #1f2937;
  }
  
  .nav-link:last-child { border-bottom: none; }
  
  .casino-entry {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    min-height: auto;
    padding: clamp(1rem, 4vw, 1.5rem);
  }
  
  .casino-left {
    flex-direction: column;
    text-align: center;
    min-width: auto;
    gap: 0.75rem;
  }
  
  .casino-name {
    max-width: 100%;
    white-space: normal;
  }
  
  .buttons-section {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    min-width: auto;
  }
  
  .cta-button {
    flex: none;
    min-width: auto;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .topbar,
  .header .container,
  .container,
  main,
  .hero,
  footer {
    padding-left: clamp(1rem, 5vw, 1.5rem);
    padding-right: clamp(1rem, 5vw, 1.5rem);
  }
  
  .casino-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .casino-entry {
    padding: clamp(1rem, 4vw, 1.25rem);
    gap: 1rem;
  }
  
  .casino-logo {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }
  
  .buttons-section {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  table { min-width: 100%; }
}

@media (max-width: 360px) {
  .casino-entry { padding: 1rem; }
  .casino-left { gap: 0.5rem; }
  section ul li,
  .casino-card ul li {
    padding-left: clamp(1.75rem, 8vw, 2rem);
  }
}
.cta-button-single {
  display:flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 2.4vw, 1rem) clamp(1.6rem, 4vw, 2.2rem);
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #111827;
  font-weight: 700;
  font-size: clamp(0.9rem, 2.3vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.cta-button-single:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #ff9a3c, #ff5a5a);
  box-shadow: 0 18px 45px rgba(255, 122, 0, 0.65);
}

.cta-button-single:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}
.author-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: clamp(0.5rem, 2vw, 2.5rem) auto;
  max-width: 400px;
  padding: 0.25rem 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(31, 41, 55, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.author-text {
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  font-style: italic;
  color: #9ca3af;
  font-weight: 400;
  white-space: nowrap;
}

.author-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-link:hover {
  color: #fbbf24;
  transform: translateX(4px);
}

.author-avatar {
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.author-link:hover .author-avatar {
  border-color: #fbbf24;
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
  transform: scale(1.1);
}

.author-name {
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  font-weight: 600;
  color: #e5e7eb;
  transition: color 0.3s ease;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .author-block {
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .author-text {
    font-size: 0.8rem;
  }
}

/* TOC wrapper */
.toc {
  max-width: 800px;
  margin: 1.5rem auto;
  background-color: #1b1b1b;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.25);
  overflow: hidden;
  font-size: 0.95rem;
}

/* Header clickable area */
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  cursor: pointer;
  background-color: #111;
  color: #fff;
}

.toc-title {
  font-weight: bold;
  color: #ff9900;
}

.toc-arrow {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

/* Collapsible body */
.toc-body {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background-color: #141414;
  transition: all 0.3s ease;
}

.toc-body ol {
  list-style: decimal;
  padding: 0.75rem 1.5rem 1rem;
  margin: 0;
}

.toc-body li {
  margin: 0.25rem 0;
}

.toc-body a {
  color: #ffdb99;
  text-decoration: none;
}

.toc-body a:hover {
  color: #ff9900;
  text-decoration: underline;
}

/* Open state */
.toc.open .toc-body {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

.toc.open .toc-arrow {
  transform: rotate(180deg);
}
/* ========================================
   AUTHOR PAGE - Compatible with main site
   ======================================== */

/* Author hero showcase */
.author-hero {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    border: 1px solid #1f2937;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.8);
}

/* Avatar ring */
.author-avatar .avatar-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2.4rem;
    color: #111827;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.4);
    flex-shrink: 0;
}

/* Stats display */
.author-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 1.15rem;
}

.stat-item small {
    display: block;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* Author content sections */
.author-section {
    margin-bottom: 3.5rem;
}

.author-section h2 {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.author-content {
    background: rgba(17, 24, 39, 0.8);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid #374151;
}

/* Skills tags */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.skill-tag {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 0.65rem 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.4);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.skill-tag:hover {
    background: rgba(251, 191, 36, 0.25);
    transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .author-hero {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    
    .author-stats {
        gap: 1.5rem;
        justify-content: center;
    }
}
.about-contact-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 1.75rem);
}


.contact-2-up {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2rem);
  justify-content: space-between;
  align-items: stretch;
}


.contact-info-column,
.contact-form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #1f2937;
  border-radius: 0.875rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  min-height: 220px;
  padding: clamp(1.25rem, 4vw, 1.75rem); /* внутренний отступ от краёв */
}

/* hover */
.contact-info-column:hover,
.contact-form-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
}


.text-highlight {
  color: #fbbf24;
}


.address-text {
  font-size: clamp(0.9rem, 2.2vw, 0.95rem);
  color: #d1d5db;
  margin: 0;
  line-height: 1.6;
  text-align: left;
}


.contact-text {
  font-size: clamp(0.9rem, 2.2vw, 0.95rem);
  color: #d1d5db;
  margin: 0 0 1rem 0;
  line-height: 1.6;
  text-align: left;
}


.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 999px;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 90%;          
  margin: 0 auto;         
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #111827;
  border: none;
  min-width: 140px;
}

.btn-contact:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 122, 0, 0.6);
  background: linear-gradient(135deg, #ff9a3c, #fbbf24);
}


@media (max-width: 768px) {
  .contact-2-up {
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2rem);
  }

  .contact-info-column,
  .contact-form-column {
    min-height: 180px;
  }
}