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

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Desktop video - varsayılan olarak görünür */
.desktop-video {
    opacity: 1;
}

/* Mobile video - varsayılan olarak gizli */
.mobile-video {
    opacity: 0;
}

/* Mobil cihazlarda desktop video'yu gizle, mobile video'yu göster */
@media (max-width: 768px) {
    .desktop-video {
        opacity: 0;
    }

    .mobile-video {
        opacity: 1;
    }
}

.main-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.content-wrapper {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    padding: 0 1rem;
}

.identity-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.2rem;
    animation: slideInUp 1s ease-out;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.8));
    transition: all 0.3s ease;
}

.identity-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 60px rgba(255, 255, 255, 1));
}

.decode-text {
    width: 100%;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 3rem;
    font-family: "Poppins", monospace;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    word-break: break-word;
}

.space {
    display: inline-block;
    width: 10px;
}

.word-container {
    display: inline-block;
    white-space: nowrap;
    margin-right: 10px;
}

.text-animation {
    display: inline-block;
    position: relative;
    color: transparent;
    text-transform: uppercase;
    font-weight: 600;
}

.text-animation:before {
    content: "";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #0e182d;
    width: 0;
    height: 1.2em;
    -webkit-transform: translate(-50%, -55%);
    -ms-transform: translate(-50%, -55%);
    transform: translate(-50%, -55%);
}

.text-animation.state-1:before {
    width: 1px;
}

.text-animation.state-2:before {
    width: 0.9em;
}

.text-animation.state-3 {
    color: white;
}

.text-animation.state-3:before {
    width: 0;
}

.logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite, glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo i {
    font-size: 3rem;
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: slideInUp 1s ease-out;
}

.main-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.2s both;
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: slideInUp 1s ease-out 0.2s both;
}

.description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.4s both;
}

.phone-section,
.otp-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 0 2.5rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
    animation: slideInUp 1s ease-out 1.4s both;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.team-card {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #fff;
    transition: transform 0.3s ease;
  
    /* Dikey hizalama için */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  
    /* Yüksekliği eşitle */
    height: 100%;
  }

  .footer-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  
  .avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #44a08d, #093637);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
  }
  
  /* İsim ve title hizalama */
  .team-card h5 {
    min-height: 40px; /* isimler farklı uzunlukta olsa bile hizalanır */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .team-card p {
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
    color: black;
  }

  @media (max-width: 576px) {
    .team-card {
      padding: 12px;
    }
    .team-card h5 {
      font-size: 14px;
    }
    .team-card p {
      font-size: 12px;
    }
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background:rgb(160, 68, 68);
    color: #fff;
}
  
/* KVKK Linkleri */
.kvkk-links {
    text-align: center;
    margin-top: 1.5rem;
    animation: slideInUp 1s ease-out 1.6s both;
}

.kvkk-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 5px 5px;
    border-radius: 8px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 15px 5px;
    border-radius: 8px;
}

.kvkk-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.kvkk-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 1.5px;
    font-size: 0.7rem;
}

/* Modal Glassmorphism Stilleri */
.modal-content {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    font-size: 11px;
}

.modal-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
}

.modal-title {
    color: #333;
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.modal-body h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;

}

.modal-body h6 {
    color: #2c3e50;
    font-weight: 400;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(10px);
}

.btn-close {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.modal-backdrop {
    backdrop-filter: blur(10px);
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-dialog {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .identity-logo {
        width: 180px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .decode-text {
        font-size: 3rem;
        line-height: 1.6;
        max-width: 95vw;
        margin: 0 auto;
    }

    .word-container {
        margin-right: 5px;
    }

    .countdown-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .floating-shape {
        display: none;
    }
}

.footer-logos {
    display: inline-flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-logos img {
    height: 25px;
    object-fit: contain;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 70px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 25px;
    }
}