:root {
    --primary-color: #4ecca3;
    --secondary-color: #2d6a4f;
    --accent-color: #56e39f;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: #f0f0f0;
    --gray-color: #333333;
    --gray-light-color: #555555;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --text-color: #e0e0e0;
    --border-radius: 16px;
    --card-border-radius: 20px;
    --button-border-radius: 12px;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 15px 40px rgba(78, 204, 163, 0.3);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glowing-shadow: 0 0 20px rgba(78, 204, 163, 0.5), 0 0 40px rgba(78, 204, 163, 0.2);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--dark-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(78, 204, 163, 0.2);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(78, 204, 163, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--button-border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

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

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--glowing-shadow);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.1);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--glowing-shadow);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-outline-lg {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 16px 40px;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.1);
}

.btn-outline-lg:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--glowing-shadow);
}

/* Brand New Navbar Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    height: 60px;
    transition: all 0.3s ease;
}

.site-header .container {
    height: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    padding: 0;
}

.logo {
    z-index: 200;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 32px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(78, 204, 163, 0.4));
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(78, 204, 163, 0.6));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-menu li {
    list-style: none;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 8px rgba(78, 204, 163, 0.6);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
    transform: scaleX(1);
}

.join-btn {
    margin-left: 10px;
}

.join-btn a {
    background-color: var(--primary-color);
    color: var(--dark-color) !important;
    border-radius: 30px;
    padding: 0 20px !important;
    margin: 10px 0;
    height: 36px !important;
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.3);
    font-weight: 600;
}

.join-btn a i {
    margin-right: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.join-btn a:hover {
    background-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.5);
    transform: translateY(-2px);
}

.join-btn a:hover i {
    transform: translateX(-3px);
}

.join-btn a::after {
    display: none;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 200;
}

.hamburger {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 90px 30px 30px;
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        width: 100%;
        height: auto;
    }
    
    .nav-menu li {
        width: 100%;
        height: auto;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        width: 100%;
        font-size: 1rem;
        height: auto;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .join-btn {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .join-btn a {
        width: 100%;
        justify-content: center;
        height: 45px !important;
        margin: 0;
    }
    
    .site-header.menu-open .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .site-header.menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .site-header.menu-open .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 90;
    }
}

/* Adjust hero section for new navbar */
.hero {
    padding-top: 80px;
}

/* Remove old navbar styles */
.main-header, 
.navbar-brand, 
.navbar-toggler, 
.navbar-collapse, 
.navbar-nav, 
.nav-item, 
.nav-link, 
.btn-play {
    /* Remove all styles - to be safe, not affecting our new navbar */
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at bottom, var(--gray-color) 0%, var(--dark-color) 70%);
    color: white;
    padding-top: 80px;
    overflow: hidden;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Minecraft', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(78, 204, 163, 0.2);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

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

.server-stats {
    display: flex;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1s;
}

.stat {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(78, 204, 163, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 1.2s, float 6s ease-in-out infinite 1.2s;
}

.floating {
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(78, 204, 163, 0.3));
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.features {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at 50% 50%, rgba(78, 204, 163, 0.08) 0%, transparent 70%);
    padding: 140px 0;
}

.features:before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--darker-color));
    z-index: 2;
}

.features:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%234ecca3" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.features .row {
    row-gap: 40px;
    margin-left: -25px;
    margin-right: -25px;
}

.features .col-md-4 {
    padding-left: 25px;
    padding-right: 25px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(56, 56, 56, 0.8) 0%, rgba(35, 35, 35, 0.8) 100%);
    backdrop-filter: blur(5px);
    border-radius: var(--card-border-radius);
    padding: 50px 35px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow), 0 0 0 1px rgba(78, 204, 163, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(78, 204, 163, 0.1);
    height: 100%;
    transform: translateY(50px);
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Add a subtle inner glow */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: calc(var(--card-border-radius) - 1px);
    background: linear-gradient(to bottom right, 
                                rgba(255, 255, 255, 0.1) 0%, 
                                rgba(255, 255, 255, 0.05) 10%, 
                                rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    color: var(--primary-color);
    transition: var(--transition);
    letter-spacing: -0.5px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: width 0.5s ease;
}

.feature-card:hover h3::after {
    width: 80%;
}

.feature-card p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.features .section-title {
    margin-bottom: 70px;
}

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

/* Add staggered animation for feature cards */
@keyframes featureCardAppear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features .row .col-md-4:nth-child(1) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.features .row .col-md-4:nth-child(2) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

.features .row .col-md-4:nth-child(3) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.features .row .col-md-4:nth-child(4) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.features .row .col-md-4:nth-child(5) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.features .row .col-md-4:nth-child(6) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.features .row .col-md-4:nth-child(7) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.features .row .col-md-4:nth-child(8) .feature-card.animate {
    animation: featureCardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(78, 204, 163, 0.3);
    border-color: rgba(78, 204, 163, 0.6);
}

.feature-card:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(78, 204, 163, 0.7);
}

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

