/* Body with subtle grid pattern background */ body { margin: 0; padding: 20px; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; text-align: center; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f9fafb; background-image: linear-gradient(to right, #e0e0e0 1px, transparent 1px), linear-gradient(to bottom, #e0e0e0 1px, transparent 1px); background-size: 40px 40px; color: #333; } h1 { margin-bottom: 15px; font-weight: 700; color: #2c3e50; } /* FIXED WHEEL SIZE */ #wheel { border: 6px solid #2e7d32; /* Default border for green palette */ border-radius: 50%; box-shadow: 0 6px 15px rgba(0,0,0,0.1); background-color: #fff; width: 400px; height: 400px; } .controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; margin-bottom: 40px; } select { padding: 7px 12px; font-size: 16px; border-radius: 5px; border: 2px solid #bbb; cursor: pointer; transition: border-color 0.3s ease; width: 100%; max-width: 200px; margin-top: 10px; } select:hover, select:focus { border-color: #2e7d32; outline: none; } button { padding: 10px 25px; font-size: 18px; font-weight: 700; border: none; border-radius: 30px; cursor: pointer; color: #fff; box-shadow: 0 5px 12px rgba(0,0,0,0.2); transition: background-color 0.3s ease, box-shadow 0.3s ease; user-select: none; min-width: 100px; width: 100%; max-width: 200px; margin-top: 10px; } #spinBtn { background-color: #388e3c; box-shadow: 0 5px 15px rgba(56, 142, 60, 0.6); } #spinBtn:hover:not(:disabled) { background-color: #2e7d32; box-shadow: 0 6px 20px rgba(46, 125, 50, 0.8); } #spinBtn:disabled { background-color: #a5d6a7; cursor: not-allowed; box-shadow: none; } #stopBtn { background-color: #d32f2f; box-shadow: 0 5px 15px rgba(211, 47, 47, 0.6); } #stopBtn:hover:not(:disabled) { background-color: #9a0007; box-shadow: 0 6px 20px rgba(154, 0, 7, 0.8); } #stopBtn:disabled { background-color: #ef9a9a; cursor: not-allowed; box-shadow: none; } /* Modal styling */ .modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.6); justify-content: center; align-items: center; } .modal-content { background-color: #fff; margin: auto; padding: 35px 40px; border-radius: 16px; max-width: 500px; width: 90%; text-align: center; position: relative; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); animation: popupFade 0.3s ease-out; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .modal-content h2 { font-size: 28px; color: #2e7d32; margin-top: 0; margin-bottom: 20px; } .modal-content p { font-size: 22px; font-weight: bold; margin: 15px 0 30px 0; color: #222; } .modal-footer { border-top: 1px solid #ddd; padding-top: 15px; margin-top: 20px; } .website-tagline { font-size: 14px; color: #888; font-style: italic; } /* Close button */ .close { position: absolute; right: 16px; top: 12px; font-size: 24px; font-weight: bold; color: #666; cursor: pointer; } .close:hover { color: #000; } /* Popup animation */ @keyframes popupFade { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .close { color: #aaa; position: absolute; top: 12px; right: 18px; font-size: 28px; font-weight: bold; cursor: pointer; } .close:hover { color: #000; } @keyframes popupFade { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* Layout for wheel and entry */ .wheel-and-input { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; } .entry-input { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; } textarea { width: 100%; padding: 12px; resize: vertical; font-size: 16px; line-height: 1.4; border-radius: 8px; border: 2px solid #ccc; box-sizing: border-box; min-height: 200px; } #updateEntriesBtn { background-color: #1976d2; color: white; font-weight: bold; } #updateEntriesBtn:hover { background-color: #125ea3; } /* Desktop layout */ @media (min-width: 768px) { .wheel-and-input { flex-direction: row; align-items: flex-start; justify-content: center; } .entry-input { margin-left: 20px; } } .entry-tools { display: flex; flex-wrap: wrap; gap: 10px; } .entry-tools button { flex: 1 1 45%; font-size: 14px; padding: 8px 12px; border-radius: 8px; box-shadow: 0 3px 8px rgba(0,0,0,0.15); min-width: 100px; } #shuffleBtn { background-color: #8e24aa; } #shuffleBtn:hover { background-color: #6a1b9a; } #sortBtn { background-color: #0097a7; } #sortBtn:hover { background-color: #006978; } #clearBtn { background-color: #757575; } #clearBtn:hover { background-color: #424242; } /* --- Header --- */ .site-header { width: 100%; background: linear-gradient(135deg, #1b5e20, #388e3c); color: white; padding: 20px 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); position: relative; } .header-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: flex-start; gap: 15px; } .site-header h1 { font-size: 28px; font-weight: 700; margin: 0; letter-spacing: 1px; } .logo { width: 40px; height: 40px; object-fit: contain; } /* --- Footer --- */ .site-footer { width: 100%; background-color: #f5f5f5; border-top: 2px solid #ddd; padding: 20px 0; margin-top: 50px; font-size: 14px; color: #555; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; } .footer-links { margin-top: 10px; } .footer-links a { color: #388e3c; margin: 0 10px; text-decoration: none; font-weight: 600; } .footer-links a:hover { text-decoration: underline; } /* Sticky, light, and modern header */ .site-header.sticky { position: sticky; top: 0; z-index: 1000; background: linear-gradient(90deg, #4a90e2, #357ABD); /* Smooth blue gradient */ border-bottom: 1px solid #2f5dab; box-shadow: 0 4px 12px rgba(53, 122, 189, 0.4); padding: 12px 0; transition: background 0.3s ease; } .header-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; } .logo-area { display: flex; align-items: center; gap: 12px; } .logo { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 2px rgba(0,0,0,0.1)); } .brand-name { font-size: 22px; font-weight: 700; color: #f0f4f8; /* Light text for contrast */ letter-spacing: 0.6px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); } .nav-links a { margin-left: 24px; color: #dbe9ff; /* lighter link color */ text-decoration: none; font-weight: 600; font-size: 16px; transition: color 0.25s ease; } .nav-links a:hover { color: #fff; text-shadow: 0 0 8px #fff; } @media (max-width: 600px) { .header-container { flex-direction: column; align-items: flex-start; gap: 10px; } .nav-links { display: flex; flex-direction: column; gap: 5px; width: 100%; } .nav-links a { margin-left: 0; } }