/* Fontlar ve Genel Ayarlar */
:root {
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Lora', serif;
    --color-parchment: #FBF5E6;
    --color-text-dark: #3e2723;
    --color-stone-bg: #4a4a4a;
    --color-stone-border: #2a2a2a;
    --color-gold: #b9904e;
    --color-gold-hover: #d3ad70;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-image: url('https://images.alphacoders.com/105/1058729.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #111;
}

/* Ana Site Çerçevesi (Tam Ekran) */
.site-container {
    width: 100%;
    min-height: 100vh; 
    border: 10px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom, #6d5b4b, #4a3c2d);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    background-color: var(--color-stone-bg);
    display: flex;
    flex-direction: column;
}

/* Üst Kısım (Header) */
.site-header {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://www.transparenttextures.com/patterns/rocky-wall.png');
    background-color: #383838;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #2a2a2a;
    flex-shrink: 0;
}

.logo { font-family: var(--font-heading); color: var(--color-gold); font-size: 2.5rem; text-shadow: 2px 2px 3px #000; }

.main-nav a {
    font-family: var(--font-heading);
    color: var(--color-gold);
    text-decoration: none;
    font-size: 1rem;
    background-color: #4a4a4a;
    padding: 10px 20px;
    margin-left: 10px;
    border: 2px solid #2a2a2a;
    border-radius: 3px;
    box-shadow: 0 3px 0 #2a2a2a;
    transition: all 0.1s ease-in-out;
    position: relative;
    top: 0;
}
.main-nav a:hover {
    color: #fff;
    background-color: #5a5a5a;
}
.main-nav a:active {
    top: 2px;
    box-shadow: 0 1px 0 #2a2a2a;
}

/* Ana İçerik (Parşömen Zemin) */
.main-content {
    background-image: url('https://www.transparenttextures.com/patterns/old-parchment.png');
    background-color: var(--color-parchment);
    color: var(--color-text-dark);
    padding: 40px;
}

/* Duyuru Panosu */
.announcement-board {
    background-color: rgba(0,0,0,0.05);
    border: 4px double var(--color-text-dark);
    padding: 30px;
    text-align: center;
    margin-bottom: 50px;
}
.board-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #5d4037;
    margin-bottom: 15px;
}
.announcement-board p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}
.btn-stone {
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--color-gold-hover);
    background-color: var(--color-stone-bg);
    border: 2px solid var(--color-stone-border);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 4px 0 #2a2a2a;
    transition: all 0.1s ease-in-out;
    position: relative;
    top: 0;
}
.btn-stone:hover {
    background-color: #5a5a5a;
    color: #fff;
}
.btn-stone:active {
    top: 3px;
    box-shadow: 0 1px 0 #2a2a2a;
}

/* Haberler Bölümü */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #5d4037;
    position: relative;
}
.section-title span {
    background-color: var(--color-parchment);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.section-title:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.2);
    z-index: 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-card {
    background-color: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.card-body {
    padding: 20px;
}
.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #5d4037;
    margin-bottom: 5px;
}
.card-body .date {
    font-size: 0.8rem;
    color: #8d6e63;
    margin-bottom: 15px;
}

/* Slider Stilleri */
.slider-container {
    position: relative;
    border: 4px double var(--color-text-dark);
    margin-bottom: 50px;
    height: 450px;
    overflow: hidden;
    background-color: #000;
}
.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 1 0 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}
.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding: 20px;
}
.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
    margin-bottom: 15px;
}
.slide-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 25px;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: var(--color-stone-bg);
    border: 2px solid var(--color-stone-border);
    color: var(--color-gold);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 0 #2a2a2a, inset 0 0 10px rgba(0,0,0,0.4);
    transition: all 0.1s ease-in-out;
}
.slider-btn:hover {
    background-color: #5a5a5a;
    color: #fff;
}
.slider-btn:active {
    box-shadow: 0 1px 0 #2a2a2a, inset 0 0 10px rgba(0,0,0,0.4);
    transform: translateY(-50%) scale(0.95);
}
.slider-btn.prev {
    left: 20px;
}
.slider-btn.next {
    right: 20px;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}
.dot {
    width: 14px;
    height: 14px;
    background-color: var(--color-stone-bg);
    border: 2px solid var(--color-stone-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}
.dot.active {
    background-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold), inset 0 0 3px rgba(0,0,0,0.5);
}

