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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    margin: 0;
    padding-top: 70px; /* Account for fixed navbar */
}

/* Fixed Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #667eea;
}

.dropdown-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Game Options */
.game-options {
    padding: 2rem 1rem;
    margin-bottom: 3rem;
}

.options-container {
    max-width: 1200px;
    margin: 0 auto;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.option-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.option-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #667eea;
}

.option-card.active .option-number {
    color: white;
}

.option-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.option-card p {
    color: #666;
    margin: 0;
}

.option-card.active p {
    color: rgba(255, 255, 255, 0.9);
}

/* Game Header */
.game-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.game-header-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.game-description {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.comparison-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.comparison-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comparison-item p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Guide Section */
.guide-section {
    margin-bottom: 4rem;
}

.guide-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rule-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.rule-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.rule-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Color Guide */
.color-guide {
    margin-bottom: 4rem;
}

.color-guide h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.color-examples {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.color-example {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.example-tiles {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.example-tile {
    width: 50px;
    height: 50px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    background: white;
}

.example-tile.correct {
    background: #6aaa64;
    color: white;
    border-color: #6aaa64;
}

.example-tile.present {
    background: #c9b458;
    color: white;
    border-color: #c9b458;
}

.example-tile.absent {
    background: #787c7e;
    color: white;
    border-color: #787c7e;
}

.example-explanation {
    text-align: center;
}

.example-explanation h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.color-indicator {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.color-indicator.green { background: #6aaa64; }
.color-indicator.yellow { background: #c9b458; }
.color-indicator.gray { background: #787c7e; }

/* Strategy Section */
.strategy-section {
    margin-bottom: 4rem;
}

.strategy-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.strategy-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
}

.tab-button {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #667eea;
    color: white;
}

.tab-content {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.strategy-list {
    list-style: none;
    padding: 0;
}

.strategy-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
    line-height: 1.6;
}

.strategy-list li:last-child {
    border-bottom: none;
}

/* Word Length Guide */
.word-length-guide {
    margin-bottom: 4rem;
}

.word-length-guide h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.length-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.length-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.length-card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.length-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Tips Section */
.tips-section {
    margin-bottom: 4rem;
}

.tips-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Ready Section */
.ready-section {
    text-align: center;
}

.ready-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ready-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ready-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ready-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link.active {
    color: #667eea;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: #667eea;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #34495e;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
}

.legal-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: #555;
    line-height: 1.6;
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #667eea;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Word Categories */
.word-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.category-card h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.category-card p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Featured Game Section */
.featured-game-section {
    padding: 3rem 1rem;
    background: #f8f9fa;
    margin-bottom: 0;
}

.featured-game-section .game-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.featured-game-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.game-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.game-info p {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Game Section */
.game-section {
    padding: 2rem 1rem;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.game-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

/* Game Board */
.game-board {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    gap: 5px;
    margin: 0 auto 2rem auto;
    width: fit-content;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    justify-content: center;
    align-items: center;
}

.game-row {
    display: flex;
    gap: clamp(2px, 0.5vw, 8px);
    justify-content: center;
    width: 100%;
    max-width: calc(100vw - 20px);
    overflow-x: visible;
    margin: 0 auto;
}

/* Larger gaps for shorter words - increased for bigger cells */
.game-row.letters-4,
.game-row.letters-5,
.game-row.letters-6 {
    gap: clamp(6px, 1.2vw, 15px);
}

/* Dynamic responsive sizing for different word lengths */

.game-cell {
    flex: 1;
    aspect-ratio: 1;
    max-width: 70px;
    min-width: 18px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.7rem, 4vw, 2.2rem);
    font-weight: bold;
    text-transform: uppercase;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Different max-width for different word lengths - 50% larger */
.game-row.letters-4 .game-cell {
    max-width: 135px;
    min-width: 68px;
    font-size: clamp(1.8rem, 6vw, 3.2rem);
}

.game-row.letters-5 .game-cell {
    max-width: 128px;
    min-width: 64px;
    font-size: clamp(1.7rem, 5.8vw, 3rem);
}

.game-row.letters-6 .game-cell {
    max-width: 113px;
    min-width: 57px;
    font-size: clamp(1.5rem, 5.5vw, 2.8rem);
}

.game-row.letters-7 .game-cell,
.game-row.letters-8 .game-cell {
    max-width: 60px;
    font-size: clamp(0.8rem, 3.5vw, 1.8rem);
}

.game-row.letters-9 .game-cell,
.game-row.letters-10 .game-cell,
.game-row.letters-11 .game-cell {
    max-width: 50px;
    font-size: clamp(0.7rem, 3vw, 1.5rem);
}

/* Responsive cell sizing for longer words */
.game-row.letters-7 .game-cell,
.game-row.letters-8 .game-cell {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
}

.game-row.letters-9 .game-cell,
.game-row.letters-10 .game-cell {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
}

.game-row.letters-11 .game-cell {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* Enhanced centering for longer word games */
.game-board {
    max-width: 100%;
}

/* Specific adjustments for 10 and 11 letter games */
.game-row.letters-10,
.game-row.letters-11 {
    justify-content: center;
    justify-items: center;
}

/* Game section centering improvements */
.game-section .game-container,
.featured-game-section .game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-cell:not(:empty) {
    border-color: #6b7280;
    color: #1f2937;
}

.game-cell.cell-correct {
    background: #6aaa64;
    color: white;
    border-color: #6aaa64;
}

.game-cell.cell-present {
    background: #c9b458;
    color: white;
    border-color: #c9b458;
}

.game-cell.cell-absent {
    background: #787c7e;
    color: white;
    border-color: #787c7e;
}

.game-cell.flip {
    animation: flip 0.6s ease-in-out;
}

/* Keyboard */
.keyboard {
    margin: 2rem auto;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 6px;
    width: 100%;
    max-width: 100%;
}

.keyboard-key {
    background: #d3d6da;
    color: #1f2937;
    border: none;
    border-radius: 4px;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 43px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.keyboard-key:hover {
    background: #9ca3af;
}

.keyboard-key.wide-key {
    min-width: 65px;
    font-size: 12px;
}

.keyboard-key.key-correct {
    background: #6aaa64;
    color: white;
}

.keyboard-key.key-present {
    background: #c9b458;
    color: white;
}

.keyboard-key.key-absent {
    background: #787c7e;
    color: white;
}

/* Game Controls */
.game-controls {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Content Section */
.content-section {
    max-width: 800px;
    margin: 4rem auto 2rem auto;
    padding: 0 1rem;
}

.content-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.content-container h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
}

.content-container h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.content-container p {
    margin-bottom: 1.2rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.content-container ul, .content-container ol {
    margin: 1rem 0 1.5rem 2rem;
}

.content-container li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

.content-container strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes flip {
    0% { transform: rotateY(0); }
    50% { transform: rotateY(90deg); }
    100% { transform: rotateY(0); }
}

.game-tile.reveal {
    animation: flip 0.6s ease-in-out;
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
}

.game-row.invalid {
    animation: shake 0.5s ease-in-out;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    /* Mobile: 4-6 letters 50% larger */
    .game-row.letters-4 .game-cell {
        max-width: 105px !important;
        min-width: 53px !important;
        font-size: clamp(1.5rem, 5.5vw, 2.8rem) !important;
    }
    
    .game-row.letters-5 .game-cell {
        max-width: 98px !important;
        min-width: 49px !important;
        font-size: clamp(1.4rem, 5.2vw, 2.6rem) !important;
    }
    
    .game-row.letters-6 .game-cell {
        max-width: 87px !important;
        min-width: 44px !important;
        font-size: clamp(1.3rem, 5vw, 2.4rem) !important;
    }
    
    /* Mobile specific adjustments for long words */
    .game-row.letters-9 .game-cell,
    .game-row.letters-10 .game-cell,
    .game-row.letters-11 .game-cell {
        max-width: 32px !important;
        min-width: 16px !important;
        font-size: clamp(0.6rem, 2.8vw, 1.2rem) !important;
    }
    
    .game-row.letters-7 .game-cell,
    .game-row.letters-8 .game-cell {
        max-width: 40px !important;
        min-width: 18px !important;
        font-size: clamp(0.7rem, 3.2vw, 1.4rem) !important;
    }
    
    /* Tighter spacing for long words on mobile */
    .game-row.letters-9,
    .game-row.letters-10,
    .game-row.letters-11 {
        gap: clamp(0px, 0.3vw, 2px) !important;
    }
    
    .navbar {
        height: 60px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .option-card {
        padding: 1.5rem;
    }
    
    .option-number {
        font-size: 2.5rem;
    }
    
    .game-cell {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
    
    /* Responsive design handled by flex layout */
    
    /* Mobile centering enhancements */
    .game-board {
        justify-self: center;
        align-self: center;
    }
    
    .game-row.letters-10,
    .game-row.letters-11 {
        justify-self: center;
        width: 100%;
        max-width: fit-content;
        margin: 0 auto;
    }
    
    .keyboard {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .keyboard-key {
        padding: 10px 4px;
        font-size: 10px;
        min-width: 30px;
        height: 48px;
        flex: 1;
        max-width: 45px;
    }
    
    .keyboard-key.wide-key {
        min-width: 45px;
        font-size: 9px;
        flex: 1.5;
    }
    
    .content-container {
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .content-container h2 {
        font-size: 1.8rem;
    }
    
    .content-container h3 {
        font-size: 1.3rem;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .game-section {
        padding: 1rem 0.5rem;
    }
    
    /* Mobile 480px: 4-6 letters still large but fit screen */
    .game-row.letters-4 .game-cell {
        max-width: 90px !important;
        min-width: 45px !important;
        font-size: clamp(1.3rem, 5vw, 2.4rem) !important;
    }
    
    .game-row.letters-5 .game-cell {
        max-width: 85px !important;
        min-width: 43px !important;
        font-size: clamp(1.2rem, 4.8vw, 2.2rem) !important;
    }
    
    .game-row.letters-6 .game-cell {
        max-width: 75px !important;
        min-width: 38px !important;
        font-size: clamp(1.1rem, 4.5vw, 2rem) !important;
    }
    
    /* Extra mobile adjustments for longest words */
    .game-row.letters-10 .game-cell,
    .game-row.letters-11 .game-cell {
        max-width: 28px !important;
        min-width: 14px !important;
        font-size: clamp(0.5rem, 2.5vw, 1rem) !important;
    }
    
    .game-row.letters-9 .game-cell {
        max-width: 30px !important;
        min-width: 15px !important;
        font-size: clamp(0.55rem, 2.7vw, 1.1rem) !important;
    }
    
    /* Minimal gap for longest words */
    .game-row.letters-10,
    .game-row.letters-11 {
        gap: clamp(0px, 0.2vw, 1px) !important;
    }
    
    .game-cell {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
    }
    
    /* Auto-responsive design */
    
    /* Extra small screen centering */
    .game-board {
        padding: 0.5rem;
        margin: 0 auto 1rem auto;
    }
    
    .game-row.letters-10,
    .game-row.letters-11 {
        justify-content: center;
        justify-items: center;
        margin: 0 auto;
    }
    
    .keyboard {
        max-width: 100%;
        width: 100%;
        padding: 0 8px;
    }
    
    .keyboard-key {
        min-width: 28px;
        height: 44px;
        padding: 8px 3px;
        font-size: 9px;
        flex: 1;
        max-width: 40px;
    }
    
    .keyboard-key.wide-key {
        min-width: 42px;
        font-size: 8px;
        flex: 1.5;
    }
    
    .content-container {
        padding: 1.5rem;
    }
    
    .content-container p {
        font-size: 1rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e5e5e5;
    }
    
    .game-cell {
        background: #2d2d2d;
        border-color: #4a4a4a;
        color: #e5e5e5;
    }
    
    .content-container {
        background: #2d2d2d;
        color: #e5e5e5;
    }
    
    .content-container h2, .content-container h3 {
        color: #f1f1f1;
    }
    
    .content-container p, .content-container li {
        color: #d1d1d1;
    }
}

/* Accessibility */
/* Ultra small screens (320px and below) */
@media (max-width: 320px) {
    /* Ultra-compact layout for longest words */
    .game-row.letters-11 .game-cell {
        max-width: 24px !important;
        min-width: 12px !important;
        font-size: clamp(0.45rem, 2.2vw, 0.8rem) !important;
        border-width: 1px !important;
    }
    
    .game-row.letters-10 .game-cell {
        max-width: 26px !important;
        min-width: 13px !important;
        font-size: clamp(0.5rem, 2.4vw, 0.9rem) !important;
        border-width: 1px !important;
    }
    
    .game-row.letters-9 .game-cell {
        max-width: 28px !important;
        min-width: 14px !important;
        font-size: clamp(0.55rem, 2.6vw, 1rem) !important;
    }
    
    /* Zero gap for ultra-compact layout */
    .game-row.letters-11 {
        gap: 0px !important;
    }
    
    .game-row.letters-10 {
        gap: clamp(0px, 0.1vw, 1px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .game-cell.flip,
    .game-row.invalid,
    .btn-primary:hover,
    .btn-secondary:hover,
    .keyboard-key:hover {
        animation: none;
        transform: none;
    }
}

/* Contact Page Styles */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.quick-link-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.quick-link-card:hover {
    background: #e9ecef;
}

/* About Page Styles */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

/* Blog Page Styles */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.blog-post.featured-post {
    border-left: 5px solid #667eea;
    position: relative;
}

.featured-post::before {
    content: "✨ Featured Article";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content-preview {
    margin: 1.5rem 0;
    line-height: 1.7;
}

.post-content-preview.collapsed {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.post-content-preview.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, white);
}

.post-content-preview h4 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.post-content-preview h5 {
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.post-content-preview ul, 
.post-content-preview ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.post-content-preview li {
    margin-bottom: 0.5rem;
}

.read-more {
    text-align: center;
    margin-top: 1.5rem;
}

.toggle-content {
    transition: all 0.3s ease;
}

.toggle-content:hover {
    transform: translateY(-2px);
}

.post-title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title-link:hover {
    color: #667eea;
}

.post-excerpt {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #667eea;
}

.reading-time {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.read-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.article-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
}

.article-content h2 {
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    color: #555;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul, 
.article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-conclusion {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.article-tags {
    margin-bottom: 2rem;
}

.article-tags h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.share-article h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.article-share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.twitter { background: #1DA1F2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.email { background: #34495e; }

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-articles,
.article-toc {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.related-articles h3,
.article-toc h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.related-item:hover {
    background: #e9ecef;
}

.related-item h4 {
    margin-bottom: 0.5rem;
    color: #667eea;
}

.related-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.article-toc ul {
    list-style: none;
    padding: 0;
}

.article-toc li {
    margin-bottom: 0.5rem;
}

.article-toc a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    display: block;
    border-radius: 4px;
    padding-left: 0.5rem;
    transition: background-color 0.3s ease;
}

.article-toc a:hover {
    background: #f0f0f0;
    padding-left: 1rem;
}

/* Mobile responsiveness for article pages */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .article-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-share-buttons {
        flex-direction: column;
    }
    
    .read-more {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-category {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: #f1f3f4;
    color: #5f6368;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.category-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 1rem 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}

/* Share Page Styles */
.share-content {
    max-width: 800px;
    margin: 0 auto;
}

.social-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease;
    text-align: center;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.twitter { background: #1DA1F2; }
.social-btn.facebook { background: #4267B2; }
.social-btn.linkedin { background: #0077B5; }
.social-btn.reddit { background: #FF4500; }
.social-btn.whatsapp { background: #25D366; }

.social-icon {
    font-size: 1.2rem;
}

.link-copy-container {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    max-width: 500px;
}

.link-copy-container input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    background: #f8f9fa;
}

.copy-success {
    color: #22c55e;
    font-weight: 500;
    margin-top: 0.5rem;
}

.email-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.reason-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.reason-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.thank-you-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Mobile responsiveness for new pages */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .social-share-buttons {
        grid-template-columns: 1fr;
    }
    
    .link-copy-container {
        flex-direction: column;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Game Message */
.game-message {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    display: none;
    min-width: 200px;
    text-align: center;
}