-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit.html
More file actions
1526 lines (1354 loc) · 59.6 KB
/
Copy pathedit.html
File metadata and controls
1526 lines (1354 loc) · 59.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Valentine Editor | Edit Site</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--primary: #667eea;
--secondary: #764ba2;
--accent: #ffd93d;
--rose: #ff6b9d;
--glass: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--bg: #0a0a1a;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
background: var(--bg);
color: white;
min-height: 100vh;
overflow-x: hidden;
}
/* Animated Background */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
radial-gradient(circle at 40% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
z-index: -1;
animation: bgPulse 10s ease-in-out infinite;
}
@keyframes bgPulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.8; transform: scale(1.1); }
}
/* Layout */
.container {
display: grid;
grid-template-columns: 300px 1fr;
min-height: 100vh;
}
/* Glassmorphism Sidebar */
.sidebar {
background: var(--glass);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-right: 1px solid var(--glass-border);
padding: 2rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
position: sticky;
top: 0;
height: 100vh;
overflow-y: auto;
}
.logo {
font-size: 1.8rem;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), var(--rose));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
}
.nav-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.nav-section-title {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(255, 255, 255, 0.5);
margin-bottom: 0.5rem;
padding-left: 1rem;
}
.nav-btn {
display: flex;
align-items: center;
gap: 0.8rem;
padding: 1rem 1.2rem;
background: transparent;
border: none;
border-radius: 12px;
color: rgba(255, 255, 255, 0.7);
font-size: 0.95rem;
cursor: pointer;
transition: all 0.3s ease;
text-align: left;
position: relative;
overflow: hidden;
}
.nav-btn::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--primary), var(--secondary));
opacity: 0;
transition: opacity 0.3s;
border-radius: 12px;
}
.nav-btn:hover, .nav-btn.active {
color: white;
transform: translateX(5px);
}
.nav-btn.active::before {
opacity: 0.2;
}
.nav-btn.active {
box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
border: 1px solid rgba(102, 126, 234, 0.3);
}
.nav-btn span {
position: relative;
z-index: 1;
}
.nav-icon {
font-size: 1.2rem;
position: relative;
z-index: 1;
}
/* Save Section */
.save-section {
margin-top: auto;
padding-top: 2rem;
border-top: 1px solid var(--glass-border);
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.btn-primary {
padding: 1rem 1.5rem;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border: none;
border-radius: 12px;
color: white;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.btn-secondary {
padding: 0.8rem 1.5rem;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 12px;
color: white;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.3);
}
.btn-danger {
color: #ff6b6b;
border-color: rgba(255, 107, 107, 0.3);
}
.btn-danger:hover {
background: rgba(255, 107, 107, 0.1);
border-color: #ff6b6b;
}
.status {
font-size: 0.85rem;
text-align: center;
padding: 0.5rem;
border-radius: 8px;
background: var(--glass);
border: 1px solid var(--glass-border);
}
.status.synced {
color: #4ade80;
border-color: rgba(74, 222, 128, 0.3);
background: rgba(74, 222, 128, 0.1);
}
.status.error {
color: #f87171;
border-color: rgba(248, 113, 113, 0.3);
background: rgba(248, 113, 113, 0.1);
}
/* Main Content */
.main {
padding: 2rem 3rem;
overflow-y: auto;
max-height: 100vh;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--glass-border);
}
.header h1 {
font-size: 2.5rem;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), var(--rose));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.header-actions {
display: flex;
gap: 1rem;
}
.preview-btn {
padding: 0.8rem 1.5rem;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 12px;
color: white;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
}
.preview-btn:hover {
background: rgba(102, 126, 234, 0.2);
border-color: var(--primary);
transform: translateY(-2px);
}
/* Content Sections */
.content-section {
display: none;
animation: fadeIn 0.4s ease;
}
.content-section.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Glass Cards */
.glass-card {
background: var(--glass);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 2rem;
margin-bottom: 1.5rem;
transition: all 0.3s ease;
}
.glass-card:hover {
border-color: rgba(102, 126, 234, 0.3);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.card-header {
display: flex;
align-items: center;
gap: 0.8rem;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--glass-border);
}
.card-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
}
.card-title {
font-size: 1.3rem;
font-weight: 600;
}
/* Form Elements */
.form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.form-group.full-width {
grid-column: 1 / -1;
}
label {
font-size: 0.9rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.8);
display: flex;
align-items: center;
gap: 0.5rem;
}
.required::after {
content: '*';
color: var(--rose);
}
input, textarea, select {
padding: 0.9rem 1rem;
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--glass-border);
border-radius: 12px;
color: white;
font-size: 1rem;
font-family: inherit;
transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
textarea {
resize: vertical;
min-height: 120px;
line-height: 1.6;
}
.helper-text {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.5);
margin-top: 0.3rem;
}
/* Slides Manager */
.slides-container {
display: flex;
flex-direction: column;
gap: 1rem;
}
.slide-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1.2rem;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
border-radius: 15px;
cursor: pointer;
transition: all 0.3s ease;
}
.slide-item:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--primary);
transform: translateX(5px);
}
.slide-number {
width: 45px;
height: 45px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.1rem;
}
.slide-content {
flex: 1;
}
.slide-title-preview {
font-weight: 600;
margin-bottom: 0.3rem;
}
.slide-text-preview {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.6);
}
.slide-actions {
display: flex;
gap: 0.5rem;
}
.icon-btn {
width: 36px;
height: 36px;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 8px;
color: white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
}
.icon-btn:hover {
background: rgba(255, 107, 107, 0.2);
border-color: #ff6b6b;
color: #ff6b6b;
}
.btn-add-slide {
padding: 1.2rem;
background: transparent;
border: 2px dashed var(--glass-border);
border-radius: 15px;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
font-size: 1rem;
transition: all 0.3s;
}
.btn-add-slide:hover {
border-color: var(--primary);
color: var(--primary);
background: rgba(102, 126, 234, 0.1);
}
/* Slide Editor Modal */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
display: none;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 2rem;
}
.modal-overlay.active {
display: flex;
animation: fadeIn 0.3s;
}
.modal-content {
background: var(--glass);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 2.5rem;
width: 100%;
max-width: 700px;
max-height: 90vh;
overflow-y: auto;
animation: slideUp 0.4s ease;
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(50px); }
to { opacity: 1; transform: translateY(0); }
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--glass-border);
}
.modal-title {
font-size: 1.5rem;
font-weight: 600;
}
.close-modal {
width: 40px;
height: 40px;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 10px;
color: white;
cursor: pointer;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
}
.close-modal:hover {
background: rgba(255, 107, 107, 0.2);
border-color: #ff6b6b;
color: #ff6b6b;
transform: rotate(90deg);
}
.modal-actions {
display: flex;
gap: 1rem;
margin-top: 2rem;
}
.modal-actions button {
flex: 1;
padding: 1rem;
border-radius: 12px;
border: none;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.btn-save-modal {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
}
.btn-save-modal:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}
.btn-cancel-modal {
background: var(--glass);
border: 1px solid var(--glass-border);
color: white;
}
.btn-cancel-modal:hover {
background: rgba(255, 255, 255, 0.1);
}
/* Color Picker */
.color-picker-wrapper {
display: flex;
align-items: center;
gap: 1rem;
}
input[type="color"] {
width: 60px;
height: 45px;
padding: 0.2rem;
border-radius: 10px;
cursor: pointer;
}
.color-value {
font-family: monospace;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
}
/* Theme Presets */
.presets-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.preset-card {
height: 80px;
border-radius: 15px;
border: 2px solid transparent;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.preset-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
opacity: 0;
transition: opacity 0.3s;
}
.preset-card:hover::before {
opacity: 1;
}
.preset-card:hover {
transform: translateY(-5px) scale(1.05);
border-color: white;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.preset-name {
font-size: 0.85rem;
font-weight: 600;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
z-index: 1;
}
/* Loading Overlay */
.loading-overlay {
position: fixed;
inset: 0;
background: var(--bg);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 10000;
transition: opacity 0.5s;
}
.loading-overlay.hidden {
opacity: 0;
pointer-events: none;
}
.loading-hearts {
font-size: 4rem;
animation: heartbeat 1.5s infinite;
margin-bottom: 1.5rem;
}
@keyframes heartbeat {
0%, 100% { transform: scale(1); }
25% { transform: scale(1.1); }
50% { transform: scale(1); }
}
.loading-text {
font-size: 1.2rem;
background: linear-gradient(90deg, var(--primary), var(--rose));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body>
<!-- Loading Screen -->
<div class="loading-overlay" id="loadingOverlay">
<div class="loading-hearts">💙♥️</div>
<div class="loading-text">Loading Editor...</div>
</div>
<div class="container">
<!-- Sidebar -->
<aside class="sidebar">
<div class="logo">💙♥️ Editor</div>
<div class="nav-section">
<div class="nav-section-title">Pages</div>
<button class="nav-btn active" onclick="showSection('landing')">
<span class="nav-icon">🏠</span>
<span>Landing Page</span>
</button>
<button class="nav-btn" onclick="showSection('timer')">
<span class="nav-icon">⏱</span>
<span>Timer Page</span>
</button>
<button class="nav-btn" onclick="showSection('story')">
<span class="nav-icon">📖</span>
<span>Story Slides</span>
</button>
</div>
<div class="nav-section">
<div class="nav-section-title">Content</div>
<button class="nav-btn" onclick="showSection('letter')">
<span class="nav-icon">💌</span>
<span>Love Letter</span>
</button>
<button class="nav-btn" onclick="showSection('theme')">
<span class="nav-icon">🎨</span>
<span>Theme</span>
</button>
</div>
<div class="save-section">
<button class="btn-primary" onclick="saveToFirebase()">
<span>💾</span>
<span>Save to Cloud</span>
</button>
<button class="btn-secondary" onclick="exportData()">📤 Export JSON</button>
<button class="btn-secondary" onclick="importData()">📥 Import JSON</button>
<button class="btn-secondary btn-danger" onclick="resetAll()">↺ Reset All</button>
<div class="status" id="status">Ready to edit</div>
</div>
</aside>
<!-- Main Content -->
<main class="main">
<!-- Landing Page Section -->
<div class="content-section active" id="section-landing">
<div class="header">
<h1>Landing Page</h1>
<div class="header-actions">
<a href="index.html" class="preview-btn" target="_blank">
<span>👁</span>
<span>Preview</span>
</a>
</div>
</div>
<div class="glass-card">
<div class="card-header">
<div class="card-icon">💝</div>
<div class="card-title">Main Question</div>
</div>
<div class="form-grid">
<div class="form-group full-width">
<label class="required">The Big Question</label>
<input type="text" id="mainQuestion" placeholder="Will You Be My Valentine?">
</div>
<div class="form-group full-width">
<label>Subtitle Message</label>
<input type="text" id="subMessage" placeholder="My heart has been waiting...">
</div>
<div class="form-group">
<label>Yes Button Text</label>
<input type="text" id="yesText" placeholder="YES! 💙♥️">
</div>
<div class="form-group">
<label>No Button Text</label>
<input type="text" id="noText" placeholder="No...">
</div>
<div class="form-group">
<label>Heart Text</label>
<input type="text" id="orbitText" placeholder="FOREVER">
<div class="helper-text">Text inside the spinning heart</div>
</div>
</div>
</div>
</div>
<!-- Timer Page Section -->
<div class="content-section" id="section-timer">
<div class="header">
<h1>Timer Page</h1>
<div class="header-actions">
<a href="timer.html" class="preview-btn" target="_blank">
<span>👁</span>
<span>Preview</span>
</a>
</div>
</div>
<div class="glass-card">
<div class="card-header">
<div class="card-icon">⏱</div>
<div class="card-title">Timer Settings</div>
</div>
<div class="form-grid">
<div class="form-group">
<label class="required">Start Date</label>
<input type="datetime-local" id="startDate">
<div class="helper-text">When your relationship started</div>
</div>
<div class="form-group">
<label>Timer Label (Spanish)</label>
<input type="text" id="timerLabelEs" placeholder="JUNTOS DESDE...">
</div>
<div class="form-group">
<label>Timer Label (English)</label>
<input type="text" id="timerLabelEn" placeholder="TOGETHER SINCE...">
</div>
</div>
</div>
<div class="glass-card">
<div class="card-header">
<div class="card-icon">🎯</div>
<div class="card-title">Timer Facts</div>
</div>
<div class="form-grid">
<div class="form-group full-width">
<label>Intro Fact Title</label>
<input type="text" id="introFactTitle" placeholder="¿Sabías Qué?">
</div>
<div class="form-group full-width">
<label>Intro Fact Text</label>
<textarea id="introFactText" rows="2" placeholder="En ese tiempo, la Tierra ha viajado... {distance}..."></textarea>
<div class="helper-text">Use {distance} for Earth miles, {laps} for equator laps</div>
</div>
<div class="form-group full-width">
<label>Perspective Text</label>
<textarea id="perspectiveText" rows="4" placeholder="Para ponerlo en perspectiva..."></textarea>
<div class="helper-text">Available: {seconds}, {movies}, {songs}, {cookies}</div>
</div>
<div class="form-group full-width">
<label>Months Fact Title</label>
<input type="text" id="monthsFactTitle" placeholder="Dato Curioso">
</div>
<div class="form-group full-width">
<label>Months Fact Text</label>
<textarea id="monthsFactText" rows="2" placeholder="Si gastaras $60 cada mes... {money}..."></textarea>
<div class="helper-text">Use {money} for calculated amount</div>
</div>
<div class="form-group full-width">
<label>Weeks Text</label>
<textarea id="weeksText" rows="3" placeholder="¡Eso son {weekends} fines de semana..."></textarea>
<div class="helper-text">Available: {weekends}, {mondays}</div>
</div>
<div class="form-group full-width">
<label>Hours Fact Title</label>
<input type="text" id="hoursFactTitle" placeholder="¿Tiempo Bien Empleado?">
</div>
<div class="form-group full-width">
<label>Hours Fact Text</label>
<textarea id="hoursFactText" rows="2" placeholder="¡Podrías haber visto Demon Slayer... {series}..."></textarea>
<div class="helper-text">Use {series} for series count</div>
</div>
<div class="form-group full-width">
<label>Minutes Text</label>
<textarea id="minutesText" rows="4" placeholder="En ese tiempo, podríamos haber..."></textarea>
<div class="helper-text">Available: {miles}, {loves}, {photos}</div>
</div>
<div class="form-group full-width">
<label>Final Fact Title</label>
<input type="text" id="finalFactTitle" placeholder="Y Contando...">
</div>
<div class="form-group full-width">
<label>Final Fact Text</label>
<textarea id="finalFactText" rows="3" placeholder="Cada segundo contigo..."></textarea>
</div>
<div class="form-group full-width">
<label>Final Message</label>
<input type="text" id="finalMessage" placeholder="Te amo más cada segundo 💙♥️">
</div>
</div>
</div>
</div>
<!-- Story Slides Section -->
<div class="content-section" id="section-story">
<div class="header">
<h1>Story Slides</h1>
<div class="header-actions">
<a href="story.html" class="preview-btn" target="_blank">
<span>👁</span>
<span>Preview</span>
</a>
</div>
</div>
<div class="glass-card">
<div class="card-header">
<div class="card-icon">📖</div>
<div class="card-title">Manage Slides</div>
</div>
<div class="slides-container" id="slidesList">
<!-- Slides injected here -->
</div>
<button class="btn-add-slide" onclick="openSlideModal()">
<span>+</span>
<span>Add New Slide</span>
</button>
</div>
</div>
<!-- Love Letter Section -->
<div class="content-section" id="section-letter">
<div class="header">
<h1>Love Letter</h1>
<div class="header-actions">
<a href="story.html" class="preview-btn" target="_blank">
<span>👁</span>
<span>Preview</span>
</a>
</div>
</div>
<div class="glass-card">
<div class="card-header">
<div class="card-icon">💌</div>
<div class="card-title">Final Letter Content</div>
</div>
<div class="form-grid">
<div class="form-group full-width">
<label class="required">Letter Title</label>
<input type="text" id="letterTitle" placeholder="Mi Amor">
</div>
<div class="form-group full-width">
<label class="required">Letter Content</label>
<textarea id="letterContent" rows="12" placeholder="Desde el momento en que te conocí..."></textarea>
<div class="helper-text">Use new lines for paragraphs. This appears when she clicks the sealed envelope.</div>
</div>
<div class="form-group full-width">
<label>Sign-off</label>
<input type="text" id="letterSign" placeholder="Tuyo para siempre">
</div>
</div>
</div>
</div>
<!-- Theme Section -->
<div class="content-section" id="section-theme">
<div class="header">
<h1>Theme & Colors</h1>
</div>
<div class="glass-card">
<div class="card-header">
<div class="card-icon">🎨</div>
<div class="card-title">Quick Presets</div>
</div>
<div class="presets-grid">
<div class="preset-card" onclick="applyPreset('romantic')" style="background: linear-gradient(135deg, #667eea, #764ba2);">
<span class="preset-name">Ocean</span>
</div>
<div class="preset-card" onclick="applyPreset('sunset')" style="background: linear-gradient(135deg, #ff6b9d, #c44569);">
<span class="preset-name">Sunset</span>
</div>
<div class="preset-card" onclick="applyPreset('forest')" style="background: linear-gradient(135deg, #11998e, #38ef7d);">
<span class="preset-name">Forest</span>
</div>
<div class="preset-card" onclick="applyPreset('gold')" style="background: linear-gradient(135deg, #f5af19, #f12711);">
<span class="preset-name">Gold</span>
</div>
<div class="preset-card" onclick="applyPreset('midnight')" style="background: linear-gradient(135deg, #232526, #414345);">
<span class="preset-name">Midnight</span>
</div>
<div class="preset-card" onclick="applyPreset('berry')" style="background: linear-gradient(135deg, #8e2de2, #4a00e0);">
<span class="preset-name">Berry</span>
</div>
</div>
</div>