/* Style.css - Minecraft Sunucu Giriş Sayfası */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Orbitron:wght@500;700&display=swap');

:root {
    --bg-color: #0b0c10;
    --card-bg: #1f2833;
    --primary-color: #45f3ff;
    --secondary-color: #6f42c1;
    --text-color: #c5c6c7;
    --title-color: #ffffff;
    --hover-color: #1a1a24;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Header & Navbar */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-placeholder {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #000;
    box-shadow: 0 0 15px rgba(69, 243, 255, 0.3);
    flex-shrink: 0;
}

.server-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--title-color);
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background: rgba(69, 243, 255, 0.1);
}

/* Nav Btn Kredi */
.nav-links .btn-kredi {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000 !important;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(69, 243, 255, 0.25);
    white-space: nowrap;
}
.nav-links .btn-kredi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(69, 243, 255, 0.45);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, rgba(111, 66, 193, 0.15) 0%, rgba(11, 12, 16, 1) 70%);
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--title-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    color: #8f94fb;
}

/* Server Status & Player Counter */
.status-badge {
    background: rgba(31, 40, 51, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    backdrop-filter: blur(5px);
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #2ecc71;
    border-radius: 50px;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse 1.5s infinite;
}

.player-count {
    font-family: 'Orbitron', sans-serif;
    color: var(--title-color);
    font-weight: 700;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    box-shadow: 0 5px 15px rgba(69, 243, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(69, 243, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--title-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* Sections General */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--title-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 5px;
}

/* News / Cards Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(111, 66, 193, 0.15);
    border-color: rgba(69, 243, 255, 0.2);
}

.news-image-placeholder {
    height: 180px;
    background: linear-gradient(135deg, rgba(69, 243, 255, 0.1), rgba(111, 66, 193, 0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--title-color);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.85rem;
    color: #8f94fb;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--title-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Rules Section */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.rule-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 20px;
}

.rule-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rule-text h3 {
    color: var(--title-color);
    margin-bottom: 5px;
}

/* Market Page Styles & Tabs */
.market-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(69, 243, 255, 0.2);
    border-color: var(--primary-color);
}

.market-content {
    display: none;
}

.market-content.active {
    display: grid;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(69, 243, 255, 0.15);
    border-color: var(--primary-color);
}

.product-badge {
    background: var(--secondary-color);
    color: var(--title-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin: 0 auto 20px;
}

.product-card h3 {
    color: var(--title-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 10px;
}

.product-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li::before {
    content: '✔';
    color: #2ecc71;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2ecc71;
    color: #000;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
    color: #555866;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Responsive */
@media (max-width: 1150px) {
    .navbar {
        padding: 10px 15px;
        gap: 10px;
    }
    .nav-links {
        gap: 6px;
    }
    .nav-links a {
        padding: 6px 9px;
        font-size: 0.85rem;
    }
    .server-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 820px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}
