@charset "UTF-8";.theme-toggle{position:relative;background:var(--link);color:#fff;border:none;padding:.5rem 1rem;border-radius:20px;cursor:pointer;font-size:.9rem;transition:background .3s;z-index:100}.theme-toggle:hover{background:#1d4ed8}.theme-toggle:focus{outline:2px solid var(--link);outline-offset:2px}.header{background:var(--card-bg);border-bottom:1px solid var(--card-border);padding:2rem 0;text-align:center;box-shadow:0 2px 4px var(--shadow)}.header__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:0 2rem}.header__nav{display:flex;gap:1.5rem;align-items:center}.header .nav-link{color:var(--link);text-decoration:none;font-weight:500;padding:.5rem 1rem;border-radius:4px;transition:all .2s ease}.header .nav-link:hover{background:var(--link);color:#fff}.header h1{margin:0 0 .5rem;font-size:2.5rem;font-weight:700;color:var(--text)}.header h2{margin:0 0 1rem;font-size:1.25rem;font-weight:400;color:var(--text);opacity:.8}.header p{margin:0;font-size:1.1rem;color:var(--text);opacity:.7}.footer{text-align:center;padding:2rem 1rem;font-size:.9rem;opacity:.7;color:var(--text)}.footer__links{margin-bottom:1rem}.footer__links a{margin:0 .5rem;color:var(--link);text-decoration:none;transition:color .3s}.footer__links a:hover{text-decoration:underline}.footer p{margin:0;opacity:.7}.section{padding:3rem 1rem;background:var(--card-bg);border-radius:8px;box-shadow:0 1px 3px var(--shadow);margin-bottom:2rem;opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}.section.visible{opacity:1;transform:translateY(0)}.section h3{font-size:1.5rem;margin-bottom:1rem;border-left:4px solid var(--link);padding-left:.5rem;color:var(--text)}.section p{margin-bottom:1rem;line-height:1.6;color:var(--text)}.card{padding:1rem;border:1px solid var(--card-border);border-radius:8px;background:var(--card-bg);transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-3px);box-shadow:0 4px 12px var(--shadow)}.card img{display:block;max-height:80px;margin:0 auto 1rem;-o-object-fit:contain;object-fit:contain}.card h4{font-size:1.1rem;font-weight:600;margin-bottom:.75rem;color:var(--text)}.card p{margin-bottom:.5rem;line-height:1.5;color:var(--text)}.card ul{padding-left:1.2rem;margin:0}.card ul li{margin-bottom:.3rem;line-height:1.4;color:var(--text)}.card a{color:var(--link);text-decoration:none}.card a:hover{text-decoration:underline}.home .container{max-width:1100px;margin:auto;padding:1.5rem}.home .grid{display:grid;gap:1.5rem}.home .grid-3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.tools .container{max-width:1100px;margin:auto;padding:1.5rem}.tools-header{text-align:center;margin-bottom:3rem}.tools-header h1{font-size:2.5rem;margin-bottom:1rem}.tools-header p{font-size:1.1rem;opacity:.8}.tools .grid{display:grid;gap:1.5rem}.tools .grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.tools .tool-features{margin:1.5rem 0}.tools .tool-features ul{list-style:none;padding:0}.tools .tool-features li{color:var(--text);opacity:.8;position:relative;padding:.25rem 0 .25rem 1.5rem}.tools .tool-features li:before{content:"✓";position:absolute;left:0;color:#28a745;font-weight:700}.tools .btn{display:inline-block;padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;text-decoration:none;text-align:center;transition:all .2s ease;margin-top:1rem}.tools .btn--primary{background:var(--link);color:#fff}.tools .btn--primary:hover{background:#1d4ed8;text-decoration:none}.tools .btn--secondary{background:#6c757d;color:#fff;cursor:not-allowed;opacity:.6}.segment-item{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:1rem;cursor:grab;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.segment-item:hover{border-color:#553d94;box-shadow:0 4px 8px #553d9433;transform:translateY(-2px)}.segment-item.dragging{opacity:.5;transform:rotate(5deg)}.segment-item__info h4{margin:0 0 .5rem;color:#333;font-size:1rem}.segment-item__info p{margin:0;color:#666;font-size:.9rem;line-height:1.4}.email-builder__sidebar{background:#fff;border-right:1px solid #e0e0e0;padding:1.5rem;overflow-y:auto;max-height:calc(100vh - 120px)}.email-builder__sidebar h2{margin:0 0 1.5rem;color:#333;font-size:1.3rem;border-bottom:2px solid #553d94;padding-bottom:.5rem}.email-builder__sidebar h3{margin:1.5rem 0 1rem;color:#553d94;font-size:1.1rem}.segment-category{margin-bottom:2rem}.segment-list{display:flex;flex-direction:column;gap:1rem}.template-segment{background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:1rem;overflow:hidden;box-shadow:0 2px 4px #0000001a;cursor:move}.template-segment.dragging{opacity:.5}.template-segment__header{background:#f8f9fa;padding:.75rem 1rem;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.template-segment__header h4{margin:0;color:#333;font-size:1rem}.template-segment__drag-handle{cursor:move;color:#999;font-size:1.2rem;margin-right:.5rem}.template-segment__actions{display:flex;gap:.5rem}.template-segment__content{padding:1rem}.canvas-dropzone{min-height:400px;border:2px dashed #ccc;border-radius:8px;padding:2rem;text-align:center;background:#fff;transition:all .2s ease}.canvas-dropzone.drag-over{border-color:#553d94;background:#f8f9ff}.dropzone-placeholder{color:#999;font-size:1.1rem}.dropzone-placeholder p{margin:.5rem 0}.email-builder__info{background:#fff;border-left:1px solid #e0e0e0;padding:1.5rem;overflow-y:auto;max-height:calc(100vh - 120px)}.email-builder__info h2{margin:0 0 1.5rem;color:#333;font-size:1.3rem;border-bottom:2px solid #553d94;padding-bottom:.5rem}.template-stats{margin-bottom:2rem}.stat-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #f0f0f0}.stat-item:last-child{border-bottom:none}.stat-label{color:#666;font-size:.9rem}.stat-value{color:#333;font-weight:600;font-size:.9rem}.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:1000;overflow-y:auto;align-items:center;justify-content:center}.modal.is-active{display:flex}.modal__content{background:#fff;border-radius:8px;max-width:90%;max-height:90%;overflow:hidden;box-shadow:0 10px 30px #0000004d}.modal__header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e0e0e0}.modal__header h3{margin:0;color:#333}.modal__close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;padding:0}.modal__close:hover{color:#333}.modal__body{padding:1.5rem}.email-preview{max-width:600px;margin:0 auto;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.preview-segment{padding:1rem;border-bottom:1px solid #e0e0e0}.preview-segment:last-child{border-bottom:none}.export-code{width:100%;min-height:300px;padding:1rem;border:1px solid #e0e0e0;border-radius:4px;font-family:Courier New,monospace;font-size:.9rem;line-height:1.4;resize:vertical;margin-bottom:1rem}.email-builder{font-family:Segoe UI,Roboto,sans-serif;background:#f5f5f5;min-height:100vh}.email-builder__header{background:#fff;padding:2rem 0;text-align:center;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 4px #0000001a}.email-builder__header .o-wrapper{max-width:1200px;margin:0 auto;padding:0 2rem}.email-builder__header h1{margin:0 0 .5rem;color:#333;font-size:2rem}.email-builder__header p{margin:0;color:#666;font-size:1.1rem}.email-builder__container{display:grid;grid-template-columns:300px 1fr 250px;gap:0;max-width:1400px;margin:0 auto;min-height:calc(100vh - 120px)}.email-builder__canvas{background:#fafafa;padding:1.5rem;overflow-y:auto;max-height:calc(100vh - 120px)}.canvas-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e0e0e0}.canvas-header h2{margin:0;color:#333;font-size:1.5rem}.canvas-actions{display:flex;gap:.5rem}.btn{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease}.btn--primary{background:#553d94;color:#fff}.btn--primary:hover:not(:disabled){background:#4a357f}.btn--secondary{background:#6c757d;color:#fff}.btn--secondary:hover:not(:disabled){background:#5a6268}.btn--danger{background:#dc3545;color:#fff}.btn--danger:hover:not(:disabled){background:#c82333}.btn:disabled{opacity:.5;cursor:not-allowed}.game-page .container{max-width:1100px;margin:auto;padding:1.5rem}.game-page__header{text-align:center;margin-bottom:2rem}.game-page__header h1{font-size:2.5rem;margin-bottom:1rem}.game-page__header p{font-size:1.1rem;opacity:.8}.game-page__header code{background:var(--bg-secondary, #1e1e1e);padding:.2rem .5rem;border-radius:4px;font-size:.9em}.game-page__canvas{display:flex;justify-content:center;margin:0 auto;border-radius:8px;overflow:hidden;box-shadow:0 4px 20px #0000004d}.game-page__canvas canvas{display:block}.app{min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text)}.main-content{flex:1;padding:2rem 0}:root{--bg: #f9fafb;--text: #1f2937;--link: #2563eb;--card-bg: #fff;--card-border: #e5e7eb;--shadow: rgba(0, 0, 0, .08)}body.dark{--bg: #111827;--text: #f3f4f6;--link: #93c5fd;--card-bg: #1f2937;--card-border: #374151;--shadow: rgba(0, 0, 0, .4)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,Roboto,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;margin:0;background:var(--bg);color:var(--text);line-height:1.6;transition:background .3s,color .3s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{margin:0 0 .5em;font-weight:600;color:var(--text)}a{color:var(--link);text-decoration:none;transition:color .3s}a:hover{text-decoration:underline}ul{padding-left:1.2rem;list-style:none}li{margin-bottom:.3rem}p{margin:0 0 1rem;color:var(--text)}img{max-width:100%;height:auto;display:block}#root{min-height:100vh;display:flex;flex-direction:column}
