/* 
    Roseus Minecraft Server Website Styles
    Theme: Dark, Rose Gold, Pink, Purple
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
/* Minecraft Font (Local or Web) - Using a free webfont alternative that looks like Minecraft */
@font-face {
    font-family: 'Minecraftia';
    src: url('https://cdn.jsdelivr.net/gh/South-Paw/typeface-minecraft@master/files/minecraft-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-main: #0c0812; /* Daha koyu datemc tarzı */
    --bg-secondary: #120e18;
    --bg-card: #1a1423;
    
    --text-main: #f5f5f5;
    --text-muted: #9f94af;
    
    --primary: #e84372; /* Daha canlı Rose Pink */
    --primary-hover: #ff5788;
    --secondary: #d4af37; /* Gold */
    --accent: #9b59b6; /* Purple */
    --gold: #ffaa00;
    
    --border-color: rgba(232, 67, 114, 0.15);
    --border-hover: rgba(232, 67, 114, 0.4);
    
    --transition: all 0.3s ease;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 15px rgba(232, 67, 114, 0.3);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(142, 68, 173, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 106, 132, 0.08), transparent 25%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(13, 9, 18, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand img {
    height: 40px;
    border-radius: 8px;
}

.nav-brand span {
    font-size: 1.3rem;
    font-family: 'Minecraftia', sans-serif;
    letter-spacing: 1px;
    color: var(--primary);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Minecraftia', sans-serif;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    box-shadow: 0 4px 15px rgba(212, 106, 132, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary));
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
}

.btn-outline:hover {
    background: rgba(212, 106, 132, 0.1);
    transform: translateY(-2px);
}

.btn-discord {
    background: #5865F2;
    color: white !important;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-block {
    width: 100%;
}

/* Layout */
.main-content {
    min-height: calc(100vh - 350px);
    padding: 50px 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* Mobil menü için geliştirilebilir */
    }
}

/* Cards & Widgets */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.3rem;
    font-family: 'Minecraftia', sans-serif;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.card-title i {
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 106, 132, 0.2);
    outline: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 106, 132, 0.15) 0%, rgba(13, 9, 18, 0) 70%);
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Minecraftia', sans-serif;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.8), 0 0 20px rgba(232, 67, 114, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.ip-box {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px 25px 5px 5px;
    margin-bottom: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.ip-box:hover {
    background: rgba(212, 106, 132, 0.1);
    border-color: var(--primary);
}

.ip-box .status-dot {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

.ip-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.player-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 15px;
}

/* Server List Widget */
.player-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.player-list-item img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.player-list-item .name {
    font-weight: 600;
}

/* Market Category Sidebar */
.market-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.market-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.market-nav-item:hover, .market-nav-item.active {
    background: rgba(212, 106, 132, 0.15);
    border-color: var(--primary);
    transform: translateX(5px);
}

.market-nav-item i {
    color: var(--primary);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.product-img {
    height: 150px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 3rem;
    color: var(--primary);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
}

.product-action {
    margin-top: auto;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0 15px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-3 { margin-top: 30px; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

/* Badges */
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pending { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.badge-completed { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.badge-failed { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
