/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Hytale-inspired color palette - fantasy/adventure theme */
    --primary-color: #2ecc71;
    /* Emerald Green */
    --primary-dark: #27ae60;
    --primary-light: #58d68d;
    --secondary-color: #f1c40f;
    /* Gold */
    --accent-teal: #16a085;
    --accent-purple: #9b59b6;
    --accent-orange: #e67e22;
    --text-primary: #2c3e50;
    /* Deep Blue/Grey */
    --text-secondary: #5a6c7d;
    --text-light: #7f8c8d;
    --bg-primary: #ffffff;
    --bg-secondary: #f4f6f7;
    --bg-dark: #2c3e50;
    --bg-hero: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --border-color: #bdc3c7;
    --gradient-start: #2ecc71;
    --gradient-end: #1abc9c;
    --gradient-gold: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 15px rgba(46, 204, 113, 0.4);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Rubik', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-tagline {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #2980b9 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.highlight {
    display: block;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(241, 196, 15, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 2px 12px rgba(0, 0, 0, 0.4);
    }
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description strong {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* CTA Section */
.cta-section {
    margin-bottom: 60px;
    text-align: center;
}

.discord-cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #5865F2;
    color: white;
    border: none;
    border-bottom: 4px solid #4752C4;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-heading);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-discord::before {
    display: none;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(2px);
    border-bottom-width: 2px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-discord svg {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-discord span {
    position: relative;
    z-index: 1;
}

.btn-discord-large {
    padding: 20px 40px;
    font-size: 18px;
}

.notify-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.input-group input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15), var(--shadow-md);
}

.btn-primary {
    padding: 16px 32px;
    background: var(--gradient-gold);
    color: #2c3e50;
    border: none;
    border-bottom: 4px solid #d35400;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-heading);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover::before {
    display: none;
}

.btn-primary:hover {
    transform: translateY(2px);
    border-bottom-width: 2px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.btn-primary {
    position: relative;
    z-index: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.form-message {
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    margin-top: 8px;
}

.form-message.success {
    color: var(--secondary-color);
}

.form-message.error {
    color: #ef4444;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.trust-badge {
    color: rgba(255, 255, 255, 0.9);
}

.trust-badge svg {
    color: var(--secondary-color);
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(241, 196, 15, 0.5));
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

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

.feature-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-start);
    transform: scaleX(1);
}

.feature-card:hover::before {
    height: 8px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(26, 188, 156, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    border: 2px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.25), rgba(26, 188, 156, 0.25));
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.about-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.about-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* SEO Content Section */
.seo-content {
    padding: 100px 0;
    background: var(--bg-primary);
}

.seo-content article {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.3;
}

.seo-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.seo-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-link {
    margin-top: 40px;
}

.link-button {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.newsletter .input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter .input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter .input-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

.newsletter .btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--secondary-color));
}

.newsletter .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-teal));
    box-shadow: 0 8px 24px rgba(26, 188, 156, 0.4);
}

/* Bottom CTA */
.cta-bottom {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
}

.cta-bottom h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-bottom p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-bottom .input-group input {
    background: white;
}

.cta-bottom .btn-primary {
    background: var(--bg-dark);
}

.cta-bottom .btn-primary:hover {
    background: #1f2937;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    color: white;
    padding: 60px 0 30px;
    border-top: 2px solid rgba(74, 144, 226, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .features,
    .about,
    .cta-bottom {
        padding: 60px 0;
    }
}