/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Minecraft;
    src: url(minecraft.woff);
    font-weight: bold;
  }

body {
    font-family: 'Minecraft', sans-serif;
    background-color: #543a69;
    color: #fff;
    line-height: 1.6;
}

/* Navbar container */
.navbar {
    background: linear-gradient(to bottom, #3c3c3c, #262626);
    border-bottom: 4px solid #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}

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

/* Main navbar */
.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Logo styling */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #f655ff;
    text-shadow: 2px 2px 0 #000;
    letter-spacing: 1px;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin: 0 5px;
}

.nav-links a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0 #000;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #f655ff;
    color: #f655ff;
}

.nav-links a.active {
    background-color: rgba(246, 85, 255, 0.2);
    border-color: #f655ff;
    color: #f655ff;
}

/* Dropdown menus */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border: 2px solid #555;
    border-radius: 4px;
    left: 0;
    top: 100%;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #444;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #444;
    color: #f655ff;
    border: none;
    border-bottom: 1px solid #444;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile menu button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Server status indicator */
.server-status {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #f655ff;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #f655ff;
}

.player-count {
    font-size: 14px;
    color: #ddd;
}

/* Hero section */
.hero {
    background: url('https://via.placeholder.com/1920x600/1a1a1a/222222') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 100px 0;
    text-align: center;
    border-bottom: 4px solid #555;
}

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

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    color: #f655ff;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 24px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 40px;
}

/* Server IP box styling */
.server-ip-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.server-ip-box {
    background: linear-gradient(to bottom, #3c3c3c, #262626);
    border: 3px solid #555;
    border-radius: 8px;
    padding: 25px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.server-ip-box h2 {
    font-size: 22px;
    color: #f655ff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 15px;
    text-align: center;
}

.ip-display {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.ip-display input {
    flex: 1;
    background-color: #111;
    color: #fff;
    border: 2px solid #444;
    border-radius: 4px 0 0 4px;
    padding: 12px 15px;
    font-family: 'Minecraft', sans-serif;
    font-size: 18px;
    text-align: center;
    outline: none;
}

.ip-display button {
    background-color: #f655ff;
    color: #111;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    font-family: 'Minecraft', sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ip-display button:hover {
    background-color: #ff66ff;
    box-shadow: 0 0 8px #f655ff;
}

#copyMessage {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin-top: 10px;
    transition: all 0.3s ease;
}

#copyMessage.copied {
    color: #f655ff;
}

/* About section styling */
.about-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #f655ff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 10px;
}

.section-divider {
    height: 4px;
    width: 100px;
    background-color: #f655ff;
    margin: 0 auto;
    box-shadow: 0 0 8px #f655ff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border: 3px solid #555;
    border-radius: 8px;
    overflow: hidden;
}

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

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Features list */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.feature-icon {
    font-size: 28px;
    background-color: rgba(246, 85, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #f655ff;
}

.feature-text h3 {
    font-size: 18px;
    color: #f655ff;
    margin-bottom: 5px;
    text-shadow: 1px 1px 0 #000;
}

.feature-text p {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #262626;
        padding: 10px 0;
        border-top: 2px solid #555;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 5px 20px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #2a2a2a;
        padding-left: 20px;
    }
    
    .server-status {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .server-ip-box {
        padding: 15px;
    }
    
    .ip-display {
        flex-direction: column;
    }
    
    .ip-display input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .ip-display button {
        border-radius: 4px;
        width: 100%;
        padding: 10px;
    }
}