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

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: Fredoka, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-size: 1.76rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #2E003E 0%, #1A0033 30%, #4B0082 70%, #2E003E 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    text-align: center;
    flex: 1;
}

.hero-content {
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #6A0DAD, #4B0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #8B5CF6, #7C3AED);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #333;
    transform: translateY(-2px);
}

.server-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

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

.hero-image {
    text-align: center;
}

.character-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-block {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: floatBlocks 6s ease-in-out infinite;
}

.block-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.block-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.block-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatBlocks {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Hero Spacer */
.hero-spacer {
    padding: 10px 0 90px;
    z-index: 2;
    position: relative;
}

/* Hero Options */
.hero-options {
    padding: 0;
    z-index: 2;
    position: relative;
}

.hero-options-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.3rem;
    max-width: 1440px;
    margin: 0 auto;
    align-items: stretch;
}

.hero-option-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.3rem 1.7rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: pointer;
    user-select: none;
}

.hero-option-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-option-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.15s ease;
}

.hero-option-icon {
    width: 92px;
    height: 92px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.7rem auto 0;
    font-size: 2.3rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-option-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
}

.hero-option-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1.3rem;
    flex-grow: 1;
}

/* Options Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.options {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.option-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.option-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, #8B5CF6, #A855F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: #fff;
}

.option-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #333;
}

.option-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.btn-option {
    background: linear-gradient(45deg, #8B5CF6, #7C3AED);
    color: #fff;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
}

.btn-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #8B5CF6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
    color: #777;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .options-grid {
        max-width: 900px;
        gap: 1.2rem;
    }

    .hero-options-grid {
        max-width: 1300px;
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .logo-container {
        gap: 12px;
    }
    
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }

    .header-content {
        padding: 21px 20px 0;
    }

    .hero-container {
        text-align: center;
        padding: 20px 15px;
    }

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

    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
        padding: 0 15px;
    }

    .server-info-widget {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        max-width: calc(100% - 30px);
        margin: 0 auto;
        box-sizing: border-box;
    }

    .server-main-info {
        width: 100%;
        gap: 10px;
        text-align: center;
    }

    .server-ip-section, .server-port-section {
        justify-content: center;
        flex-wrap: wrap;
    }

    .server-mini-stats {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0 !important;
        padding-top: 15px;
        align-items: center;
        gap: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .mini-stats-row {
        justify-content: center;
        gap: 25px;
        width: 100%;
    }

    .compatibility-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
        text-align: center;
    }

    .server-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-options-title {
        font-size: 1.8rem;
    }

    .hero-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .hero-spacer {
        padding: 15px 0 100px;
    }

    .hero-options {
        padding: 0;
    }

    .discord-stats {
        gap: 10px;
        margin: 10px 0;
        padding: 8px;
    }

    .discord-stat-number {
        font-size: 1rem;
    }

    .discord-stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .header-content {
        padding: 20px 10px 0;
    }

    .hero-container {
        padding: 20px 10px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 5px;
    }

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

    .hero-options-title {
        font-size: 1.5rem;
    }

    .hero-options {
        padding: 0;
    }

    .hero-spacer {
        padding: 10px 0 90px;
    }

    .server-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
        padding: 0 20px;
    }

    .server-info-widget {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        padding: 12px !important;
        gap: 12px !important;
        border-radius: 15px;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
    }

    .server-main-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
        width: 100% !important;
    }

    .server-ip-section,
    .server-port-section {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .server-ip-label,
    .server-port-label {
        font-size: 0.85rem !important;
        flex-shrink: 0;
    }

    .server-ip {
        font-size: 0.9rem !important;
        flex-shrink: 1;
        min-width: 0;
        text-align: center;
    }

    .server-port {
        font-size: 0.9rem !important;
    }

    .copy-btn {
        padding: 4px 6px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0;
    }

    .server-mini-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-top: 12px;
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0 !important;
        width: 100%;
    }

    .compatibility-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
        white-space: nowrap;
    }

    .mini-stats-row {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .mini-stat {
        text-align: center;
    }

    .mini-stat-number {
        font-size: 1rem;
        line-height: 1.2;
        display: block;
    }

    .mini-stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
        opacity: 0.9;
    }

    .disclaimer {
        font-size: 0.7rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

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

.option-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

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

/* Server Info Widget */
.server-info-widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 14px 19px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.server-info-widget:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.server-main-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.server-ip-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-ip-label, .server-port-label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

.server-ip {
    font-size: 1.26rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

.server-ip:hover {
    color: #A855F7;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 6px 8px;
    color: #fff;
    cursor: pointer;
    font-size: 0.96rem;
    transition: all 0.3s ease;
}

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

.server-port-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-port {
    font-size: 1.14rem;
    font-weight: 600;
}

.server-mini-stats {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 18px;
    align-items: center;
}

.mini-stats-row {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.mini-stat {
    text-align: center;
}

.mini-stat-number {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.mini-stat-label {
    font-size: 0.72rem;
    opacity: 0.8;
    color: #fff;
}

/* Discord Card Styling */
.discord-card {
    background: rgba(43, 45, 49, 0.9) !important;
    border: 1px solid rgba(88, 101, 242, 0.4) !important;
    backdrop-filter: blur(10px);
}

.discord-card:hover {
    background: rgba(35, 37, 41, 0.95) !important;
    border-color: rgba(88, 101, 242, 0.6) !important;
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.3) !important;
    transform: translateY(-10px) scale(1.02);
}

.discord-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.15s ease;
}

.discord-card .hero-option-icon {
    background: linear-gradient(45deg, #5865F2, #7289DA) !important;
    border: 1px solid rgba(88, 101, 242, 0.5) !important;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.discord-card h3 {
    color: #ffffff !important;
}

.discord-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Discord Stats */
.discord-stats {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 15px 0;
    padding: 12px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-stat {
    text-align: center;
    flex: 1;
}

.discord-stat-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #5865F2;
    line-height: 1.2;
}

.discord-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    line-height: 1.1;
}

/* Tutorial Card Styling */
.tutorial-card {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('assets/minecraft-server-interface.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(75, 0, 130, 0.5) !important;
    backdrop-filter: blur(5px);
}

.tutorial-card:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('assets/minecraft-server-interface.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-color: rgba(75, 0, 130, 0.7) !important;
    box-shadow: 0 20px 40px rgba(75, 0, 130, 0.3) !important;
    transform: translateY(-10px) scale(1.02);
}

.tutorial-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.15s ease;
}

.tutorial-card .hero-option-icon {
    background: linear-gradient(45deg, #4B0082, #2E003E) !important;
    border: 1px solid rgba(75, 0, 130, 0.6) !important;
    box-shadow: 0 8px 20px rgba(75, 0, 130, 0.4);
}

.tutorial-card h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.tutorial-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Shop Card Styling */
.shop-card {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('assets/shop.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(46, 0, 62, 0.5) !important;
    backdrop-filter: blur(5px);
}

.shop-card:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('assets/shop.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-color: rgba(46, 0, 62, 0.7) !important;
    box-shadow: 0 20px 40px rgba(46, 0, 62, 0.3) !important;
    transform: translateY(-10px) scale(1.02);
}

.shop-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.15s ease;
}

.shop-card .hero-option-icon {
    background: linear-gradient(45deg, #2E003E, #1A0033) !important;
    border: 1px solid rgba(46, 0, 62, 0.6) !important;
    box-shadow: 0 8px 20px rgba(46, 0, 62, 0.4);
}

.shop-card h3 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.shop-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
} 