html,body{padding:0;margin:0}
.container{position:relative;background:url(../images/blackjack.jpg) #060;width:230px;height:150px;overflow:hidden}
p{margin:0;position:absolute}
a{text-decoration:none}
.click{position:absolute;z-index:50;top:0;left:0;display:block;background-color:rgba(0, 0, 0, 0);width:230px;height:150px}
#ace{z-index:8;left:20px;bottom:-60px;-webkit-animation:ace 1s forwards;-webkit-animation-delay:.5s;animation:ace 1s forwards;animation-delay:.5s}
#six{z-index:8;left:60px;bottom:-60px;-webkit-animation:six 1s forwards;-webkit-animation-delay:1s;animation:six 1s forwards;animation-delay:1s}
.green-back, .green-back2, .green-back3, .green-back4{position:absolute;top:0;width:230px;height:150px}
.green-back{-webkit-animation:green-back 5.5s forwards;-webkit-animation-delay:1.5s;animation:green-back 5.5s forwards;animation-delay:1.5s}
#your-card{background:url(../images/arrow.png) bottom center no-repeat;padding:0 0 30px 0;top:60px;z-index:15;left:-250px;-webkit-animation:your-card 4s forwards;-webkit-animation-delay:2s;animation:your-card 4s forwards;animation-delay:2s}
#king{z-index:15;left:160px;bottom:-60px;-webkit-animation:king 1s forwards;-webkit-animation-delay:5s;animation:king 1s forwards;animation-delay:5s}
#three{z-index:15;left:120px;bottom:-60px;-webkit-animation:three 1s forwards;-webkit-animation-delay:5.5s;animation:three 1s forwards;animation-delay:5.5s}
#ace img, #six img, #king img, #three img{border-radius:4px}
.green-back2{z-index:10;-webkit-animation:green-back2 5.5s forwards;-webkit-animation-delay:6s;animation:green-back2 5.5s forwards;animation-delay:6s}
#dealer-card{background:url(../images/arrow-dealer.png) bottom right no-repeat;padding:0 0 15px 0;z-index:15;top:50px;left:-250px;-webkit-animation:dealer-card 4s forwards;-webkit-animation-delay:6.5s;animation:dealer-card 4s forwards;animation-delay:6.5s}
.green-back3{z-index:5;-webkit-animation:green-back3 20s forwards;-webkit-animation-delay:9s;animation:green-back3 20s forwards;animation-delay:9s}
#hit-stand{z-index:30;top:10px;left:-250px;text-align:center;font:bold 16px "Trebuchet MS", Arial, Helvetica, sans-serif;color:#fff;-webkit-animation:hit-stand 20s forwards;-webkit-animation-delay:9.5s;animation:hit-stand 20s forwards;animation-delay:9.5s}
#hit-stand em{display:block;margin:-3px 0 5px 0;font:bold 14px Arial}
#hit-stand a{display:block;float:left;background:-webkit-linear-gradient(#434343, #040404, #434343);background:-o-linear-gradient(#434343, #040404, #434343);background:-moz-linear-gradient(#434343, #040404, #434343);background:linear-gradient(#434343, #040404, #434343);margin:0 5px;width:60px;border-radius:8px;border:1px solid #fff;box-shadow:0 3px 3px #03331c;font:bold 12px Arial;line-height:20px;color:#fff}
#hit-stand a:hover{color:#fc0}
.green-back4{z-index:35;-webkit-animation:green-back4 20s forwards;-webkit-animation-delay:14s;animation:green-back4 20s forwards;animation-delay:14s}
@-webkit-keyframes ace{from{bottom:-60px}to{bottom:5px}}
@keyframes ace{from{bottom:-60px}to{bottom:5px}}
@-webkit-keyframes six{from{bottom:-60px}to{bottom:5px}}
@keyframes six{from{bottom:-60px}to{bottom:5px}}
@-webkit-keyframes green-back{0%{background-color:rgba(0, 100, 0, 0)}50%{background-color:rgba(0, 100, 0, 0.8)}100%{background-color:rgba(0, 100, 0, 0)}}
@keyframes green-back{0%{background-color:rgba(0, 100, 0, 0)}50%{background-color:rgba(0, 100, 0, 0.8)}100%{background-color:rgba(0, 100, 0, 0)}}
@-webkit-keyframes your-card{0%{left:35px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:20px;opacity:0}}
@keyframes your-card{0%{left:35px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:20px;opacity:0}}
@-webkit-keyframes king{from{bottom:-60px}to{bottom:5px}}
@keyframes king{from{bottom:-60px}to{bottom:5px}}
@-webkit-keyframes three{from{bottom:-60px}to{bottom:5px}}
@keyframes three{from{bottom:-60px}to{bottom:5px}}
@-webkit-keyframes green-back2{0%{background-color:rgba(0, 100, 0, 0)}50%{background-color:rgba(0, 100, 0, 0.8)}100%{background-color:rgba(0, 100, 0, 0)}}
@keyframes green-back2{0%{background-color:rgba(0, 100, 0, 0)}50%{background-color:rgba(0, 100, 0, 0.8)}100%{background-color:rgba(0, 100, 0, 0)}}
@-webkit-keyframes dealer-card{0%{left:10px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:20px;opacity:0}}
@keyframes dealer-card{0%{left:10px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:20px;opacity:0}}
@-webkit-keyframes green-back3{0%{background-color:rgba(0, 100, 0, 0)}15%{background-color:rgba(0, 100, 0, 0.95)}100%{background-color:rgba(0, 100, 0, 0)}}
@keyframes green-back3{0%{background-color:rgba(0, 100, 0, 0)}15%{background-color:rgba(0, 100, 0, 0.95)}100%{background-color:rgba(0, 100, 0, 1)}}
@-webkit-keyframes hit-stand{0%{left:8px;opacity:0}15%{opacity:1}100%{left:8px;opacity:1}}
@keyframes hit-stand{0%{left:8px;opacity:0}15%{opacity:1}100%{left:8px;opacity:1}}
.click-one{-webkit-animation-name:click-one;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;-moz-animation-name:click-one;-moz-animation-duration:.5s;-moz-animation-timing-function:linear;-moz-animation-iteration-count:infinite;animation-name:click-one;animation-duration:.5s;animation-timing-function:linear;animation-iteration-count:infinite}
@-webkit-keyframes click-one{0%{opacity:1.0}50%{opacity:0.0}100%{opacity:1.0}}
@keyframes click-one{0%{opacity:1.0}50%{opacity:0.0}100%{opacity:1.0}}
@-webkit-keyframes green-back4{0%{background-color:rgba(0, 100, 0, 0)}5%{background-color:rgba(0, 100, 0, 1)}100%{background-color:rgba(0, 100, 0, 1)}}
@keyframes green-back4{0%{background-color:rgba(0, 100, 0, 0)}5%{background-color:rgba(0, 100, 0, 1)}100%{background-color:rgba(0, 100, 0, 1)}}

.wheel{z-index:40;position:absolute;top:50%;left:-300px;margin:-150px 0 0 -150px;width:300px;height:300px;-webkit-animation:wheel 4s linear infinite;-webkit-animation-delay:14s;animation:wheel 4s linear infinite;animation-delay:14s}
@-webkit-keyframes wheel{0%{left:50%;opacity:0}100%{left:50%;opacity:0.2;-webkit-transform:rotate(360deg)}}
@keyframes wheel{0%{left:50%;opacity:0.2}100%{left:50%;opacity:0.2;transform:rotate(360deg)}}

#play-for-real{z-index:45;top:15px;left:-250px;text-align:center;font:bold 32px "Trebuchet MS", Arial, Helvetica, sans-serif;color:#ff0;text-shadow:0 3px 3px #002704;-webkit-animation:play-for-real 15s forwards;-webkit-animation-delay:14s;animation:play-for-real 15s forwards;animation-delay:14s}
@-webkit-keyframes play-for-real{0%{left:30px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:50px;opacity:0}}
@keyframes play-for-real{0%{left:30px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:50px;opacity:0}}
#button{z-index:45;top:100px;left:-250px;text-align:center;-webkit-animation:button 15s forwards;-webkit-animation-delay:14s;animation:button 15s forwards;animation-delay:14s}
#button a{display:block;background:-webkit-linear-gradient(#ff6, #fc0, #ff6);background:-o-linear-gradient(#ff6, #fc0, #ff6);background:-moz-linear-gradient(#ff6, #fc0, #ff6);background:linear-gradient(#ff6, #fc0, #ff6);margin:0 5px;width:120px;border-radius:14px;border:1px solid #fff;box-shadow:0 3px 3px #03331c;line-height:28px}
#button a em{font:bold 14px Arial;color:#000}
@-webkit-keyframes button{0%{left:49px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:49px;opacity:0}}
@keyframes button{0%{left:49px;opacity:0}25%{opacity:1}75%{opacity:1}100%{left:49px;opacity:0}}