.feature-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(78, 204, 163, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.feature-card:hover:after {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--dark-color);
    font-size: 38px;
    box-shadow: 0 15px 30px rgba(78, 204, 163, 0.3), 0 0 30px rgba(78, 204, 163, 0.2), inset 0 0 0 8px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-icon:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: inherit;
    filter: blur(10px);
    opacity: 0.3;
    z-index: -1;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(78, 204, 163, 0.4), 0 0 30px rgba(78, 204, 163, 0.3), inset 0 0 0 12px rgba(255, 255, 255, 0.2);
}

.feature-card:hover .feature-icon:before {
    opacity: 0.5;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
    letter-spacing: -0.5px;
    font-weight: 700;
}

.feature-card:hover h3 {
    transform: translateY(-3px);
    text-shadow: 0 0 15px rgba(78, 204, 163, 0.4);
    color: var(--accent-color);
}

.feature-card p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: #ffffff;
}

.maps {
    background-color: var(--dark-color);
    overflow: hidden;
    position: relative;
}

.maps:before, .maps:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(200px);
    opacity: 0.05;
    z-index: 0;
}

.maps:before {
    top: -150px;
    left: -150px;
}

.maps:after {
    bottom: -150px;
    right: -150px;
}

.maps-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.map-card {
    background-color: var(--gray-color);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(78, 204, 163, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

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

.map-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(78, 204, 163, 0.3);
}

.map-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.9);
}

.map-card:hover .map-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.map-difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(78, 204, 163, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.map-card:hover .map-difficulty {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.map-info {
    padding: 25px;
    border-top: 1px solid rgba(78, 204, 163, 0.1);
}

.map-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    transition: var(--transition);
}

.map-card:hover .map-info h3 {
    transform: translateY(-3px);
    text-shadow: 0 0 8px rgba(78, 204, 163, 0.3);
}

.map-info p {
    color: #bbb;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.gallery {
    background-color: var(--darker-color);
    position: relative;
    overflow: hidden;
}

.gallery:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(78, 204, 163, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 250px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    border: 1px solid rgba(78, 204, 163, 0.1);
}

.gallery-item.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(78, 204, 163, 0.3);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover:after {
    opacity: 1;
}

.community {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-color);
    overflow: hidden;
}

.community:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(88, 101, 242, 0.1), transparent 70%);
    pointer-events: none;
}

.community .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.discord-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.discord-info {
    flex: 1;
    max-width: 500px;
}

.discord-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-color);
}

.discord-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    background-color: rgba(78, 204, 163, 0.1);
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid rgba(78, 204, 163, 0.2);
}

.feature-item:hover {
    transform: translateY(-3px);
    background-color: rgba(78, 204, 163, 0.15);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(78, 204, 163, 0.3);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    background-color: rgba(78, 204, 163, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(78, 204, 163, 0.3);
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.discord-join-btn {
    margin-top: 10px;
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.discord-embed-container {
    flex: 1;
    position: relative;
}

.discord-widget-wrapper {
    position: relative;
    background-color: #2b2d31;
    border-radius: var(--card-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 4px;
    height: 100%;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: var(--transition);
}

.discord-widget-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.discord-widget-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #5865F2, #4ecca3);
    opacity: 0.3;
    z-index: 1;
    border-radius: var(--card-border-radius);
    filter: blur(10px);
    transform: scale(1.05);
}

.discord-widget-wrapper iframe {
    position: relative;
    z-index: 2;
    border-radius: var(--card-border-radius);
}

/* New Footer Styles */
.main-footer {
    background-color: var(--darker-color);
    color: var(--text-color);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.main-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #5865F2);
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(78, 204, 163, 0.4);
}

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

.footer-brand {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(78, 204, 163, 0.3));
}

.footer-brand p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.creator {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.85rem;
}

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

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(78, 204, 163, 0.6);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

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

.discord-footer-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #5865F2;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
    text-decoration: none;
}

.discord-footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
    color: white;
}

.discord-footer-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.server-info {
    background-color: rgba(78, 204, 163, 0.1);
    border-radius: var(--border-radius);
    padding: 15px;
    border: 1px solid rgba(78, 204, 163, 0.2);
}

.server-ip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-family: monospace;
    color: var(--primary-color);
}

