/* Play Page Styles */

:root {
    --play-primary: #ff3e3e;
    --play-dark: #121212;
    --play-grey: #f8f9fa;
    --play-text: #333;
}

/* Hero Section */
.play-hero {
    position: relative;
    height: 90vh;
    width: 100%;
    background: url('https://4kwallpapers.com/images/wallpapers/f1-24-2024-games-3440x1440-18979.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.play-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.play-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.play-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    color: var(--play-primary);
    margin-bottom: 20px;
    display: block;
}

.play-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(60px, 10vw, 120px);
    line-height: 1;
    margin-bottom: 20px;
}

.play-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.play-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.play-btn-main {
    padding: 16px 32px;
    background: var(--play-primary);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.play-btn-main:hover {
    background: #e03535;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 62, 62, 0.3);
}

.play-btn-outline {
    padding: 16px 32px;
    border: 2px solid #fff;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.play-btn-outline:hover {
    background: #fff;
    color: var(--play-dark);
}

/* Quick Categories */
.play-quick-categories {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.play-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories-scroll-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
}

.categories-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 10px 24px;
    background: var(--play-grey);
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--play-text);
    transition: all 0.3s ease;
}

.cat-pill:hover {
    background: var(--play-dark);
    color: #fff;
}

/* Section Common */
.play-section {
    padding: 100px 0;
}

.grey-bg {
    background: #f4f4f4;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 42px;
    letter-spacing: -0.5px;
    color: var(--play-dark);
    margin-bottom: 10px;
}

.section-desc {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #666;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
}

.tag {
    background: var(--play-primary);
    padding: 4px 12px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
}

.card-content h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
}

.featured-card-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.featured-card.small {
    height: calc(250px - 15px);
}

.featured-card.small h3 {
    font-size: 24px;
}

/* Play/Turf Grid */
.play-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.play-item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.play-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-box {
    height: 200px;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 24px;
}

.card-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price {
    font-weight: 700;
    color: var(--play-primary);
}

.btn-sm {
    color: var(--play-dark);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid var(--play-primary);
}

/* Gaming Section */
.gaming-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #121212;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 62, 62, 0.1);
}

.gaming-feature:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 62, 62, 0.3);
}

.gaming-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a0a 0%, #121212 100%);
    color: #fff;
}

.gaming-content h3 {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.gaming-content p {
    color: rgba(255, 255, 255, 0.8);
}

.gaming-list {
    margin: 25px 0;
    list-style: none;
    padding: 0;
}

.gaming-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

.gaming-list ion-icon {
    color: var(--play-primary);
    font-size: 20px;
}

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

.gaming-items-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gaming-mini-card {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.gaming-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-card-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.mini-card-text h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.mini-card-text a {
    color: #fff;
    border-bottom: 1px solid #fff;
    font-size: 13px;
}

/* Adventure Section */
.adventure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.adventure-item {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

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

.adventure-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.adventure-item:hover .adventure-content {
    opacity: 1;
}

.adventure-content h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}

.adv-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Tournaments Grid */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tournament-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.tournament-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.tournament-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tournament-card:hover .tournament-img-wrapper img {
    transform: scale(1.1);
}

.tournament-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tournament-date-badge .day {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--play-primary);
    line-height: 1;
}

.tournament-date-badge .month {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    color: var(--play-dark);
    font-weight: 600;
}

.tournament-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tournament-category {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--play-primary);
    margin-bottom: 12px;
    display: block;
    font-weight: 700;
}

.tournament-info h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--play-dark);
    margin-bottom: 15px;
}

.tournament-meta {
    margin-bottom: 25px;
}

.tournament-meta p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.tournament-meta ion-icon {
    font-size: 18px;
    color: #999;
}

.tournament-footer {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.entry-fee {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--play-text);
}

.register-btn {
    background: var(--play-dark);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: var(--play-primary);
    transform: translateX(3px);
}

/* Full Width CTA */
.play-cta-full {
    background: #000;
    padding: 120px 0;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(255, 62, 62, 0.2);
    position: relative;
}

.play-cta-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 62, 62, 0.6) 50%, transparent);
}

.cta-full-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}

.play-cta-full h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.play-cta-full p {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    margin-bottom: 45px;
    opacity: 0.7;
    line-height: 1.6;
}

.play-cta-full .play-btn-main {
    display: inline-block;
    padding: 18px 45px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Remove footer margin gap */
footer {
    margin-top: 0 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .gaming-feature {
        grid-template-columns: 1fr;
    }

    .gaming-items-row {
        grid-template-columns: 1fr;
    }

    .event-play-card {
        min-width: 300px;
    }

    .cta-box {
        padding: 40px 20px;
    }
}