arefamer's picture
بخصيص واجهة المستخدم
f3d673a verified
Raw History Blame Contribute Delete
5.44 kB
:root {
--primary: #8b5cf6;
--secondary: #7c3aed;
--dark: #1e293b;
--light: #f8fafc;
--accent: #f59e0b;
--text: #334155;
--text-light: #64748b;
--bg-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
color: var(--text);
background-color: var(--light);
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
app-layout {
display: block;
min-height: 100vh;
}
.hero {
text-align: center;
padding: 6rem 0 4rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
background: var(--bg-gradient);
color: white;
margin-bottom: 3rem;
clip-path: ellipse(100% 100% at 50% 0%);
}
.hero h1 {
font-size: 3.5rem;
font-weight: 800;
margin: 0;
line-height: 1.2;
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hero p {
font-size: 1.25rem;
color: rgba(255,255,255,0.9);
max-width: 700px;
margin: 0 auto;
font-weight: 300;
}
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.features {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
margin: 4rem 0;
padding: 0 2rem;
max-width: 1200px;
margin: 4rem auto;
}
.features h2 {
font-size: 2rem;
color: var(--dark);
margin-bottom: 1rem;
text-align: center;
}
.feature-card {
background: white;
border-radius: 1rem;
padding: 2.5rem 2rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(0,0,0,0.05);
}
.feature-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
border-color: rgba(139, 92, 246, 0.2);
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1.5rem;
color: var(--primary);
background: rgba(139, 92, 246, 0.1);
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--dark);
font-weight: 600;
}
.feature-card p {
color: var(--text-light);
line-height: 1.7;
}
@media (max-width: 768px) {
.hero {
padding: 4rem 0 3rem;
clip-path: ellipse(120% 100% at 50% 0%);
}
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.1rem;
padding: 0 1rem;
}
.feature-card {
padding: 2rem 1.5rem;
}
}
/* IPTV Styles */
.iptv-container {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
padding: 6rem 2rem 2rem;
max-width: 1400px;
margin: 0 auto;
}
.player-container {
background: #000;
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
#iptv-player {
width: 100%;
height: auto;
display: block;
}
.player-controls {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1rem;
background: rgba(0, 0, 0, 0.7);
}
.player-controls button {
background: none;
border: none;
color: white;
font-size: 1.2rem;
cursor: pointer;
transition: color 0.2s;
}
.player-controls button:hover {
color: var(--primary);
}
#volume-slider {
flex-grow: 1;
max-width: 100px;
}
.channels-container {
background: white;
border-radius: 0.5rem;
padding: 1rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.channel-search {
display: flex;
margin-bottom: 1rem;
}
.channel-search input {
flex-grow: 1;
padding: 0.5rem 1rem;
border: 1px solid #e2e8f0;
border-radius: 0.25rem 0 0 0.25rem;
outline: none;
}
.channel-search button {
background: var(--primary);
color: white;
border: none;
padding: 0 1rem;
border-radius: 0 0.25rem 0.25rem 0;
cursor: pointer;
}
.channel-categories {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
overflow-x: auto;
padding-bottom: 0.5rem;
}
.category-btn {
background: #edf2f7;
border: none;
padding: 0.5rem 1rem;
border-radius: 9999px;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s;
}
.category-btn.active {
background: var(--primary);
color: white;
}
.channels-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 1rem;
max-height: 600px;
overflow-y: auto;
padding: 0.5rem;
}
.channel-card {
background: white;
border-radius: 0.5rem;
padding: 0.75rem;
text-align: center;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
border: 1px solid #e2e8f0;
}
.channel-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.channel-logo {
width: 50px;
height: 50px;
object-fit: cover;
border-radius: 50%;
margin: 0 auto 0.5rem;
}
.channel-card h3 {
font-size: 0.9rem;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@media (max-width: 1024px) {
.iptv-container {
grid-template-columns: 1fr;
}
}