/* FRONT PAGE STYLES - Material-UI Inspired */

/* Main Container */
.main-container {
    background: var(--dark-bg);
    min-height: 60vh;
    padding: 3rem 0;
}

.container-lg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Header */
.hero-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.hero-paper {
    background: #00b4ff;
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 
                0px 8px 10px 1px rgba(0,0,0,0.14), 
                0px 3px 14px 2px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 2rem;
    color: white;
}

.hero-paper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,180,255,0.3);
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-brand img {
    width: 40px;
    height: 40px;
    filter: invert(1) drop-shadow(rgba(0, 0, 0, 0.3) 1px 1px 2px);
    font-weight: bold;
    margin-left: -10px;
    margin-right: 10px;
}

.main-title {
    color: white;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Feature Grid */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    margin-left: -10px;
}

.feature-card {
    display: flex;
    min-width: 0;
    box-sizing: border-box;
}

.feature-paper {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 100%;
    min-width: 220px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 
                0px 8px 10px 1px rgba(0,0,0,0.14), 
                0px 3px 14px 2px rgba(0,0,0,0.12);
}

.feature-paper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Server Card - First card with image */
.server-image {
    max-width: 90%;
    max-height: 280px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Market Card - with background */
.market-card {
    background-image: url('../minecraftstore.jpg');
    background-size: cover;   
    background-position: center;
    background-repeat: no-repeat;
    min-width: 450px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,180,255,0.4);
}

.market-card .feature-title {
    color: white;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
    z-index: 1;
    font-size: 2.125rem;
    line-height: 1.235;
    margin: 0;
}

/* Discord Stats Card */
.stats-card {
    background: #1e1e1e;
    cursor: pointer;
}

.stats-card:hover {
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.3);
}

/* Guide Card - How to Join */
.guide-card {
    background-image: url('../nasil.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 320px;
    min-width: 500px;
    cursor: pointer;
    position: relative;
}

.guide-card .feature-title {
    color: white;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
    z-index: 1;
    font-size: 2.125rem;
    line-height: 1.235;
    margin: 0;
}

/* Statistics Card */
.stats-card-2 {
    padding: 32px;
    background-image: url('../stats.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 500px;
    position: relative;
}

.stats-card-2 .feature-title {
    color: white;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.6);
    z-index: 1;
    font-size: 2.125rem;
    line-height: 1.235;
    margin: 0;
}

.feature-title {
    color: var(--text-primary);
    font-size: 2.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.235;
}

.discord-icon {
    max-width: 40%;
    max-height: 40%;
    object-fit: contain;
    margin-bottom: 8px;
}

.stats-number {
    color: white;
    font-size: 2.125rem;
    font-weight: 900;
    margin-bottom: 3.2px;
    margin: 0;
}

.stats-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
    padding-right: 5px;
}

.online-indicator {
    color: rgb(67, 181, 129);
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Blog Section */
.blog-section {
    background: var(--darker-bg);
    padding: 4rem 0;
    margin-top: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-purple);
}

.post-image {
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-purple);
}

.post-meta {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.post-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    background: var(--gradient-bg);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-purple);
    color: white;
}

.no-posts {
    text-align: center;
    padding: 3rem 0;
}

.no-posts-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-posts-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-posts-card p {
    color: var(--text-secondary);
    margin: 0;
}
