This commit is contained in:
2025-09-23 14:13:24 +02:00
commit 58b5e6b074
103 changed files with 44000 additions and 0 deletions

View File

@@ -0,0 +1,753 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: #0a0a0f;
color: #ffffff;
min-height: 100vh;
background-image:
radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);
}
.header {
background: rgba(26, 26, 46, 0.95);
padding: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header h1 {
color: #ffffff;
font-size: 2em;
}
.user-info {
display: flex;
align-items: center;
gap: 15px;
}
.access-badge {
background: #4CAF50;
color: white;
padding: 5px 10px;
border-radius: 15px;
font-size: 0.8em;
font-weight: bold;
}
.access-badge.level-1 {
background: #ff9800;
}
.access-badge.level-2 {
background: #4CAF50;
}
.btn {
background: #2196F3;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
display: inline-block;
font-size: 0.9em;
transition: all 0.3s ease;
}
.btn:hover {
background: #1976D2;
transform: translateY(-2px);
}
.btn-danger {
background: #f44336;
}
.btn-danger:hover {
background: #d32f2f;
}
.btn-warning {
background: #ff9800;
}
.btn-warning:hover {
background: #f57c00;
}
.btn-success {
background: #4CAF50;
}
.btn-success:hover {
background: #388E3C;
}
.container {
max-width: 1200px;
margin: 30px auto;
padding: 0 20px;
}
.dashboard-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: rgba(26, 26, 46, 0.95);
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
color: #00d4ff;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 10px;
}
.icon {
font-size: 1.5em;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 30px;
}
.stat-card {
background: rgba(26, 26, 46, 0.95);
padding: 20px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-number {
font-size: 2.5em;
font-weight: bold;
color: #00d4ff;
margin-bottom: 5px;
}
.stat-label {
color: #8892b0;
font-size: 0.9em;
}
.data-table {
width: 100%;
border-collapse: collapse;
background: rgba(26, 26, 46, 0.95);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.data-table th,
.data-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.data-table th {
background: rgba(255, 255, 255, 0.1);
font-weight: bold;
color: #ffffff;
}
.data-table tr:hover {
background: rgba(255, 255, 255, 0.1);
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: rgba(26, 26, 46, 0.95);
margin: 5% auto;
padding: 20px;
border-radius: 10px;
width: 90%;
max-width: 500px;
max-height: 85vh;
overflow-y: auto;
position: relative;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.close {
color: #8892b0;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
position: absolute;
right: 15px;
top: 10px;
}
.close:hover {
color: #ffffff;
}
/* Blacklist Modal specific styles */
#blacklistModal .modal-content {
max-width: 800px;
max-height: 90vh;
overflow-y: auto;
}
/* Smooth scrolling for modal content */
.modal-content {
scroll-behavior: smooth;
}
/* Custom scrollbar for modal content */
.modal-content::-webkit-scrollbar {
width: 8px;
}
.modal-content::-webkit-scrollbar-track {
background: rgba(30, 41, 59, 0.3);
border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb {
background: rgba(100, 116, 139, 0.6);
border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
background: rgba(100, 116, 139, 0.8);
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #333;
}
.form-group input,
.form-group select {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1em;
}
.message {
padding: 10px;
border-radius: 5px;
margin-bottom: 15px;
display: none;
}
.message.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.message.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.loading {
text-align: center;
padding: 20px;
color: #666;
}
.no-data {
text-align: center;
padding: 40px;
color: #999;
font-style: italic;
}
.action-buttons {
display: flex;
gap: 5px;
}
.btn-small {
padding: 5px 10px;
font-size: 0.8em;
}
.table-container {
max-height: 400px;
overflow-y: auto;
margin-top: 15px;
}
.search-container {
margin-bottom: 20px;
display: flex;
gap: 10px;
align-items: center;
}
.search-input {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
@media (max-width: 768px) {
.header {
flex-direction: column;
gap: 15px;
text-align: center;
}
.dashboard-grid {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.search-container {
flex-direction: column;
align-items: stretch;
}
.action-buttons {
flex-direction: column;
}
.modal-content {
margin: 5% auto;
width: 95%;
}
.page-stats-grid {
grid-template-columns: 1fr;
}
.link-stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Page Statistics Styles */
.page-stats-section {
background: rgba(26, 26, 46, 0.95);
border-radius: 10px;
padding: 25px;
margin: 20px 0;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-stats-section h2 {
color: #ffffff;
margin-bottom: 20px;
font-size: 1.5em;
}
.page-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.page-stat-card {
background: rgba(26, 26, 46, 0.95);
border-radius: 8px;
padding: 20px;
border-left: 4px solid #00d4ff;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-stat-card h3 {
color: #ffffff;
margin-bottom: 15px;
font-size: 1.2em;
}
.page-stats-content {
font-size: 0.9em;
line-height: 1.6;
background: rgba(26, 26, 46, 0.95);
border-radius: 8px;
padding: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-stats-content .page-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 15px;
margin: 8px 0;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: background-color 0.3s ease;
}
.page-stats-content .page-item:last-child {
border-bottom: none;
}
.page-stats-content .page-item:hover {
background: rgba(255, 255, 255, 0.1);
}
.page-stats-content .page-name {
font-weight: 500;
color: #ffffff;
}
.page-stats-content .page-count {
background: #00d4ff;
color: #00d4ff;
padding: 4px 8px;
border-radius: 12px;
font-size: 0.8em;
font-weight: bold;
}
/* Link Statistics Styles */
.link-stats-section {
background: #1a1a2f;
border-radius: 8px;
padding: 20px;
margin-top: 20px;
}
.link-stats-section h3 {
color: #00d4ff;
margin-bottom: 15px;
font-size: 1.3em;
}
.link-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}
.link-stat-card {
text-align: center;
background: rgba(26, 26, 46, 0.95);
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.link-stat-number {
font-size: 2em;
font-weight: bold;
color: #00d4ff;
margin-bottom: 8px;
}
.link-stat-label {
color: #8892b0;
font-size: 0.9em;
font-weight: 500;
}
@media (max-width: 480px) {
.stats-grid {
grid-template-columns: 1fr;
}
.container {
padding: 0 10px;
}
.card {
padding: 15px;
}
}
/* Footer Styles */
.footer {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-top: 1px solid #2a2a3e;
margin-top: 3rem;
padding: 2rem 0;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-links {
display: flex;
gap: 2rem;
align-items: center;
}
.footer-link {
color: #8892b0;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
background: none;
border: none;
cursor: pointer;
font-family: inherit;
}
.footer-link:hover {
color: #00d4ff;
}
.cookie-settings-btn {
background: none !important;
border: none !important;
padding: 0 !important;
font-size: 0.9rem !important;
}
.footer-text {
color: #6b7280;
font-size: 0.85rem;
}
.footer-text p {
margin: 0;
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
text-align: center;
gap: 1.5rem;
}
.footer-links {
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
}
/* Achievement Management Styles */
.achievement-controls {
display: flex;
gap: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.status-badge {
padding: 4px 8px;
border-radius: 12px;
font-size: 0.8em;
font-weight: 500;
}
.status-badge.active {
background: #4ade80;
color: #000;
}
.status-badge.inactive {
background: #6b7280;
color: #fff;
}
.progress-bar {
position: relative;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
height: 20px;
overflow: hidden;
min-width: 100px;
}
.progress-fill {
background: linear-gradient(90deg, #4ade80, #22c55e);
height: 100%;
transition: width 0.3s ease;
}
.progress-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 0.8em;
font-weight: 500;
color: #fff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.player-achievements {
max-height: 70vh;
overflow-y: auto;
}
.achievement-stats {
display: flex;
gap: 20px;
margin-bottom: 20px;
padding: 15px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item {
font-size: 0.9em;
}
.achievements-list {
display: grid;
gap: 15px;
}
.achievement-item {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 15px;
transition: all 0.3s ease;
}
.achievement-item.completed {
border-color: #4ade80;
background: rgba(74, 222, 128, 0.1);
}
.achievement-item.not-completed {
border-color: #6b7280;
background: rgba(107, 114, 128, 0.1);
}
.achievement-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}
.achievement-icon {
font-size: 1.5em;
}
.achievement-name {
font-weight: 600;
flex: 1;
}
.achievement-status {
font-size: 1.2em;
}
.achievement-details p {
margin-bottom: 10px;
color: rgba(255, 255, 255, 0.8);
line-height: 1.4;
}
.achievement-meta {
display: flex;
gap: 15px;
margin-bottom: 10px;
flex-wrap: wrap;
}
.achievement-meta span {
font-size: 0.8em;
color: rgba(255, 255, 255, 0.6);
background: rgba(255, 255, 255, 0.1);
padding: 2px 8px;
border-radius: 4px;
}
.achievement-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
}
.achievement-actions .btn {
padding: 6px 12px;
font-size: 0.8em;
}
@media (max-width: 768px) {
.achievement-controls {
flex-direction: column;
}
.achievement-stats {
flex-direction: column;
gap: 10px;
}
.achievement-meta {
flex-direction: column;
gap: 5px;
}
.achievement-actions {
justify-content: center;
}
}

294
public/css/adminlogin.css Normal file
View File

@@ -0,0 +1,294 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', sans-serif;
background: #0a0a0f;
color: #ffffff;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
background-image:
radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);
}
.login-container {
background: rgba(26, 26, 46, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
padding: 40px;
max-width: 400px;
width: 100%;
position: relative;
overflow: hidden;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.login-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
background-size: 300% 100%;
animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
h1 {
text-align: center;
color: #ffffff;
margin-bottom: 30px;
font-size: 2em;
font-weight: 300;
letter-spacing: -1px;
}
.form-group {
margin-bottom: 25px;
position: relative;
}
label {
display: block;
margin-bottom: 8px;
color: #555;
font-weight: 500;
font-size: 0.95em;
}
input {
width: 100%;
padding: 15px 20px;
border: 2px solid #e0e0e0;
border-radius: 12px;
font-size: 1em;
transition: all 0.3s ease;
background: #fafafa;
font-family: inherit;
}
input:focus {
outline: none;
border-color: #667eea;
background: white;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
transform: translateY(-2px);
}
input:hover {
border-color: #ccc;
}
.login-btn {
width: 100%;
padding: 18px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 12px;
font-size: 1.1em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 10px;
position: relative;
overflow: hidden;
}
.login-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.login-btn:active {
transform: translateY(0);
}
.login-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.error {
background: #ffebee;
color: #c62828;
padding: 15px;
border-radius: 8px;
margin-top: 15px;
border-left: 4px solid #f44336;
font-size: 0.9em;
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
}
.error.show {
opacity: 1;
transform: translateY(0);
}
.success {
background: #e8f5e8;
color: #2e7d32;
padding: 15px;
border-radius: 8px;
margin-top: 15px;
border-left: 4px solid #4caf50;
font-size: 0.9em;
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
}
.success.show {
opacity: 1;
transform: translateY(0);
}
.loading {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255, 255, 255, .3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
margin-right: 10px;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.info-text {
text-align: center;
color: #666;
font-size: 0.85em;
margin-top: 20px;
line-height: 1.5;
}
@media (max-width: 480px) {
.login-container {
padding: 30px 20px;
margin: 10px;
}
h1 {
font-size: 1.6em;
}
}
/* Footer Styles */
.footer {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-top: 1px solid #2a2a3e;
margin-top: auto;
padding: 2rem 0;
position: relative;
bottom: 0;
width: 100%;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-links {
display: flex;
gap: 2rem;
align-items: center;
}
.footer-link {
color: #8892b0;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
background: none;
border: none;
cursor: pointer;
font-family: inherit;
}
.footer-link:hover {
color: #00d4ff;
}
.cookie-settings-btn {
background: none !important;
border: none !important;
padding: 0 !important;
font-size: 0.9rem !important;
}
.footer-text {
color: #6b7280;
font-size: 0.85rem;
}
.footer-text p {
margin: 0;
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
text-align: center;
gap: 1.5rem;
}
.footer-links {
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
}

1981
public/css/dashboard.css Normal file

File diff suppressed because it is too large Load Diff

500
public/css/generator.css Normal file
View File

@@ -0,0 +1,500 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', sans-serif;
background: #0a0a0f;
color: #ffffff;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 20px;
background-image:
radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);
}
.container {
background: rgba(26, 26, 46, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
padding: 40px;
max-width: 700px;
width: 100%;
position: relative;
overflow: visible;
margin-bottom: 20px;
display: flex;
flex-direction: column;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
background-size: 300% 100%;
animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
h1 {
text-align: center;
color: #ffffff;
margin-bottom: 30px;
font-size: 2.2em;
font-weight: 300;
letter-spacing: -1px;
}
.form-group {
margin-bottom: 25px;
position: relative;
}
label {
display: block;
margin-bottom: 8px;
color: #555;
font-weight: 500;
font-size: 0.95em;
}
input,
textarea {
width: 100%;
padding: 15px 20px;
border: 2px solid #e0e0e0;
border-radius: 12px;
font-size: 1em;
transition: all 0.3s ease;
background: #fafafa;
font-family: inherit;
}
textarea {
resize: vertical;
min-height: 80px;
}
input:focus,
textarea:focus {
outline: none;
border-color: #667eea;
background: white;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
transform: translateY(-2px);
}
input:hover,
textarea:hover {
border-color: #ccc;
}
.db-config {
background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
border: 2px solid #e3f2fd;
border-radius: 12px;
padding: 20px;
margin-bottom: 25px;
opacity: 0;
transform: translateY(-20px);
transition: all 0.4s ease;
max-height: 0;
overflow: hidden;
}
.db-config.show {
opacity: 1;
transform: translateY(0);
max-height: 1000px;
}
.db-config h3 {
color: #1565c0;
margin-bottom: 15px;
font-size: 1.1em;
}
.tier-notice {
background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
border: 2px solid #ffcc02;
border-radius: 8px;
padding: 12px;
margin-top: 10px;
font-size: 0.9em;
color: #f57c00;
text-align: center;
}
.generate-btn {
width: 100%;
padding: 18px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 12px;
font-size: 1.1em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 10px;
position: relative;
overflow: hidden;
}
.generate-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.generate-btn:active {
transform: translateY(0);
}
.result-section {
margin-top: 30px;
opacity: 0;
transform: translateY(20px);
transition: all 0.4s ease;
}
.result-section.show {
opacity: 1;
transform: translateY(0);
}
.license-output {
background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
border: 2px solid #e3f2fd;
border-radius: 12px;
padding: 20px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
word-break: break-all;
color: #1565c0;
position: relative;
}
.license-label {
font-family: 'Segoe UI', sans-serif;
font-size: 0.85em;
color: #666;
margin-bottom: 8px;
font-weight: 500;
}
.copy-btn {
width: 100%;
padding: 12px;
background: #4caf50;
color: white;
border: none;
border-radius: 8px;
font-size: 0.95em;
font-weight: 500;
cursor: pointer;
margin-top: 15px;
transition: all 0.3s ease;
}
.copy-btn:hover {
background: #45a049;
transform: translateY(-1px);
}
.copy-btn.copied {
background: #2196f3;
animation: pulse 0.6s;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
.success {
background: #e8f5e8;
color: #2e7d32;
padding: 15px;
border-radius: 8px;
margin-top: 15px;
border-left: 4px solid #4caf50;
font-size: 0.9em;
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
}
.success.show {
opacity: 1;
transform: translateY(0);
}
.error {
background: #ffebee;
color: #c62828;
padding: 15px;
border-radius: 8px;
margin-top: 15px;
border-left: 4px solid #f44336;
font-size: 0.9em;
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
}
.error.show {
opacity: 1;
transform: translateY(0);
}
.info-text {
text-align: center;
color: #666;
font-size: 0.85em;
margin-top: 20px;
line-height: 1.5;
}
@media (max-width: 480px) {
.container {
padding: 30px 20px;
margin: 10px;
}
h1 {
font-size: 1.8em;
}
}
.loading {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255, 255, 255, .3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
margin-right: 10px;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Standortsuche Styles */
.coordinates-display {
animation: slideDown 0.4s ease;
}
.map-container {
animation: slideDown 0.4s ease;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
#mapFrame iframe {
border-radius: 10px;
}
.coordinates-display h4 {
display: flex;
align-items: center;
gap: 8px;
}
.coordinates-display strong {
color: #2e7d32;
}
/* Verbesserte Standortsuche Layouts */
.location-search-container {
display: flex;
gap: 10px;
align-items: stretch;
}
.location-search-container input {
flex: 1;
min-width: 0;
}
.location-search-container button {
white-space: nowrap;
min-width: 120px;
}
/* Responsive Design für Standortsuche */
@media (max-width: 600px) {
.location-search-container {
flex-direction: column;
gap: 15px;
}
.location-search-container button {
min-width: auto;
width: 100%;
}
.coordinates-display .flex-container {
flex-direction: column;
gap: 10px;
}
}
/* Interaktive Karte Styles */
#interactiveMap {
position: relative;
}
#map {
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.leaflet-container {
border-radius: 10px;
}
.leaflet-control-zoom {
border: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.leaflet-control-zoom a {
background: white;
color: #333;
border: 1px solid #ddd;
}
.leaflet-control-zoom a:hover {
background: #f8f9fa;
}
/* Footer Styles */
.footer {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-top: 1px solid #2a2a3e;
margin-top: auto;
padding: 2rem 0;
position: relative;
bottom: 0;
width: 100%;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-links {
display: flex;
gap: 2rem;
align-items: center;
}
.footer-link {
color: #8892b0;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
background: none;
border: none;
cursor: pointer;
font-family: inherit;
}
.footer-link:hover {
color: #00d4ff;
}
.cookie-settings-btn {
background: none !important;
border: none !important;
padding: 0 !important;
font-size: 0.9rem !important;
}
.footer-text {
color: #6b7280;
font-size: 0.85rem;
}
.footer-text p {
margin: 0;
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
text-align: center;
gap: 1.5rem;
}
.footer-links {
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
}

1289
public/css/index.css Normal file

File diff suppressed because it is too large Load Diff

486
public/css/login.css Normal file
View File

@@ -0,0 +1,486 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: #0a0a0f;
color: #ffffff;
min-height: 100vh;
background-image:
radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);
position: relative;
display: flex;
flex-direction: column;
}
.main-content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem 0;
}
.back-button {
position: fixed;
top: 20px;
right: 20px;
background: rgba(30, 41, 59, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(51, 65, 85, 0.3);
border-radius: 12px;
padding: 12px 20px;
color: #00d4ff;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
.back-button:hover {
background: #00d4ff;
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}
.back-button::before {
content: "← ";
margin-right: 5px;
}
.container {
background: rgba(30, 41, 59, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(51, 65, 85, 0.3);
padding: 2.5rem;
border-radius: 1.5rem;
box-shadow:
0 25px 50px rgba(0, 0, 0, 0.3),
0 0 0 1px rgba(0, 212, 255, 0.1);
width: 100%;
max-width: 420px;
}
.logo {
text-align: center;
margin-bottom: 2rem;
}
.logo h1 {
font-size: 2.5rem;
font-weight: 700;
background: linear-gradient(135deg, #00d4ff, #ff6b35, #ffd700);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.5rem;
letter-spacing: -0.02em;
}
.logo p {
color: #94a3b8;
margin-top: 0.5rem;
font-size: 1rem;
font-weight: 400;
}
.form-container {
display: none;
}
.form-container.active {
display: block;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: #e2e8f0;
font-weight: 500;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.form-group input {
width: 100%;
padding: 1rem;
background: #1e293b;
border: 2px solid #334155;
border-radius: 0.75rem;
color: #ffffff;
font-size: 1rem;
font-family: inherit;
transition: all 0.2s ease;
}
.form-group input:focus {
outline: none;
border-color: #00d4ff;
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group input::placeholder {
color: #64748b;
}
.btn {
width: 100%;
padding: 1rem;
border: none;
border-radius: 0.75rem;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
margin-bottom: 1rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.btn-primary {
background: linear-gradient(135deg, #00d4ff, #0891b2);
color: white;
box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 212, 255, 0.4);
}
.btn-secondary {
background: transparent;
color: #00d4ff;
border: 2px solid #00d4ff;
}
.btn-secondary:hover {
background: #00d4ff;
color: #0a0a0f;
}
.toggle-form {
text-align: center;
margin-top: 1rem;
}
.toggle-form button {
background: none;
border: none;
color: #00d4ff;
cursor: pointer;
text-decoration: underline;
font-size: 0.9rem;
transition: color 0.2s ease;
}
.toggle-form button:hover {
color: #0891b2;
}
.message {
padding: 1rem;
border-radius: 0.75rem;
margin-bottom: 1rem;
text-align: center;
font-weight: 500;
border: 1px solid;
}
.message.success {
background: rgba(34, 197, 94, 0.1);
color: #22c55e;
border-color: rgba(34, 197, 94, 0.3);
}
.message.error {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
border-color: rgba(239, 68, 68, 0.3);
}
.password-reset-container {
display: none;
margin-top: 1rem;
padding: 1rem;
background: rgba(239, 68, 68, 0.05);
border: 1px solid rgba(239, 68, 68, 0.2);
border-radius: 0.75rem;
text-align: center;
}
.password-reset-container.active {
display: block;
}
.password-reset-container p {
color: #ef4444;
margin-bottom: 1rem;
font-size: 0.9rem;
}
.btn-reset {
background: linear-gradient(135deg, #ef4444, #dc2626);
color: white;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.btn-reset:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}
.loading {
display: none;
text-align: center;
color: #94a3b8;
}
.loading.active {
display: block;
}
.spinner {
border: 3px solid #334155;
border-top: 3px solid #00d4ff;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto 1rem;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
margin: 1rem;
padding: 2rem;
max-width: none;
}
.logo h1 {
font-size: 2rem;
}
.form-group input {
padding: 0.875rem;
}
.btn {
padding: 0.875rem;
}
}
@media (max-width: 480px) {
.container {
margin: 0.5rem;
padding: 1.5rem;
}
.logo h1 {
font-size: 1.75rem;
}
.logo p {
font-size: 0.875rem;
}
.back-button {
top: 15px;
right: 15px;
padding: 10px 15px;
font-size: 0.8rem;
}
}
/* OAuth Container */
.oauth-container {
margin-bottom: 20px;
}
.btn-google {
width: 100%;
background: white;
color: #333;
border: 1px solid #dadce0;
padding: 12px 16px;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
font-size: 0.95rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.btn-google:hover {
background: #f8f9fa;
border-color: #c1c7cd;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-google:active {
transform: translateY(0);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.btn-google svg {
flex-shrink: 0;
}
.btn-discord {
width: 100%;
background: #5865F2;
color: white;
border: 1px solid #4752C4;
padding: 12px 16px;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
font-size: 0.95rem;
box-shadow: 0 1px 3px rgba(88, 101, 242, 0.3);
margin-top: 10px;
}
.btn-discord:hover {
background: #4752C4;
border-color: #3C45A5;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}
.btn-discord:active {
transform: translateY(0);
box-shadow: 0 1px 3px rgba(88, 101, 242, 0.3);
}
.btn-discord svg {
flex-shrink: 0;
}
/* Divider */
.divider {
position: relative;
text-align: center;
margin: 20px 0;
color: #64748b;
font-size: 0.9rem;
}
.divider::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(to right, transparent, #334155, transparent);
}
.divider span {
background: #0a0a0f;
padding: 0 16px;
position: relative;
z-index: 1;
}
/* Footer Styles */
.footer {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-top: 1px solid #2a2a3e;
margin-top: 3rem;
padding: 2rem 0;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-links {
display: flex;
gap: 2rem;
align-items: center;
}
.footer-link {
color: #8892b0;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
background: none;
border: none;
cursor: pointer;
font-family: inherit;
}
.footer-link:hover {
color: #00d4ff;
}
.cookie-settings-btn {
background: none !important;
border: none !important;
padding: 0 !important;
font-size: 0.9rem !important;
}
.footer-text {
color: #6b7280;
font-size: 0.85rem;
}
.footer-text p {
margin: 0;
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
text-align: center;
gap: 1.5rem;
}
.footer-links {
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
}

View File

@@ -0,0 +1,305 @@
/* Reset und Basis-Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: radial-gradient(ellipse at top, #1e293b 0%, #0f172a 50%, #020617 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
color: #e2e8f0;
line-height: 1.6;
}
.container {
background: rgba(30, 41, 59, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(51, 65, 85, 0.3);
border-radius: 20px;
padding: 40px;
max-width: 500px;
width: 90%;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
text-align: center;
}
.logo {
font-size: 2.5rem;
font-weight: 900;
background: linear-gradient(135deg, #00d4ff, #0891b2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 2px;
}
.tagline {
color: #94a3b8;
font-size: 0.9rem;
margin-bottom: 30px;
text-transform: uppercase;
letter-spacing: 1px;
}
.title {
font-size: 1.8rem;
font-weight: 700;
color: #ffffff;
margin-bottom: 20px;
}
.subtitle {
color: #cbd5e1;
font-size: 1rem;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 20px;
text-align: left;
}
.form-label {
display: block;
color: #e2e8f0;
font-weight: 600;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 0.9rem;
}
.form-input {
width: 100%;
padding: 15px 20px;
background: #1e293b;
border: 2px solid #334155;
border-radius: 12px;
color: #ffffff;
font-size: 1rem;
transition: all 0.3s ease;
}
.form-input:focus {
outline: none;
border-color: #00d4ff;
box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-input::placeholder {
color: #64748b;
}
.btn {
width: 100%;
padding: 15px 30px;
border: none;
border-radius: 12px;
font-size: 1rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 20px;
}
.btn-primary {
background: linear-gradient(135deg, #00d4ff, #0891b2);
color: #ffffff;
box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}
.btn-primary:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.btn-secondary {
background: transparent;
color: #00d4ff;
border: 2px solid #00d4ff;
}
.btn-secondary:hover {
background: #00d4ff;
color: #ffffff;
}
.message {
padding: 15px 20px;
border-radius: 12px;
margin-bottom: 20px;
font-weight: 600;
text-align: center;
}
.message.success {
background: rgba(34, 197, 94, 0.1);
border: 1px solid #22c55e;
color: #22c55e;
}
.message.error {
background: rgba(239, 68, 68, 0.1);
border: 1px solid #ef4444;
color: #ef4444;
}
.message.info {
background: rgba(59, 130, 246, 0.1);
border: 1px solid #3b82f6;
color: #3b82f6;
}
.loading {
display: none;
text-align: center;
color: #94a3b8;
}
.spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid #334155;
border-radius: 50%;
border-top-color: #00d4ff;
animation: spin 1s ease-in-out infinite;
margin-right: 10px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.back-link {
color: #00d4ff;
text-decoration: none;
font-size: 0.9rem;
margin-top: 20px;
display: inline-block;
}
.back-link:hover {
color: #0891b2;
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
margin: 20px;
padding: 30px 20px;
}
.logo {
font-size: 2rem;
}
.title {
font-size: 1.5rem;
}
.form-input, .btn {
padding: 12px 15px;
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
.container {
margin: 10px;
padding: 20px 15px;
}
.logo {
font-size: 1.8rem;
}
.title {
font-size: 1.3rem;
}
}
/* Footer Styles */
.footer {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border-top: 1px solid #2a2a3e;
margin-top: 3rem;
padding: 2rem 0;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-links {
display: flex;
gap: 2rem;
align-items: center;
}
.footer-link {
color: #8892b0;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
background: none;
border: none;
cursor: pointer;
font-family: inherit;
}
.footer-link:hover {
color: #00d4ff;
}
.cookie-settings-btn {
background: none !important;
border: none !important;
padding: 0 !important;
font-size: 0.9rem !important;
}
.footer-text {
color: #6b7280;
font-size: 0.85rem;
}
.footer-text p {
margin: 0;
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
text-align: center;
gap: 1.5rem;
}
.footer-links {
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
}