/* 🎯 PROFESSIONAL MINIMAL DESIGN */

:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --text-dark: #1a1a1a;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
}

/* CLEAN, MINIMAL BACKGROUND */
html, body {
  background: #f9fafb !important;
  color: #1a1a1a;
}

/* HEADER - PROFESSIONAL & CLEAN */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 1.2rem 0;
}

.site-logo {
  color: #0066ff !important;
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.site-nav a {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  padding: 8px 14px;
  transition: color 0.2s ease;
  border-radius: 4px;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #0066ff !important;
}

/* POST CARDS */
.post-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: #0066ff;
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.1);
}

.post-card-title a {
  color: #0066ff;
  font-size: 1.2rem;
  font-weight: 800;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: #0052cc;
}

/* POST TEMPLATE */
.post-template {
  background: #f9fafb;
}

.post-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 0;
  background: #ffffff;
}

.post-header-title {
  font-size: 2.6rem;
  color: #0066ff;
  font-weight: 900;
  margin-bottom: 0;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card-tag {
  background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 24px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  box-shadow: 0 4px 15px rgba(102, 51, 255, 0.3);
  display: inline-block;
  margin-bottom: 1rem;
}

/* POST CONTENT */
.post-content {
  color: #2d3748;
  font-size: 1.15rem;
  line-height: 1.9;
}

.post-content h2 {
  color: #6633ff;
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  border-left: 6px solid #00d9ff;
  padding-left: 1.5rem;
  font-weight: 900;
}

.post-content h3 {
  color: #0066ff;
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

.post-content p {
  margin-bottom: 1.8rem;
  color: #475569;
}

.post-content strong {
  color: #6633ff;
  font-weight: 900;
}

.post-content em {
  color: #0066ff;
  font-style: italic;
}

.post-content a {
  color: #6633ff;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.post-content a:hover {
  color: #ff1493;
  text-decoration-color: #00d9ff;
}

.post-content ul, .post-content ol {
  margin-left: 2rem;
  margin-bottom: 1.8rem;
}

.post-content li {
  margin-bottom: 0.8rem;
  color: #475569;
  border-left: 4px solid #6633ff;
  padding-left: 1.5rem;
}

/* TELEGRAM CTA - MODERN */
.telegram-cta-container {
  text-align: center;
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
  border-radius: 16px;
  border: none;
}

.telegram-cta-container p {
  color: white !important;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
}

.telegram-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--modern-white) 0%, #f0f4f8 100%);
  color: #6633ff !important;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.telegram-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  background: var(--modern-white);
}

/* FOOTER */
.site-footer {
  background: #1a1a1a;
  border-top: 1px solid #e5e7eb;
  color: #ffffff;
}

