/* Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { overflow-x: hidden; color: #fff; position: relative; min-height: 100vh; display: flex; flex-direction: column; } /* Animated Background */ .animation-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #533d7b); background-size: 400% 400%; animation: gradientBG 15s ease infinite; } @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Particles Animation */ .particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://assets.codepen.io/13471/sparkles.gif'); background-size: cover; opacity: 0.1; z-index: -1; } .circles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1; } .circles .circle { position: absolute; display: block; width: 20px; height: 20px; background: rgba(255, 255, 255, 0.2); animation: animate 25s linear infinite; bottom: -150px; border-radius: 50%; } .circles .circle:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; animation-duration: 15s; } .circles .circle:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; } .circles .circle:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; } .circles .circle:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; } @keyframes animate { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; } } /* Header Styles */ header { padding: 1.5rem; text-align: center; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(5px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); margin-bottom: 1rem; } .logo h1 { font-size: 2.8rem; font-weight: 700; background: linear-gradient(to right, #ff8a00, #e52e71); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; font-family: 'Orbitron', sans-serif; letter-spacing: 2px; text-shadow: 0 0 10px rgba(255, 138, 0, 0.5), 0 0 20px rgba(229, 46, 113, 0.5); } .logo p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); font-family: 'Russo One', sans-serif; letter-spacing: 1px; text-transform: uppercase; } /* Main Content */ main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 1rem; width: 100%; } /* Game Cards */ .games-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; width: 100%; padding: 1rem; justify-items: center; } .game-card { width: 100%; height: 380px; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); transition: all 0.3s ease; cursor: pointer; } .game-image { height: 200px; width: 100%; background-size: cover; background-position: center; position: relative; transition: all 0.5s ease; } .game-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%); } .game-card:hover .game-image { transform: scale(1.05); } .game-icon { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 3rem; color: white; text-shadow: 0 0 15px rgba(0, 0, 0, 0.5); z-index: 2; } .game-info { height: 180px; padding: 20px; background: rgba(30, 30, 50, 0.9); display: flex; flex-direction: column; justify-content: space-between; } .game-info h2 { font-family: 'Bungee', cursive; font-size: 1.6rem; color: white; text-align: center; margin-bottom: 0.5rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); letter-spacing: 1px; } .game-info p { font-family: 'Press Start 2P', cursive; font-size: 0.65rem; color: rgba(255, 255, 255, 0.8); text-align: center; margin-bottom: 1rem; line-height: 1.5; } .stats { display: flex; justify-content: center; width: 100%; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); } .stats i { margin-right: 5px; } /* Links Section */ .links-section { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 2rem 0; max-width: 1200px; width: 100%; padding: 0 1rem; } .link-card { background: rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 1.5rem; width: 100%; max-width: 300px; text-align: center; backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; } .link-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .link-card i { font-size: 2.2rem; margin-bottom: 1rem; color: #ff8a00; } .link-card h3 { margin-bottom: 0.5rem; color: white; font-size: 1.2rem; } .link-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; font-size: 0.9rem; } .link-btn { display: inline-block; padding: 0.7rem 1.5rem; background: rgba(255, 255, 255, 0.1); color: white; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9rem; } .link-btn:hover { background: rgba(255, 255, 255, 0.2); } /* Modal Styles */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); z-index: 100; justify-content: center; align-items: center; backdrop-filter: blur(5px); } .modal-content { background: rgba(30, 30, 50, 0.9); border-radius: 15px; width: 90%; max-width: 500px; padding: 1.5rem; position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); animation: modalFadeIn 0.3s ease; margin: 1rem; } @keyframes modalFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } .close-btn { position: absolute; top: 1rem; right: 1.5rem; font-size: 1.5rem; cursor: pointer; color: rgba(255, 255, 255, 0.6); transition: all 0.2s ease; } .close-btn:hover { color: white; transform: rotate(90deg); } .modal-header { text-align: center; margin-bottom: 1.5rem; position: relative; } .modal-header h2 { font-size: 1.8rem; margin-bottom: 1rem; background: linear-gradient(to right, #ff8a00, #e52e71); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Russo One', sans-serif; letter-spacing: 1px; } .game-icon-container { display: flex; justify-content: center; margin: 1rem 0; } .game-icon-large { font-size: 2.5rem; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); } .modal-body { display: flex; flex-direction: column; gap: 1.5rem; } .whatsapp-section, .tournaments-section { background: rgba(0, 0, 0, 0.2); padding: 1.2rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); } .whatsapp-section h3, .tournaments-section h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: white; font-size: 1.1rem; } .whatsapp-section h3 i { color: #25D366; } .tournaments-section h3 i { color: #FFD700; } .whatsapp-section p { margin-bottom: 1.2rem; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; } .whatsapp-btn { display: inline-block; padding: 0.7rem 1.3rem; background-color: #25D366; color: white; text-decoration: none; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; text-align: center; font-size: 0.9rem; width: 100%; } .whatsapp-btn:hover { background-color: #128C7E; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); } .whatsapp-btn i { margin-left: 5px; } .coming-soon { text-align: center; padding: 1.5rem; } .coming-soon i { font-size: 2.5rem; color: #ff8a00; margin-bottom: 1rem; } .coming-soon p { color: rgba(255, 255, 255, 0.8); margin-bottom: 0.5rem; font-size: 0.9rem; } /* Footer */ footer { text-align: center; padding: 1.5rem; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(5px); margin-top: auto; width: 100%; } .social-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; } .social-links a { color: white; font-size: 1.3rem; transition: all 0.3s ease; } .social-links a:hover { transform: translateY(-3px); } .social-links .fa-envelope:hover { color: #D44638; } .social-links .fa-instagram:hover { color: #E1306C; } footer p { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; } /* Responsive Design */ @media (max-width: 600px) { .logo h1 { font-size: 2rem; } .logo p { font-size: 0.9rem; } .game-card { height: 340px; } .game-image { height: 180px; } .game-info { height: 160px; padding: 15px; } .game-info h2 { font-size: 1.4rem; } .game-info p { font-size: 0.6rem; } .link-card { padding: 1.2rem; } .modal-header h2 { font-size: 1.5rem; } .game-icon-large { font-size: 2rem; width: 70px; height: 70px; } .whatsapp-section h3, .tournaments-section h3 { font-size: 1rem; } } /* Add this to your existing styles.css */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); z-index: 1000; /* Increased z-index */ justify-content: center; align-items: center; backdrop-filter: blur(5px); } .modal-content { position: relative; /* Ensure this is relative for absolute positioning of close button */ background: rgba(30, 30, 50, 0.9); border-radius: 15px; width: 90%; max-width: 500px; padding: 2rem 1.5rem 1.5rem; /* More padding at top for close button */ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); animation: modalFadeIn 0.3s ease; margin: 1rem; } .close-btn { position: absolute; top: 15px; right: 15px; font-size: 1.8rem; cursor: pointer; color: rgba(255, 255, 255, 0.6); transition: all 0.2s ease; z-index: 1001; /* Ensure it's above other elements */ width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.3); border-radius: 50%; } .close-btn:hover { color: white; background: rgba(0, 0, 0, 0.5); transform: rotate(90deg); } /* Add this to your existing CSS */ .lichess-section { background: rgba(0, 0, 0, 0.2); padding: 1.2rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); } .lichess-section h3 i { color: #7fa650; } @media (max-width: 1000px) { .games-container { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } } @media (max-width: 600px) { .games-container { grid-template-columns: 1fr; } .game-card { max-width: 100%; } }