/* ============================================
   MODERN STYLING FOR PS5 SHOP
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ============================================
   HEADER STYLING
   ============================================ */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

nav {
    display: flex;
    gap: 1rem;
}

.btn-home {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-home:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideDown 0.6s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: slideUp 0.6s ease 0.1s both;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.85;
    animation: slideUp 0.6s ease 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* ============================================
   ARTICLES LIST
   ============================================ */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.article-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-header {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.article-image-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-item:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.article-date {
    color: #888;
    font-size: 0.9rem;
}

.article-title {
    margin: 0.75rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #667eea;
}

.article-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-footer-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.article-author {
    color: #999;
    font-size: 0.9rem;
}

.read-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #667eea;
    color: #333;
}

.widget-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.widget-item {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    word-break: break-word;
}

.widget-item a:hover {
    color: #764ba2;
    padding-left: 5px;
}

/* Tags List */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-badge {
    background: #f0f0f0;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.tag-badge:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #2d3436 0%, #000 100%);
    color: white;
    margin-top: 4rem;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0.5rem 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-title {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .article-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .article-image {
        height: 200px;
    }

    .article-image-wrapper {
        order: -1;
    }

    .article-content {
        order: 0;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .sidebar {
        order: -1;
        margin: 0 -1rem;
    }

    .articles-list {
        margin: 0 -1rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .container {
        margin: 1.5rem auto;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 1rem;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .article-header {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .article-image-wrapper {
        order: -1;
    }

    .article-content {
        order: 0;
    }

    .article-image {
        height: 180px;
    }

    .article-title {
        font-size: 1rem;
    }

    .article-meta {
        gap: 0.5rem;
    }

    .article-footer-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .read-more {
        width: 100%;
        text-align: center;
    }

    .sidebar {
        order: -1;
        margin: 0 -1rem;
    }

    .articles-list {
        margin: 0 -1rem;
    }

    .sidebar-widget {
        padding: 1rem;
    }

    .widget-title {
        font-size: 1rem;
    }

    .tags-list {
        gap: 0.5rem;
    }

    .tag-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: white;
    margin: 4rem 0;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 1rem;
    border-bottom: 3px solid #667eea;
    margin: 0;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.about-text p {
    margin: 0;
    color: #666;
}

.about-text strong {
    color: #667eea;
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Highlight Box Styling */
.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 1rem 0;
    padding: 0;
}

.highlight-box p {
    margin: 0.75rem 0;
    color: #555;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-list li {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0;
    margin: 0;
}

.about-list li:first-of-type {
    font-weight: 500;
}

/* CTA Box */
.cta-box {
    background: #f0f4ff;
    color: #333;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border: 2px solid #667eea;
}

.cta-box p {
    margin: 0.75rem 0;
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
}

.cta-box p:first-child {
    font-size: 1.05rem;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.cta-box strong {
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-section {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
    }

    .about-title {
        font-size: 1.3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .about-text {
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .highlight-box {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }

    .highlight-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .highlight-box p {
        font-size: 0.9rem;
    }

    .about-list li {
        font-size: 0.9rem;
    }

    .cta-box {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }

    .cta-box p:first-child {
        font-size: 0.95rem;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        margin: 1.5rem 0;
        padding: 1.5rem 1rem;
    }

    .about-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .feature-item {
        gap: 0.75rem;
    }

    .feature-text {
        font-size: 0.9rem;
    }

    .highlight-box {
        padding: 1rem;
        margin: 1rem 0;
        border-left-width: 3px;
    }

    .highlight-title {
        font-size: 0.95rem;
    }

    .highlight-box p {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }

    .about-list li {
        font-size: 0.85rem;
        padding-left: 0;
        margin-left: 0;
    }

    .cta-box {
        padding: 1.25rem;
        margin-top: 1.25rem;
    }

    .cta-box p {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .cta-box p:first-child {
        font-size: 0.9rem;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Selection styling */
::selection {
    background: #667eea;
    color: white;
}

/* Focus states for accessibility */
a:focus, button:focus, input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
