/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
    --color-background: #f5f5f5;
    --color-text: #000000;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --transition-speed: 300ms;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
    --max-width: 1400px;
}

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   LAYOUT CONTAINER
   =================================== */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ===================================
   HEADER SECTION
   =================================== */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.header img {
    max-width: 137px;
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
}

/* ===================================
   MAIN CONTENT - ALBUM SECTION
   =================================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-artwork {
    width: 100%;
    max-width: 432px;
    margin: 0 auto;
}

.album-artwork img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.album-artwork img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.album-artwork img:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===================================
   FOOTER SECTION
   =================================== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: block;
    width: 31px;
    height: 31px;
    transition: transform var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hover Animation for Social Icons */
.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.social-link:active {
    transform: translateY(-2px) scale(1.05);
}

.copyright {
    padding-top: var(--spacing-sm);
}

.copyright img {
    max-width: 120px;
    opacity: 0.9;
    transition: all 0.3s ease-in-out;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

/* Small Mobile Devices (< 480px) */
@media (max-width: 479px) {
    .container {
        padding: 1rem;
    }

    .header img {
        max-width: 240px;
    }

    .album-artwork {
        max-width: 85%;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .social-icons {
        gap: 1.2rem;
    }
    
    .footer {
        gap: 0.75rem;
    }
    
    .copyright {
        padding-top: 0.5rem;
    }
    
    .copyright img {
        max-width: 80px;
    }
}

/* Tablet Devices (480px - 768px) */
@media (min-width: 480px) and (max-width: 767px) {
    .header {
        margin-bottom: var(--spacing-md);
    }

    .header img {
        max-width: 224px;
    }

    .album-artwork {
        max-width: 360px;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }
}

/* Tablet to Desktop (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .header img {
        max-width: 288px;
    }

    .album-artwork {
        max-width: 396px;
    }
}

/* Large Desktop (> 1024px) */
@media (min-width: 1024px) {
    .container {
        padding: 1.5rem;
    }

    .header {
        margin-bottom: 2rem;
    }

    .main-content {
        padding: 0;
    }

    .album-artwork {
        max-width: 380px;
        margin-bottom: 2rem;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }

    .social-icons {
        gap: 2.25rem;
    }
    
    .copyright {
        padding-top: 1rem;
    }
}

/* Extra Large Screens (> 1440px) */
@media (min-width: 1440px) {
    .header img {
        max-width: 384px;
    }

    .album-artwork {
        max-width: 504px;
    }
}

/* ===================================
   ACCESSIBILITY & POLISH
   =================================== */

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Keyboard Navigation */
/* Removed focus outline - hover effects only */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