/* DOWNLOAD SAYFASI ÖZEL STİLLERİ */
.download-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-card {
    background-color: rgba(0,0,0,0.03);
    border: 2px solid rgba(62, 39, 35, 0.2);
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: rgba(62, 39, 35, 0.4);
}

.download-icon {
    font-size: 4rem;
    color: var(--color-stone-bg);
    margin-bottom: 20px;
}

.download-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #5d4037;
    margin-bottom: 15px;
}

.download-card p {
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.file-size {
    display: block;
    font-size: 0.9rem;
    color: #8d6e63;
    margin-bottom: 25px;
}

.btn-stone {
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--color-gold-hover);
    background-color: var(--color-stone-bg);
    border: 2px solid var(--color-stone-border);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 4px 0 #2a2a2a;
    transition: all 0.1s ease-in-out;
    position: relative;
    top: 0;
}
.btn-stone:hover { background-color: #5a5a5a; color: #fff; }
.btn-stone:active { top: 3px; box-shadow: 0 1px 0 #2a2a2a; }

.requirements-list {
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}
.requirements-list p {
    margin-bottom: 5px;
    font-weight: 600;
}
.requirements-list ul {
    list-style-position: inside;
    list-style-type: '› ';
    padding-left: 0;
    margin-bottom: 15px;
}

.guide-link {
    display: block;
    margin-top: auto;
    padding-top: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
}
.guide-link:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

/* ITEMLER SAYFASI ÖZEL STİLLERİ */
.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.item-card {
    background: var(--color-stone-bg);
    border: 3px solid var(--color-stone-border);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.item-card.legendary { border-color: var(--rarity-legendary); }
.item-card.rare { border-color: var(--rarity-rare); }
.item-card.magic { border-color: var(--rarity-magic); }

.item-card.legendary .item-rarity { color: var(--rarity-legendary); }
.item-card.rare .item-rarity { color: var(--rarity-rare); }
.item-card.magic .item-rarity { color: var(--rarity-magic); }

.item-header {
    padding: 15px;
    background-color: var(--color-stone-border);
    text-align: center;
}
.item-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin: 0;
}
.item-rarity {
    font-size: 0.8rem;
    font-weight: 600;
}

.item-image-container {
    background-color: #000;
    padding: 10px;
    margin: 0 15px;
    text-align: center;
}
.item-image-container img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}

.item-description {
    padding: 15px;
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}
.item-description p { margin-bottom: 10px; }
.item-description ul { list-style: none; padding-left: 0; }
.item-description ul li { color: var(--color-gold-hover); }

/* Alt Kısım (Footer) */
.site-footer {
    background-color: #2a2a2a;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 5px solid #4a4a4a;
}


/* Mobil Uyum */
@media (max-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    body { padding: 0; }
    .site-container { border: none; }
    .site-header { flex-direction: column; gap: 15px; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 576px) {
    .items-grid {
        grid-template-columns: 1fr;
    }
}



.sticky-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sticky-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    background-color: var(--color-stone-border);
    color: #fff;
    text-decoration: none;
    border: 3px solid var(--color-stone-bg);
    border-right: none;
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.4);
    transition: all 0.3s ease-in-out;
}

/* Aktif (üzerine gelinen) butonun genel stili */
.sticky-btn.active {
    border-color: var(--color-gold);
    background-color: var(--color-stone-bg);
}

/* Butona özel aktif durum renkleri ve parlama efekti */
.sticky-btn.discord.active {
    border-color: #7289da;
    box-shadow: -2px 2px 15px rgba(88, 101, 242, 0.7);
}
.sticky-btn.telegram.active {
    border-color: #27A7E7;
    box-shadow: -2px 2px 15px rgba(39, 167, 231, 0.7);
}
/* YENİ: Ortak tematik butonlar için aktif durum */
.sticky-btn.download.active,
.sticky-btn.login.active,
.sticky-btn.register.active {
    border-color: var(--color-gold);
    box-shadow: -2px 2px 15px rgba(185, 144, 78, 0.7);
}

.sticky-btn .icon {
    font-size: 2rem;
    transition: color 0.3s ease;
}
.sticky-btn.active .icon {
    color: var(--color-gold-hover);
}

/* Metin (Açıklama) Kısmının Stili ve Animasyonu */
.sticky-btn .text {
    position: absolute;
    right: 65px; 
    background-color: var(--color-stone-border);
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Buton aktif olduğunda metni göster */
.sticky-btn.active .text {
    opacity: 1;
    transform: translateX(0);
}
