@import url(background.css);
@import url(card.css);

:root {
    --bg: radial-gradient(circle at top left, #1a1a1d, #0d0d0f);
    --card-bg: rgba(255, 255, 255, 0.06);
    --accent: #facc15;
    --text: #f9fafb;
    --radius: 18px;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* HEADER */
header {
    text-align: center;
    padding: 70px 20px 40px;
    animation: fadeIn 1s ease-in-out;
}

header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
}

header p {
    color: #bbb;
    font-weight: 400;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* SEÇÕES */
main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.team-section {
    width: 90%;
    max-width: 1300px;
    margin: 80px auto;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: rgba(250, 204, 21, 0.2);
}

.team-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent);
    transition: height 1.5s ease, opacity 1.5s ease;
    transition-delay: 0.25s;
    opacity: 0.5;
}

.team-section.active::after {
    height: 100%;
    opacity: 1;
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* GRID */
.team-grid {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


::-webkit-scrollbar{
  width: 12px;
}
::-webkit-scrollbar-thumb{
  width: 10px;
  background-color: #facc15;
  border-radius: 50px; 
}

/* FOOTER */
footer {
    margin-top: 60px;
    padding: 25px 0;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


  #secretModal {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      justify-content: center;
      align-items: center;
    }

    #modalContent {
      background: #000;
      border: 2px solid #ffcc00;
      border-radius: 10px;
      width: 90%;
      max-width: 900px;
      height: 80%;
      position: relative;
      display: flex;
      flex-direction: column;
    }

    #closeBtn {
      position: absolute;
      top: 10px;
      right: 15px;
      background: #ffcc00;
      color: #000;
      font-weight: bold;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      border-radius: 5px;
    }

    iframe {
      flex: 1;
      border: none;
      border-radius: 0 0 10px 10px;
    }