churchtube/assets/css/style.css

216 lines
4.1 KiB
CSS

:root {
--primary-color: #7c4dff;
--secondary-color: #ff4081;
--bg-dark: #0f0f0f;
--bg-card: #1e1e1e;
--text-main: #f1f1f1;
--text-muted: #aaaaaa;
--accent: #ffd740;
--glass: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: var(--font-sans);
line-height: 1.6;
overflow-x: hidden;
}
a {
color: inherit;
text-decoration: none;
}
/* Header & Navigation */
header {
height: 64px;
background: rgba(15, 15, 15, 0.95);
backdrop-filter: blur(10px);
position: sticky;
top: 0;
z-index: 1000;
display: flex;
align-items: center;
padding: 0 24px;
border-bottom: 1px solid var(--glass-border);
justify-content: space-between;
}
.logo {
font-size: 1.5rem;
font-weight: 800;
letter-spacing: -1px;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.search-bar {
flex: 0 1 600px;
display: flex;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 40px;
padding: 4px 16px;
margin: 0 20px;
}
.search-bar input {
background: transparent;
border: none;
color: white;
width: 100%;
padding: 8px;
font-size: 1rem;
}
.search-bar input:focus {
outline: none;
}
/* Video Grid */
.video-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 24px;
padding: 24px;
}
.video-card {
background: var(--bg-card);
border-radius: 12px;
overflow: hidden;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid var(--glass-border);
cursor: pointer;
}
.video-card:hover {
transform: translateY(-8px);
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.video-thumbnail {
width: 100%;
aspect-ratio: 16 / 9;
background: #333;
background-size: cover;
background-position: center;
position: relative;
}
.video-duration {
position: absolute;
bottom: 8px;
right: 8px;
background: rgba(0,0,0,0.8);
padding: 2px 6px;
border-radius: 4px;
font-size: 0.8rem;
}
.video-info {
padding: 16px;
}
.video-title {
font-weight: 600;
margin-bottom: 8px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.video-meta {
font-size: 0.9rem;
color: var(--text-muted);
}
/* Buttons */
.btn {
padding: 10px 24px;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
border: none;
transition: all 0.2s;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn-primary {
background: var(--primary-color);
color: white;
}
.btn-primary:hover {
filter: brightness(1.1);
transform: scale(1.02);
}
/* Forms */
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
margin-bottom: 8px;
color: var(--text-muted);
font-size: 0.9rem;
}
.form-control {
width: 100%;
padding: 12px 16px;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 8px;
color: white;
font-family: inherit;
transition: border-color 0.2s;
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
background: rgba(255,255,255,0.08);
}
/* Wizard / Auth Layout */
.centered-container {
max-width: 500px;
margin: 80px auto;
background: var(--bg-card);
padding: 40px;
border-radius: 20px;
border: 1px solid var(--glass-border);
box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.wizard-step {
display: none;
}
.wizard-step.active {
display: block;
animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}