:root {
    --primary: #1a237e;
    --secondary: #283593;
    --accent: #3949ab;
    --light: #9fa8da;
    --dark: #0d1b2a;
    --water: #4fc3f7;
    --zen: #00bcd4;
    --gold: #ffd700;
    --text-light: #e0f7fa;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorand+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a237e 50%, #283593 100%);
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.8;
}

header {
    background: rgba(13, 27, 42, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 3px var(--water));
}

.return-button {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 2px solid var(--water);
}

.return-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
}

main {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    background: rgba(26, 35, 126, 0.85);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid var(--water);
    backdrop-filter: blur(10px);
}

h1 {
    font-family: 'Cormorand Garamond', serif;
    text-align: center;
    color: var(--text-light);
    font-size: 36px;
    margin: 0 0 40px 0;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(79, 195, 247, 0.6);
    letter-spacing: 2px;
}

/* 3-колоничная сетка */
.three-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.column {
    background: rgba(13, 27, 42, 0.7);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--accent);
    transition: all 0.3s ease;
}

.column:hover {
    border-color: var(--water);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.column-left {
    text-align: right;
    border-right: 3px solid var(--water);
}

.column-center {
    text-align: center;
    border: 2px solid var(--gold);
    background: rgba(26, 35, 126, 0.9);
}

.column-right {
    text-align: left;
    border-left: 3px solid var(--water);
}

.column-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--water);
    margin-bottom: 15px;
    font-weight: 600;
}

.column-text {
    font-family: 'Cormorand Garamond', serif;
    font-size: 18px;
    color: var(--light);
    line-height: 1.7;
    font-style: italic;
}

.center-name {
    font-family: 'Cormorand Garamond', serif;
    font-size: 28px;
    color: var(--gold);
    margin: 20px 0;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.center-question {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-light);
    margin: 25px 0;
    font-weight: 600;
}

.name-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(13, 27, 42, 0.8);
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent);
}

.name-input {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: 2px solid var(--accent);
    background: rgba(26, 35, 126, 0.6);
    color: var(--text-light);
    font-size: 16px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.name-input:focus {
    outline: none;
    border-color: var(--water);
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.5);
}

.start-button {
    background: linear-gradient(135deg, var(--water) 0%, var(--zen) 100%);
    color: var(--dark);
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

.start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.6);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.music-option {
    background: rgba(26, 35, 126, 0.6);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
}

.music-option:hover {
    transform: translateY(-3px);
    border-color: var(--water);
    background: rgba(26, 35, 126, 0.8);
}

.music-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.music-duration {
    font-size: 14px;
    color: var(--light);
}

.timer-display {
    font-family: 'Cormorand Garamond', serif;
    font-size: 72px;
    font-weight: 700;
    color: var(--water);
    margin: 20px 0;
    text-shadow: 0 0 25px rgba(79, 195, 247, 0.8);
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.timer-button {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.start-timer {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
}

.pause-timer {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.stop-timer {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

.timer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    font-family: 'Cormorand Garamond', serif;
    padding: 12px 0;
    border-bottom: 1px solid var(--accent);
    color: var(--light);
    font-size: 17px;
}

.steps-list li:last-child {
    border-bottom: none;
}

.zen-symbol {
    font-size: 60px;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.quote {
    font-family: 'Cormorand Garamond', serif;
    font-style: italic;
    color: var(--light);
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 3px solid var(--water);
    background: rgba(0,0,0,0.2);
    border-radius: 0 8px 8px 0;
    font-size: 18px;
}

footer {
    background: rgba(13, 27, 42, 0.95);
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border-top: 2px solid var(--accent);
    color: var(--light);
    margin-top: 40px;
}

.author {
    color: var(--water);
    margin: 5px 0 0 0;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .three-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .column-left,
    .column-right {
        text-align: center;
        border: 2px solid var(--water);
    }
}

@media (max-width: 768px) {
    main {
        padding: 15px;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .timer-display {
        font-size: 48px;
    }
    
    .three-columns {
        gap: 15px;
    }
    
    .column {
        padding: 20px;
    }
    
    .center-name {
        font-size: 24px;
    }
    
    .center-question {
        font-size: 20px;
    }
}
