:root {
    --primary-color: #00E5FF;
    --primary-dark: #00B8D4;
    --accent-color: #FFD700;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background: rgba(18, 18, 18, 0.95);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

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

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

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(0, 30, 40, 0.9) 100%), url('https://cdn.hytale.com/6005085e6833c80017183d2c_hytale_screenshot_2.jpg');  /* Placeholder image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px; /* Offset for fixed header */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.highlight {
    color: var(--primary-color);
}

.description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Signup Card */
.signup-card {
    background: rgba(30, 30, 30, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 500px;
    width: 100%;
}

.signup-card h2 {
    font-family: var(--font-heading);
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.form {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 5px;
    border: 2px solid #444;
    background: #2a2a2a;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.button {
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

/* Status Messages */
.status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success {
    background-color: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
    border: 1px solid #00B8D4;
}

.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #e57373;
    border: 1px solid #d32f2f;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: #181818;
    text-align: center;
}

.features h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid transparent;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-top-color: var(--primary-color);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.feature-item p {
    color: var(--text-muted);
}

/* Community Section */
.community {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(rgba(9, 21, 41, 0.9), rgba(9, 21, 41, 0.9)), url('https://cdn.hytale.com/5f720042d3d0f30017e8dc43_zone3_cliffs.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.community h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #ddd;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.3s, filter 0.3s;
}

.social-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.discord { background-color: #5865F2; }
.twitter { background-color: #1DA1F2; }
.youtube { background-color: #FF0000; }

/* Footer */
footer {
    background-color: #000;
    padding: 2rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .title { font-size: 2.5rem; }
    .nav-container { flex-direction: column; gap: 1rem; }
    nav a { margin: 0 1rem; }
    .hero { padding-top: 120px; }
    .form { flex-direction: column; }
    .button { width: 100%; }
}
