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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

.main-layout {
    display: flex;
    min-height: 100vh;
}

/* Side Timer */
.timer-sidebar {
    width: 300px;
    min-width: 300px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.timer-container {
    text-align: center;
    width: 100%;
}

.timer-label {
    font-size: 1rem;
    color: #888;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    color: #888;
    margin-top: 8px;
    text-transform: lowercase;
}

.time-separator {
    font-size: 1.5rem;
    color: #555;
    font-weight: 300;
    display: none;
}

.birth-date {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #aaa;
    font-style: italic;
}

/* Sidebar Social Links */
.sidebar-social-links {
    margin-top: 20px;
}

.sidebar-social-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.sidebar-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
    opacity: 0.8 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.sidebar-social-link:hover {
    opacity: 1 !important;
    color: #ffffff !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.sidebar-social-link svg,
.sidebar-social-link svg path {
    width: 16px !important;
    height: 16px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: none !important;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.name {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Main Photo Section */
.main-photo-section {
    margin-bottom: 60px;
}

.main-photo-container {
    width: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-photo-container:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.main-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-photo-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.main-photo-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

.main-photo-placeholder strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Music Section */
.music-section {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.music-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    min-height: 60px;
}

.music-button {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.music-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.music-button.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.no-music-message {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    width: 100%;
    padding: 40px 20px;
    font-size: 1rem;
}

.no-music-message strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.player-controls {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #fff 0%, #aaa 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #888;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.play-pause {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.play-pause:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.15);
}

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

.current-track {
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    margin-top: 15px;
}

/* Photo Gallery */
.photo-gallery {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.photo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .remove-btn {
    opacity: 1;
}

.photo-placeholder {
    grid-column: 1 / -1;
    min-height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 20px;
}

.photo-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    text-align: center;
}

.photo-placeholder strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}


/* Responsive design */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    
    .timer-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .timer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .time-separator {
        display: block;
    }
    
    .main-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .time-label {
        font-size: 0.7rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .main-photo-placeholder {
        height: 300px;
    }
    
    .main-photo-placeholder span {
        font-size: 3rem;
    }
    
    .sidebar-social-links {
        margin-top: 15px;
    }
    
    .sidebar-social-link {
        width: 18px !important;
        height: 18px !important;
    }
    
    .sidebar-social-link svg {
        width: 14px !important;
        height: 14px !important;
    }
}
