/* Deep Hockey - Main Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #111827;
    color: #F9FAFB;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout Components */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
    margin: 0 auto;
    padding: 3rem 1rem;
    max-width: 1200px;
    width: 100%;
}

.container {
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 1200px;
    width: 100%;
}

/* Header Styles */
.site-header {
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo-accent {
    color: #60A5FA;
}

.nav-menu {
    display: none;
    margin-left: 2.5rem;
    align-items: baseline;
    gap: 1rem;
}

.nav-link {
    color: #D1D5DB;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #374151;
    color: white;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.header-underline {
    position: relative;
    padding-bottom: 0.5rem;
}

.header-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(59,130,246,0) 0%, rgba(59,130,246,0.7) 50%, rgba(59,130,246,0) 100%);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #D1D5DB;
    max-width: 48rem;
    margin: 0 auto;
}

/* Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Card Components */
.blog-card {
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(75, 85, 99, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #60A5FA, #3B82F6, #1D4ED8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
}

.blog-card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F9FAFB;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.blog-card:hover .card-title {
    color: #60A5FA;
}

.card-description {
    color: #D1D5DB;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #60A5FA;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-link:hover {
    color: #93C5FD;
    transform: translateX(4px);
}

.card-link-disabled {
    color: #6B7280;
    cursor: not-allowed;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: linear-gradient(180deg, #60A5FA, #3B82F6);
    border-radius: 2px;
}

.section-description {
    color: #D1D5DB;
    font-size: 1.125rem;
    max-width: 600px;
}

/* Video Cards */
.video-card {
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(75, 85, 99, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #EF4444, #DC2626, #B91C1C);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.video-card:hover::before {
    opacity: 1;
}

.video-thumbnail {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-thumbnail::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail::after {
    opacity: 1;
}

.video-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #F9FAFB;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-title {
    color: #EF4444;
}

.video-description {
    color: #D1D5DB;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #EF4444;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-link:hover {
    color: #F87171;
    transform: translateX(4px);
}

/* Footer */
.site-footer {
    background-color: #111827;
    margin-top: 4rem;
    padding: 1.5rem 0;
    text-align: center;
    color: #9CA3AF;
}

.footer-copyright {
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.875rem;
}

/* Article Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    color: #9CA3AF;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #E5E7EB;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #60A5FA;
    margin: 2.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #93C5FD;
    margin: 2rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content strong {
    color: #F9FAFB;
    font-weight: 600;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.article-image-caption {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #60A5FA;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #93C5FD;
}

.highlight-stat {
    background-color: #1F2937;
    border-left: 4px solid #60A5FA;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.highlight-stat strong {
    color: #60A5FA;
}

/* Responsive Design */
@media (max-width: 767px) {
    .header-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 4rem;
        padding: 0.5rem 0;
        gap: 0.5rem;
   }

    .nav-menu {
        display: flex;
        align-items: center;
        margin-left: auto;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.8125rem;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .main-content {
        padding: 3rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-container {
        padding: 2rem 1.5rem;
    }
    
    .article-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 3rem 2rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-container {
        padding: 2rem 2rem;
    }
    
    .article-title {
        font-size: 3.5rem;
    }
}
