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

html {
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  .featured-image {
    height: clamp(180px, 45vw, 260px);
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #a30101 0%, #17006b 50%, #008116 100%);
  min-height: 100vh;
  width: 100%;
  color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  animation: fadeInDown 1s ease;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 30px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.2s ease;
  object-fit: cover;
}

.logo-circulito {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin: 0 auto 30px;
}

.logo-ol {
  position: absolute;
  bottom: 0;
  /* adjust to change the corner */
  right: 0;
  width: 60px;
  /* tweak depending on your logo */
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  background-color: white;
  object-fit: cover;
  /* optional, makes it stand out */
}

h1 {
  font-size: 3em;
  margin: 20px 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1.4s ease;
}

.subtitle {
  font-size: 1.3em;
  opacity: 0.9;
  margin-bottom: 40px;
  animation: fadeIn 1.6s ease;
}

/* Social Media Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
  animation: fadeInUp 1.8s ease;
}

.social-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Projects Section */
.projects-section {
  padding: 60px 20px;
  animation: fadeInUp 2s ease;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Featured Project (SkinSniper) */
.featured-project {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 40px;
  transition: all 0.4s ease;
  animation: fadeIn 0.6s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.featured-project:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.featured-content {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.featured-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.featured-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.image-skinsniper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0221cf, #c1e3ff);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.image-csgorep {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #000a35, #383838);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.image-minics {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #000a35, #383838);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.featured-project h3 {
  font-size: 2.2em;
  margin: 0;
}

.featured-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #764ba2;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  display: inline-block;
}

.featured-project p {
  line-height: 1.7;
  opacity: 0.95;
  font-size: 1.1em;
}

.featured-image {
  min-width: 0px;
  width: 100%;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0; /* belt-and-suspenders with flex/grid */
  max-width: 100%;
}

/* Other Projects Grid */
.project-header {
  display: flex; /* put image + title in a row */
  align-items: center; /* vertical alignment */
  gap: 15px; /* spacing between them */
  margin-bottom: 15px; /* space below the header */
}
.project-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 40px;
  transition: all 0.4s ease;
  animation: fadeIn 0.6s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:nth-child(1) {
  animation-delay: 0.4s;
}

.project-card:nth-child(2) {
  animation-delay: 0.6s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.project-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.project-card p {
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 20px;
}

.project-link {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.project-link.featured {
  padding: 15px 35px;
  font-size: 1.1em;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.project-link.featured:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Trading Section */
.trading-section {
  padding: 60px 20px;
  animation: fadeInUp 2.2s ease;
}

.trading-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trading-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.trading-icon {
  font-size: 3em;
}

.trading-card h2 {
  font-size: 2.2em;
  margin: 0;
}

.trading-card p {
  font-size: 1.15em;
  line-height: 1.7;
  opacity: 0.95;
  margin: 20px 0;
}

.requirements {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin: 25px 0;
  text-align: left;
}

.requirements h4 {
  font-size: 1.3em;
  margin-bottom: 15px;
  text-align: center;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 1.05em;
}

.requirement-item::before {
  content: '✓';
  font-size: 1.3em;
  color: #4ade80;
}

.trading-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Contact Section */
.contact-section {
  padding: 60px 20px 80px;
  animation: fadeInUp 2.4s ease;
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 40px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.contact-card h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.contact-card p {
  font-size: 1.2em;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 30px;
}

.email-box {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px 30px;
  display: inline-block;
  margin: 20px 0;
  transition: all 0.3s ease;
  cursor:pointer;
}

.email-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.email-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 0.5px;
  overflow-wrap: anywhere;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 968px) {
  .projects-section,
  .trading-section {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .contact-section {
    padding-bottom: 0px;
  }

  .featured-content {
    grid-template-columns: 1fr;
  }

  .featured-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  .project-card p {
    text-align: center;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .subtitle {
    font-size: 1.1em;
  }

  .section-title {
    font-size: 2em;
  }

  .social-links {
    gap: 15px;
  }

  .social-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .featured-project {
    padding: 25px;
  }

  .featured-project h3 {
    font-size: 1.8em;
  }

  .featured-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .trading-header {
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-bottom: 10px;
  }

  .project-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .featured-text-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .featured-icon {
    width: 60px;
    height: 60px;
    font-size: 2em;
  }

  .contact-card h2 {
    font-size: 2em;
  }

  .email-link {
    font-size: 1.1em;
  }

  .trading-card h2 {
    font-size: 1.8em;
  }
}

/* make the email row align neatly */
.email-box {
  display: inline-flex;         /* was inline-block */
  align-items: center;
  gap: 10px;
}

.copy-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  transition: transform .15s ease, background .2s ease;
}

.copy-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.copy-btn:active { transform: translateY(0); }
.copy-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.copy-btn.copied {
  background: rgba(74, 222, 128, 0.35);   /* subtle green flash */
  border-color: rgba(74, 222, 128, 0.6);
}
