Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --accent-color: #3498db;
+ --bg-color: #f9fafb;
+ --card-bg: #ffffff;
+ --text-color: #2c3e50;
+ --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ background: var(--bg-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ box-shadow: var(--shadow);
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ background: linear-gradient(45deg, #3498db, #2ecc71);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+
+ .tagline {
+ font-size: 1.1rem;
+ opacity: 0.9;
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ .add-event {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: var(--shadow);
+ margin-bottom: 2rem;
+ }
+
+ .form-group {
+ margin-bottom: 1rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+ }
+
+ input {
+ width: 100%;
+ padding: 0.8rem;
+ border: 2px solid #e2e8f0;
+ border-radius: 5px;
+ font-size: 1rem;
+ transition: border-color 0.3s;
+ }
+
+ input:focus {
+ border-color: var(--accent-color);
+ outline: none;
+ }
+
+ button {
+ background: var(--accent-color);
+ color: white;
+ padding: 0.8rem 1.5rem;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: transform 0.2s, background 0.3s;
+ }
+
+ button:hover {
+ background: #2980b9;
+ transform: translateY(-2px);
+ }
+
+ .events-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+ gap: 1.5rem;
+ }
+
+ .event-card {
+ background: var(--card-bg);
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: var(--shadow);
+ transition: transform 0.3s;
+ }
+
+ .event-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .event-name {
+ font-size: 1.2rem;
+ font-weight: 600;
+ margin-bottom: 1rem;
+ }
+
+ .countdown {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 0.5rem;
+ text-align: center;
+ }
+
+ .time-unit {
+ background: var(--primary-color);
+ color: white;
+ padding: 0.5rem;
+ border-radius: 5px;
+ }
+
+ .time-value {
+ font-size: 1.5rem;
+ font-weight: bold;
+ }
+
+ .time-label {
+ font-size: 0.8rem;
+ opacity: 0.8;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--primary-color);
+ color: white;
+ margin-top: 3rem;
+ }
+
+ @media (max-width: 768px) {
+ header {
+ padding: 1.5rem;
+ }
+
+ h1 {
+ font-size: 2rem;
+ }
+
+ .events-grid {
+ grid-template-columns: 1fr;
+ }
+ }