.site-footer a {
  color: var(--modern-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.site-footer h4 {
  color: var(--modern-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
}

/* PAGINATION */
.pagination {
  margin-top: 3rem;
  padding: 2rem;
  border: 2px solid #6633ff;
  border-radius: 12px;
  background: var(--modern-light-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pagination a {
  color: white;
  background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(102, 51, 255, 0.3);
}

.pagination span {
  color: #6633ff;
  font-weight: 700;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6633ff 0%, #0066ff 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7744ff 0%, #0080ff 100%);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 3rem;
  padding: 2rem;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
}

.hero-btn-primary {
  background: white;
  color: #6633ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* SOCIAL SHARE BUTTONS */
.social-share-container {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f0f4f8 0%, #f8fafc 100%);
  border-radius: 12px;
  border-left: 6px solid #6633ff;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 700;
  color: #6633ff;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: white;
  color: #6633ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #6633ff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.share-btn:hover {
  background: #6633ff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 51, 255, 0.3);
}

.share-btn.twitter-share:hover { border-color: #1DA1F2; background: #1DA1F2; color: white; }
.share-btn.linkedin-share:hover { border-color: #0A66C2; background: #0A66C2; color: white; }
.share-btn.facebook-share:hover { border-color: #1877F2; background: #1877F2; color: white; }
.share-btn.copy-share:hover { border-color: #00d9ff; background: #00d9ff; color: #0f1419; }

/* IMPROVED RELATED POSTS */
.related-posts-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 3px solid #6633ff;
}

.related-posts-section h3 {
  font-size: 2rem;
  color: #6633ff;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-post-card {
  border: 2px solid #6633ff;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(102, 51, 255, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
  transition: all 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-8px);
  border-color: #00d9ff;
  box-shadow: 0 15px 40px rgba(102, 51, 255, 0.2);
}

.related-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-post-card-content {
  padding: 1.5rem;
}

.related-post-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #6633ff;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.related-post-card-title:hover {
  color: #ff1493;
}

.related-post-card-title a {
  text-decoration: none;
  color: inherit;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .social-share-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-buttons {
    width: 100%;
  }

  .share-btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  .post-header-title {
    font-size: 2rem;
  }

  .post-card-title a {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .site-logo {
    font-size: 1.2rem;
  }
}

/* DIFFICULTY BADGES */
.difficulty-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 0.5rem;
  margin-bottom: 1rem;
}

.difficulty-beginner {
  background: #10b981;
  color: white;
}

.difficulty-intermediate {
  background: #f59e0b;
  color: white;
}

.difficulty-advanced {
  background: #ef4444;
  color: white;
}

.post-meta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.reading-time {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

/* CLICKABLE POST CARD */
.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.post-card {
  cursor: pointer;
}

/* BREADCRUMB NAVIGATION */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #6633ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff1493;
}

.breadcrumb-separator {
    color: #d1d5db;
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: #6b7280;
}

/* AUTHOR BIO CARD */
.author-bio-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 51, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border-radius: 12px;
    border-left: 6px solid #6633ff;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6633ff;
    flex-shrink: 0;
}

.author-bio-content h3 {
    font-size: 1.3rem;
    color: #6633ff;
    margin: 0 0 0.5rem 0;
}

.author-bio-title {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.author-bio-text {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.author-bio-social {
    display: flex;
    gap: 1rem;
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: white;
    color: #6633ff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #6633ff;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    background: #6633ff;
    color: white;
}

/* POST NAVIGATION */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 4rem 0;
}

.post-nav-item {
    text-decoration: none;
    color: inherit;
}

.post-nav-link {
    display: block;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 51, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border: 2px solid #6633ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.post-nav-link:hover {
    border-color: #00d9ff;
    box-shadow: 0 12px 30px rgba(102, 51, 255, 0.2);
    transform: translateY(-4px);
}

.post-nav-label {
    font-size: 0.85rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post-nav-title {
    font-size: 1.1rem;
    color: #6633ff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post-nav-excerpt {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

.post-nav-prev .post-nav-label::before {
    content: '← ';
}

.post-nav-next .post-nav-label::after {
    content: ' →';
}

@media (max-width: 768px) {
    .author-bio-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-bio-social {
        justify-content: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* POST TICKER CAROUSEL */
.post-ticker-section {
    background: linear-gradient(135deg, rgba(102, 51, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border-top: 3px solid #6633ff;
    border-bottom: 3px solid #00d9ff;
    padding: 2rem 0;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.post-ticker-section::before {
    content: '🔴 LIVE';
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: linear-gradient(135deg, #ff1493 0%, #ff6b9d 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.post-ticker-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ticker-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #6633ff;
    background: white;
    color: #6633ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 51, 255, 0.15);
}

.ticker-nav-btn:hover {
    background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 51, 255, 0.3);
}

.ticker-nav-btn:active {
    transform: scale(0.95);
}

.ticker-nav-btn svg {
    width: 24px;
    height: 24px;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-height: 180px;
}

.ticker-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    min-width: 100%;
}

.ticker-post {
    min-width: 100%;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticker-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6633ff 0%, #0066ff 50%, #ff1493 100%);
}

.ticker-post:hover {
    background: #f8fafc;
}

.ticker-post-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #6633ff;
    box-shadow: 0 8px 20px rgba(102, 51, 255, 0.2);
    transition: transform 0.3s ease;
}

.ticker-post:hover .ticker-post-image {
    transform: scale(1.05) rotate(1deg);
}

.ticker-post-content {
    flex: 1;
}

.ticker-post-tag {
    display: inline-block;
    background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.ticker-post-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1a1f36;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ticker-post-excerpt {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ticker-post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.ticker-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-post-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.ticker-post-cta:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 51, 255, 0.3);
}

.ticker-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.ticker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dfe1e6;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ticker-dot.active {
    background: linear-gradient(135deg, #6633ff 0%, #0066ff 100%);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(102, 51, 255, 0.3);
}

.ticker-dot:hover {
    background: #6633ff;
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .post-ticker-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .ticker-post {
        padding: 1.5rem;
        gap: 1rem;
    }

    .ticker-post-image {
        width: 100px;
        height: 100px;
    }

    .ticker-post-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .post-ticker-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }

    .post-ticker-section::before {
        top: 0.5rem;
        right: 1rem;
        font-size: 0.65rem;
    }

    .post-ticker-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .ticker-nav-btn {
        width: 40px;
        height: 40px;
    }

    .ticker-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .ticker-post {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .ticker-post-image {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .ticker-post-title {
        font-size: 1.1rem;
    }

    .ticker-post-excerpt {
        font-size: 0.85rem;
    }

    .ticker-post-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ticker-wrapper {
        min-height: auto;
    }
}

/* CALCULATOR DASHBOARD */
.calculator-dashboard {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 217, 255, 0.08) 100%);
    border-top: 3px solid #0066ff;
    border-bottom: 3px solid #00d9ff;
    padding: 1.5rem 0;
    margin: 2rem 0;
}

.calculator-dashboard-title {
    text-align: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    margin-bottom: 1rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.calc-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
    border: 2px solid #00d9ff;
    transition: all 0.3s ease;
}

.calc-card:hover {
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
}

.calc-card-title {
    font-size: 0.95rem;
    color: #0066ff;
    font-weight: 900;
    margin-bottom: 0.6rem;
    text-align: center;
}

.calc-card-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.calc-compact-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.calc-compact-group label {
    font-weight: 700;
    color: #1a1f36;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.calc-compact-input {
    padding: 0.4rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.calc-compact-input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

.calc-compact-results {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.7rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
    border-radius: 6px;
}

.calc-compact-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.4rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.calc-compact-result span:first-child {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    letter-spacing: 0.3px;
}

.calc-compact-value {
    font-size: 0.95rem;
    font-weight: 900;
    color: #0066ff;
}

.calc-compact-result.highlight {
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
}

.calc-compact-result.highlight span {
    color: white;
}

.calc-compact-result.highlight .calc-compact-value {
    color: white;
}

@media (max-width: 1200px) {
    .calculator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calculator-dashboard {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }

    .calculator-dashboard-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calc-card {
        padding: 1.2rem;
    }

    .calc-card-title {
        font-size: 1rem;
    }

    .calc-compact-results {
        gap: 0.5rem;
    }

    .calc-compact-result {
        padding: 0.5rem;
    }

    .calc-compact-value {
        font-size: 0.95rem;
    }
}
