/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background-color: #ffffff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --primary-color: #333366;
    --primary-light: #4a4a7a;
    --primary-dark: #2a2a55;
    --primary-gradient: linear-gradient(135deg, #333366 0%, #4a4a7a 100%);
    --secondary-color: #333366;
    --text-color: #1e293b;
    --text-light: #64748b;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --contact-bg: #ffffff;
    --contact-border: #10b981;
    --icon-color: #64748b;
    --arrow-color: #94a3b8;
    --player-height: 85px;
    --accent-color: #f59e0b;
    --success-color: #10b981;
}

body {
    margin: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #ffffff;
    color: var(--text-color);
    line-height: 1.5;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease;
    position: relative;
}

body.player-active {
    padding-bottom: 200px;
}

*, *:before, *:after {
    box-sizing: border-box;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo Container */
.logo-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(51, 51, 102, 0.2));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFloat 3s ease-in-out infinite;
}

.site-logo:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(51, 51, 102, 0.3));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.site-title {
    font-family: "Merriweather", serif;
    font-size: 2.75rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(51, 51, 102, 0.1);
}

.site-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.site-subtitle strong {
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Categories Container */
.categories-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

/* Category Cards - Simple Design */
.category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: default;
    transition: all 0.2s ease;
    position: relative;
    min-height: 120px;
    flex-direction: column;
}

.category-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.category-card:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 51, 102, 0.15);
}

.category-card:active {
    transform: translateY(0);
}

/* Contact Card - Same as other cards */
.contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 70px;
}

.contact-card:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
}

/* Category Icon - Simple Design */
.category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

/* Gündem - Simple Blue */
.category-card[data-category="gundem"] .category-icon {
    background: #4f46e5;
}

/* Ekonomi - Simple Green */
.category-card[data-category="ekonomi"] .category-icon {
    background: #059669;
}

/* Spor - Simple Orange */
.category-card[data-category="spor"] .category-icon {
    background: #ea580c;
}

/* Magazin - Simple Pink */
.category-card[data-category="magazin"] .category-icon {
    background: #db2777;
}

/* Politika - Simple Purple */
.category-card[data-category="politika"] .category-icon {
    background: #7c3aed;
}

.category-icon svg {
    width: 22px;
    height: 22px;
    color: white;
    transition: all 0.2s ease;
}

/* İletişim Kartı - Simple Cyan */
.contact-card .category-icon {
    background: #0891b2;
}

.contact-card .category-icon svg {
    color: white;
}

.category-card:hover .category-icon {
    transform: scale(1.05);
}

/* Category Name */
.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    font-family: var(--font-family);
    line-height: 1.4;
    transition: color 0.2s ease;
    flex: 1;
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

/* Category Actions */
.category-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 36px;
}

.listen-btn {
    background: linear-gradient(135deg, #333366 0%, #4a4a7a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(51, 51, 102, 0.2);
}

.listen-btn:hover {
    background: linear-gradient(135deg, #2a2a55 0%, #333366 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 51, 102, 0.3);
}

.read-btn {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.read-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.action-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Category Arrow - Removed */

/* Loading Indicator - Removed */

/* Audio Player - Fixed at Bottom */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--card-border);
    z-index: 1000;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
    max-width: 100vw;
    border-radius: 24px 24px 0 0;
}

.audio-player > * {
    max-width: 700px;
    margin: 0 auto;
}

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

.close-player-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-player-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
    transform: scale(1.05);
}

.close-player-btn svg {
    width: 18px;
    height: 18px;
}

.player-info {
    margin-bottom: 15px;
}

.player-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.player-date {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.skip-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.skip-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
    transform: scale(1.05);
}

.skip-btn svg {
    width: 20px;
    height: 20px;
}

.play-pause-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(51, 51, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.play-pause-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(51, 51, 102, 0.4);
    background: linear-gradient(135deg, #2a2a55 0%, #333366 100%);
}

.play-pause-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-pause-btn:hover::before {
    opacity: 1;
}

.play-pause-btn:active {
    transform: scale(0.95);
}

.play-pause-btn svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.time-display {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    margin: 0 10px;
}

.speed-control {
    display: flex;
    align-items: center;
}

.speed-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.speed-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
    transform: scale(1.05);
}

