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

:root {
    --primary-color: #00ff88;
    --online-color-status : #FF0000;
    --secondary-color: #7289da;
    --accent-color: #ff6b35;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #333333;
    --shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 255, 136, 0.2);
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(114, 137, 218, 0.1) 0%, transparent 50%);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 2rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 1s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #00cc6a);
    color: var(--bg-dark);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary-color), #5b6eae);
    color: white;
    box-shadow: 0 8px 32px rgba(114, 137, 218, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(114, 137, 218, 0.3);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

/* Hero Images */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

.hero-images {
    position: relative;
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: absolute;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 255, 136, 0.3));
    transition: all 0.3s ease;
}

.minecraft-icon {
    animation: minecraftIconFloat 4s ease-in-out infinite;
}

.hero-image:hover {
    transform: scale(1.1) translateY(-10px);
    filter: drop-shadow(0 15px 30px rgba(0, 255, 136, 0.5));
}

@keyframes minecraftIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Section Styles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: rgba(26, 26, 26, 0.5);
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

.mobs-image {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 255, 136, 0.2));
    animation: mobsFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.steve-image {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 255, 136, 0.3));
    animation: steveFloat 3s ease-in-out infinite 1s;
    transition: all 0.3s ease;
}

.mobs-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 20px 40px rgba(0, 255, 136, 0.4));
}

.steve-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(0, 255, 136, 0.5));
}

@keyframes mobsFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes steveFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

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

.about-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.about-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-dark);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dragon-image {
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(255, 107, 107, 0.3));
    animation: dragonFloat 5s ease-in-out infinite;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.dragon-image:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 25px 50px rgba(255, 107, 107, 0.5));
}

@keyframes dragonFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    min-width: 400px;
}

.feature-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Rules Section */
.rules {
    padding: 6rem 0;
    background: rgba(26, 26, 26, 0.5);
}

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

.rules-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.steve-image {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 255, 136, 0.3));
    animation: steveFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.steve-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 20px 40px rgba(0, 255, 136, 0.5));
}

@keyframes steveFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.rule-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.rule-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.rule-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.rule-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.rule-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Join Section */
.join {
    padding: 6rem 0;
    background: rgba(26, 26, 26, 0.5);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.server-info {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.ip-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.ip-display span {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--primary-color);
    flex: 1;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.online {
    background: var(--online-color-status);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.join-actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.join-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.join-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.villager-image {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 255, 136, 0.3));
    animation: villagerFloat 3s ease-in-out infinite 0.5s;
    transition: all 0.3s ease;
}

.villager-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(0, 255, 136, 0.5));
}

@keyframes villagerFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-images {
        width: 200px;
        height: 150px;
    }
    
    .steve-image {
        left: 20%;
        top: 20%;
    }
    
    .villager-image {
        right: 20%;
        bottom: 20%;
    }
    
    .hero-image {
        max-width: 100px;
        max-height: 100px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobs-image {
        max-width: 180px;
        max-height: 180px;
        margin-bottom: 1rem;
    }
    
    .steve-image {
        max-width: 80px;
        max-height: 80px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .dragon-image {
        max-width: 250px;
        max-height: 250px;
        margin-bottom: 2rem;
    }
    
    .rules-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .steve-image {
        max-width: 150px;
        max-height: 150px;
        margin-bottom: 2rem;
    }
    
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-width: 600px;
        gap: 1.5rem;
    }
    
    .rule-card {
        padding: 1.5rem;
    }
    
    .rule-card h3 {
        font-size: 1.1rem;
    }
    
    .rule-card p {
        font-size: 0.9rem;
    }
    
    .join-actions {
        gap: 1.5rem;
    }
    
    .villager-image {
        max-width: 80px;
        max-height: 80px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-width: 600px;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        min-width: unset;
    }
    
    .rules-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .steve-image {
        max-width: 150px;
        max-height: 150px;
        margin-bottom: 2rem;
    }
    
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-width: 600px;
        gap: 1.5rem;
    }
    
    .rule-card {
        padding: 1.5rem;
    }
    
    .rule-card h3 {
        font-size: 1.1rem;
    }
    
    .rule-card p {
        font-size: 0.9rem;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
} 