.word-counter-page{padding:1.5rem 1rem;max-width:1200px;margin:0 auto;min-height:calc(100vh - 135px);display:flex;flex-direction:column;gap:1rem;transition:background-color .3s ease}html.dark .word-counter-page{background-color:#282a36}@media(min-width:768px){.word-counter-page{padding:2.5rem 1rem;gap:1.5rem}}.page-header{text-align:center;margin-bottom:.5rem}.page-header .page-title{font-size:1.75rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem;line-height:1.2;transition:color .3s ease}html.dark .page-header .page-title{color:#f8f8f2}@media(min-width:768px){.page-header .page-title{font-size:2.5rem}}.page-header .page-subtitle{font-size:.9rem;color:#666;max-width:600px;margin:0 auto;transition:color .3s ease}html.dark .page-header .page-subtitle{color:#bd93f9}@media(min-width:768px){.page-header .page-subtitle{font-size:1.1rem}}.input-section{position:relative}.text-input-area{width:100%;padding:1rem;border:1px solid #d1d5db;border-radius:8px;min-height:200px;font-size:1rem;resize:vertical;color:#1a1a1a;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);transition:border-color .2s ease,box-shadow .2s ease,background-color .3s ease,color .3s ease}.text-input-area:focus{outline:none;border-color:#1a1a1a;box-shadow:0 0 0 3px rgba(26,26,26,.2)}.text-input-area::placeholder{color:#9ca3af}html.dark .text-input-area{border-color:#44475a;color:#f8f8f2;background-color:rgb(46.5106382979,48.8361702128,62.7893617021);box-shadow:inset 0 1px 3px rgba(0,0,0,.25)}html.dark .text-input-area:focus{border-color:#bd93f9;box-shadow:0 0 0 3px rgba(189,147,249,.2)}html.dark .text-input-area::placeholder{color:#6272a4}.stats-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:.75rem;gap:.75rem}@media(min-width:768px){.stats-container{grid-template-columns:repeat(4,1fr);gap:1rem}}.stats-container .stat-item{background:#fff;padding:1rem;border-radius:8px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.1);border:1px solid #e5e7eb;transition:background .3s ease,border-color .3s ease,box-shadow .3s ease}html.dark .stats-container .stat-item{background:#282a36;border:1px solid #44475a;box-shadow:0 4px 12px rgba(0,0,0,.4)}.stats-container .stat-item .stat-label{font-size:.8rem;color:#666;margin-bottom:.5rem;display:block;transition:color .3s ease}html.dark .stats-container .stat-item .stat-label{color:#bd93f9}.stats-container .stat-item .stat-value{font-size:1.5rem;font-weight:700;color:#1a1a1a;transition:color .3s ease}html.dark .stats-container .stat-item .stat-value{color:#f8f8f2}@media(min-width:768px){.stats-container .stat-item .stat-value{font-size:2rem}}.action-buttons{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}.action-buttons .clear-button,.action-buttons .copy-button{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;border:none;transition:all .3s ease,color .3s ease;white-space:nowrap}.action-buttons .clear-button .button-icon,.action-buttons .copy-button .button-icon{width:1rem;height:1rem}.action-buttons .clear-button:hover,.action-buttons .copy-button:hover{transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,.1)}.action-buttons .clear-button:active,.action-buttons .copy-button:active{transform:translateY(0);box-shadow:none}html.dark .action-buttons .clear-button,html.dark .action-buttons .copy-button{box-shadow:0 4px 8px rgba(0,0,0,.2)}.action-buttons .copy-button{background:#1a1a1a;color:#fff}.action-buttons .copy-button:hover{background:rgb(.5,.5,.5)}html.dark .action-buttons .copy-button{background:#f8f8f2;color:#282a36}html.dark .action-buttons .copy-button:hover{background:#44475a;color:#f8f8f2}.action-buttons .clear-button{background:#dc2626;color:#fff}.action-buttons .clear-button:hover{background:rgb(178.25,28.75,28.75)}html.dark .action-buttons .clear-button{background:#dc2626;color:#f8f8f2}html.dark .action-buttons .clear-button:hover{background:rgb(178.25,28.75,28.75)}.ad-placeholder{text-align:center;margin-top:1rem;padding:1.5rem 1rem;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;font-size:.85rem;min-height:100px;display:flex;align-items:center;justify-content:center;border-radius:8px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05);transition:background-color .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease;line-height:1.5}html.dark .ad-placeholder{background:#1a1c24;border:1px dashed #44475a;color:#8be9fd;box-shadow:inset 0 1px 3px rgba(0,0,0,.25)}