390 lines
6.0 KiB
CSS
390 lines
6.0 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
color: #fff;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.header {
|
|
background: linear-gradient(90deg, #e94560 0%, #ff6b6b 100%);
|
|
padding: 20px 0;
|
|
box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.header .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nav-link {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding: 10px 20px;
|
|
border-radius: 25px;
|
|
background: rgba(255,255,255,0.1);
|
|
transition: all 0.3s;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nav-link:hover,
|
|
.nav-link.active {
|
|
background: #fff;
|
|
color: #e94560;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.main {
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 32px;
|
|
margin-bottom: 30px;
|
|
padding-left: 15px;
|
|
border-left: 4px solid #e94560;
|
|
}
|
|
|
|
.news-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 30px;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.news-card {
|
|
background: rgba(255,255,255,0.05);
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
transition: all 0.3s;
|
|
cursor: pointer;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.news-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
|
|
border-color: #e94560;
|
|
}
|
|
|
|
.news-image {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.news-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.news-category {
|
|
display: inline-block;
|
|
padding: 5px 12px;
|
|
border-radius: 15px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.cat-football { background: #27ae60; }
|
|
.cat-hockey { background: #2980b9; }
|
|
.cat-tennis { background: #f39c12; }
|
|
|
|
.news-title {
|
|
font-size: 18px;
|
|
margin-bottom: 10px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.news-excerpt {
|
|
color: #aaa;
|
|
font-size: 14px;
|
|
margin-bottom: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.news-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
color: #888;
|
|
}
|
|
|
|
.comments-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.video-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 25px;
|
|
}
|
|
|
|
.video-card {
|
|
background: rgba(255,255,255,0.05);
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.video-card:hover {
|
|
transform: scale(1.03);
|
|
box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
|
|
}
|
|
|
|
.video-thumbnail {
|
|
width: 100%;
|
|
height: 170px;
|
|
object-fit: cover;
|
|
position: relative;
|
|
}
|
|
|
|
.play-button {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 60px;
|
|
height: 60px;
|
|
background: rgba(233, 69, 96, 0.9);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.video-info {
|
|
padding: 15px;
|
|
}
|
|
|
|
.video-title {
|
|
font-size: 16px;
|
|
margin-bottom: 10px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.video-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 13px;
|
|
color: #888;
|
|
}
|
|
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal.active {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
background: #1a1a2e;
|
|
border-radius: 20px;
|
|
max-width: 800px;
|
|
width: 90%;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
padding: 30px;
|
|
border: 2px solid #e94560;
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 20px;
|
|
font-size: 32px;
|
|
background: none;
|
|
border: none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: #e94560;
|
|
}
|
|
|
|
.full-news-title {
|
|
font-size: 28px;
|
|
margin-bottom: 15px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.full-news-meta {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
color: #aaa;
|
|
}
|
|
|
|
.full-news-image {
|
|
width: 100%;
|
|
height: 400px;
|
|
object-fit: cover;
|
|
border-radius: 15px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.full-news-content {
|
|
line-height: 1.8;
|
|
font-size: 16px;
|
|
color: #ddd;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.comments-section {
|
|
border-top: 2px solid rgba(255,255,255,0.1);
|
|
padding-top: 25px;
|
|
}
|
|
|
|
.comments-title {
|
|
font-size: 22px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.comment {
|
|
background: rgba(255,255,255,0.05);
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.comment-author {
|
|
font-weight: 700;
|
|
color: #e94560;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.comment-text {
|
|
line-height: 1.6;
|
|
color: #ddd;
|
|
}
|
|
|
|
.comment-date {
|
|
font-size: 12px;
|
|
color: #666;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.comment-form {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.comment-form textarea {
|
|
width: 100%;
|
|
min-height: 100px;
|
|
background: rgba(255,255,255,0.1);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
color: #fff;
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
resize: vertical;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.comment-form textarea:focus {
|
|
outline: none;
|
|
border-color: #e94560;
|
|
}
|
|
|
|
.btn {
|
|
background: linear-gradient(90deg, #e94560 0%, #ff6b6b 100%);
|
|
color: #fff;
|
|
border: none;
|
|
padding: 12px 30px;
|
|
border-radius: 25px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
|
|
}
|
|
|
|
.footer {
|
|
background: rgba(0,0,0,0.3);
|
|
padding: 30px 0;
|
|
text-align: center;
|
|
color: #888;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header .container {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.news-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.video-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.full-news-image {
|
|
height: 250px;
|
|
}
|
|
}
|