.progress-container {
    margin-top: 8px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: height 0.2s ease;
}

.progress-bar:hover {
    height: 6px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    width: 0;
    transition: width 0.1s linear;
}

/* Footer */
.footer {
    background: transparent;
    border-top: 1px solid var(--card-border);
    padding: 60px 0;
    margin-top: 80px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 600px;
}

.copyright {
    font-size: 15px;
    color: #64748b;
    text-align: center;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-links {
    text-align: center;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(51, 51, 102, 0.2);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(51, 51, 102, 0.3);
    background: linear-gradient(135deg, #2a2a55 0%, #333366 100%);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .main-content {
        padding: 60px 0;
    }

    .header-section {
        margin-bottom: 60px;
        max-width: 100%;
    }

    .site-title {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

    .site-logo {
        width: 70px;
        height: 70px;
    }

    .site-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .categories-container {
        max-width: 220px;
        gap: 16px;
    }

    .category-card {
        padding: 20px 18px;
        gap: 12px;
        min-height: 120px;
    }
    
    .category-actions {
        gap: 6px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-height: 32px;
    }

    .category-icon {
        width: 44px;
        height: 44px;
    }

    .category-icon svg {
        width: 22px;
        height: 22px;
    }

    .category-arrow {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .category-name {
        font-size: 1.1rem;
    }

    .category-icon {
        width: 26px;
        height: 26px;
    }

    .category-icon svg {
        width: 18px;
        height: 18px;
    }

    .category-arrow {
        width: 22px;
        height: 22px;
        font-size: 1.2rem;
    }

    .audio-player {
        padding: 20px;
    }
    
    body.player-active {
        padding-bottom: 200px;
    }
    
    .player-info {
        margin-bottom: 14px;
    }
    
    .player-title {
        font-size: 19px;
    }
    
    .player-date {
        font-size: 14px;
    }
    
    .player-controls {
        gap: 12px;
    }
    
    .play-pause-btn {
        width: 56px;
        height: 56px;
    }
    
    .play-pause-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .skip-btn {
        width: 38px;
        height: 38px;
    }
    
    .skip-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .time-display {
        font-size: 13px;
    }
    
    .speed-btn {
        padding: 6px 12px;
        font-size: 12px;
        width: 48px;
    }

    .footer {
        padding: 50px 0;
        margin-top: 60px;
    }

    .footer .container {
        gap: 20px;
    }

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

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .main-content {
        padding: 50px 0;
    }

    .header-section {
        margin-bottom: 50px;
    }

    .site-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .site-logo {
        width: 60px;
        height: 60px;
    }

    .site-subtitle {
        font-size: 1rem;
    }

    .categories-container {
        max-width: 200px;
        gap: 14px;
    }

    .category-card {
        padding: 18px 16px;
        gap: 10px;
        min-height: 110px;
    }
    
    .category-actions {
        gap: 4px;
    }
    
    .action-btn {
        padding: 6px 8px;
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .action-btn svg {
        width: 14px;
        height: 14px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
    }

    .category-icon svg {
        width: 20px;
        height: 20px;
    }

    .category-arrow {
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }

    .category-name {
        font-size: 1.05rem;
    }

    .category-icon {
        width: 24px;
        height: 24px;
    }

    .category-icon svg {
        width: 16px;
        height: 16px;
    }

    .category-arrow {
        width: 20px;
        height: 20px;
        font-size: 1.1rem;
    }

    .audio-player {
        padding: 18px;
    }

    .play-pause-btn {
        width: 52px;
        height: 52px;
    }

    .play-pause-btn svg {
        width: 22px;
        height: 22px;
    }

    .skip-btn {
        width: 36px;
        height: 36px;
    }

    .skip-btn svg {
        width: 16px;
        height: 16px;
    }

    .footer {
        padding: 40px 0;
        margin-top: 50px;
    }

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

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading animation removed */

/* Animations removed as requested */

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

/* Focus States for Better Accessibility */
.category-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.play-pause-btn:focus,
.skip-btn:focus,
.speed-btn:focus,
.close-player-btn:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

/* Better Text Selection */
::selection {
    background: rgba(51, 51, 102, 0.15);
    color: var(--text-color);
}

/* Improved Focus Ring */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}