CSS · 4424 bytes Raw Blame History
1 * {
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5 }
6
7 body {
8 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
9 background: linear-gradient(135deg, #1e1e1e 0%, #2d1810 100%);
10 color: #fff;
11 min-height: 100vh;
12 }
13
14 .App {
15 min-height: 100vh;
16 display: flex;
17 align-items: center;
18 justify-content: center;
19 padding: 20px;
20 }
21
22 .container {
23 max-width: 600px;
24 width: 100%;
25 text-align: center;
26 }
27
28 .logo {
29 font-size: 4rem;
30 margin-bottom: 20px;
31 filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.5));
32 animation: flicker 3s infinite alternate;
33 }
34
35 @keyframes flicker {
36 0%, 100% { opacity: 1; }
37 50% { opacity: 0.8; }
38 }
39
40 h1 {
41 font-size: 3rem;
42 margin-bottom: 10px;
43 background: linear-gradient(45deg, #ff6b00, #ff0040);
44 -webkit-background-clip: text;
45 -webkit-text-fill-color: transparent;
46 background-clip: text;
47 }
48
49 .subtitle {
50 font-size: 1.2rem;
51 color: #888;
52 margin-bottom: 40px;
53 }
54
55 .roast-box {
56 background: rgba(255, 255, 255, 0.05);
57 border: 2px solid rgba(255, 107, 0, 0.3);
58 border-radius: 15px;
59 padding: 30px;
60 margin: 30px 0;
61 min-height: 150px;
62 display: flex;
63 align-items: center;
64 justify-content: center;
65 backdrop-filter: blur(10px);
66 position: relative;
67 overflow: hidden;
68 }
69
70 .roast-box::before {
71 content: '';
72 position: absolute;
73 top: -50%;
74 left: -50%;
75 width: 200%;
76 height: 200%;
77 background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
78 animation: pulse 4s ease-in-out infinite;
79 }
80
81 @keyframes pulse {
82 0%, 100% { transform: scale(1); opacity: 0.5; }
83 50% { transform: scale(1.1); opacity: 0.8; }
84 }
85
86 .roast-text {
87 font-size: 1.4rem;
88 line-height: 1.6;
89 position: relative;
90 z-index: 1;
91 animation: slideIn 0.5s ease-out;
92 }
93
94 @keyframes slideIn {
95 from {
96 opacity: 0;
97 transform: translateY(20px);
98 }
99 to {
100 opacity: 1;
101 transform: translateY(0);
102 }
103 }
104
105 .location-display {
106 font-size: 1rem;
107 color: #ff6b00;
108 margin-bottom: 20px;
109 font-weight: 600;
110 }
111
112 .primary-button, button {
113 background: linear-gradient(45deg, #ff6b00, #ff0040);
114 color: white;
115 border: none;
116 padding: 15px 40px;
117 font-size: 1.2rem;
118 border-radius: 50px;
119 cursor: pointer;
120 transition: all 0.3s ease;
121 font-weight: 600;
122 box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
123 margin: 10px;
124 }
125
126 button:hover {
127 transform: translateY(-2px);
128 box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
129 }
130
131 button:active {
132 transform: translateY(0);
133 }
134
135 button:disabled {
136 background: #444;
137 cursor: not-allowed;
138 box-shadow: none;
139 }
140
141 .loading {
142 display: inline-block;
143 width: 20px;
144 height: 20px;
145 border: 3px solid rgba(255, 255, 255, 0.3);
146 border-radius: 50%;
147 border-top-color: #fff;
148 animation: spin 1s ease-in-out infinite;
149 }
150
151 @keyframes spin {
152 to { transform: rotate(360deg); }
153 }
154
155 .error {
156 color: #ff4444;
157 margin-top: 20px;
158 }
159
160 .manual-input {
161 margin-top: 30px;
162 padding-top: 30px;
163 border-top: 1px solid rgba(255, 255, 255, 0.1);
164 }
165
166 .manual-input p {
167 margin-bottom: 15px;
168 color: #888;
169 }
170
171 .manual-input form {
172 display: flex;
173 justify-content: center;
174 align-items: center;
175 gap: 10px;
176 flex-wrap: wrap;
177 }
178
179 input {
180 background: rgba(255, 255, 255, 0.1);
181 border: 1px solid rgba(255, 255, 255, 0.2);
182 color: white;
183 padding: 12px 20px;
184 font-size: 1rem;
185 border-radius: 25px;
186 width: 250px;
187 transition: all 0.3s ease;
188 }
189
190 input:focus {
191 outline: none;
192 border-color: #ff6b00;
193 background: rgba(255, 255, 255, 0.15);
194 }
195
196 input::placeholder {
197 color: rgba(255, 255, 255, 0.5);
198 }
199
200 .footer {
201 margin-top: 60px;
202 padding: 20px;
203 text-align: center;
204 color: #666;
205 font-size: 0.9rem;
206 border-top: 1px solid rgba(255, 255, 255, 0.1);
207 }
208
209 .button-group {
210 display: flex;
211 gap: 15px;
212 justify-content: center;
213 flex-wrap: wrap;
214 margin: 20px 0;
215 }
216
217 .secondary-button {
218 background: transparent;
219 border: 2px solid #ff6b00;
220 color: #ff6b00;
221 padding: 15px 30px;
222 font-size: 1.2rem;
223 border-radius: 50px;
224 cursor: pointer;
225 transition: all 0.3s ease;
226 font-weight: 600;
227 }
228
229 .secondary-button:hover {
230 background: #ff6b00;
231 color: white;
232 transform: translateY(-2px);
233 box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
234 }
235
236 @media (max-width: 600px) {
237 h1 {
238 font-size: 2.5rem;
239 }
240
241 .roast-text {
242 font-size: 1.2rem;
243 }
244
245 button {
246 padding: 12px 30px;
247 font-size: 1rem;
248 }
249
250 input {
251 width: 200px;
252 }
253 }