UNPKG

krying

Version:

krying — games hub, AI, movies, and tools

398 lines (358 loc) • 8.64 kB
:root { --accent: #4f8cff; --glass-bg: rgba(255, 255, 255, 0.15); --glass-border: rgba(255, 255, 255, 0.3); --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); --radius: 1.5rem; } body { margin: 0; font-family: Arial, sans-serif; color: #fff; padding: 20px; background: radial-gradient(circle at top,#0b0f2a,#05060d); } main { max-width: 1100px; margin: 0 auto; padding: 0 1rem 2rem 1rem; } main h2 { color: #fff; margin-bottom: 1.5rem; text-align: center; font-size: 2rem; } .navbar { display: flex; justify-content: center; align-items: center; background-color: #000; padding: 10px 20px; width: 100%; box-sizing: border-box; position: fixed; top: 0; left: 0; right: 0; } .navbar a { color: #fff; text-decoration: none; font-size: 17px; padding: 10px 16px; transition: background 0.3s; } .navbar a:hover { background-color: #444; } .content { background-color: #ddd; padding: 40px 20px; color: #333; } .play-btn { background: #7668ff; color: #fff; border: none; border-radius: 999px; padding: 0.65rem 1.8rem; font-size: 1.1rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; cursor: pointer; box-shadow: 0 3px 12px 0 #4f8cff55; transition: background 0.2s, transform 0.15s; } .play-btn:hover { background: #2563eb; transform: scale(1.07); } .iframe-button { background-color: white; color: black; padding: 12px 24px; border: 2px solid black; border-radius: 4px; font-size: 18px; text-align: center; text-decoration: none; display: inline-block; cursor: pointer; transition: transform 0.3s ease; } .iframe-button:hover { background-color: black; color: white; transform: scale(0.95); } .orange-black-button { background: linear-gradient(90deg, #FF6600 0%, #000000 100%); color: white; padding: 12px 24px; border: none; border-radius: 4px; font-size: 18px; text-decoration: none; display: inline-block; cursor: pointer; transition: transform 0.15s; } .orange-black-button:hover { transform: scale(0.9); } .green-rectangle-button { background-color: #28a745; color: white; padding: 12px 24px; border: none; border-radius: 4px; font-size: 18px; text-decoration: none; display: inline-block; cursor: pointer; } .green-rectangle-button:hover { background-color: #006400; transform: scale(0.9); } .rainbow-rectangle-button { background: linear-gradient(90deg, #FF5F6D 0%, #FFC371 16%, #47cf73 33%, #38f9d7 50%, #4f8cff 67%, #a259c1 83%, #FF5F6D 100%); color: white; padding: 12px 24px; border: none; border-radius: 4px; font-size: 18px; text-decoration: none; display: inline-block; cursor: pointer; transition: background 0.25s, transform 0.15s; } .rainbow-rectangle-button:hover { background: linear-gradient(90deg, #FFC371 0%, #FF5F6D 16%, #a259c1 33%, #4f8cff 50%, #38f9d7 67%, #47cf73 83%, #FFC371 100%); transform: scale(0.9); } .blue-rectangle-button { background: #00008B; color: #fff; border: none; border-radius: 999px; padding: 0.65rem 1.8rem; font-size: 1.1rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; cursor: pointer; box-shadow: 0 3px 12px 0 #4f8cff55; transition: background 0.2s, transform 0.15s; } .blue-rectangle-button:hover { background: #2563eb; transform: scale(1.07); } .bloxy-btn { position: relative; padding: 12px 24px; background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 12px; color: #fff; font-size: 18px; font-weight: 700; text-transform: uppercase; text-decoration: none; letter-spacing: 1px; cursor: pointer; overflow: hidden; transition: all 0.3s ease; display: inline-block; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6); } .bloxy-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.5s ease; z-index: 1; } .bloxy-btn:hover::before { left: 100%; } .bloxy-btn:hover { background: rgba(0, 0, 0, 0.5); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-3px) scale(1.05); box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 12px 48px rgba(0, 0, 0, 0.6); } .bloxy-btn:active { transform: translateY(-1px) scale(1.02); } .bloxy-orange-btn { background: linear-gradient(135deg, rgba(255,102,0,0.35), rgba(0,0,0,0.35)); border-color: rgba(255,102,0,0.4); } .bloxy-orange-btn:hover { background: linear-gradient(135deg, rgba(255,102,0,0.55), rgba(0,0,0,0.55)); box-shadow: 0 0 40px rgba(255,102,0,0.6), 0 12px 48px rgba(0,0,0,0.6); } .bloxy-blue-btn { background: rgba(0, 0, 139, 0.35); border-color: rgba(0, 0, 139, 0.5); } .bloxy-blue-btn:hover { background: rgba(0, 0, 139, 0.55); box-shadow: 0 0 40px rgba(0, 0, 255, 0.6), 0 12px 48px rgba(0,0,0,0.6); } .bloxy-rainbow-btn { background: linear-gradient(135deg, rgba(255,95,109,0.35), rgba(255,195,113,0.35), rgba(71,207,115,0.35), rgba(56,249,215,0.35)); border-color: rgba(255,95,109,0.4); animation: rainbow-shift 3s infinite; } @keyframes rainbow-shift { 0%, 100% { border-color: rgba(255,95,109,0.4); } 25% { border-color: rgba(255,195,113,0.4); } 50% { border-color: rgba(71,207,115,0.4); } 75% { border-color: rgba(56,249,215,0.4); } } .bloxy-rainbow-btn:hover { background: linear-gradient(135deg, rgba(255,95,109,0.55), rgba(255,195,113,0.55), rgba(71,207,115,0.55), rgba(56,249,215,0.55)); box-shadow: 0 0 50px rgba(255,95,109,0.8), 0 0 80px rgba(71,207,115,0.5), 0 12px 48px rgba(0,0,0,0.6); } .bloxy-grn-btn { background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.5); } .bloxy-grn-btn:hover { background: rgba(34,197,94,0.35); box-shadow: 0 0 40px rgba(34,197,94,0.6), 0 12px 48px rgba(0,0,0,0.6); } /* Game Grid */ .game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .game-card { background: var(--glass-bg); border: 2px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.5rem 1.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; backdrop-filter: blur(6px); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; } .game-card:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.28); border-color: var(--accent); } .game-card img { width: 72px; height: 72px; margin-bottom: 1rem; filter: drop-shadow(0 2px 8px #0006); } .game-card h3 { color: #fff; margin: 0 0 1rem 0; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; letter-spacing: 1px; } .game-card button { background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 0.65rem 1.8rem; font-size: 1.1rem; font-family: 'Montserrat', sans-serif; font-weight: 700; cursor: pointer; box-shadow: 0 3px 12px 0 #4f8cff55; transition: background 0.2s, transform 0.15s; } .game-card button:hover { background: #2563eb; transform: scale(1.07); } /* Iframe Popup */ .iframe-container { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; justify-content: center; align-items: center; } .iframe-wrapper { position: relative; width: 80%; height: 80%; border: 2px solid white; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); } .iframe-wrapper iframe { width: 100%; height: 100%; border: none; } .close-button { position: absolute; top: -15px; right: -15px; width: 30px; height: 30px; line-height: 30px; text-align: center; background-color: red; border-radius: 50%; font-size: 16px; font-weight: bold; color: white; cursor: pointer; z-index: 1001; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); } #searchBox { width: 100%; max-width: 500px; padding: 12px 20px; font-size: 16px; border: 2px solid #00bfff; border-radius: 12px; background-color: rgba(30, 38, 51, 0.8); color: white; outline: none; transition: all 0.3s ease; box-shadow: 0 0 10px rgba(0, 191, 255, 0.3); margin: 20px auto; display: block; } #searchBox::placeholder { color: rgba(255, 255, 255, 0.6); font-style: italic; } #searchBox:focus { border-color: #00ffff; box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); background-color: rgba(30, 38, 51, 1); } .highlight { background-color: yellow; }