/* ===========================
   TSIOUPLIS.COM — Premium CSS
   =========================== */

:root {
  --bg-deep: #121e36;
  --bg-card: rgba(35, 50, 75, 0.5);
  --bg-card-hover: rgba(45, 65, 95, 0.7);
  --accent-blue: #33e8ff;
  --accent-violet: #ff7af9;
  --accent-cyan: #33ffb5;
  --accent-grad: linear-gradient(135deg, #00e1ff, #ff4df8);
  --text-primary: #ffffff;
  --text-secondary: #d0defa;
  --text-muted: #8ea5d4;
  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(0, 225, 255, 0.6);
  --glow-blue: rgba(0, 225, 255, 0.25);
  --glow-violet: rgba(255, 77, 248, 0.25);
  --radius: 20px;
  --transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(140deg, #0b1528 0%, #162544 50%, #26163b 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== LANGUAGE BAR ===== */
.lang-bar {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  display: flex;
  gap: 8px;
  background: rgba(18, 28, 48, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 10px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--accent-grad);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(79, 142, 247, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(155, 114, 248, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(34, 211, 238, 0.15) 0%, transparent 60%);
  z-index: 0;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }

  20% {
    opacity: 0.6;
  }

  80% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-120px) scale(0.5);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 720px;
}

.avatar-ring {
  display: inline-flex;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-grad);
  margin-bottom: 28px;
  box-shadow: 0 0 40px rgba(79, 142, 247, 0.35);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(79, 142, 247, 0.35);
  }

  50% {
    box-shadow: 0 0 60px rgba(155, 114, 248, 0.5);
  }
}

.avatar-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2f58, #0d1e3e);
  overflow: hidden;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff 30%, var(--accent-blue) 70%, var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(15px, 2.5vw, 20px);
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-grad);
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(79, 142, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ===== SITE LOGO ===== */
.site-logo-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.site-logo {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 60px rgba(79, 142, 247, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes bounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(22, 42, 75, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  backdrop-filter: blur(12px);
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(79, 142, 247, 0.05);
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 100px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-blue);
  background: var(--glow-blue);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.project-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 142, 247, 0.12);
}

.project-card.hidden {
  display: none;
}

.card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--glow-blue);
  filter: blur(30px);
  transition: var(--transition);
  pointer-events: none;
}

.project-card:hover .card-glow {
  background: rgba(79, 142, 247, 0.25);
}

.card-icon {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(79, 142, 247, 0.3));
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  filter: brightness(1.35) saturate(1.2) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.12));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.project-card:hover .card-icon img {
  transform: scale(1.08);
  filter: brightness(1.55) saturate(1.3) drop-shadow(0 4px 12px rgba(79, 142, 247, 0.3));
}

.card-body {
  flex: 1;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-url {
  font-size: 12px;
  color: var(--accent-blue);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CARD LINKS / BADGES ===== */
.card-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.card-badge-www {
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.3);
  color: var(--accent-blue);
}
.card-badge-www:hover {
  background: rgba(0, 225, 255, 0.2);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 225, 255, 0.2);
}

.card-badge-play {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
}
.card-badge-play:hover {
  background: rgba(52, 211, 153, 0.2);
  border-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.2);
}

.card-badge-apple {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d0defa;
}
.card-badge-apple:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.badge-text small {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.4px;
}
.badge-text strong {
  font-size: 13px;
  font-weight: 700;
}


/* ===== ABOUT ===== */
.about-section {
  background: rgba(20, 35, 65, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
  backdrop-filter: blur(10px);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-text .section-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 16px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.about-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.about-card-text {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 100px 24px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section .section-title {
  margin-bottom: 14px;
}

.contact-section .section-desc {
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.contact-link:hover {
  border-color: var(--border-hover);
  background: rgba(79, 142, 247, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 142, 247, 0.15);
}

.contact-icon {
  font-size: 20px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .stats-bar {
    flex-direction: column;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    grid-template-columns: 1fr;
  }

  .lang-bar {
    top: 12px;
    right: 12px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card,
.about-card,
.stat-item {
  animation: fadeInUp 0.6s ease both;
}