* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', 'Segoe UI', sans-serif; line-height: 1.7; color: #1a1a2e; background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); padding: 20px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.1); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 800; background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
nav a { color: rgba(255,255,255,0.8); text-decoration: none; margin-left: 30px; font-weight: 500; transition: all 0.3s; }
nav a:hover { color: #feca57; transform: translateY(-2px); }
.hero { background: linear-gradient(135deg, rgba(255,107,107,0.2), rgba(254,202,87,0.2), rgba(72,219,251,0.2)); padding: 100px 0; text-align: center; border-radius: 0 0 50% 50% / 30px; }
.hero h1 { font-size: 56px; margin-bottom: 15px; background: linear-gradient(45deg, #fff, #feca57); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 22px; color: rgba(255,255,255,0.8); }
main { padding: 60px 0; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.tool-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; }
.tool-card:hover { transform: translateY(-10px) scale(1.02); background: rgba(255,255,255,0.15); box-shadow: 0 30px 60px rgba(0,0,0,0.3); border-color: #feca57; }
.tool-card .icon { width: 70px; height: 70px; background: linear-gradient(135deg, #ff6b6b, #feca57); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(255,107,107,0.3); }
.tool-card h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.tool-card p { color: rgba(255,255,255,0.6); font-size: 14px; }
.tool-card a { display: inline-block; margin-top: 15px; padding: 12px 24px; background: linear-gradient(45deg, #ff6b6b, #feca57); color: #fff; text-decoration: none; border-radius: 25px; font-weight: 600; transition: all 0.3s; }
.tool-card a:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(255,107,107,0.4); }
footer { background: rgba(0,0,0,0.3); color: rgba(255,255,255,0.5); padding: 40px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
footer a { color: #feca57; text-decoration: none; }
.category-title { color: #fff; margin: 50px 0 25px; font-size: 28px; border-bottom: 3px solid; border-image: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb) 1; padding-bottom: 15px; display: inline-block; }
.tool-page { background: rgba(255,255,255,0.95); border-radius: 25px; padding: 40px; margin: 30px auto; max-width: 850px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.tool-page h1 { background: linear-gradient(45deg, #ff6b6b, #feca57); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; font-size: 32px; }
.tool-page .desc { color: #666; margin-bottom: 25px; font-size: 16px; }
.tool-page input, .tool-page textarea { width: 100%; padding: 16px 20px; border: 2px solid #e0e0e0; border-radius: 15px; font-size: 16px; margin-bottom: 15px; transition: all 0.3s; font-family: inherit; }
.tool-page input:focus, .tool-page textarea:focus { outline: none; border-color: #ff6b6b; box-shadow: 0 5px 20px rgba(255,107,107,0.2); }
.tool-page textarea { min-height: 180px; resize: vertical; }
.tool-page button { padding: 14px 30px; background: linear-gradient(45deg, #ff6b6b, #feca57); color: #fff; border: none; border-radius: 30px; font-size: 16px; font-weight: 600; cursor: pointer; margin-right: 10px; margin-bottom: 10px; transition: all 0.3s; }
.tool-page button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,107,0.4); }
.tool-page .result { background: linear-gradient(135deg, #f8f9fa, #e9ecef); padding: 25px; border-radius: 15px; margin-top: 20px; min-height: 100px; font-family: 'Courier New', monospace; font-size: 15px; white-space: pre-wrap; word-break: break-all; }
.back-link { color: #ff6b6b; text-decoration: none; font-weight: 600; display: inline-block; margin-bottom: 20px; }
.back-link:hover { color: #feca57; }
.info-box { background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(254,202,87,0.1)); padding: 20px; border-radius: 15px; margin-bottom: 20px; border-left: 4px solid #ff6b6b; }
.info-box h4 { color: #1a1a2e; margin-bottom: 8px; }
.info-box p { color: #666; font-size: 14px; }