.copy-ip-btn {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.copy-ip-btn:hover {
    color: var(--primary-color);
    background-color: rgba(78, 204, 163, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(78, 204, 163, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-light-color);
}

/* Button styles for Discord */
.btn-discord {
    background-color: #5865F2;
    color: white !important;
    border: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
}

.btn-discord i {
    margin-right: 8px;
}

.join-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 991px) {
    .discord-container {
        flex-direction: column;
    }
    
    .discord-info {
        max-width: 100%;
    }
    
    .discord-widget-wrapper {
        margin-top: 30px;
        height: 400px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .discord-features {
        grid-template-columns: 1fr;
    }
    
    .footer-links-container {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .join-buttons {
        flex-direction: column;
    }
}

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

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(78, 204, 163, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 204, 163, 0);
    }
}

@keyframes slowPan {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(78, 204, 163, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(78, 204, 163, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(78, 204, 163, 0.3);
    }
}

/* Responsive Styles */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
}

.cta {
    background: linear-gradient(135deg, var(--darker-color), var(--dark-color));
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero-bg.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.cta:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, rgba(78, 204, 163, 0.1) 30%, transparent 70%);
    animation: rotate 60s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.server-address-container {
    max-width: 500px;
    margin: 0 auto 30px;
    background-color: rgba(15, 15, 15, 0.7);
    border-radius: var(--card-border-radius);
    padding: 20px;
    border: 1px solid rgba(78, 204, 163, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.server-address-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), #5865F2);
    z-index: -1;
    opacity: 0.2;
    border-radius: calc(var(--card-border-radius) + 2px);
    transition: opacity 0.3s ease;
}

.server-address-container:hover::before {
    opacity: 0.3;
}

.server-address-container h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.server-address {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 18px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border: 1px solid rgba(78, 204, 163, 0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.server-address:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(78, 204, 163, 0.4);
}

.server-address span {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(78, 204, 163, 0.4);
    letter-spacing: 0.5px;
}

.copy-btn {
    background-color: rgba(78, 204, 163, 0.2);
    border: none;
    color: var(--primary-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
}

.copy-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(78, 204, 163, 0.4);
}

.copy-confirmation {
    background-color: rgba(78, 204, 163, 0.2);
    border-radius: var(--border-radius);
    padding: 10px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-confirmation.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-confirmation i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.join-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .server-address {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .server-address span {
        font-size: 1.1rem;
        text-align: center;
        word-break: break-all;
    }
}

/* Discord Loading Indicator */
.discord-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--card-border-radius);
    transition: opacity 0.5s ease;
}

.spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: #2b2d31;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.spinner i {
    font-size: 30px;
    color: #5865F2;
    animation: spin 2s linear infinite;
}

.discord-loading span {
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Server IP Copy Popup Styles */
.copy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.copy-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.copy-popup {
    background-color: var(--dark-color);
    border-radius: var(--card-border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateY(30px);
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(78, 204, 163, 0.2);
    position: relative;
}

.copy-popup-overlay.active .copy-popup {
    transform: translateY(0);
}

.copy-popup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), #5865F2);
    z-index: -1;
    border-radius: calc(var(--card-border-radius) + 2px);
    opacity: 0.5;
}

.popup-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(78, 204, 163, 0.2);
}

.popup-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.close-popup {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-popup:hover {
    background-color: rgba(78, 204, 163, 0.2);
    color: var(--primary-color);
}

.popup-content {
    padding: 30px;
}

.popup-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1rem;
}

.server-copy-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 1px solid rgba(78, 204, 163, 0.2);
    position: relative;
    overflow: hidden;
}

.server-copy-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(78, 204, 163, 0.1), rgba(88, 101, 242, 0.1));
    z-index: -1;
}

.server-copy-address {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(78, 204, 163, 0.5);
    display: inline-block;
    padding: 5px 0;
}

.popup-copy-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.3);
}

.popup-copy-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 204, 163, 0.5);
}

.popup-copy-btn i {
    font-size: 0.9rem;
}

.copy-success-message {
    background-color: rgba(78, 204, 163, 0.2);
    color: var(--primary-color);
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.copy-success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-success-message i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.popup-footer {
    padding: 20px;
    border-top: 1px solid rgba(78, 204, 163, 0.2);
    text-align: center;
}

.popup-discord-link {
    color: #5865F2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.popup-discord-link:hover {
    color: #5865F2;
    opacity: 0.8;
}

.popup-discord-link i {
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .server-copy-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .server-copy-address {
        text-align: center;
        word-break: break-all;
    }
}

/* Dynamic Map Section */
.dynamic-map {
    padding: 80px 0;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-top: 40px;
    border: 1px solid rgba(78, 204, 163, 0.2);
}

.map-container:hover {
    border-color: rgba(78, 204, 163, 0.4);
    box-shadow: var(--box-shadow-hover);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: transform 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.map-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    pointer-events: auto;
}

.map-btn {
    background: rgba(78, 204, 163, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--button-border-radius);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.2);
}

.map-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--glowing-shadow);
}

