
:root {
    --primary: #4169e1;
    --secondary: #8a2be2;
    --accent: #32cd32;
    --dark: #222639;
    --light: #f5f5f5;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Prompt', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: #28a428;
    transform: translateY(-2px);
}

.section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}


.header-wrapper {
    background-color: #222639;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
}

.logo-img1 {
    height: 750px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
}

.nav-item:hover, .nav-item.active {
    color: #4169e1;
}


.user-section {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.minecraft-skin {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    color: white;
    transition: all 0.3s ease;
}

.user-info:hover {
    background-color: rgba(255,255,255,0.1);
}

.user-name {
    margin-right: 0.5rem;
    font-weight: 500;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.dropdown-content a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #3b82f6;
}

.dropdown-content a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-content a:last-child {
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #eee;
}


.dropdown-content a i.fa-user {
    color: #3b82f6;
}

.dropdown-content a i.fa-cog {
    color: #6b7280;
}

.dropdown-content a i.fa-sign-out-alt {
    color: #f59e0b;
}

.login-btn {
    background-color: #4169e1;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #3456b8;
    transform: translateY(-2px);
}


.hero-section {
    background-color: #f2f2f2;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: url('https://img2.pic.in.th/pic/bg93998ca7ac4aa184.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}


.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    z-index: 1;
}


.slide-content, .slide-image {
    position: relative;
    z-index: 2;
}

.slide-content {
    max-width: 60%;
    color: white;
    z-index: 2;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.slide-button {
    display: inline-block;
    background-color: #32cd32;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slide-button:hover {
    background-color: #28a428;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.slide-image {
    position: relative;
    z-index: 2;
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}


.hero {
    height: 600px;
    background-image: url('assets/images/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}


.blog-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

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

.blog-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.blog-title h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 1.5rem;
}

.blog-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
    display: block;
}


.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}


.team-section {
    padding: 5rem 0;
    background-color: #f8f5f0;
    position: relative;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
    font-size: 1.1rem;
}

.team-showcase {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.team-cards-container {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.team-cards {
    display: flex;
    position: absolute;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.team-card {
    min-width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: absolute;
    left: 0;
}

.team-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.team-card-inner {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: flex;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.team-member-avatar {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #4169e1, #8a2be2);
    overflow: hidden;
    padding: 2rem 0;
}

.minecraft-body {
    position: relative;
    z-index: 1;
}

.minecraft-body-img {
    height: 300px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.team-member-info {
    width: 60%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member-name {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #333;
}

.team-member-role {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    align-self: flex-start;
}

.admin {
    background-color: #ff4500;
}

.moderator {
    background-color: #4CAF50;
}

.builder {
    background-color: #3498db;
}

.developer {
    background-color: #9b59b6;
}

.event {
    background-color: #f1c40f;
    color: #333;
}

.team-member-quote {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid #4169e1;
    margin-bottom: 1.5rem;
}

.team-member-bio {
    margin-top: auto;
}

.team-member-bio h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.team-member-bio p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

.team-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.team-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-control:hover {
    background-color: white;
    transform: scale(1.1);
}

.team-control.prev {
    margin-left: -25px;
}

.team-control.next {
    margin-right: -25px;
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.team-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-dot.active {
    background-color: #4169e1;
    transform: scale(1.2);
}


.join {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.join h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}


.admin-shortcut-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
}

.admin-shortcut {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ff4500;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.admin-shortcut:hover {
    background-color: #e63e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.admin-shortcut i {
    font-size: 18px;
}


@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-card-inner {
        flex-direction: column;
    }
    
    .team-member-avatar, .team-member-info {
        width: 100%;
    }
    
    .team-member-info {
        padding: 2rem;
    }
    
    .minecraft-body-img {
        height: 200px;
    }
    
    .team-cards-container {
        height: 800px;
    }
    
    .about {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .slide-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .team-control {
        width: 40px;
        height: 40px;
    }
    
    .team-member-name {
        font-size: 1.8rem;
    }
    
    .team-member-bio p {
        font-size: 0.85rem;
    }
    
    .team-cards-container {
        height: 900px;
    }
}