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

:root {
    --primary-color: #e67e22;
    --primary-dark: #d35400;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-ip {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    backdrop-filter: blur(10px);
}

.ip-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ip-address {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.fun-text {
    font-size: 1.1rem;
    margin: 0 0 1.5rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    background: #ffe066;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    display: block;
    width: 100%;
}

.rotating-word {
    font-weight: 700;
}

.copy-btn svg {
    width: 20px;
    height: 20px;
}

.hero-stats {
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3rem;
    border-radius: 12px;
    display: inline-block;
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about {
    padding: 4rem 0;
    background: var(--bg-white);
}

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 2.5rem;
        color: var(--secondary-color);
    }

.about-text {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

.rules {
    padding: 4rem 0;
    background: var(--bg-white);
}

.rules-list {
    max-width: 800px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.rule-item:hover {
    background: var(--bg-light);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
}

.rule-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    min-width: 80px;
}

.rule-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.rule-description {
    color: var(--text-light);
    line-height: 1.6;
}

.community {
    padding: 4rem 0;
    background: var(--bg-light);
}

.community-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.community-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.community-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.community-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.community-card p {
    color: var(--text-light);
}

.community-card.discord svg {
    color: #5865F2;
}

.community-card.tiktok svg {
    color: #000000;
}

.downloads {
    padding: 4rem 0;
    background: var(--bg-white);
}

.downloads-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.download-item {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.download-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.download-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.download-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.download-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.download-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.download-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

.download-btn-main svg {
    width: 24px;
    height: 24px;
}

.platform-guide {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
}

.guide-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.guide-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-tab {
    padding: 1rem 2rem;
    background: var(--bg-white);
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.guide-tab:hover {
    border-color: var(--primary-color);
}

.guide-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

.guide-section {
    display: none;
}

.guide-section.active {
    display: block;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.guide-step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.guide-step-content {
    flex: 1;
}

.guide-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.guide-step-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.guide-step-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.guide-step-text a:hover {
    text-decoration: underline;
}

.guide-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.guide-link:hover {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    background: var(--primary-color);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.1);
}

.guide-step-text code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

.guide-step-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.guide-step-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.guide-step-list strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.join {
    padding: 4rem 0;
    background: var(--bg-white);
}

.join-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.join-info-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.join-info-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-info-value {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    justify-content: center;
}

.join-cta {
    text-align: center;
    margin-bottom: 4rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.cta-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cta-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.cta-text {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

.join-help {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.help-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.help-mention {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition);
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.help-btn svg {
    width: 20px;
    height: 20px;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.copy-btn svg {
    width: 20px;
    height: 20px;
}

.footer {
    background: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-minecraft {
    font-size: 0.875rem;
    opacity: 0.7;
}

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-ip {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rule-item {
        flex-direction: column;
        gap: 1rem;
    }

    .rule-number {
        min-width: auto;
    }

    .hero {
        padding: 18rem 1rem 18rem;
        min-height: auto;
    }

    .hero-ip {
        width: 100%;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat {
        padding: 1rem 2rem;
    }

    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .download-item {
        padding: 1rem;
        min-width: 0;
        overflow: hidden;
    }

    .download-title {
        font-size: 1rem;
    }

    .download-description {
        font-size: 0.8rem;
    }

    .download-btn-main {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .platform-guide {
        padding: 2rem;
    }

    .guide-tabs {
        gap: 0.5rem;
    }

    .guide-tab {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .guide-step {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }

    .guide-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .guide-step-list {
        padding-left: 1rem;
    }

    .community-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-card {
        padding: 2rem;
    }

    .join-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .join-info-item {
        padding: 1.5rem;
    }

    .cta-steps {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 1.25rem;
    }

    .join-help {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 15rem 1rem 15rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-ip {
        padding: 1.25rem 0.75rem;
    }

    .ip-address {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat {
        padding: 1rem 1.5rem;
        min-width: calc(50% - 0.5rem);
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .downloads-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .download-icon {
        width: 48px;
        height: 48px;
    }

    .download-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .download-description {
        font-size: 0.9rem;
    }

    .download-btn-main {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .platform-guide {
        padding: 1.5rem;
    }

    .guide-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .guide-tabs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .guide-tab {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }

    .guide-step {
        padding: 1.25rem 1rem;
        gap: 0.75rem;
    }

    .guide-step-number {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .guide-step-content {
        width: 100%;
    }

    .guide-step-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .guide-step-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .guide-step-text code {
        font-size: 0.85rem;
        padding: 0.15rem 0.4rem;
    }

    .guide-step-list {
        margin: 0.75rem 0;
        padding-left: 1.25rem;
    }

    .guide-step-list li {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }

    .rule-item {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }

    .rule-number {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .rule-title {
        font-size: 1.1rem;
        margin-bottom: 0.375rem;
    }

    .rule-description {
        font-size: 0.9rem;
    }

    .community-card {
        padding: 1.5rem;
    }

    .community-card svg {
        width: 40px;
        height: 40px;
    }

    .community-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.375rem;
    }

    .community-card p {
        font-size: 0.9rem;
    }

    .cta-steps {
        gap: 1rem;
    }

    .cta-card {
        padding: 1rem;
    }

    .cta-number {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .cta-text {
        font-size: 0.9rem;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .help-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .help-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .help-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 1.5rem 0;
    }
}