* {
    font-family: 'Bookman Old Style', 'Book Antiqua', Garamond, serif;
}

body {
    background: #eee;
    color: #333;
}

/*body { background: #eee color: #333; }*/
ul.menu {
    list-style-type: none;
    width: 800px;
    margin: 1.5em auto 1.85em auto;
    padding: 0;
    font-size: .8em;
    overflow: hidden;
    background-color: #ffffffa1;
    padding: 3px;
}

ul.menu li {
    float: left;
    text-align: center;
    width: 20%;
    margin: 0;
    padding: 0;
}

h1 {
    margin: 0 0 2px 0;
    padding: .3em 0;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    clear: both;
    background-color: #C0C0C0;
    border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
}

.button{
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

form .control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
form {
    margin-bottom: 1rem;
}
form>label{
    display: inline-block;
    margin-bottom: .5rem;
}


iframe.calendar {
    width: 800px;
    height: 600px;
    border: 0 none #000;
    margin: 0;
    display: block;
}

img#afisha {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

p {
    font-size: .8em;
    text-align: center;
}

a {
    color: #666;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

div.content {
    background-color: #CCC;
    border: 1px solid #666;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0 2px 5px #666;
    -moz-box-shadow: 0 2px 5px #666;
    -webkit-box-shadow: 0 2px 5px #666;
    margin: 0 auto 1.85em auto;
    width: 800px;
    padding: 15px;
}

/* --- Magic Button --- */
.magic-btn {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.3s ease;
}

/* --- Magic Button --- */
.magic-btn {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Активное состояние */
.magic-btn.active {
    background: linear-gradient(270deg, #ff00cc, #3333ff, #00ffcc);
    background-size: 600% 600%;
    color: white;
    animation: gradientShift 6s ease infinite, glowPulse 2s ease infinite;
    box-shadow: 0 0 20px rgba(255, 0, 200, 0.8), 0 0 40px rgba(0, 200, 255, 0.6);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px #ff00cc, 0 0 40px #00ccff; }
    50% { box-shadow: 0 0 40px #00ffcc, 0 0 80px #ff00cc; }
}

/* Заблокированное состояние */
.magic-btn.disabled {
    background: #555;
    color: #bbb;
    cursor: not-allowed;
    animation: none;
    box-shadow: none;
    filter: grayscale(100%);
}

#fireworksCanvas{
    position:fixed; inset:0; width:100%; height:100%;
    pointer-events:none; z-index:999;
}