@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

@font-face {
    font-family: 'Minecraft';
    src: url('fonts/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #000000;
    border-bottom: 1px solid #1a1a1a;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0px;
    font-family: 'Minecraft', 'Press Start 2P', monospace;
}

.mc {
    color: #888888;
    margin-left: 0px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #888888;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffffff;
}

.download-btn {
    background-color: #4a4a4a;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border: 3px solid #2a2a2a;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Minecraft', 'Press Start 2P', monospace;
}

.download-btn:hover {
    background-color: #5a5a5a;
    border-color: #3a3a3a;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px 60px;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'Minecraft', 'Press Start 2P', 'Courier New', monospace;
    text-transform: uppercase;
}

.hero-title .legend {
    color: #FFD700;
}

.hero-subtitle {
    font-size: 20px;
    color: #888888;
    margin-bottom: 50px;
    line-height: 1.6;
}

.download-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
}

.version-badge {
    padding: 18px 30px;
    border: 2px solid #333333;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Minecraft', 'Press Start 2P', monospace;
    background-color: #1a1a1a;
    display: inline-flex;
    align-items: center;
}

.download-btn-large {
    background-color: #4a4a4a;
    color: white;
    padding: 18px 50px;
    border: 3px solid #2a2a2a;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Minecraft', 'Press Start 2P', monospace;
}

.download-btn-large:hover {
    background-color: #5a5a5a;
    border-color: #3a3a3a;
}

.footer-info {
    display: flex;
    gap: 100px;
    align-items: center;
}

.version-info {
    font-size: 15px;
    color: #cccccc;
}

.see-all {
    color: #ffffff;
    text-decoration: underline;
    margin-left: 10px;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #cccccc;
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    min-height: 600px;
}

.character-container {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.character {
    max-width: 1650px;
    height: auto;
    display: block;
    opacity: 0.7;
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.05) 15%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.6) 45%, black 60%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.05) 15%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.6) 45%, black 60%);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float 60s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(1deg);
    }
    50% {
        transform: translate(-8px, -25px) rotate(-1deg);
    }
    75% {
        transform: translate(12px, -10px) rotate(0.5deg);
    }
}

/* Summon Section */
.summon-section {
    padding: 100px 60px;
    background-color: #000000;
    border-top: 1px solid #1a1a1a;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.video-section,
.preview-section {
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'Minecraft', 'Press Start 2P', monospace;
    color: white;
    text-transform: uppercase;
}

.video-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.preview-carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    background-color: #000000;
}

.preview-carousel img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444444;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot:hover {
    background-color: #666666;
}

.dot.active {
    background-color: #ffffff;
}

/* Download Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #888888;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: white;
    text-align: center;
}

.curseforge-btn {
    width: 100%;
    background-color: #b33a12;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.curseforge-btn:hover {
    background-color: #9a310f;
}

.curseforge-icon {
    width: 24px;
    height: 24px;
}

.modal-divider {
    text-align: center;
    color: #666666;
    margin: 20px 0;
    font-size: 14px;
}

.platform-selector {
    background-color: #2a2a2a;
    border: 2px solid #333333;
    border-radius: 6px;
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.3s;
    color: white;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.platform-selector:hover {
    border-color: #444444;
}

.platform-label {
    flex: 1;
}

.dropdown-arrow {
    font-size: 12px;
    color: #888888;
}

.platform-dropdown {
    display: none;
    margin-top: 10px;
    background-color: #2a2a2a;
    border: 2px solid #333333;
    border-radius: 6px;
    overflow: hidden;
}

.platform-option {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 14px 20px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.platform-option:hover {
    background-color: #333333;
}

.platform-option:not(:last-child) {
    border-bottom: 1px solid #333333;
}

/* Download Info */
.download-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 16px 20px;
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 6px;
}

.download-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-version-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.download-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-version {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.download-meta {
    font-size: 13px;
    color: #888888;
}

.download-action-btn {
    background-color: #22c55e;
    color: #000000;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.download-action-btn:hover {
    background-color: #16a34a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .footer-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .download-section {
        justify-content: center;
    }

    .summon-section {
        padding: 60px 30px;
    }

    .summon-title {
        font-size: 36px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .preview-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
        flex-wrap: wrap;
    }
    
    .nav-links {
        gap: 20px;
        font-size: 14px;
    }
    
    .hero-section {
        padding: 40px 30px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }

    .download-section {
        flex-direction: column;
        gap: 15px;
    }

    .summon-title {
        font-size: 28px;
    }
}
