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

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a3a 0%, #0a1628 100%);
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: #fff;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    margin: 0;
    opacity: 0.95;
}

.hero-description {
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
    max-width: 600px;
}

/* App Store Button */
.app-store-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.app-store-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-store-image {
    height: 60px;
    width: auto;
    display: block;
}

/* Screenshots Section */
.screenshots {
    background: linear-gradient(135deg, #1a3a3a 0%, #0a1628 100%);
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.screenshots-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1400px;
    width: 100%;
}

.iphone-mockup {
    perspective: 1000px;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.iphone-mockup:nth-child(1) {
    animation-delay: 0.2s;
}

.iphone-mockup:nth-child(2) {
    animation-delay: 0.4s;
}

.iphone-mockup:nth-child(3) {
    animation-delay: 0.6s;
}

.iphone-frame {
    width: 300px;
    height: 650px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 2px #2a2a2a,
                inset 0 0 0 2px #0a0a0a;
    position: relative;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-screen::before {
    content: 'Add screenshot image';
    position: absolute;
    color: #999;
    font-size: 0.9rem;
    font-weight: 300;
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.screenshot-img[src=""],
.screenshot-img:not([src]),
.screenshot-img[style*="display: none"] {
    display: none;
}

.iphone-screen:has(.screenshot-img:not([style*="display: none"]))::before {
    display: none;
}

/* Widgets Section */
.widgets {
    background: linear-gradient(135deg, #1a3a3a 0%, #0a1628 100%);
    padding: 6rem 2rem;
    min-height: 100vh;
}

.widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* Sports Categories */
.sports-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.sport-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.sport-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.sport-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.sport-football .sport-title {
    color: #4a90e2;
}

.sport-golf .sport-title {
    color: #4caf50;
}

.sport-gaa .sport-title {
    color: #ff9800;
}

.sport-rugby .sport-title {
    color: #e91e63;
}

.sport-description {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.feature-icon-trophy {
    color: #4caf50;
}

.feature-icon-bell {
    color: #4a90e2;
}

.feature-icon-calendar {
    color: #ff9800;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* Widgets Download Section */
.widgets-download {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .app-store-image {
        height: 50px;
    }

    .screenshots {
        padding: 3rem 1rem;
    }

    .screenshots-container {
        gap: 2rem;
    }

    .iphone-frame {
        width: 250px;
        height: 540px;
        border-radius: 42px;
        padding: 6px;
    }

    .iphone-notch {
        width: 120px;
        height: 25px;
        border-radius: 0 0 18px 18px;
    }

    .iphone-screen {
        border-radius: 36px;
    }

    .widgets {
        padding: 4rem 1.5rem;
    }

    .widgets-container {
        gap: 3rem;
    }

    .sports-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .sport-title {
        font-size: 1.75rem;
    }

    .sport-description {
        font-size: 0.9rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .screenshots {
        padding: 2rem 1rem;
    }

    .screenshots-container {
        gap: 1.5rem;
    }

    .iphone-frame {
        width: 220px;
        height: 475px;
        border-radius: 38px;
        padding: 5px;
    }

    .iphone-notch {
        width: 110px;
        height: 22px;
        border-radius: 0 0 16px 16px;
    }

    .iphone-screen {
        border-radius: 33px;
    }

    .widgets {
        padding: 4rem 1rem;
    }

    .widgets-container {
        gap: 4rem;
    }

    .sports-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .sport-item:not(:last-child)::after {
        display: none;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}
