@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); :root { --primary-bg: #0c0c1d; --glass-bg: rgba(255, 255, 255, 0.1); --glass-border: rgba(255, 255, 255, 0.2); --text-color: #e0e0e0; --accent-color: #50c8fa; --discord-blue: #7289da; --glow-color: #a7f3d0; } body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; background-image: url('background1.jpg'); /* Changed from background.jpg */ background-size: cover; background-attachment: fixed; color: var(--text-color); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; } .header { padding: 40px 20px; text-align: center; border-bottom: 1px solid var(--glass-border); backdrop-filter: blur(10px); background: var(--glass-bg); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); animation: fadeInDown 1s ease-out; } .title { font-size: 3em; margin-bottom: 10px; color: #fff; font-weight: 700; } .gradient-text { background: linear-gradient(to right, #50c8fa, #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .subtitle { font-size: 1.2em; color: var(--text-color); } .container { flex: 1; max-width: 900px; margin: 30px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 30px; } .rules-section { padding: 30px; border-radius: 12px; border: 1px solid var(--glass-border); backdrop-filter: blur(10px); background: var(--glass-bg); box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; } .rules-section:nth-child(even) { animation-delay: 0.2s; } .rules-section:nth-child(odd) { animation-delay: 0.4s; } .rules-section:hover { transform: translateY(-5px); box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } .section-title { font-size: 2em; color: var(--accent-color); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--glass-border); transition: color 0.3s ease, box-shadow 0.3s ease; } .clickable-rules-bar { cursor: pointer; } .clickable-rules-bar:hover { color: #fff; box-shadow: 0 0 5px var(--accent-color); } .clickable-rules-bar.glow { box-shadow: 0 0 10px var(--glow-color); } .rule-list { list-style: none; padding: 0; } .rule-item { padding: 15px 20px; margin-bottom: 10px; border-radius: 8px; border-left: 4px solid var(--discord-blue); backdrop-filter: blur(5px); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; } .rule-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(5px); border-color: var(--accent-color); } .discord-join { text-align: center; margin: 40px 0; } .discord-button { display: inline-flex; align-items: center; background: var(--discord-blue); color: white; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-size: 1.3em; font-weight: 600; transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .discord-button:hover { background: #677bc4; transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); } .discord-icon { margin-right: 15px; font-size: 1.5em; } .footer { padding: 20px; text-align: center; color: var(--text-color); margin-top: auto; border-top: 1px solid var(--glass-border); backdrop-filter: blur(10px); background: var(--glass-bg); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); animation: fadeInUp 1s ease-out; } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 768px) { .header { padding: 30px 15px; } .title { font-size: 2.5em; } .subtitle { font-size: 1em; } .container { margin: 20px auto; padding: 0 15px; } .rules-section { padding: 20px; } .section-title { font-size: 1.8em; } .discord-button { font-size: 1.1em; padding: 12px 25px; } .discord-icon { font-size: 1.3em; margin-right: 10px; } } @media (max-width: 480px) { .title { font-size: 2em; } .rules-section { margin-bottom: 20px; } }