.map-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.map-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
}

/* Tutorial styles */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.tutorial-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tutorial-container {
    position: relative;
    width: 96%;
    max-width: 900px;
    background-color: rgba(10, 10, 10, 0.95);
    border-radius: var(--card-border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    padding: 30px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
}

.tutorial-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(78, 204, 163, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.tutorial-steps {
    position: relative;
    min-height: 550px;
    z-index: 1;
}

.tutorial-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tutorial-step.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    animation: fadeInStep 0.5s ease forwards;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tutorial-content {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 25px;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(78, 204, 163, 0.3);
}

.tutorial-content h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(78, 204, 163, 0.3);
}

.tutorial-content p {
    font-size: 17px;
    margin-bottom: 25px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.tutorial-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    max-height: 300px;
    object-fit: cover;
    border: 2px solid rgba(78, 204, 163, 0.4);
    width: 85%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(78, 204, 163, 0.5);
    border-color: var(--primary-color);
}

.tutorial-server-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.7);
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    padding: 8px;
    margin: 20px auto;
    max-width: 320px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tutorial-server-ip:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 25px rgba(78, 204, 163, 0.2);
}

.tutorial-server-ip span {
    flex: 1;
    padding: 10px 15px;
    font-family: 'Minecraft', monospace;
    font-size: 18px;
    color: var(--primary-color);
}

.tutorial-copy-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.tutorial-copy-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.tutorial-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(78, 204, 163, 0.2);
}

.tutorial-prev,
.tutorial-next {
    background-color: var(--gray-color);
    color: var(--text-color);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 15px;
}

.tutorial-prev:hover,
.tutorial-next:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.tutorial-prev:disabled,
.tutorial-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tutorial-progress {
    display: flex;
    gap: 12px;
}

.progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--gray-light-color);
    cursor: pointer;
    transition: var(--transition);
}

.progress-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.progress-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(78, 204, 163, 0.5);
}

.tutorial-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(78, 204, 163, 0.15);
    border: 1px solid rgba(78, 204, 163, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    z-index: 5;
    font-size: 16px;
}

.tutorial-close:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: rotate(90deg);
}

/* Server Address Box Styles */
.server-address-box {
    display: flex;
    align-items: center;
    background-color: rgba(10, 10, 10, 0.7);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 8px;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.server-address-box:hover {
    box-shadow: var(--glowing-shadow);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.address-field {
    flex: 1;
    padding: 12px 15px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: none;
    border-radius: var(--button-border-radius);
    font-family: 'Minecraft', monospace;
    text-align: center;
}

#copyServerAddress {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: var(--button-border-radius);
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

#copyServerAddress:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(78, 204, 163, 0.5);
}

.copy-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--success-color);
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.copy-message.show {
    opacity: 1;
    transform: translateY(0);
}

.join-tutorial-btn {
    margin-top: 30px;
    text-align: center;
}

#showTutorial {
    background-color: rgba(78, 204, 163, 0.15);
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 14px 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-radius: 14px;
    font-size: 16px;
}

#showTutorial:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(78, 204, 163, 0.4);
}

#showTutorial i {
    margin-right: 8px;
}

@media (min-width: 768px) {
    .tutorial-content img {
        max-height: 380px;
        width: 75%;
    }
    
    .tutorial-container {
        max-width: 950px;
    }
    
    .tutorial-steps {
        min-height: 600px;
    }
}

/* Add responsive styles for features section */
@media (max-width: 991px) {
    .features {
        padding: 100px 0;
    }
    
    .features .row {
        row-gap: 30px;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .feature-icon {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 80px 0;
    }
    
    .features .row {
        row-gap: 30px;
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .features .col-md-4 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .feature-card {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.5rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .features {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* Legal Pages (Impressum & Datenschutz) */
.legal-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    background-color: var(--dark-color);
    position: relative;
}

.legal-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(78, 204, 163, 0.08), transparent 60%),
                radial-gradient(circle at bottom left, rgba(78, 204, 163, 0.08), transparent 60%);
    z-index: 0;
}

.legal-content {
    position: relative;
    z-index: 1;
}

.legal-card {
    background-color: rgba(25, 25, 25, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--card-border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    border: 1px solid rgba(78, 204, 163, 0.1);
    position: relative;
    overflow: hidden;
}

.legal-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.7;
}

.legal-card h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    color: var(--accent-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.legal-card p, .legal-card ul {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.legal-card ul {
    padding-left: 20px;
}

.legal-card ul li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.legal-card ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.contact-info {
    background-color: rgba(78, 204, 163, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    border-left: 3px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 25px;
    }
    
    .legal-card h2 {
        font-size: 1.5rem;
    }
    
    .legal-card h3 {
        font-size: 1.2rem;
    }
} 