@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
.button-glow { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2.5rem; color: white; background: transparent; text-decoration: none; letter-spacing: 0.08em; font-family: "Lora", serif; font-size: 0.95rem; border: 1px solid rgba(91, 221, 170, 0.5); border-radius: 5px; overflow: hidden; transition: all 0.4s ease; }

.button-glow svg { width: 16px; height: 16px; }

.button-glow::before { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(91, 221, 170, 0.15), transparent); content: ""; transition: left 0.5s ease; }

.button-glow:hover { color: white; border-color: #5bddaa; box-shadow: 0 0 20px rgba(91, 221, 170, 0.2); }

.button-glow:hover::before { left: 100%; }

.button-glow.button-glow-light { color: #1a1a2e; border-color: rgba(59, 191, 101, 0.4); }

.button-glow.button-glow-light::before { background: linear-gradient(90deg, transparent, rgba(59, 191, 101, 0.12), transparent); }

.button-glow.button-glow-light:hover { color: #1a1a2e; border-color: #3bbf65; box-shadow: 0 0 20px rgba(59, 191, 101, 0.15); }

.button-gradient-primary, .ng-word-submit-button, .button-gradient-primary-dark { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2rem; color: white; background: linear-gradient(135deg, #3bbf65 0%, #5fce82 100%); text-decoration: none; letter-spacing: 0.06em; font-family: "Lora", serif; font-size: 0.95rem; font-weight: 500; border: none; border-radius: 5px; cursor: pointer; transition: all 0.35s ease; }

.button-gradient-primary svg, .ng-word-submit-button svg, .button-gradient-primary-dark svg { width: 18px; height: 18px; transition: transform 0.3s ease; }

.button-gradient-primary:hover, .ng-word-submit-button:hover, .button-gradient-primary-dark:hover { color: white; background: linear-gradient(135deg, #3bbf65 0%, #5bddaa 100%); box-shadow: 0 8px 32px rgba(59, 191, 101, 0.35), 0 0 60px rgba(59, 191, 101, 0.15); transform: translateY(-2px); }

.button-gradient-primary:hover svg:last-child, .ng-word-submit-button:hover svg:last-child, .button-gradient-primary-dark:hover svg:last-child { transform: translateX(4px); }

.button-gradient-primary:active, .ng-word-submit-button:active, .button-gradient-primary-dark:active { box-shadow: 0 4px 16px rgba(59, 191, 101, 0.3); transform: translateY(0); }

.button-gradient-primary-dark { background: linear-gradient(135deg, rgba(59, 191, 101, 0.9) 0%, rgba(59, 191, 101, 0.7) 100%); }

.button-gradient-primary-dark:hover { background: linear-gradient(135deg, #3bbf65 0%, rgba(91, 221, 170, 0.9) 100%); }

@keyframes shake-horizontal { 0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); } }

@keyframes fade-in-up { from { opacity: 0;
    transform: translateY(20px); }
  to { opacity: 1;
    transform: translateY(0); } }

@keyframes scale-in { from { opacity: 0;
    transform: scale(0.5); }
  to { opacity: 1;
    transform: scale(1); } }

@keyframes card-appear { from { opacity: 0;
    transform: translateY(20px) scale(0.98); }
  to { opacity: 1;
    transform: translateY(0) scale(1); } }

@keyframes error-appear { from { opacity: 0;
    transform: translateY(-4px); }
  to { opacity: 1;
    transform: translateY(0); } }

.notice-card { padding: 2rem; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 20px; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04); }

.notice-block { padding: 1.25rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }

.notice-block:first-child { padding-top: 0; }

.notice-block:last-child { padding-bottom: 0; border-bottom: none; }

.notice-heading { color: #1a1a2e; font-family: "Lora", serif; font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; }

.notice-heading svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 18px; height: 18px; color: #3bbf65; }

.notice-text { margin: 0; padding-left: calc(18px + 0.5rem); color: #555; line-height: 1.8; font-size: 0.85rem; }

@media (max-width: 768px) { .notice-card { padding: 1.5rem; } }

@media (max-width: 576px) { .notice-card { padding: 1.25rem; border-radius: 16px; } .notice-text { padding-left: 0; } }

.ng-word-page { max-width: 860px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.ng-word-form-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2.5rem 2rem; text-align: center; animation: fade-in-up 0.5s ease both; }

@media (max-width: 768px) { .ng-word-form-card { border-radius: 20px; } }

@media (max-width: 576px) { .ng-word-form-card { border-radius: 16px; } }

.ng-word-form-card form { text-align: left; }

.ng-word-form-header { margin-bottom: 1.5rem; }

.ng-word-form-title { color: #1a1a2e; font-family: "Lora", serif; font-size: 1.3rem; font-weight: 600; margin: 0 0 0.5rem; }

.ng-word-form-description { color: #888; font-size: 0.85rem; margin: 0; }

.ng-word-submit-button { display: flex; width: 100%; margin-top: 1.5rem; }

.ng-word-result-ok { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding: 0.85rem 1.25rem; color: #298546; background: rgba(59, 191, 101, 0.1); font-size: 0.95rem; font-weight: 500; border-left: 4px solid #2f9850; border-radius: 0 8px 8px 0; animation: fade-in-up 0.4s ease both; }

.ng-word-result-ok svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 20px; height: 20px; }

.ng-word-levels-section { margin-top: 2.5rem; animation: fade-in-up 0.5s ease 0.1s both; }

.ng-word-levels-card { padding: 2rem; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 20px; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04); }

.ng-word-levels-heading { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1.25rem; padding-bottom: 1rem; color: #1a1a2e; font-family: "Lora", serif; font-size: 1rem; font-weight: 600; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.ng-word-levels-heading svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 18px; height: 18px; color: #f0a500; }

.ng-word-level-row { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.25rem; border-left: 4px solid transparent; border-bottom: 1px solid rgba(0, 0, 0, 0.05); transition: background 0.2s ease; }

.ng-word-level-row:last-child { border-bottom: none; }

.ng-word-level-row:hover { background: rgba(0, 0, 0, 0.015); }

.ng-word-level-row:nth-child(2) { animation: fade-in-up 0.4s ease 0.06s both; }

.ng-word-level-row:nth-child(3) { animation: fade-in-up 0.4s ease 0.12s both; }

.ng-word-level-row:nth-child(4) { animation: fade-in-up 0.4s ease 0.18s both; }

.ng-word-level-row:nth-child(5) { animation: fade-in-up 0.4s ease 0.24s both; }

.ng-word-level-row:nth-child(6) { animation: fade-in-up 0.4s ease 0.3s both; }

.ng-word-level-row:nth-child(7) { animation: fade-in-up 0.4s ease 0.36s both; }

.ng-word-level-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; padding: 0.3rem 0.6rem; color: white; letter-spacing: 0.03em; font-family: "Lora", serif; font-size: 0.8rem; font-weight: 600; border-radius: 20px; }

.ng-word-level-description { color: #555; font-size: 0.88rem; }

.ng-word-level-row-6 { border-left-color: #e53e3e; }

.ng-word-level-badge-6 { background: #e53e3e; }

.ng-word-level-row-5 { border-left-color: #e67e22; }

.ng-word-level-badge-5 { background: #e67e22; }

.ng-word-level-row-4 { border-left-color: #f39c12; }

.ng-word-level-badge-4 { background: #f39c12; }

.ng-word-level-row-3 { border-left-color: #f0c040; }

.ng-word-level-badge-3 { background: #f0c040; color: #1a1a2e; }

.ng-word-level-row-2 { border-left-color: #d6e04a; }

.ng-word-level-badge-2 { background: #d6e04a; color: #1a1a2e; }

.ng-word-level-row-1 { border-left-color: #3bbf65; }

.ng-word-level-badge-1 { background: #3bbf65; }

.ng-word-info-section { margin-top: 2.5rem; animation: fade-in-up 0.5s ease 0.2s both; }

.ng-word-version-text { margin: 1.5rem 0 0; color: #888; text-align: right; font-size: 0.82rem; }

@media (max-width: 768px) { .ng-word-page { padding: 0 1rem 3rem; } .ng-word-form-card { padding: 2rem 1.5rem; } .ng-word-levels-card { padding: 1.5rem; } }

@media (max-width: 576px) { .ng-word-form-card { padding: 1.5rem 1rem; } .ng-word-level-row { gap: 0.75rem; padding: 0.75rem 1rem; } .ng-word-levels-card { padding: 1.25rem; border-radius: 16px; } }
