/* 
* Watermelon Drop - Responsive Stylesheet
* This file contains responsive styles for different device widths
*/

/* Default styles are for mobile (width <= 768px) */

/* Tablet Styles (768px < width <= 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Navigation adjustments */
    .nav-container {
        height: 60px;
    }
    
    .logo-image {
        height: 42px;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    /* Game container adjustments */
    .game-container {
        max-width: 90%;
        width: 800px;
        aspect-ratio: 4/3;
    }
    
    /* Content container adjustments */
    .content-container {
        width: 85%;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Spacing adjustments */
    .title-section {
        padding: 40px 0 30px;
    }
    
    .game-intro {
        font-size: 1.1rem;
    }
    
    /* Screenshots */
    .screenshot-img {
        max-width: 500px;
    }
    
    /* Tablet play button adjustment */
    .play-game-button {
        padding: 0.9rem 1.8rem;
        font-size: 1.1rem;
    }
}

/* Mobile Styles (width <= 768px) */
@media (max-width: 768px) {
    /* Navigation adjustments */
    .nav-container {
        height: 50px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    /* Game container - already set as default (9:16 ratio) */
    
    /* Content container adjustments */
    .content-container {
        width: 92%;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-top: 30px;
    }
    
    h3 {
        font-size: 1.3rem;
        margin-top: 20px;
    }
    
    /* Spacing adjustments */
    .title-section {
        padding: 30px 0 20px;
    }
    
    .game-intro {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    p {
        margin-bottom: 14px;
    }
    
    /* Mobile grid layouts */
    .controls-container,
    .tips-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .fruit-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* Screenshots */
    .screenshot-img {
        width: 100%;
    }
    
    /* Footer adjustments */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links li {
        margin: 0 10px 10px;
    }
    
    /* Mobile play button adjustment */
    .play-game-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile navigation play game link */
    .play-game-link {
        margin-top: 10px;
        display: inline-block;
        text-align: center;
    }
}

/* Desktop Styles (width > 1024px) */
@media (min-width: 1025px) {
    /* Game container */
    .game-container {
        max-width: 900px;
        width: 80%;
        aspect-ratio: 4/3;
        max-height: 700px;
    }
    
    /* Content spacing */
    .content-container {
        padding: 40px 0;
    }
    
    /* Larger typography for larger screens */
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.7rem;
    }
    
    .game-intro {
        font-size: 1.3rem;
    }
}

/* Special mobile menu handling */
@media (max-width: 1024px) {
    .mobile-menu.active {
        display: block;
        max-height: 380px;
    }
}

/* Mobile Social Share */
@media (max-width: 768px) {
    .social-sharing {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 0;
        height: 40px;
        z-index: 999;
    }
    
    .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20%;
        height: 100%;
        color: white;
        font-size: 1.2rem;
    }
    
    .social-text {
        display: none;
    }
}

/* Tablet Social Share */
@media (min-width: 769px) and (max-width: 1024px) {
    .social-sharing {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 0;
        height: 45px;
        z-index: 999;
    }
    
    .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20%;
        height: 100%;
        color: white;
        font-size: 1.3rem;
    }
    
    .social-text {
        display: none;
    }
}

/* Desktop Social Share */
@media (min-width: 1025px) {
    .social-sharing {
        position: fixed;
        right: 0;
        top: 30vh;
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 4px 0 0 4px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .social-btn {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        color: var(--secondary-color);
        transition: all 0.3s ease;
    }
    
    .social-btn:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transform: translateX(-5px);
    }
    
    .social-btn i {
        margin-right: 10px;
        font-size: 1.2rem;
    }
    
    .social-text {
        display: inline;
    }
}