/* DEFAULTS */
/*
White: #FFF
Black: #000
Green: #00F082
Grey: #999
Grey Dark: #666

Gradient Orange: #FFB11A > #FF8904
Gradient Grey: #333 > #000

Text Shadow: 0 2px 4px rgba(0,0,0,.5);

Transition: all .5s ease;
*/

/* COMMON */
body {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    color: #FFF;
    background: #333 url('../images/background.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
}
h1 {
    font-size: 60px;
    letter-spacing: -2px;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
h2 {
    font-size: 44px;
    line-height: 42px;
    letter-spacing: -2px;
}
h3 {
    font-size: 42px;
    letter-spacing: -2px;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
strong {
    font-weight: 500;
}
a {
    color: #FFF;
    text-decoration: none;
}
a:hover {

}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wrap {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.center {
    text-align: center;
}

/* HEADER */
header {
    position: relative;
    margin: 70px 0 50px 0;
}
header h1 {
    margin: 25px 0 0 0;
}
h1 em {
    font-style: normal;
}

/* NAV */
.nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: rgba(0,0,0,.9);
    z-index: 20;
    transform: translateX(500px);
    transition: all .5s ease;
}
.nav.active {
    transform: translateX(0px);
}
.nav-open {
    position: absolute;
    right: 0;
    top: 40px;
    display: block;
    width: 44px;
    height: 32px;
    cursor: pointer;
}
.nav-open svg path,
.nav-close svg path {
    opacity: .5;
    transition: all .5s ease; 
}
.nav-open:hover svg path,
.nav-close:hover svg path {
    opacity: 1;
    fill: #00F082;
}
.nav-close {
    position: absolute;
    right: 30px;
    top: 30px;
    display: block;
    width: 33px;
    height: 33px;
    cursor: pointer;
}
.nav ul {
    text-align: center;
    text-transform: uppercase;
}
.nav li {
    cursor: default;
    color: #666;
}
.nav a {
    transition: color .5s ease;
}
.nav a:hover {
    color: #00F082;
}
.nav .nav-primary {
    font-size: 44px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: -2px;
}
.nav .nav-secondary {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -1px;
}
.nav .nav-more {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
}

/* CARDS */
.cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-transform: uppercase;
}
.card {
    position: relative;
    width: 23%;
    min-width: 200px;
    height: auto;
    margin-bottom: 50px;
    background: linear-gradient(#333,#000);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
.card .image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    opacity: 0.5;
    overflow: hidden;
    z-index: 1;
    transition: all .5s ease;
}
.card.sports .image {
    background-image: url('../images/artwork_sports.jpg');
}
.card.racing .image {
    background-image: url('../images/artwork_racing.jpg');
}
.card.horses .image {
    background-image: url('../images/artwork_horses.jpg');
}
.card.casino .image {
    background-image: url('../images/artwork_casino.jpg');
}
.card .image:before {
    content: "";
    display: block;
    width: 254px;
    height: 280px;
    position: absolute;
    top: -280px;
    left: -100px;
    background: url('../images/playchips.png') no-repeat;
    background-size: cover;
    opacity: 0;
    transition: all .5s ease;
}
.card:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.card .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0) 50%);
    border-radius: 10px;
    z-index: 2;
}
.card h2 {
    margin-left: 20px;
    margin-right: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.card .button {
    display: block;
    margin: 0 auto;
    width: 70%;
    min-width: 160px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 10px 0;
    font-size: 24px;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0,0,0,.5);
    background: transparent;
    border: 2px solid #FF8904;
    border-radius: 6px;
}
.card:hover .image {
    opacity: 1;
}
.card:hover .image:before {
    top: -10px;
    left: -10px;
    opacity: 1;
}
.card:hover .button {
    background: linear-gradient(to right, #ffb11a, #FF8904);
}
.card.disabled {
    cursor: not-allowed;
}
.card.disabled .button {
    border-color: rgba(255,255,255,.2);
}
.card:hover.disabled .button {
    background: none;
}

/* FOOTER */
footer {
    margin-bottom: 100px;
}
.users img {
    width: auto;
    height: 50px;
}

.bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,.5);
}
.bottom a {
    color: rgba(255,255,255,.5);
    transition: color .5s ease;
}
.bottom a:hover {
    color: rgba(255,255,255,1);
}
.social {
    display: flex;
    flex-direction: row;
}
.social img {
    display: block;
    width: 40px;
    height: auto;
    margin-left: 20px;
    opacity: .5;
    transition: opacity .5s ease;
}
.social a:hover img {
    opacity: 1;
}

/* TICKER */
.ticker-wrap {
    position: fixed;
    width: 100%;
    top: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 100vw;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    background: rgba(0,0,0,.7);
    box-shadow: 0 3px 10px rgba(0,0,0,.5);
    overflow: hidden;
    z-index: 10;
}
.ticker {
    display: flex;
    flex-direction: row;
    padding-right: 100vw;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: ticker;
    animation-duration: 30s;
}
.ticker-item {
    white-space: nowrap;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #00F082;
}
.ticker-item:last-child {
    border: none;
}
.ticker-item .amount {
    margin-left: 5px;
    padding-left: 28px;
    padding-right: 5px;
    color: #00F082;
    font-weight: 500;
    background: url('../images/icon_playchip.png') no-repeat 0 1px;
    background-size: 22px 22px;
}
.ticker-item .time {
    color: #999;
}
.ticker-item strong {
    margin-left: 5px;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    100% {
        transform: translate3d(-200vw, 0, 0);
    }
}