:root { --minecraft-green: #4CAF50; --minecraft-brown: #8B4513; --minecraft-dark: #1a1a1a; --minecraft-gray: #2a2a2a; --minecraft-light-gray: #3a3a3a; --minecraft-gold: #FFD700; --text-light: #ffffff; --text-dark: #333333; --shadow-dark: rgba(0, 0, 0, 0.3); --glow-green: rgba(76, 175, 80, 0.4); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, var(--minecraft-dark) 0%, var(--minecraft-gray) 100%); color: var(--text-light); line-height: 1.6; min-height: 100vh; } /* Header Styles */ header { padding: 2rem 1rem; text-align: center; background: linear-gradient(135deg, var(--minecraft-gray) 0%, var(--minecraft-light-gray) 100%); box-shadow: 0 4px 20px var(--shadow-dark); } .logo { font-family: 'Orbitron', monospace; font-size: 3rem; font-weight: 900; color: var(--minecraft-green); text-shadow: 2px 2px 4px var(--shadow-dark); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; } .server-info { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; } .info-pill { background: linear-gradient(135deg, var(--minecraft-green) 0%, #45a049 100%); padding: 0.8rem 1.5rem; border-radius: 25px; font-weight: 600; box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3); transition: all 0.3s ease; border: 2px solid transparent; } .info-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5); border-color: var(--minecraft-gold); } .status-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--minecraft-gold) 0%, #ffcc00 100%); color: var(--text-dark); padding: 0.6rem 1.2rem; border-radius: 20px; font-weight: 600; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); } .status-dot { width: 10px; height: 10px; background: var(--minecraft-green); border-radius: 50%; animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } } /* Main Content */ main { padding: 2rem 1rem; max-width: 1200px; margin: 0 auto; } /* Live Update Banner */ .update-banner { position: relative; border-radius: 15px; overflow: hidden; margin-bottom: 3rem; box-shadow: 0 8px 30px var(--shadow-dark); transition: transform 0.3s ease; } .update-banner:hover { transform: translateY(-5px); } .update-img { width: 100%; height: 100%; object-fit: cover; display: block; /*filter: brightness(0.5);*/ position: absolute; top: 0; left: 0; z-index: 0; } .update-content { position: relative; padding: 4rem 2rem; text-align: center; z-index: 1; } .update-title { font-family: 'Orbitron', monospace; font-size: 2.5rem; font-weight: 700; color: var(--minecraft-gold); text-shadow: 2px 2px 4px var(--shadow-dark); margin-bottom: 0.5rem; } .update-version { font-size: 1.2rem; color: var(--text-light); opacity: 0.9; } /* Section Grid */ .sections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } /* Section Cards */ .section-card { background: linear-gradient(135deg, var(--minecraft-gray) 0%, var(--minecraft-light-gray) 100%); border-radius: 15px; overflow: hidden; box-shadow: 0 8px 30px var(--shadow-dark); transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: inherit; position: relative; } .section-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.6s ease; } .section-card:hover::before { transform: translateX(100%); } .section-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px var(--shadow-dark); border: 2px solid var(--minecraft-green); } .card-image { position: relative; overflow: hidden; height: auto; aspect-ratio: 25 / 8; /* Keeps the banner shape consistent */ background: #222; } .card-img { width: 100%; height: 100%; object-fit: contain; display: block; background: #222; /*filter: brightness(0.7);*/ transition: transform 0.3s ease; } .section-card:hover .card-img { transform: scale(1.02); } .card-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Orbitron', monospace; font-size: 2rem; color: white; text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); z-index: 2; text-align: center; padding: 0.5rem 1rem; background-color: rgba(0, 0, 0, 0.4); /* optional overlay */ border-radius: 10px; } .card-image.discord { background: linear-gradient(135deg, #7289da 0%, #5865f2 100%); } .card-image.shop { background: linear-gradient(135deg, var(--minecraft-gold) 0%, #ffcc00 100%); color: var(--text-dark); } .card-image.changelog { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); } .card-image.event { background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%); } .card-image.rules { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); } .card-content { padding: 1.5rem; } .card-title { font-family: 'Orbitron', monospace; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--minecraft-green); } .card-description { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; } /* Changelog Styles */ .update-log { background: linear-gradient(135deg, var(--minecraft-gray) 0%, var(--minecraft-light-gray) 100%); padding: 1.5rem; border-radius: 10px; box-shadow: 0 6px 30px var(--shadow-dark); margin-bottom: 2rem; font-size: 1rem; /* Default font size for readability */ text-align: left; /* Ensure text is aligned to the left */ } .update-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Orbitron', monospace; font-size: 1.5rem; font-weight: 700; color: var(--minecraft-green); padding-bottom: 1rem; /* Padding to separate from the content */ border-bottom: 2px solid var(--minecraft-gray); /* Adds a subtle divider */ text-align: left; /* Left align the header */ } .update-toggle-icon { font-size: 1.5rem; font-weight: bold; transition: transform 0.3s ease; } .update-header:hover { opacity: 0.8; } .update-content { display: none; padding-top: 1rem; line-height: 1.7; /* Improves line spacing for readability */ text-align: left; /* Ensure content is aligned to the left */ } .update-content.open { display: block; } .update-content h4 { font-size: 1.2rem; margin-top: 1.5rem; color: var(--minecraft-green); text-align: left; /* Left align the subheadings */ } .update-content ul { margin-left: 1.5rem; margin-top: 0.5rem; text-align: left; /* Ensure list is aligned to the left */ } .update-content li { font-size: 1rem; color: rgba(255, 255, 255, 0.8); text-align: left; /* Ensure list items are aligned to the left */ } .update-content li::before { content: none; color: var(--minecraft-gold); margin-right: 0.5rem; /* Space between bullet point and text */ } .old-updates h3 { font-family: 'Orbitron', monospace; font-size: 1.2rem; margin-top: 1.5rem; color: var(--minecraft-green); text-align: left; /* Left align older updates header */ } .old-updates ul { margin-left: 1.5rem; margin-top: 0.5rem; text-align: left; /* Ensure older update list is aligned to the left */ } .old-updates li { font-size: 1rem; color: rgba(255, 255, 255, 0.8); text-align: left; /* Ensure older list items are aligned to the left */ } .old-updates li::before { content: none; color: var(--minecraft-gold); margin-right: 0.5rem; /* Space between bullet point and text */ } /* Event Countdown */ .countdown-timer { display: flex; justify-content: space-around; margin-bottom: 1.5rem; } .timer-item { text-align: center; } .timer-item span:first-child { display: block; font-size: 2rem; font-weight: bold; color: var(--minecraft-green); } .timer-item span:last-child { font-size: 1rem; color: rgba(255, 255, 255, 0.7); } /* Hide the countdown and registration sections when event has started */ #countdown-section, #registration-section { display: block; } #countdown-section[style*="display: none"] { display: none; } #registration-section[style*="display: none"] { display: none; } #toggle-event-button { margin-top: 1rem; padding: 1rem; font-size: 1.2rem; background-color: var(--minecraft-green); color: white; border: none; border-radius: 8px; cursor: pointer; } #toggle-event-button:hover { background-color: #45a049; } #toggle-event-button[style*="display: none"] { display: none; } form { display: flex; flex-direction: column; gap: 1rem; } form input, form select { padding: 0.8rem; font-size: 1rem; border-radius: 8px; border: 1px solid var(--minecraft-gray); } form label { font-size: 1rem; color: var(--minecraft-green); } form button { padding: 1rem; font-size: 1.2rem; background-color: var(--minecraft-green); color: white; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease; } form button:hover { background-color: #45a049; } form button:disabled { background-color: #555; cursor: not-allowed; } /* Modal Styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); animation: fadeIn 0.3s ease; } .modal-content { background: linear-gradient(135deg, var(--minecraft-gray) 0%, var(--minecraft-light-gray) 100%); margin: 5% auto; padding: 0; border-radius: 15px; width: 90%; max-width: 600px; max-height: 80vh; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: slideIn 0.3s ease; } .modal-header { background: linear-gradient(135deg, var(--minecraft-green) 0%, #45a049 100%); padding: 1.5rem; position: relative; } .modal-title { font-family: 'Orbitron', monospace; font-size: 1.5rem; font-weight: 700; color: white; margin: 0; } .close { color: white; float: right; font-size: 2rem; font-weight: bold; cursor: pointer; line-height: 1; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); } .close:hover { opacity: 0.7; } .modal-body { padding: 2rem; max-height: 60vh; overflow-y: auto; line-height: 1.8; } .modal-body h3 { color: var(--minecraft-green); margin-bottom: 1rem; font-family: 'Orbitron', monospace; } .modal-body ul { margin-left: 1.5rem; margin-bottom: 1rem; } .modal-body li { margin-bottom: 0.5rem; } /* Footer */ footer { text-align: center; padding: 2rem 1rem; background: var(--minecraft-dark); margin-top: 4rem; border-top: 3px solid var(--minecraft-green); } .footer-text { opacity: 0.7; font-size: 0.9rem; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Responsive Design */ @media (max-width: 768px) { .logo { font-size: 2rem; } .server-info { flex-direction: column; align-items: center; } .info-pill { width: 100%; max-width: 300px; text-align: center; } .update-title { font-size: 2rem; } .sections-grid { grid-template-columns: 1fr; } .modal-content { width: 95%; margin: 10% auto; } } @media (max-width: 480px) { .logo { font-size: 1.5rem; } .update-title { font-size: 1.5rem; } .card-image { height: 150px; font-size: 1.2rem; } } /* Custom Scrollbar */ .modal-body::-webkit-scrollbar { width: 8px; } .modal-body::-webkit-scrollbar-track { background: var(--minecraft-dark); border-radius: 4px; } .modal-body::-webkit-scrollbar-thumb { background: var(--minecraft-green); border-radius: 4px; } .modal-body::-webkit-scrollbar-thumb:hover { background: #45a049; }