/* Difficulty Bar Section */
.difficulty-bar {
  width: 80%;
  height: 10px;
  border-radius: 10px;
  margin: 8px auto 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.difficulty-fill {
  height: 100%;
  transition: width 0.5s ease;
  border-radius: 10px;
}

/* Difficulty Colors */
.difficulty-easy {
  width: 100%;
  background: linear-gradient(90deg, #00ff7f, #32cd32);
  box-shadow: 0 0 10px #00ff7f;
}

.difficulty-hard {
  width: 100%;
  background: linear-gradient(90deg, #ff3b3b, #a60000);
  box-shadow: 0 0 10px #ff3b3b;
}

.difficulty-none {
  width: 0%;
  background: transparent;
}

/* === GENEL RESET & CURSOR === */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;          /* Scroll tamamen kapalı */
    background: #000;
}

body {
    cursor: url(../images/Cursor_2.cur), auto;
}

a, a img {
    cursor: url(../images/Cursor_4.cur), auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === LAYOUT === */

.container {
    position: relative;
    width: 100%;
    height: 100vh;             /* Tam ekran */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    position: fixed;
    object-fit: contain; 
    object-fit: cover;
    object-position: center center;
    min-width: 100%;
    min-height: 100%;
}

/* === HEADER (LOGO VARSA) === */

.header {
    text-align: center;
    padding: 40px 0 20px;
    z-index: 10;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    max-width: 500px;
    height: auto;
}

/* === MAIN CONTENT (SERVER CARD) === */

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%); /* Hafif yukarı al */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.server-cards {
    display: flex;
    gap: 30px;
    max-width: 1200px; 
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap; 
}

.server-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px; 
    flex: 0 1 auto; 
    width: calc(33.333% - 20px); 
}

.server-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.server-link:hover {
    transform: scale(1.02);
}

.button-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.button-link:hover {
    transform: scale(1.05);
}

.server-card {
    display: block;
    width: 100%;
}

.server-card-content {
    transition: transform 0.3s ease, z-index 0.3s ease;
    position: relative;
}

.server-card:hover .server-card-content {
    transform: scale(1.05);
    z-index: 10;
}

.server-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.server-image.normal {
    opacity: 1;
}

.server-image.hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.server-card:hover .server-image.normal {
    opacity: 0;
}

.server-card:hover .server-image.hover {
    opacity: 1;
}

/* === BUTTON ALTINDAKİ KART BUTONU === */

.card-button {
    position: relative;
    margin-top: 20px;
    z-index: 20;
    cursor: pointer;
    display: inline-block;
}

.left-button {
    margin-top: 20px;
}

.right-button {
    margin-top: 20px;
}

.button-image {
    height: auto;
    transition: opacity 0.3s ease;
}

.button-image.normal {
    opacity: 1;
}

.button-image.hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.card-button:hover .button-image.normal {
    opacity: 0;
}

.card-button:hover .button-image.hover {
    opacity: 1;
}

/* === SOSYAL MEDYA === */

.social-media-section {
    position: absolute;
    bottom: 80px;              /* Kartın altında sabit */
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    z-index: 15;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-button {
    position: relative;        /* Hover ikon tam üstüne gelsin */
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-button:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 70px;
    height: 60px;
    transition: opacity 0.3s ease;
}

.social-icon.normal {
    opacity: 1;
}

.social-icon.hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.social-button:hover .social-icon.normal {
    opacity: 0;
}

.social-button:hover .social-icon.hover {
    opacity: 1;
}

/* === FOOTER === */

.footer {
  position: absolute;
  bottom: 20px;                /* Ekranın dibine sabit */
  left: 0;
  width: 100%;
  padding: 0;
  text-align: center;
  background: transparent;
  z-index: 20;
}

.footer-text {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: #d8d8d8;
  text-shadow: 0 0 5px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.7);
  opacity: 0.9;
}

.footer-text span {
  font-weight: 700;
  background: linear-gradient(90deg, #c89b3c, #f1d48b, #c89b3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(255,215,100,0.4);
}

/* Eski footer-image kullanmıyorsan silinebilir ama kalsın istersek: */
.footer-image {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* === RESPONSIVE === */

@media (max-width: 1024px) {
    .server-cards {
        flex-wrap: wrap; 
        gap: 40px;
    }
    
    .server-section {
        width: auto;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .server-cards {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    
    .server-section {
        max-width: 350px;
        width: 90%;
    }
    
    .logo {
        max-width: 400px; 
    }
    
    .card-button {
        margin-top: 15px;
    }
    
    .social-media-section {
        margin: 50px 0 10px 0;
    }
    
    .social-buttons {
        gap: 15px;
    }
    
    .social-icon {
        width: 34px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0 15px;
    }
    
    .main-content {
        transform: translate(-50%, -50%);
        padding: 20px 10px;
    }
    
    .server-cards {
        gap: 40px;
    }
    
    .server-section {
        max-width: 300px;
        width: 95%;
    }
    
    .logo {
        max-width: 300px;
    }
    
    .card-button {
        margin-top: 10px;
    }
    
    .social-media-section {
        margin: 40px 0 25px 0;
    }
    
    .social-buttons {
        gap: 12px;
    }
    
    .social-icon {
        width: 34px;
        height: 55px;
    }
}

/* === MARQUEE (KULLANIYORSAN) === */

.marquee {
    font-size: 2vw;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    height: 2.5vw;
    overflow: hidden;
    background-color: #000;
    position: relative;
}

.marquee div {
    display: block;
    width: 500%;
    position: absolute;
    overflow: hidden;
    align-self: anchor-center;
    animation: marquee 14s linear infinite;
}

.marquee span {
    float: left;
    width: 100%;
    font-size: 22px;
}

@keyframes marquee {
    0% { left: 90%; }
    100% { left: -110%; }
}
